From 61180a4b3724514f6c120d4e292a700563cd7038 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Wed, 9 Jul 2025 20:40:31 +0530 Subject: [PATCH 1/2] Add support for SPDX License List 3.27 Reference: https://github.com/aboutcode-org/scancode-toolkit/issues/4456 Signed-off-by: Ayan Sinha Mahapatra --- .../data/licenses/artistic-dist-1.0.LICENSE | 5 +- .../data/licenses/aspell-ru.LICENSE | 15 +++ .../bsd-2-clause-pkgconf-disclaimer.LICENSE | 25 ++++ .../clause-6-exception-lgpl-2.1.LICENSE | 6 +- .../data/licenses/cryptoswift.LICENSE | 7 +- .../data/licenses/dante-treglia.LICENSE | 6 +- .../data/licenses/docbook-dtd.LICENSE | 27 +++++ .../data/licenses/fsfullrsd.LICENSE | 15 +++ .../data/licenses/fsl-1.1-apache-2.0.LICENSE | 10 +- .../data/licenses/fsl-1.1-mit.LICENSE | 5 +- src/licensedcode/data/licenses/hdf5.LICENSE | 107 ++++++++++++++--- src/licensedcode/data/licenses/jove.LICENSE | 14 +++ .../data/licenses/libpng-1.6.35.LICENSE | 110 +++++++++++++++++ .../data/licenses/man2html.LICENSE | 18 +++ src/licensedcode/data/licenses/ngrep.LICENSE | 47 ++++++++ .../data/licenses/ntia-pd.LICENSE | 25 ++++ .../qt-company-exception-lgpl-2.1.LICENSE | 21 ++-- src/licensedcode/data/licenses/sofa.LICENSE | 100 ++++++++++++++++ .../data/licenses/sustainable-use-1.0.LICENSE | 5 +- .../data/licenses/unlicense-libtelnet.LICENSE | 15 +++ .../licenses/unlicense-libwhirlpool.LICENSE | 19 +++ .../data/rules/dante-treglia_1.RULE | 14 +++ .../data/rules/fsl-1.1-apache-2.0_1.RULE | 112 ++++++++++++++++++ src/licensedcode/data/rules/hdf5_5.RULE | 40 +++++++ src/licensedcode/data/rules/libpng_31.RULE | 5 +- .../data/rules/other-permissive_32.RULE | 4 + .../data/rules/proprietary-license_972.RULE | 3 + .../data/rules/public-domain_379.RULE | 4 + .../qt-company-exception-lgpl-2.1_2.RULE | 12 ++ 29 files changed, 763 insertions(+), 33 deletions(-) create mode 100644 src/licensedcode/data/licenses/aspell-ru.LICENSE create mode 100644 src/licensedcode/data/licenses/bsd-2-clause-pkgconf-disclaimer.LICENSE create mode 100644 src/licensedcode/data/licenses/docbook-dtd.LICENSE create mode 100644 src/licensedcode/data/licenses/fsfullrsd.LICENSE create mode 100644 src/licensedcode/data/licenses/jove.LICENSE create mode 100644 src/licensedcode/data/licenses/libpng-1.6.35.LICENSE create mode 100644 src/licensedcode/data/licenses/man2html.LICENSE create mode 100644 src/licensedcode/data/licenses/ngrep.LICENSE create mode 100644 src/licensedcode/data/licenses/ntia-pd.LICENSE create mode 100644 src/licensedcode/data/licenses/sofa.LICENSE create mode 100644 src/licensedcode/data/licenses/unlicense-libtelnet.LICENSE create mode 100644 src/licensedcode/data/licenses/unlicense-libwhirlpool.LICENSE create mode 100644 src/licensedcode/data/rules/dante-treglia_1.RULE create mode 100644 src/licensedcode/data/rules/fsl-1.1-apache-2.0_1.RULE create mode 100644 src/licensedcode/data/rules/hdf5_5.RULE create mode 100644 src/licensedcode/data/rules/qt-company-exception-lgpl-2.1_2.RULE diff --git a/src/licensedcode/data/licenses/artistic-dist-1.0.LICENSE b/src/licensedcode/data/licenses/artistic-dist-1.0.LICENSE index 8eefef56c61..d69790ab85f 100644 --- a/src/licensedcode/data/licenses/artistic-dist-1.0.LICENSE +++ b/src/licensedcode/data/licenses/artistic-dist-1.0.LICENSE @@ -7,11 +7,14 @@ owner: Perl Foundation homepage_url: http://www.perlfoundation.org/ notes: "This is a variant Artistic license still used in today's Perl and that \ncomes with\ \ the \"dist\" tool included in the standard Perl distrbution.\nSee also https://github.com/pexip/os-perl/blob/d7a993d1118c65177c97ae41577b188653845a8a/regen-configure/U/README#L158\n" -spdx_license_key: LicenseRef-scancode-artistic-1988-1.0 +spdx_license_key: Artistic-dist +other_spdx_license_keys: + - LicenseRef-scancode-artistic-1988-1.0 text_urls: - https://raw.githubusercontent.com/rmanfredi/dist/2cec35331a912b165e2dd135d22de81f34bbc83f/Artistic other_urls: - https://github.com/pexip/os-perl/blob/d7a993d1118c65177c97ae41577b188653845a8a/regen-configure/U/README#L158 + - https://github.com/pexip/os-perl/blob/833cf4c86cc465ccfc627ff16db67e783156a248/debian/copyright#L2720-L2845 --- The "Artistic License" diff --git a/src/licensedcode/data/licenses/aspell-ru.LICENSE b/src/licensedcode/data/licenses/aspell-ru.LICENSE new file mode 100644 index 00000000000..1c0aead209a --- /dev/null +++ b/src/licensedcode/data/licenses/aspell-ru.LICENSE @@ -0,0 +1,15 @@ +--- +key: aspell-ru +short_name: Aspell Russian License +name: Aspell Russian License +category: Permissive +owner: GNU Aspell Project +spdx_license_key: Aspell-RU +other_urls: + - https://ftp.gnu.org/gnu/aspell/dict/ru/aspell6-ru-0.99f7-1.tar.bz2 +--- + +Permission to use, copy, redistribute is granted. +Permission to redistribute modifications in patch form is granted. +Permission to redistribute binaries made of modified sources is granted. +All other rights reserved. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/bsd-2-clause-pkgconf-disclaimer.LICENSE b/src/licensedcode/data/licenses/bsd-2-clause-pkgconf-disclaimer.LICENSE new file mode 100644 index 00000000000..42f7499f25e --- /dev/null +++ b/src/licensedcode/data/licenses/bsd-2-clause-pkgconf-disclaimer.LICENSE @@ -0,0 +1,25 @@ +--- +key: bsd-2-clause-pkgconf-disclaimer +short_name: BSD 2-Clause pkgconf disclaimer variant +name: BSD 2-Clause pkgconf disclaimer variant +spdx_license_key: BSD-2-Clause-pkgconf-disclaimer +category: Permissive +owner: Audacious developers +other_urls: + - https://github.com/audacious-media-player/audacious/blob/master/src/audacious/main.cc + - https://github.com/audacious-media-player/audacious/blob/master/COPYING +--- + +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 provided with the distribution. + +This software is provided “as is” and without any warranty, express or +implied. In no event shall the authors be liable for any damages arising +from the use of this software. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/clause-6-exception-lgpl-2.1.LICENSE b/src/licensedcode/data/licenses/clause-6-exception-lgpl-2.1.LICENSE index dd5ce692894..9fa21e21816 100644 --- a/src/licensedcode/data/licenses/clause-6-exception-lgpl-2.1.LICENSE +++ b/src/licensedcode/data/licenses/clause-6-exception-lgpl-2.1.LICENSE @@ -6,7 +6,11 @@ category: Copyleft Limited owner: Malcolm Wallace homepage_url: http://hackage.haskell.org/package/HaXml-1.25.4/src/COPYRIGHT is_exception: yes -spdx_license_key: LicenseRef-scancode-clause-6-exception-lgpl-2.1 +spdx_license_key: polyparse-exception +other_spdx_license_keys: + - LicenseRef-scancode-clause-6-exception-lgpl-2.1 +other_urls: + - https://hackage.haskell.org/package/polyparse-1.13/src/COPYRIGHT --- As a relaxation of clause 6 of the LGPL, the copyright holders of this diff --git a/src/licensedcode/data/licenses/cryptoswift.LICENSE b/src/licensedcode/data/licenses/cryptoswift.LICENSE index 36343b2006b..b25f55cf2de 100644 --- a/src/licensedcode/data/licenses/cryptoswift.LICENSE +++ b/src/licensedcode/data/licenses/cryptoswift.LICENSE @@ -5,8 +5,11 @@ name: CryptoSwift License category: Permissive owner: Marcin Krzyzanowski homepage_url: https://github.com/krzyzanowskim/CryptoSwift/blob/main/LICENSE -spdx_license_key: LicenseRef-scancode-cryptoswift +spdx_license_key: CryptoSwift +other_spdx_license_keys: + - LicenseRef-scancode-cryptoswift other_urls: + - https://github.com/krzyzanowskim/CryptoSwift/blob/main/LICENSE - https://github.com/krzyzanowskim/CryptoSwift/blob/main/CONTRIBUTING.md ignorable_copyrights: - Copyright (c) 2014-3099 Marcin Krzyzanowski @@ -20,7 +23,7 @@ ignorable_emails: - marcin.krzyzanowski@gmail.com --- -Copyright (C) 2014-3099 Marcin Krzyżanowski +Copyright (C) 2014-3099 Marcin Krzyżanowski 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. diff --git a/src/licensedcode/data/licenses/dante-treglia.LICENSE b/src/licensedcode/data/licenses/dante-treglia.LICENSE index ee479896d62..b66aff0463b 100644 --- a/src/licensedcode/data/licenses/dante-treglia.LICENSE +++ b/src/licensedcode/data/licenses/dante-treglia.LICENSE @@ -4,7 +4,11 @@ short_name: Dante Treglia License name: Dante Treglia License category: Permissive owner: Dante Treglia -spdx_license_key: LicenseRef-scancode-dante-treglia +spdx_license_key: Game-Programming-Gems +other_spdx_license_keys: + - LicenseRef-scancode-dante-treglia +other_urls: + - https://github.com/OGRECave/ogre/blob/master/OgreMain/include/OgreSingleton.h#L28C3-L35C46 ignorable_copyrights: - Portions copyright (c) Dante Treglia II, 2000 ignorable_holders: diff --git a/src/licensedcode/data/licenses/docbook-dtd.LICENSE b/src/licensedcode/data/licenses/docbook-dtd.LICENSE new file mode 100644 index 00000000000..d605d5e0045 --- /dev/null +++ b/src/licensedcode/data/licenses/docbook-dtd.LICENSE @@ -0,0 +1,27 @@ +--- +key: docbook-dtd +short_name: DocBook DTD License +name: DocBook DTD License +spdx_license_key: DocBook-DTD +category: Permissive +owner: OASIS +other_urls: + - http://www.docbook.org/xml/simple/1.1/docbook-simple-1.1.zip +--- + +Permission to use, copy, modify and distribute the DocBook XML DTD +and its accompanying documentation for any purpose and without fee +is hereby granted in perpetuity, provided that the above copyright +notice and this paragraph appear in all copies. The copyright +holders make no representation about the suitability of the DTD for +any purpose. It is provided "as is" without expressed or implied +warranty. + +If you modify the Simplified DocBook DTD in any way, except for +declaring and referencing additional sets of general entities and +declaring additional notations, label your DTD as a variant of +DocBook. See the maintenance documentation for more information. + +Please direct all questions, bug reports, or suggestions for +changes to the docbook@lists.oasis-open.org mailing list. For more +information, see http://www.oasis-open.org/docbook/. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/fsfullrsd.LICENSE b/src/licensedcode/data/licenses/fsfullrsd.LICENSE new file mode 100644 index 00000000000..57928ced31a --- /dev/null +++ b/src/licensedcode/data/licenses/fsfullrsd.LICENSE @@ -0,0 +1,15 @@ +--- +key: fsfullrsd +short_name: FSF Unlimited License with RSD +name: FSF Unlimited License (with License Retention and Short Disclaimer) +category: Permissive +owner: Free Software Foundation (FSF) +spdx_license_key: FSFULLRSD +other_urls: + - https://git.savannah.gnu.org/cgit/gnulib.git/tree/modules/COPYING?id=7b08932179d0d6b017f7df01a2ddf6e096b038e3 +--- + +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 file is offered as-is, without any warranty. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/fsl-1.1-apache-2.0.LICENSE b/src/licensedcode/data/licenses/fsl-1.1-apache-2.0.LICENSE index 8269a6dbac3..0e11e31796b 100644 --- a/src/licensedcode/data/licenses/fsl-1.1-apache-2.0.LICENSE +++ b/src/licensedcode/data/licenses/fsl-1.1-apache-2.0.LICENSE @@ -5,18 +5,22 @@ name: Functional Source License, Version 1.1, Apache 2.0 Future License category: Source-available owner: Sentry homepage_url: https://raw.githubusercontent.com/getsentry/fsl.software/main/FSL-1.1-Apache-2.0.template.md -spdx_license_key: LicenseRef-scancode-fsl-1.1-apache-2.0 +spdx_license_key: FSL-1.1-ALv2 +other_spdx_license_keys: + - LicenseRef-scancode-fsl-1.1-apache-2.0 other_urls: - https://fsl.software/ + - https://fsl.software/FSL-1.1-ALv2.template.md ignorable_urls: - http://www.apache.org/licenses/LICENSE-2.0 --- -# Functional Source License, Version 1.1, Apache 2.0 Future License + +# Functional Source License, Version 1.1, ALv2 Future License ## Abbreviation -FSL-1.1-Apache-2.0 +FSL-1.1-ALv2 ## Notice diff --git a/src/licensedcode/data/licenses/fsl-1.1-mit.LICENSE b/src/licensedcode/data/licenses/fsl-1.1-mit.LICENSE index a9530ad03ab..2ab84c160c3 100644 --- a/src/licensedcode/data/licenses/fsl-1.1-mit.LICENSE +++ b/src/licensedcode/data/licenses/fsl-1.1-mit.LICENSE @@ -5,9 +5,12 @@ name: Functional Source License, Version 1.1, MIT Future License category: Source-available owner: Sentry homepage_url: https://github.com/getsentry/fsl.software/blob/main/FSL-1.1-MIT.template.md -spdx_license_key: LicenseRef-scancode-fsl-1.1-mit +spdx_license_key: FSL-1.1-MIT +other_spdx_license_keys: + - LicenseRef-scancode-fsl-1.1-mit other_urls: - https://fsl.software/ + - https://fsl.software/FSL-1.1-MIT.template.md --- # Functional Source License, Version 1.1, MIT Future License diff --git a/src/licensedcode/data/licenses/hdf5.LICENSE b/src/licensedcode/data/licenses/hdf5.LICENSE index 78a897d9b51..efa63e34cd4 100644 --- a/src/licensedcode/data/licenses/hdf5.LICENSE +++ b/src/licensedcode/data/licenses/hdf5.LICENSE @@ -5,31 +5,110 @@ name: HDF5 License category: Permissive owner: The HDF Group homepage_url: https://bitbucket.hdfgroup.org/projects/HDFFV/repos/hdf5/browse/COPYING?raw -spdx_license_key: LicenseRef-scancode-hdf5 +spdx_license_key: HDF5 +other_spdx_license_keys: + - LicenseRef-scancode-hdf5 +other_urls: + - https://github.com/HDFGroup/hdf5/?tab=License-1-ov-file#readme standard_notice: "This file is part of HDF5. The full HDF5 copyright notice, including \n\ terms governing use, modification, and redistribution, is contained in \nthe COPYING file,\ \ which can be found at the root of the source code \ndistribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.\n\ If you do not have access to either file, you may request a copy from \nhelp@hdfgroup.org. " --- -Redistribution and use in source and binary forms, with or without -modification, are permitted for any purpose (including commercial purposes) +Copyright Notice and License Terms for +HDF5 (Hierarchical Data Format 5) Software Library and Utilities +----------------------------------------------------------------------------- + +HDF5 (Hierarchical Data Format 5) Software Library and Utilities +Copyright 2006 by The HDF Group. + +NCSA HDF5 (Hierarchical Data Format 5) Software Library and Utilities +Copyright 1998-2006 by The Board of Trustees of the University of Illinois. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted for any purpose (including commercial purposes) provided that the following conditions are met: -1. Redistributions of source code must retain the above copyright notice, +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 +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions, and the following disclaimer in the documentation and/or materials provided with the distribution. -3. Neither the name of The HDF Group, the name of the University, nor the - name of any Contributor may be used to endorse or promote products derived - from this software without specific prior written permission from +3. Neither the name of The HDF Group, the name of the University, nor the + name of any Contributor may be used to endorse or promote products derived + from this software without specific prior written permission from The HDF Group, the University, or the Contributor, respectively. -DISCLAIMER: -THIS SOFTWARE IS PROVIDED BY THE HDF GROUP AND THE CONTRIBUTORS -"AS IS" WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO EVENT SHALL THE HDF GROUP OR THE CONTRIBUTORS BE LIABLE FOR ANY DAMAGES SUFFERED BY THE USERS ARISING OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -You are under no obligation whatsoever to provide any bug fixes, patches, or upgrades to the features, functionality or performance of the source code ("Enhancements") to anyone; however, if you choose to make your Enhancements available either publicly, or directly to The HDF Group, without imposing a separate written license agreement for such Enhancements, then you hereby grant the following license: a non-exclusive, royalty-free perpetual license to install, use, modify, prepare derivative works, incorporate into other computer software, distribute, and sublicense such enhancements or derivative works thereof, in binary and source code form. \ No newline at end of file +DISCLAIMER: +THIS SOFTWARE IS PROVIDED BY THE HDF GROUP AND THE CONTRIBUTORS +"AS IS" WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO +EVENT SHALL THE HDF GROUP OR THE CONTRIBUTORS BE LIABLE FOR ANY DAMAGES +SUFFERED BY THE USERS ARISING OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +You are under no obligation whatsoever to provide any bug fixes, patches, or +upgrades to the features, functionality or performance of the source code +("Enhancements") to anyone; however, if you choose to make your Enhancements +available either publicly, or directly to The HDF Group, without imposing a +separate written license agreement for such Enhancements, then you hereby +grant the following license: a non-exclusive, royalty-free perpetual license +to install, use, modify, prepare derivative works, incorporate into other +computer software, distribute, and sublicense such enhancements or derivative +works thereof, in binary and source code form. + +----------------------------------------------------------------------------- +----------------------------------------------------------------------------- + +Contributors: National Center for Supercomputing Applications (NCSA) at +the University of Illinois, Fortner Software, Unidata Program Center +(netCDF), The Independent JPEG Group (JPEG), Jean-loup Gailly and Mark Adler +(gzip), and Digital Equipment Corporation (DEC). + +----------------------------------------------------------------------------- + +Portions of HDF5 were developed with support from the Lawrence Berkeley +National Laboratory (LBNL) and the United States Department of Energy +under Prime Contract No. DE-AC02-05CH11231. + +----------------------------------------------------------------------------- + +Portions of HDF5 were developed with support from Lawrence Livermore +National Laboratory and the United States Department of Energy under +Prime Contract No. DE-AC52-07NA27344. + +----------------------------------------------------------------------------- + +Portions of HDF5 were developed with support from the University of +California, Lawrence Livermore National Laboratory (UC LLNL). +The following statement applies to those portions of the product and must +be retained in any redistribution of source code, binaries, documentation, +and/or accompanying materials: + + This work was partially produced at the University of California, + Lawrence Livermore National Laboratory (UC LLNL) under contract + no. W-7405-ENG-48 (Contract 48) between the U.S. Department of Energy + (DOE) and The Regents of the University of California (University) + for the operation of UC LLNL. + + DISCLAIMER: + THIS WORK WAS PREPARED AS AN ACCOUNT OF WORK SPONSORED BY AN AGENCY OF + THE UNITED STATES GOVERNMENT. NEITHER THE UNITED STATES GOVERNMENT NOR + THE UNIVERSITY OF CALIFORNIA NOR ANY OF THEIR EMPLOYEES, MAKES ANY + WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LIABILITY OR RESPONSIBILITY + FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY INFORMATION, + APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS THAT ITS USE + WOULD NOT INFRINGE PRIVATELY- OWNED RIGHTS. REFERENCE HEREIN TO ANY + SPECIFIC COMMERCIAL PRODUCTS, PROCESS, OR SERVICE BY TRADE NAME, + TRADEMARK, MANUFACTURER, OR OTHERWISE, DOES NOT NECESSARILY CONSTITUTE + OR IMPLY ITS ENDORSEMENT, RECOMMENDATION, OR FAVORING BY THE UNITED + STATES GOVERNMENT OR THE UNIVERSITY OF CALIFORNIA. THE VIEWS AND + OPINIONS OF AUTHORS EXPRESSED HEREIN DO NOT NECESSARILY STATE OR REFLECT + THOSE OF THE UNITED STATES GOVERNMENT OR THE UNIVERSITY OF CALIFORNIA, + AND SHALL NOT BE USED FOR ADVERTISING OR PRODUCT ENDORSEMENT PURPOSES. + +----------------------------------------------------------------------------- \ No newline at end of file diff --git a/src/licensedcode/data/licenses/jove.LICENSE b/src/licensedcode/data/licenses/jove.LICENSE new file mode 100644 index 00000000000..b1ee3c54360 --- /dev/null +++ b/src/licensedcode/data/licenses/jove.LICENSE @@ -0,0 +1,14 @@ +--- +key: jove +short_name: Jove License +name: Jove License +spdx_license_key: jove +owner: Jonathan Payne +category: Permissive +other_urls: + - https://github.com/jonmacs/jove/blob/4_17/LICENSE +--- + +JOVE is provided by Jonathan and Jovehacks without charge and without +warranty. You may copy, modify, and/or distribute JOVE, provided that +this notice is included in all the source files and documentation. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/libpng-1.6.35.LICENSE b/src/licensedcode/data/licenses/libpng-1.6.35.LICENSE new file mode 100644 index 00000000000..d81ef2cd2f3 --- /dev/null +++ b/src/licensedcode/data/licenses/libpng-1.6.35.LICENSE @@ -0,0 +1,110 @@ +--- +key: libpng-1.6.35 +short_name: PNG Reference Library License v1 +name: PNG Reference Library License v1 (for libpng 0.5 through 1.6.35) +category: Permissive +owner: libpng +notes: | + Added in SPDX license list 3.27 + This was previously the license rule: libpng_31.RULE +spdx_license_key: libpng-1.6.35 +other_urls: + - http://www.libpng.org/pub/png/src/libpng-LICENSE.txt +--- + +PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35) +----------------------------------------------------------------------- + +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/licenses/man2html.LICENSE b/src/licensedcode/data/licenses/man2html.LICENSE new file mode 100644 index 00000000000..02f6e62be47 --- /dev/null +++ b/src/licensedcode/data/licenses/man2html.LICENSE @@ -0,0 +1,18 @@ +--- +key: man2html +short_name: man2html License +name: man2html License +category: Permissive +owner: HAMANO Tsukasa +notes: | + Added in SPDX license list 3.27 + This was previously the license rule: other-permissive_32.RULE +spdx_license_key: man2html +other_urls: + - http://primates.ximian.com/~flucifredi/man/man-1.6g.tar.gz + - https://github.com/hamano/man2html/blob/master/man2html.c + - https://docs.oracle.com/cd/E81115_01/html/E81116/licenses.html +--- + +Permission is granted to distribute, modify and use this program +as long as this comment is not removed or changed. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/ngrep.LICENSE b/src/licensedcode/data/licenses/ngrep.LICENSE new file mode 100644 index 00000000000..af667b423f0 --- /dev/null +++ b/src/licensedcode/data/licenses/ngrep.LICENSE @@ -0,0 +1,47 @@ +--- +key: ngrep +short_name: ngrep License +name: ngrep License +owner: Jordan Ritter +category: Permissive +spdx_license_key: ngrep +other_urls: + - https://github.com/jpr5/ngrep/blob/master/LICENSE +--- + +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 origin of this software must not be misrepresented, either by + explicit claim or by omission. + +2. Altered versions must be plainly marked as such, and must not be + misrepresented as being the original software. Any altered version + must clearly and properly represent the origin of this software in + any accompanying documentation. + +3. All advertising materials which relate specifically to derivate + works of this software must display the following acknowledgement: + This product includes software developed by Jordan Ritter. + +4. The name of the Author may not be used to endorse or promote + products derived from this software without specific prior written + permission. + +5. This notice, and any references to this notice, in any original or + derived source distribution of or documentation for this software, + may not be removed or altered. + + +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. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/ntia-pd.LICENSE b/src/licensedcode/data/licenses/ntia-pd.LICENSE new file mode 100644 index 00000000000..128c1c9ef41 --- /dev/null +++ b/src/licensedcode/data/licenses/ntia-pd.LICENSE @@ -0,0 +1,25 @@ +--- +key: ntia-pd +short_name: NTIA Public Domain Notice +name: NTIA Public Domain Notice +owner: National Telecommunications and Information Administration (NTIA) +category: Public Domain +spdx_license_key: NTIA-PD +other_urls: + - https://raw.githubusercontent.com/NTIA/itm/refs/heads/master/LICENSE.md + - https://raw.githubusercontent.com/NTIA/scos-sensor/refs/heads/master/LICENSE.md +--- + +SOFTWARE DISCLAIMER / RELEASE + +This software was developed by employees of the National Telecommunications and Information Administration (NTIA), an agency of the Federal Government and is provided to you as a public service. Pursuant to Title 15 United States Code Section 105, works of NTIA employees are not subject to copyright protection within the United States. + +The software is provided by NTIA “AS IS.” NTIA MAKES NO WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT AND DATA ACCURACY. NTIA does not warrant or make any representations regarding the use of the software or the results thereof, including but not limited to the correctness, accuracy, reliability or usefulness of the software. + +To the extent that NTIA holds rights in countries other than the United States, you are hereby granted the non-exclusive irrevocable and unconditional right to print, publish, prepare derivative works and distribute the NTIA software, in any medium, or authorize others to do so on your behalf, on a royalty-free basis throughout the World. + +You may improve, modify, and create derivative works of the software or any portion of the software, and you may copy and distribute such modifications or works. Modified works should carry a notice stating that you changed the software and should note the date and nature of any such change. + +You are solely responsible for determining the appropriateness of using and distributing the software and you assume all risks associated with its use, 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 the unavailability or interruption of operation. This software is not intended to be used in any situation where a failure could cause risk of injury or damage to property. + +Please provide appropriate acknowledgments of NTIA’s creation of the software in any copies or derivative works of this software. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/qt-company-exception-lgpl-2.1.LICENSE b/src/licensedcode/data/licenses/qt-company-exception-lgpl-2.1.LICENSE index 54bfc05c109..1af60f8a371 100644 --- a/src/licensedcode/data/licenses/qt-company-exception-lgpl-2.1.LICENSE +++ b/src/licensedcode/data/licenses/qt-company-exception-lgpl-2.1.LICENSE @@ -6,10 +6,13 @@ category: Copyleft Limited owner: Qt Company notes: this is very similar to qt-lgpl-exception-1.1 but with a different text is_exception: yes -spdx_license_key: LicenseRef-scancode-qt-company-exception-lgpl-2.1 +spdx_license_key: Digia-Qt-LGPL-exception-1.1 +other_spdx_license_keys: + - LicenseRef-scancode-qt-company-exception-lgpl-2.1 other_urls: - http://www.gnu.org/licenses/lgpl-2.1.txt - https://www.keepassx.org/dev/projects/keepassx/repository/revisions/b8dfb9cc4d5133e0f09cd7533d15a4f1c19a40f2/entry/LICENSE.NOKIA-LGPL-EXCEPTION + - https://src.fedoraproject.org/rpms/qtlockedfile/blob/rawhide/f/LGPL_EXCEPTION standard_notice: | 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 @@ -32,10 +35,12 @@ standard_notice: | functions and templates. --- -As a special exception to the GNU Lesser General Public License version 2.1, the -object code form of a "work that uses the Library" may incorporate material from -a header file that is part of the Library. You may distribute such object code -under terms of your choice, provided that the incorporated material (i) does not -exceed more than 5% of the total size of the Library; and (ii) is limited to -numerical parameters, data structure layouts, accessors, macros, inline -functions and templates. \ No newline at end of file +Digia Qt LGPL Exception version 1.1 + +As a special exception to the GNU Lesser General Public License version 2.1, +the object code form of a "work that uses the Library" may incorporate material +from a header file that is part of the Library. You may distribute such object +code under terms of your choice, provided that the incorporated material (i) +does not exceed more than 5% of the total size of the Library; and (ii) is +limited to numerical parameters, data structure layouts, accessors, macros, +inline functions and templates. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/sofa.LICENSE b/src/licensedcode/data/licenses/sofa.LICENSE new file mode 100644 index 00000000000..e9f5d1a1e1f --- /dev/null +++ b/src/licensedcode/data/licenses/sofa.LICENSE @@ -0,0 +1,100 @@ +--- +key: sofa +short_name: SOFA Software License +name: SOFA Software License +owner: (SOFA) Standards of Fundamental Astronomy Board of the International Astronomical Union +category: Proprietary Free +notes: | + Added in SPDX License List 3.27 + This was previously the proprietary-license_972.RULE +spdx_license_key: SOFA +other_urls: + - http://www.iausofa.org/tandc.html +--- + +===================== +SOFA Software License +===================== + +NOTICE TO USER: + +BY USING THIS SOFTWARE YOU ACCEPT THE FOLLOWING SIX TERMS AND +CONDITIONS WHICH APPLY TO ITS USE. + +1. The Software is owned by the IAU SOFA Board ("SOFA"). + +2. Permission is granted to anyone to use the SOFA software for any +purpose, including commercial applications, free of charge and +without payment of royalties, subject to the conditions and +restrictions listed below. + +3. You (the user) may copy and distribute SOFA source code to others, +and use and adapt its code and algorithms in your own software, +on a world-wide, royalty-free basis. That portion of your +distribution that does not consist of intact and unchanged copies +of SOFA source code files is a "derived work" that must comply +with the following requirements: + + a) Your work shall be marked or carry a statement that it + (i) uses routines and computations derived by you from + software provided by SOFA under license to you; and + (ii) does not itself constitute software provided by and/or + endorsed by SOFA. + + b) The source code of your derived work must contain descriptions + of how the derived work is based upon, contains and/or differs + from the original SOFA software. + + c) The names of all routines in your derived work shall not + include the prefix "iau" or "sofa" or trivial modifications + thereof such as changes of case. + + d) The origin of the SOFA components of your derived work must + not be misrepresented; you must not claim that you wrote the + original software, nor file a patent application for SOFA + software or algorithms embedded in the SOFA software. + + e) These requirements must be reproduced intact in any source + distribution and shall apply to anyone to whom you have + granted a further right to modify the source code of your + derived work. + + Note that, as originally distributed, the SOFA software is + intended to be a definitive implementation of the IAU standards, + and consequently third-party modifications are discouraged. All + variations, no matter how minor, must be explicitly marked as + such, as explained above. + + 4. You shall not cause the SOFA software to be brought into + disrepute, either by misuse, or use for inappropriate tasks, or + by inappropriate modification. + + 5. The SOFA software is provided "as is" and SOFA makes no warranty + as to its use or performance. SOFA does not and cannot warrant + the performance or results which the user may obtain by using the + SOFA software. SOFA makes no warranties, express or implied, as + to non-infringement of third party rights, merchantability, or + fitness for any particular purpose. In no event will SOFA be + liable to the user for any consequential, incidental, or special + damages, including any lost profits or lost savings, even if a + SOFA representative has been advised of such damages, or for any + claim by any third party. + + 6. The provision of any version of the SOFA software under the terms + and conditions specified herein does not imply that future + versions will also be made available under the same terms and + conditions. + + In any published work or commercial product which uses the SOFA + software directly, acknowledgement (see www.iausofa.org) is + appreciated. + + Correspondence concerning SOFA software should be addressed as + follows: + By email: sofa@ukho.gov.uk + By post: IAU SOFA Center + HM Nautical Almanac Office + UK Hydrographic Office + Admiralty Way, Taunton + Somerset, TA1 2DN + United Kingdom \ No newline at end of file diff --git a/src/licensedcode/data/licenses/sustainable-use-1.0.LICENSE b/src/licensedcode/data/licenses/sustainable-use-1.0.LICENSE index fdd827635d9..3e02bd4b716 100644 --- a/src/licensedcode/data/licenses/sustainable-use-1.0.LICENSE +++ b/src/licensedcode/data/licenses/sustainable-use-1.0.LICENSE @@ -5,12 +5,15 @@ name: Sustainable Use License 1.0 category: Free Restricted owner: Fair-code homepage_url: https://github.com/n8n-io/n8n/blob/master/LICENSE.md -spdx_license_key: LicenseRef-scancode-sustainable-use-1.0 +spdx_license_key: SUL-1.0 +other_spdx_license_keys: + - LicenseRef-scancode-sustainable-use-1.0 text_urls: - https://github.com/n8n-io/n8n/blob/master/LICENSE.md#sustainable-use-license faq_url: https://faircode.io/#faq other_urls: - https://blog.n8n.io/announcing-new-sustainable-use-license/ + - https://github.com/n8n-io/n8n/blob/master/LICENSE.md --- # Sustainable Use License diff --git a/src/licensedcode/data/licenses/unlicense-libtelnet.LICENSE b/src/licensedcode/data/licenses/unlicense-libtelnet.LICENSE new file mode 100644 index 00000000000..28b02539d24 --- /dev/null +++ b/src/licensedcode/data/licenses/unlicense-libtelnet.LICENSE @@ -0,0 +1,15 @@ +--- +key: unlicense-libtelnet +short_name: Unlicense libtelnet variant +name: Unlicense - libtelnet variant +category: Public Domain +owner: Sean Middleditch +notes: | + Added in SPDX license list 3.27 + This was previously the license rule: public-domain_379.RULE +spdx_license_key: Unlicense-libtelnet +other_urls: + - https://github.com/seanmiddleditch/libtelnet/blob/develop/COPYING +--- + +The author or authors of this code dedicate any and all copyright interest in this code 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 code under copyright law. \ No newline at end of file diff --git a/src/licensedcode/data/licenses/unlicense-libwhirlpool.LICENSE b/src/licensedcode/data/licenses/unlicense-libwhirlpool.LICENSE new file mode 100644 index 00000000000..0fdf0e7cd6d --- /dev/null +++ b/src/licensedcode/data/licenses/unlicense-libwhirlpool.LICENSE @@ -0,0 +1,19 @@ +--- +key: unlicense-libwhirlpool +short_name: Unlicense - libwhirlpool variant +name: Unlicense - libwhirlpool variant +owner: Denis Fateyev +category: Public Domain +spdx_license_key: Unlicense-libwhirlpool +other_urls: + - https://github.com/dfateyev/libwhirlpool/blob/master/README#L27 +--- + +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. + +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. \ No newline at end of file diff --git a/src/licensedcode/data/rules/dante-treglia_1.RULE b/src/licensedcode/data/rules/dante-treglia_1.RULE new file mode 100644 index 00000000000..d94cdad85a9 --- /dev/null +++ b/src/licensedcode/data/rules/dante-treglia_1.RULE @@ -0,0 +1,14 @@ +--- +license_expression: dante-treglia +is_license_text: yes +ignorable_copyrights: + - Portions Copyright (c) Scott Bilas, 2000 +ignorable_holders: + - Scott Bilas +--- + +This software is provided "as is" without express or implied +warranties. You may freely copy and compile this source into +applications you distribute provided that the copyright text +below is included in the resulting source code, for example: +"Portions Copyright (C) Scott Bilas, 2000" \ No newline at end of file diff --git a/src/licensedcode/data/rules/fsl-1.1-apache-2.0_1.RULE b/src/licensedcode/data/rules/fsl-1.1-apache-2.0_1.RULE new file mode 100644 index 00000000000..1bcd7f6568a --- /dev/null +++ b/src/licensedcode/data/rules/fsl-1.1-apache-2.0_1.RULE @@ -0,0 +1,112 @@ +--- +license_expression: fsl-1.1-apache-2.0 +is_license_text: yes +ignorable_urls: + - http://www.apache.org/licenses/LICENSE-2.0 +--- + +# Functional Source License, Version 1.1, Apache 2.0 Future License + +## Abbreviation + +FSL-1.1-Apache-2.0 + +## Notice + +Copyright ${year} ${licensor name} + +## Terms and Conditions + +### Licensor ("We") + +The party offering the Software under these Terms and Conditions. + +### The Software + +The "Software" is each version of the software that we make available under +these Terms and Conditions, as indicated by our inclusion of these Terms and +Conditions with the Software. + +### License Grant + +Subject to your compliance with this License Grant and the Patents, +Redistribution and Trademark clauses below, we hereby grant you the right to +use, copy, modify, create derivative works, publicly perform, publicly display +and redistribute the Software for any Permitted Purpose identified below. + +### Permitted Purpose + +A Permitted Purpose is any purpose other than a Competing Use. A Competing Use +means making the Software available to others in a commercial product or +service that: + +1. substitutes for the Software; + +2. substitutes for any other product or service we offer using the Software + that exists as of the date we make the Software available; or + +3. offers the same or substantially similar functionality as the Software. + +Permitted Purposes specifically include using the Software: + +1. for your internal use and access; + +2. for non-commercial education; + +3. for non-commercial research; and + +4. in connection with professional services that you provide to a licensee + using the Software in accordance with these Terms and Conditions. + +### Patents + +To the extent your use for a Permitted Purpose would necessarily infringe our +patents, the license grant above includes a license under our patents. If you +make a claim against any party that the Software infringes or contributes to +the infringement of any patent, then your patent license to the Software ends +immediately. + +### Redistribution + +The Terms and Conditions apply to all copies, modifications and derivatives of +the Software. + +If you redistribute any copies, modifications or derivatives of the Software, +you must include a copy of or a link to these Terms and Conditions and not +remove any copyright notices provided in or with the Software. + +### Disclaimer + +THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR +PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT. + +IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE +SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, +EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE. + +### Trademarks + +Except for displaying the License Details and identifying us as the origin of +the Software, you have no right under these Terms and Conditions to use our +trademarks, trade names, service marks or product names. + +## Grant of Future License + +We hereby irrevocably grant you an additional license to use the Software under +the Apache License, Version 2.0 that is effective on the second anniversary of +the date we make the Software available. On or after that date, you may use the +Software under the Apache License, Version 2.0, in which case the following +will apply: + +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. \ No newline at end of file diff --git a/src/licensedcode/data/rules/hdf5_5.RULE b/src/licensedcode/data/rules/hdf5_5.RULE new file mode 100644 index 00000000000..66bdf5fd1e3 --- /dev/null +++ b/src/licensedcode/data/rules/hdf5_5.RULE @@ -0,0 +1,40 @@ +--- +license_expression: hdf5 +is_license_text: yes +notes: | + This was previously the hdf5 license text before SPDX License list 3.27 + introduced a different version of the text with additions +--- + +Redistribution and use in source and binary forms, with or without +modification, are permitted for any purpose (including commercial purposes) +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 materials provided with the distribution. + +3. Neither the name of The HDF Group, the name of the University, nor the + name of any Contributor may be used to endorse or promote products derived + from this software without specific prior written permission from + The HDF Group, the University, or the Contributor, respectively. + +DISCLAIMER: +THIS SOFTWARE IS PROVIDED BY THE HDF GROUP AND THE CONTRIBUTORS +"AS IS" WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. IN NO +EVENT SHALL THE HDF GROUP OR THE CONTRIBUTORS BE LIABLE FOR ANY DAMAGES +SUFFERED BY THE USERS ARISING OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +You are under no obligation whatsoever to provide any bug fixes, patches, or +upgrades to the features, functionality or performance of the source code +("Enhancements") to anyone; however, if you choose to make your Enhancements +available either publicly, or directly to The HDF Group, without imposing a +separate written license agreement for such Enhancements, then you hereby +grant the following license: a non-exclusive, royalty-free perpetual license +to install, use, modify, prepare derivative works, incorporate into other +computer software, distribute, and sublicense such enhancements or derivative +works thereof, in binary and source code form. \ No newline at end of file diff --git a/src/licensedcode/data/rules/libpng_31.RULE b/src/licensedcode/data/rules/libpng_31.RULE index 0d6f0d55d29..03d4510bd00 100644 --- a/src/licensedcode/data/rules/libpng_31.RULE +++ b/src/licensedcode/data/rules/libpng_31.RULE @@ -1,7 +1,10 @@ --- license_expression: libpng is_license_text: yes -relevance: 100 +is_deprecated: yes +replaced_by: + - libpng-1.6.35 +notes: Added in SPDX license list 3.27 ignorable_copyrights: - Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. - Copyright (c) 1996-1997 Andreas Dilger diff --git a/src/licensedcode/data/rules/other-permissive_32.RULE b/src/licensedcode/data/rules/other-permissive_32.RULE index 090babaef15..fa4ebe9ca6f 100644 --- a/src/licensedcode/data/rules/other-permissive_32.RULE +++ b/src/licensedcode/data/rules/other-permissive_32.RULE @@ -1,6 +1,10 @@ --- license_expression: other-permissive is_license_text: yes +is_deprecated: yes +replaced_by: + - man2html +notes: Added in SPDX license list 3.27 --- Permission is granted to distribute, modify and use this program as long diff --git a/src/licensedcode/data/rules/proprietary-license_972.RULE b/src/licensedcode/data/rules/proprietary-license_972.RULE index 54ec586fd90..6f9c97be7bd 100644 --- a/src/licensedcode/data/rules/proprietary-license_972.RULE +++ b/src/licensedcode/data/rules/proprietary-license_972.RULE @@ -1,6 +1,9 @@ --- license_expression: proprietary-license is_license_text: yes +is_deprecated: yes +replaced_by: + - sofa notes: https://web.archive.org/web/20160308060350/https://www.iausofa.org/tandc.html --- diff --git a/src/licensedcode/data/rules/public-domain_379.RULE b/src/licensedcode/data/rules/public-domain_379.RULE index ca5189dbfba..69c7a2ebaef 100644 --- a/src/licensedcode/data/rules/public-domain_379.RULE +++ b/src/licensedcode/data/rules/public-domain_379.RULE @@ -1,6 +1,10 @@ --- license_expression: public-domain is_license_text: yes +is_deprecated: yes +replaced_by: + - unlicense-libtelnet +notes: Added in SPDX license list 3.27 --- The author or authors of this code dedicate any and all copyright interest diff --git a/src/licensedcode/data/rules/qt-company-exception-lgpl-2.1_2.RULE b/src/licensedcode/data/rules/qt-company-exception-lgpl-2.1_2.RULE new file mode 100644 index 00000000000..0e87a0d5d07 --- /dev/null +++ b/src/licensedcode/data/rules/qt-company-exception-lgpl-2.1_2.RULE @@ -0,0 +1,12 @@ +--- +license_expression: qt-company-exception-lgpl-2.1 +is_license_text: yes +--- + +As a special exception to the GNU Lesser General Public License version 2.1, the +object code form of a "work that uses the Library" may incorporate material from +a header file that is part of the Library. You may distribute such object code +under terms of your choice, provided that the incorporated material (i) does not +exceed more than 5% of the total size of the Library; and (ii) is limited to +numerical parameters, data structure layouts, accessors, macros, inline +functions and templates. \ No newline at end of file From d2eeac0301bbb0ff630305a939b5424a2e995f74 Mon Sep 17 00:00:00 2001 From: Ayan Sinha Mahapatra Date: Wed, 9 Jul 2025 21:28:41 +0530 Subject: [PATCH 2/2] Bump SPDX License List to v3.27 and fix test failures Also address review comments. Signed-off-by: Ayan Sinha Mahapatra --- CHANGELOG.rst | 9 ++ .../bsd-2-clause-pkgconf-disclaimer.LICENSE | 2 +- .../data/licenses/cryptoswift.LICENSE | 7 -- .../data/licenses/docbook-dtd.LICENSE | 6 +- src/licensedcode/data/licenses/hdf5.LICENSE | 11 ++ .../data/licenses/libpng-1.6.35.LICENSE | 9 ++ src/licensedcode/data/licenses/ngrep.LICENSE | 4 +- .../data/licenses/ntia-pd.LICENSE | 2 +- src/licensedcode/data/licenses/sofa.LICENSE | 10 +- .../data/rules/libpng-1.6.35_1.RULE | 107 ++++++++++++++++++ .../data/rules/libpng-1.6.35_2.RULE | 8 ++ src/licensedcode/data/rules/libpng_31.RULE | 2 +- .../data/rules/proprietary-license_972.RULE | 2 +- src/licensedcode/data/rules/sofa_1.RULE | 22 ++++ src/licensedcode/data/rules/sofa_2.RULE | 8 ++ src/scancode_config.py | 4 +- .../data/common/manifests-expected.jsonlines | 2 +- .../data/common/manifests-expected.yaml | 2 +- .../data/json/simple-expected.jsonlines | 2 +- .../data/spdx/license_known/expected.rdf | 2 +- .../data/spdx/license_known/expected.tv | 2 +- .../spdx/license_known/expected_with_text.rdf | 2 +- .../spdx/license_known/expected_with_text.tv | 2 +- .../data/spdx/license_ref/expected.rdf | 2 +- .../data/spdx/license_ref/expected.tv | 2 +- .../spdx/license_ref/expected_with_text.rdf | 2 +- .../spdx/license_ref/expected_with_text.tv | 2 +- .../data/spdx/or_later/expected.rdf | 2 +- .../data/spdx/simple/expected.rdf | 2 +- .../data/spdx/simple/expected.tv | 2 +- .../formattedcode/data/spdx/tree/expected.rdf | 2 +- .../formattedcode/data/spdx/tree/expected.tv | 2 +- .../data/spdx/unicode/expected.rdf | 2 +- .../data/spdx/unicode/expected.tv | 2 +- .../yaml/package-and-licenses-expected.yaml | 2 +- .../data/yaml/simple-expected.yaml | 2 +- .../data/yaml/tree/expected.yaml | 2 +- ...sf-unlimited-no-warranty_and_other.txt.yml | 2 +- .../p/perl/copyright-detailed.expected.yml | 88 +++++++------- .../perl-base/copyright-detailed.expected.yml | 72 ++++++------ 40 files changed, 295 insertions(+), 122 deletions(-) create mode 100644 src/licensedcode/data/rules/libpng-1.6.35_1.RULE create mode 100644 src/licensedcode/data/rules/libpng-1.6.35_2.RULE create mode 100644 src/licensedcode/data/rules/sofa_1.RULE create mode 100644 src/licensedcode/data/rules/sofa_2.RULE diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7cc1c61632e..b9c6c38fe4f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -38,6 +38,15 @@ v33.0.0 (next next, roadmap) - Update ABOUT files to adapt the ABOUT File Specification. See https://github.com/aboutcode-org/scancode-toolkit/issues/4181 +- Add licenses from SPDX License List 3.27 + - Total Licenses: 21 + - Old Licenses: 13 + - From rules: 4 + - From licenses: 9 + - New licenses: 8 + https://github.com/aboutcode-org/scancode-toolkit/pull/4468 + + v32.4.0 - 2025-06-26 -------------------- diff --git a/src/licensedcode/data/licenses/bsd-2-clause-pkgconf-disclaimer.LICENSE b/src/licensedcode/data/licenses/bsd-2-clause-pkgconf-disclaimer.LICENSE index 42f7499f25e..87345bbd26d 100644 --- a/src/licensedcode/data/licenses/bsd-2-clause-pkgconf-disclaimer.LICENSE +++ b/src/licensedcode/data/licenses/bsd-2-clause-pkgconf-disclaimer.LICENSE @@ -4,7 +4,7 @@ short_name: BSD 2-Clause pkgconf disclaimer variant name: BSD 2-Clause pkgconf disclaimer variant spdx_license_key: BSD-2-Clause-pkgconf-disclaimer category: Permissive -owner: Audacious developers +owner: Audacious Project other_urls: - https://github.com/audacious-media-player/audacious/blob/master/src/audacious/main.cc - https://github.com/audacious-media-player/audacious/blob/master/COPYING diff --git a/src/licensedcode/data/licenses/cryptoswift.LICENSE b/src/licensedcode/data/licenses/cryptoswift.LICENSE index b25f55cf2de..f1f542cc28a 100644 --- a/src/licensedcode/data/licenses/cryptoswift.LICENSE +++ b/src/licensedcode/data/licenses/cryptoswift.LICENSE @@ -11,19 +11,12 @@ other_spdx_license_keys: other_urls: - https://github.com/krzyzanowskim/CryptoSwift/blob/main/LICENSE - https://github.com/krzyzanowskim/CryptoSwift/blob/main/CONTRIBUTING.md -ignorable_copyrights: - - Copyright (c) 2014-3099 Marcin Krzyzanowski -ignorable_holders: - - Marcin Krzyzanowski ignorable_authors: - the Marcin Krzyzanowski (http://krzyzanowskim.com/) ignorable_urls: - http://krzyzanowskim.com/ -ignorable_emails: - - marcin.krzyzanowski@gmail.com --- -Copyright (C) 2014-3099 Marcin Krzyżanowski 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. diff --git a/src/licensedcode/data/licenses/docbook-dtd.LICENSE b/src/licensedcode/data/licenses/docbook-dtd.LICENSE index d605d5e0045..cf91afea80e 100644 --- a/src/licensedcode/data/licenses/docbook-dtd.LICENSE +++ b/src/licensedcode/data/licenses/docbook-dtd.LICENSE @@ -2,11 +2,15 @@ key: docbook-dtd short_name: DocBook DTD License name: DocBook DTD License -spdx_license_key: DocBook-DTD category: Permissive owner: OASIS +spdx_license_key: DocBook-DTD other_urls: - http://www.docbook.org/xml/simple/1.1/docbook-simple-1.1.zip +ignorable_urls: + - http://www.oasis-open.org/docbook +ignorable_emails: + - docbook@lists.oasis-open.org --- Permission to use, copy, modify and distribute the DocBook XML DTD diff --git a/src/licensedcode/data/licenses/hdf5.LICENSE b/src/licensedcode/data/licenses/hdf5.LICENSE index efa63e34cd4..85b6b0c6b38 100644 --- a/src/licensedcode/data/licenses/hdf5.LICENSE +++ b/src/licensedcode/data/licenses/hdf5.LICENSE @@ -14,6 +14,17 @@ standard_notice: "This file is part of HDF5. The full HDF5 copyright notice, in terms governing use, modification, and redistribution, is contained in \nthe COPYING file,\ \ which can be found at the root of the source code \ndistribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.\n\ If you do not have access to either file, you may request a copy from \nhelp@hdfgroup.org. " +ignorable_copyrights: + - Copyright 1998-2006 by The Board of Trustees of the University of Illinois + - Copyright 2006 by The HDF Group +ignorable_holders: + - The Board of Trustees of the University of Illinois + - The HDF Group +ignorable_authors: + - with support from Lawrence Livermore National Laboratory and the United States Department + of Energy + - with support from the Lawrence Berkeley National Laboratory + - with support from the University of California, Lawrence Livermore National Laboratory --- Copyright Notice and License Terms for diff --git a/src/licensedcode/data/licenses/libpng-1.6.35.LICENSE b/src/licensedcode/data/licenses/libpng-1.6.35.LICENSE index d81ef2cd2f3..ab1d1aba780 100644 --- a/src/licensedcode/data/licenses/libpng-1.6.35.LICENSE +++ b/src/licensedcode/data/licenses/libpng-1.6.35.LICENSE @@ -10,6 +10,15 @@ notes: | spdx_license_key: libpng-1.6.35 other_urls: - http://www.libpng.org/pub/png/src/libpng-LICENSE.txt +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. --- PNG Reference Library License version 1 (for libpng 0.5 through 1.6.35) diff --git a/src/licensedcode/data/licenses/ngrep.LICENSE b/src/licensedcode/data/licenses/ngrep.LICENSE index af667b423f0..c70d967e6e9 100644 --- a/src/licensedcode/data/licenses/ngrep.LICENSE +++ b/src/licensedcode/data/licenses/ngrep.LICENSE @@ -2,11 +2,13 @@ key: ngrep short_name: ngrep License name: ngrep License -owner: Jordan Ritter category: Permissive +owner: Jordan Ritter spdx_license_key: ngrep other_urls: - https://github.com/jpr5/ngrep/blob/master/LICENSE +ignorable_authors: + - Jordan Ritter --- Permission is granted to anyone to use this software for any purpose on diff --git a/src/licensedcode/data/licenses/ntia-pd.LICENSE b/src/licensedcode/data/licenses/ntia-pd.LICENSE index 128c1c9ef41..b2ee0b9b63a 100644 --- a/src/licensedcode/data/licenses/ntia-pd.LICENSE +++ b/src/licensedcode/data/licenses/ntia-pd.LICENSE @@ -2,7 +2,7 @@ key: ntia-pd short_name: NTIA Public Domain Notice name: NTIA Public Domain Notice -owner: National Telecommunications and Information Administration (NTIA) +owner: NTIA category: Public Domain spdx_license_key: NTIA-PD other_urls: diff --git a/src/licensedcode/data/licenses/sofa.LICENSE b/src/licensedcode/data/licenses/sofa.LICENSE index e9f5d1a1e1f..4f6231abe2f 100644 --- a/src/licensedcode/data/licenses/sofa.LICENSE +++ b/src/licensedcode/data/licenses/sofa.LICENSE @@ -2,14 +2,18 @@ key: sofa short_name: SOFA Software License name: SOFA Software License -owner: (SOFA) Standards of Fundamental Astronomy Board of the International Astronomical Union category: Proprietary Free +owner: SOFA notes: | - Added in SPDX License List 3.27 - This was previously the proprietary-license_972.RULE + Added in SPDX License List 3.27 + This was previously the proprietary-license_972.RULE spdx_license_key: SOFA other_urls: - http://www.iausofa.org/tandc.html +ignorable_urls: + - http://www.iausofa.org/ +ignorable_emails: + - sofa@ukho.gov.uk --- ===================== diff --git a/src/licensedcode/data/rules/libpng-1.6.35_1.RULE b/src/licensedcode/data/rules/libpng-1.6.35_1.RULE new file mode 100644 index 00000000000..def4acb9fb2 --- /dev/null +++ b/src/licensedcode/data/rules/libpng-1.6.35_1.RULE @@ -0,0 +1,107 @@ +--- +license_expression: libpng-1.6.35 +is_license_text: yes +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. +--- + +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-1.6.35_2.RULE b/src/licensedcode/data/rules/libpng-1.6.35_2.RULE new file mode 100644 index 00000000000..a5ccdad84e1 --- /dev/null +++ b/src/licensedcode/data/rules/libpng-1.6.35_2.RULE @@ -0,0 +1,8 @@ +--- +license_expression: libpng-1.6.35 +is_license_reference: yes +is_required_phrase: yes +relevance: 100 +--- + +PNG Reference Library License version 1 \ No newline at end of file diff --git a/src/licensedcode/data/rules/libpng_31.RULE b/src/licensedcode/data/rules/libpng_31.RULE index 03d4510bd00..af5f2685c12 100644 --- a/src/licensedcode/data/rules/libpng_31.RULE +++ b/src/licensedcode/data/rules/libpng_31.RULE @@ -2,9 +2,9 @@ license_expression: libpng is_license_text: yes is_deprecated: yes +notes: Added in SPDX license list 3.27 replaced_by: - libpng-1.6.35 -notes: Added in SPDX license list 3.27 ignorable_copyrights: - Copyright (c) 1995-1996 Guy Eric Schalnat, Group 42, Inc. - Copyright (c) 1996-1997 Andreas Dilger diff --git a/src/licensedcode/data/rules/proprietary-license_972.RULE b/src/licensedcode/data/rules/proprietary-license_972.RULE index 6f9c97be7bd..0d69c924004 100644 --- a/src/licensedcode/data/rules/proprietary-license_972.RULE +++ b/src/licensedcode/data/rules/proprietary-license_972.RULE @@ -2,9 +2,9 @@ license_expression: proprietary-license is_license_text: yes is_deprecated: yes +notes: https://web.archive.org/web/20160308060350/https://www.iausofa.org/tandc.html replaced_by: - sofa -notes: https://web.archive.org/web/20160308060350/https://www.iausofa.org/tandc.html --- SOFA Software License diff --git a/src/licensedcode/data/rules/sofa_1.RULE b/src/licensedcode/data/rules/sofa_1.RULE new file mode 100644 index 00000000000..79a1a8d3d8f --- /dev/null +++ b/src/licensedcode/data/rules/sofa_1.RULE @@ -0,0 +1,22 @@ +--- +license_expression: sofa +is_license_text: yes +--- + +SOFA Software License + +By using this software you accept the following six terms and conditions which apply to its use. + + The Software is owned by the IAU SOFA Board ("SOFA"). + Permission is granted to anyone to use the SOFA software for any purpose, including commercial applications, free of charge and without payment of royalties, subject to the conditions and restrictions listed below. + You (the user) may copy and distribute SOFA source code to others, and use and adapt its code and algorithms in your own software, on a world-wide, royalty-free basis. That portion of your distribution that does not consist of intact and unchanged copies of SOFA source code files is a "derived work" that must comply with the following requirements: + Your work shall be marked or carry a statement that it (i) uses routines and computations derived by you from software provided by SOFA under license to you; and (ii) does not itself constitute software provided by and/or endorsed by SOFA. + The source code of your derived work must contain descriptions of how the derived work is based upon, contains and/or differs from the original SOFA software. + The names of all routines in your derived work shall not include the prefix "iau" or "sofa" or trivial modifications thereof such as changes of case. + The origin of the SOFA components of your derived work must not be misrepresented; you must not claim that you wrote the original software, nor file a patent application for SOFA software or algorithms embedded in the SOFA software. + These requirements must be reproduced intact in any source distribution and shall apply to anyone to whom you have granted a further right to modify the source code of your derived work. + + Note that, as originally distributed, the SOFA software is intended to be a definitive implementation of the IAU standards, and consequently third-party modifications are discouraged. All variations, no matter how minor, must be explicitly marked as such, as explained above. + You shall not cause the SOFA software to be brought into disrepute, either by misuse, or use for inappropriate tasks, or by inappropriate modification. + The SOFA software is provided "as is" and SOFA makes no warranty as to its use or performance. SOFA does not and cannot warrant the performance or results which the user may obtain by using the SOFA software. SOFA makes no warranties, express or implied, as to non-infringement of third party rights, merchantability, or fitness for any particular purpose. In no event will SOFA be liable to the user for any consequential, incidental, or special damages, including any lost profits or lost savings, even if a SOFA representative has been advised of such damages, or for any claim by any third party. + The provision of any version of the SOFA software under the terms and conditions specified herein does not imply that future versions will also be made available under the same terms and conditions. \ No newline at end of file diff --git a/src/licensedcode/data/rules/sofa_2.RULE b/src/licensedcode/data/rules/sofa_2.RULE new file mode 100644 index 00000000000..58621d0fab8 --- /dev/null +++ b/src/licensedcode/data/rules/sofa_2.RULE @@ -0,0 +1,8 @@ +--- +license_expression: sofa +is_license_reference: yes +is_required_phrase: yes +relevance: 100 +--- + +SOFA Software License \ No newline at end of file diff --git a/src/scancode_config.py b/src/scancode_config.py index d1da047b2cc..b5a87b911cf 100644 --- a/src/scancode_config.py +++ b/src/scancode_config.py @@ -146,8 +146,8 @@ def _create_dir(location): __output_format_version__ = '4.1.0' # see https://github.com/spdx/tools-python/issues/820 -# this is actually `3.26.0` -spdx_license_list_version = '3.26' +# this is actually `3.27.0` +spdx_license_list_version = '3.27' ################################################################################ # USAGE MODE-, INSTALLATION- and IMPORT- and RUN-SPECIFIC DIRECTORIES diff --git a/tests/formattedcode/data/common/manifests-expected.jsonlines b/tests/formattedcode/data/common/manifests-expected.jsonlines index 1249c8df803..2de6907371d 100644 --- a/tests/formattedcode/data/common/manifests-expected.jsonlines +++ b/tests/formattedcode/data/common/manifests-expected.jsonlines @@ -24,7 +24,7 @@ "platform_version": "#151-Ubuntu SMP Sun May 18 21:35:19 UTC 2025", "python_version": "3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0]" }, - "spdx_license_list_version": "3.26", + "spdx_license_list_version": "3.27", "files_count": 4 } } diff --git a/tests/formattedcode/data/common/manifests-expected.yaml b/tests/formattedcode/data/common/manifests-expected.yaml index f79f4a099de..219b05fd171 100644 --- a/tests/formattedcode/data/common/manifests-expected.yaml +++ b/tests/formattedcode/data/common/manifests-expected.yaml @@ -32,7 +32,7 @@ headers: platform: Linux-5.15.0-141-generic-x86_64-with-glibc2.35 platform_version: '#151-Ubuntu SMP Sun May 18 21:35:19 UTC 2025' python_version: 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0] - spdx_license_list_version: '3.26' + spdx_license_list_version: '3.27' files_count: 4 summary: declared_license_expression: apache-2.0 AND cddl-1.0 AND lgpl-3.0 AND mit diff --git a/tests/formattedcode/data/json/simple-expected.jsonlines b/tests/formattedcode/data/json/simple-expected.jsonlines index 8c899170df5..a9b9d9cdc7a 100644 --- a/tests/formattedcode/data/json/simple-expected.jsonlines +++ b/tests/formattedcode/data/json/simple-expected.jsonlines @@ -21,7 +21,7 @@ "platform_version": "#151-Ubuntu SMP Sun May 18 21:35:19 UTC 2025", "python_version": "3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0]" }, - "spdx_license_list_version": "3.26", + "spdx_license_list_version": "3.27", "files_count": 1 } } diff --git a/tests/formattedcode/data/spdx/license_known/expected.rdf b/tests/formattedcode/data/spdx/license_known/expected.rdf index 981d6e02ada..5da3219b004 100644 --- a/tests/formattedcode/data/spdx/license_known/expected.rdf +++ b/tests/formattedcode/data/spdx/license_known/expected.rdf @@ -94,7 +94,7 @@ "@rdf:resource": "http://spdx.org/licenses/CC0-1.0" }, "@rdf:about": "#SPDXRef-DOCUMENT", - "rdfs:comment": "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.\nSPDX License List: 3.26", + "rdfs:comment": "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.\nSPDX License List: 3.27", "spdx:name": "SPDX Document created by ScanCode Toolkit", "spdx:specVersion": "SPDX-2.2" }, diff --git a/tests/formattedcode/data/spdx/license_known/expected.tv b/tests/formattedcode/data/spdx/license_known/expected.tv index 90307b65afd..7e7eff56c30 100644 --- a/tests/formattedcode/data/spdx/license_known/expected.tv +++ b/tests/formattedcode/data/spdx/license_known/expected.tv @@ -10,7 +10,7 @@ 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. -SPDX License List: 3.26 +SPDX License List: 3.27 ## Creation Information ## Package Information PackageName: scan diff --git a/tests/formattedcode/data/spdx/license_known/expected_with_text.rdf b/tests/formattedcode/data/spdx/license_known/expected_with_text.rdf index 981d6e02ada..5da3219b004 100644 --- a/tests/formattedcode/data/spdx/license_known/expected_with_text.rdf +++ b/tests/formattedcode/data/spdx/license_known/expected_with_text.rdf @@ -94,7 +94,7 @@ "@rdf:resource": "http://spdx.org/licenses/CC0-1.0" }, "@rdf:about": "#SPDXRef-DOCUMENT", - "rdfs:comment": "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.\nSPDX License List: 3.26", + "rdfs:comment": "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.\nSPDX License List: 3.27", "spdx:name": "SPDX Document created by ScanCode Toolkit", "spdx:specVersion": "SPDX-2.2" }, 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 90307b65afd..7e7eff56c30 100644 --- a/tests/formattedcode/data/spdx/license_known/expected_with_text.tv +++ b/tests/formattedcode/data/spdx/license_known/expected_with_text.tv @@ -10,7 +10,7 @@ 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. -SPDX License List: 3.26 +SPDX License List: 3.27 ## Creation Information ## Package Information PackageName: scan diff --git a/tests/formattedcode/data/spdx/license_ref/expected.rdf b/tests/formattedcode/data/spdx/license_ref/expected.rdf index 8c08204f596..58d73a9d7d6 100644 --- a/tests/formattedcode/data/spdx/license_ref/expected.rdf +++ b/tests/formattedcode/data/spdx/license_ref/expected.rdf @@ -116,7 +116,7 @@ } } ], - "rdfs:comment": "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.\nSPDX License List: 3.26", + "rdfs:comment": "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.\nSPDX License List: 3.27", "spdx:name": "SPDX Document created by ScanCode Toolkit", "spdx:specVersion": "SPDX-2.2" }, diff --git a/tests/formattedcode/data/spdx/license_ref/expected.tv b/tests/formattedcode/data/spdx/license_ref/expected.tv index 5894319f597..657c70eb2ef 100644 --- a/tests/formattedcode/data/spdx/license_ref/expected.tv +++ b/tests/formattedcode/data/spdx/license_ref/expected.tv @@ -10,7 +10,7 @@ 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. -SPDX License List: 3.26 +SPDX License List: 3.27 ## Creation Information ## Package Information PackageName: scan diff --git a/tests/formattedcode/data/spdx/license_ref/expected_with_text.rdf b/tests/formattedcode/data/spdx/license_ref/expected_with_text.rdf index 825c0f38084..419716a9c8a 100644 --- a/tests/formattedcode/data/spdx/license_ref/expected_with_text.rdf +++ b/tests/formattedcode/data/spdx/license_ref/expected_with_text.rdf @@ -116,7 +116,7 @@ } } ], - "rdfs:comment": "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.\nSPDX License List: 3.26", + "rdfs:comment": "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.\nSPDX License List: 3.27", "spdx:name": "SPDX Document created by ScanCode Toolkit", "spdx:specVersion": "SPDX-2.2" }, 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 eac3dc15560..5d5f90f4e5f 100644 --- a/tests/formattedcode/data/spdx/license_ref/expected_with_text.tv +++ b/tests/formattedcode/data/spdx/license_ref/expected_with_text.tv @@ -10,7 +10,7 @@ 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. -SPDX License List: 3.26 +SPDX License List: 3.27 ## Creation Information ## Package Information PackageName: scan diff --git a/tests/formattedcode/data/spdx/or_later/expected.rdf b/tests/formattedcode/data/spdx/or_later/expected.rdf index 58c7a24ea41..0a91c07b15d 100644 --- a/tests/formattedcode/data/spdx/or_later/expected.rdf +++ b/tests/formattedcode/data/spdx/or_later/expected.rdf @@ -59,7 +59,7 @@ "@rdf:resource": "http://spdx.org/licenses/CC0-1.0" }, "@rdf:about": "#SPDXRef-DOCUMENT", - "rdfs:comment": "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.\nSPDX License List: 3.26", + "rdfs:comment": "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.\nSPDX License List: 3.27", "spdx:name": "SPDX Document created by ScanCode Toolkit", "spdx:specVersion": "SPDX-2.2" }, diff --git a/tests/formattedcode/data/spdx/simple/expected.rdf b/tests/formattedcode/data/spdx/simple/expected.rdf index f71f4f3a781..e586c26e7ce 100644 --- a/tests/formattedcode/data/spdx/simple/expected.rdf +++ b/tests/formattedcode/data/spdx/simple/expected.rdf @@ -59,7 +59,7 @@ "@rdf:resource": "http://spdx.org/licenses/CC0-1.0" }, "@rdf:about": "#SPDXRef-DOCUMENT", - "rdfs:comment": "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.\nSPDX License List: 3.26", + "rdfs:comment": "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.\nSPDX License List: 3.27", "spdx:name": "SPDX Document created by ScanCode Toolkit", "spdx:specVersion": "SPDX-2.2" }, diff --git a/tests/formattedcode/data/spdx/simple/expected.tv b/tests/formattedcode/data/spdx/simple/expected.tv index c38b3b48317..9ec7c0613cc 100644 --- a/tests/formattedcode/data/spdx/simple/expected.tv +++ b/tests/formattedcode/data/spdx/simple/expected.tv @@ -10,7 +10,7 @@ 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. -SPDX License List: 3.26 +SPDX License List: 3.27 ## Creation Information ## Package Information PackageName: simple diff --git a/tests/formattedcode/data/spdx/tree/expected.rdf b/tests/formattedcode/data/spdx/tree/expected.rdf index afc65a59a06..a8d7369aeec 100644 --- a/tests/formattedcode/data/spdx/tree/expected.rdf +++ b/tests/formattedcode/data/spdx/tree/expected.rdf @@ -229,7 +229,7 @@ "@rdf:resource": "http://spdx.org/licenses/CC0-1.0" }, "@rdf:about": "#SPDXRef-DOCUMENT", - "rdfs:comment": "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.\nSPDX License List: 3.26", + "rdfs:comment": "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.\nSPDX License List: 3.27", "spdx:name": "SPDX Document created by ScanCode Toolkit", "spdx:specVersion": "SPDX-2.2" }, diff --git a/tests/formattedcode/data/spdx/tree/expected.tv b/tests/formattedcode/data/spdx/tree/expected.tv index 5483a57a5b8..3fc400648a0 100644 --- a/tests/formattedcode/data/spdx/tree/expected.tv +++ b/tests/formattedcode/data/spdx/tree/expected.tv @@ -10,7 +10,7 @@ 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. -SPDX License List: 3.26 +SPDX License List: 3.27 ## Creation Information ## Package Information PackageName: scan diff --git a/tests/formattedcode/data/spdx/unicode/expected.rdf b/tests/formattedcode/data/spdx/unicode/expected.rdf index c352c5f2f87..9a35d86540f 100644 --- a/tests/formattedcode/data/spdx/unicode/expected.rdf +++ b/tests/formattedcode/data/spdx/unicode/expected.rdf @@ -68,7 +68,7 @@ "rdfs:comment": "See details at https://github.com/nexB/scancode-toolkit/blob/develop/src/licensedcode/data/licenses/agere-bsd.LICENSE" } }, - "rdfs:comment": "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.\nSPDX License List: 3.26", + "rdfs:comment": "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.\nSPDX License List: 3.27", "spdx:name": "SPDX Document created by ScanCode Toolkit", "spdx:specVersion": "SPDX-2.2" }, diff --git a/tests/formattedcode/data/spdx/unicode/expected.tv b/tests/formattedcode/data/spdx/unicode/expected.tv index 3e3eae93601..6513789d49e 100644 --- a/tests/formattedcode/data/spdx/unicode/expected.tv +++ b/tests/formattedcode/data/spdx/unicode/expected.tv @@ -10,7 +10,7 @@ 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. -SPDX License List: 3.26 +SPDX License List: 3.27 ## Creation Information ## Package Information PackageName: unicode diff --git a/tests/formattedcode/data/yaml/package-and-licenses-expected.yaml b/tests/formattedcode/data/yaml/package-and-licenses-expected.yaml index 0482ec43ead..1c5d687e52f 100644 --- a/tests/formattedcode/data/yaml/package-and-licenses-expected.yaml +++ b/tests/formattedcode/data/yaml/package-and-licenses-expected.yaml @@ -32,7 +32,7 @@ headers: platform: Linux-5.15.0-141-generic-x86_64-with-glibc2.35 platform_version: '#151-Ubuntu SMP Sun May 18 21:35:19 UTC 2025' python_version: 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0] - spdx_license_list_version: '3.26' + spdx_license_list_version: '3.27' files_count: 4 summary: declared_license_expression: apache-2.0 diff --git a/tests/formattedcode/data/yaml/simple-expected.yaml b/tests/formattedcode/data/yaml/simple-expected.yaml index 2399a616787..9bbe9dda588 100644 --- a/tests/formattedcode/data/yaml/simple-expected.yaml +++ b/tests/formattedcode/data/yaml/simple-expected.yaml @@ -25,7 +25,7 @@ headers: platform: Linux-5.15.0-141-generic-x86_64-with-glibc2.35 platform_version: '#151-Ubuntu SMP Sun May 18 21:35:19 UTC 2025' python_version: 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0] - spdx_license_list_version: '3.26' + spdx_license_list_version: '3.27' files_count: 1 packages: [] dependencies: [] diff --git a/tests/formattedcode/data/yaml/tree/expected.yaml b/tests/formattedcode/data/yaml/tree/expected.yaml index 87f126c5753..d66a16003d7 100644 --- a/tests/formattedcode/data/yaml/tree/expected.yaml +++ b/tests/formattedcode/data/yaml/tree/expected.yaml @@ -26,7 +26,7 @@ headers: platform: Linux-5.15.0-141-generic-x86_64-with-glibc2.35 platform_version: '#151-Ubuntu SMP Sun May 18 21:35:19 UTC 2025' python_version: 3.10.12 (main, Feb 4 2025, 14:57:36) [GCC 11.4.0] - spdx_license_list_version: '3.26' + spdx_license_list_version: '3.27' files_count: 7 packages: [] dependencies: [] diff --git a/tests/licensedcode/data/datadriven/lic1/fsf-unlimited-no-warranty_and_fsf-unlimited-no-warranty_and_fsf-unlimited-no-warranty_and_fsf-unlimited-no-warranty_and_other.txt.yml b/tests/licensedcode/data/datadriven/lic1/fsf-unlimited-no-warranty_and_fsf-unlimited-no-warranty_and_fsf-unlimited-no-warranty_and_fsf-unlimited-no-warranty_and_other.txt.yml index 1ce21708c7d..c55e034eb2f 100644 --- a/tests/licensedcode/data/datadriven/lic1/fsf-unlimited-no-warranty_and_fsf-unlimited-no-warranty_and_fsf-unlimited-no-warranty_and_fsf-unlimited-no-warranty_and_other.txt.yml +++ b/tests/licensedcode/data/datadriven/lic1/fsf-unlimited-no-warranty_and_fsf-unlimited-no-warranty_and_fsf-unlimited-no-warranty_and_fsf-unlimited-no-warranty_and_other.txt.yml @@ -1,6 +1,6 @@ license_expressions: - fsf-unlimited-no-warranty - - fsf-unlimited + - fsfullrsd - fsf-unlimited - fsf-unlimited - fsf-unlimited 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 44242f28604..4e942f174e4 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 @@ -730,13 +730,12 @@ other_license_expression_spdx: ((GPL-1.0-or-later AND GPL-1.0-only) OR (Artistic AND Artistic-1.0-Perl)) AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND LicenseRef-scancode-other-copyleft AND ((GPL-1.0-or-later AND GPL-1.0-only) OR (Artistic-1.0-Perl AND Artistic-1.0-Perl)) AND (Artistic-1.0-Perl OR GPL-1.0-or-later) AND ((GPL-1.0-or-later AND GPL-1.0-only) OR (Artistic-1.0-Perl - AND Artistic-1.0-Perl) OR LicenseRef-scancode-artistic-1988-1.0) AND (Artistic-1.0-Perl OR - LicenseRef-scancode-artistic-1988-1.0 OR GPL-1.0-or-later) AND LicenseRef-scancode-artistic-1988-1.0 - AND LicenseRef-scancode-artistic-1988-1.0 AND ((Artistic-1.0-Perl AND Artistic-1.0-Perl) OR - (GPL-1.0-or-later AND GPL-1.0-only) OR LicenseRef-scancode-artistic-1988-1.0) AND (LicenseRef-scancode-artistic-1988-1.0 - OR GPL-1.0-or-later) AND (((GPL-1.0-or-later AND GPL-1.0-only) OR (Artistic-1.0-Perl AND Artistic-1.0-Perl)) - AND MIT) AND ((GPL-1.0-or-later OR Artistic-1.0-Perl) AND MIT) AND ((GPL-1.0-or-later AND - GPL-1.0-only) OR (Artistic-1.0-Perl AND Artistic-1.0-Perl)) AND (Artistic-1.0-Perl OR GPL-1.0-or-later) + AND Artistic-1.0-Perl) OR Artistic-dist) AND (Artistic-1.0-Perl OR Artistic-dist OR GPL-1.0-or-later) + AND Artistic-dist AND Artistic-dist AND ((Artistic-1.0-Perl AND Artistic-1.0-Perl) OR (GPL-1.0-or-later + AND GPL-1.0-only) OR Artistic-dist) AND (Artistic-dist OR GPL-1.0-or-later) AND (((GPL-1.0-or-later + AND GPL-1.0-only) OR (Artistic-1.0-Perl AND Artistic-1.0-Perl)) AND MIT) AND ((GPL-1.0-or-later + OR Artistic-1.0-Perl) AND MIT) AND ((GPL-1.0-or-later AND GPL-1.0-only) OR (Artistic-1.0-Perl + AND Artistic-1.0-Perl)) AND (Artistic-1.0-Perl OR GPL-1.0-or-later) license_detections: [] other_license_detections: - license_expression: lgpl-2.1 @@ -1498,7 +1497,7 @@ other_license_detections: end_line: 2563 matcher: 1-hash score: '90.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 90 rule_identifier: other-copyleft_4.RULE @@ -1853,10 +1852,10 @@ other_license_detections: warranty. identifier: fsf_ap-a7d380d0-4462-458a-36c1-1852bdcbf538 - license_expression: artistic-dist-1.0 - license_expression_spdx: LicenseRef-scancode-artistic-1988-1.0 + license_expression_spdx: Artistic-dist matches: - license_expression: artistic-dist-1.0 - license_expression_spdx: LicenseRef-scancode-artistic-1988-1.0 + license_expression_spdx: Artistic-dist from_file: start_line: 2796 end_line: 2920 @@ -2274,8 +2273,8 @@ other_license_detections: - license_expression: artistic-perl-1.0 OR gpl-1.0-plus license_expression_spdx: Artistic-1.0-Perl OR GPL-1.0-or-later from_file: - start_line: '195' - end_line: '196' + start_line: 195 + end_line: 196 matcher: 2-aho score: '100.0' matched_length: 15 @@ -2428,7 +2427,7 @@ other_license_detections: end_line: 265 matcher: 1-hash score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE @@ -2952,7 +2951,7 @@ other_license_detections: end_line: 525 matcher: 1-hash score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: artistic-perl-1.0_or_gpl-1.0-plus_15.RULE @@ -2971,7 +2970,7 @@ other_license_detections: end_line: 541 matcher: 1-hash score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE @@ -4028,7 +4027,7 @@ other_license_detections: end_line: 1093 matcher: 2-aho score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: gpl-1.0-plus_or_artistic-perl-1.0_39.RULE @@ -4260,7 +4259,7 @@ other_license_detections: end_line: 1211 matcher: 2-aho score: '70.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 70 rule_identifier: gpl-1.0-plus_or_artistic-perl-1.0_34.RULE @@ -4394,7 +4393,7 @@ other_license_detections: end_line: 1310 matcher: 1-hash score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: artistic-perl-1.0_or_gpl-1.0-plus_47.RULE @@ -4824,7 +4823,7 @@ other_license_detections: end_line: 1514 matcher: 2-aho score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: artistic-perl-1.0_or_gpl-1.0-plus_45.RULE @@ -5068,7 +5067,7 @@ other_license_detections: end_line: 1629 matcher: 1-hash score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: artistic-perl-1.0_or_gpl-1.0-plus_49.RULE @@ -5459,7 +5458,7 @@ other_license_detections: end_line: 1834 matcher: 2-aho score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: gpl-1.0-plus_or_artistic-perl-1.0_39.RULE @@ -5567,7 +5566,7 @@ other_license_detections: end_line: 1887 matcher: 2-aho score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: gpl-1.0-plus_or_artistic-perl-1.0_39.RULE @@ -5600,8 +5599,8 @@ other_license_detections: - license_expression: artistic-perl-1.0 OR gpl-1.0-plus license_expression_spdx: Artistic-1.0-Perl OR GPL-1.0-or-later from_file: - start_line: '1908' - end_line: '1909' + start_line: 1908 + end_line: 1909 matcher: 1-hash score: '100.0' matched_length: 20 @@ -5619,11 +5618,11 @@ other_license_detections: - license_expression: gpl-1.0-plus OR artistic-perl-1.0 license_expression_spdx: GPL-1.0-or-later OR Artistic-1.0-Perl from_file: - start_line: '1916' - end_line: '1917' + start_line: 1916 + end_line: 1917 matcher: 2-aho score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: gpl-1.0-plus_or_artistic-perl-1.0_39.RULE @@ -5634,8 +5633,8 @@ other_license_detections: - license_expression: public-domain license_expression_spdx: LicenseRef-scancode-public-domain from_file: - start_line: '1919' - end_line: '1923' + start_line: 1919 + end_line: 1923 matcher: 2-aho score: '100.0' matched_length: 53 @@ -5656,8 +5655,8 @@ other_license_detections: - license_expression: gpl-1.0-plus OR artistic-perl-1.0 license_expression_spdx: GPL-1.0-or-later OR Artistic-1.0-Perl from_file: - start_line: '1933' - end_line: '1933' + start_line: 1933 + end_line: 1933 matcher: 1-hash score: '100.0' matched_length: 12 @@ -5673,8 +5672,8 @@ other_license_detections: - license_expression: gpl-1.0-plus OR artistic-perl-1.0 license_expression_spdx: GPL-1.0-or-later OR Artistic-1.0-Perl from_file: - start_line: '1940' - end_line: '1940' + start_line: 1940 + end_line: 1940 matcher: 1-hash score: '100.0' matched_length: 12 @@ -5690,8 +5689,8 @@ other_license_detections: - license_expression: gpl-1.0-plus OR artistic-perl-1.0 license_expression_spdx: GPL-1.0-or-later OR Artistic-1.0-Perl from_file: - start_line: '1947' - end_line: '1947' + start_line: 1947 + end_line: 1947 matcher: 1-hash score: '100.0' matched_length: 12 @@ -5707,8 +5706,8 @@ other_license_detections: - license_expression: artistic-perl-1.0 OR gpl-1.0-plus license_expression_spdx: Artistic-1.0-Perl OR GPL-1.0-or-later from_file: - start_line: '1963' - end_line: '1964' + start_line: 1963 + end_line: 1964 matcher: 1-hash score: '100.0' matched_length: 20 @@ -5721,13 +5720,12 @@ other_license_detections: modify it under the same terms as Perl itself. identifier: artistic_perl_1_0_or_gpl_1_0_plus-5362e445-2780-fe5e-5f5c-8e18d2260a6e - license_expression: artistic-perl-1.0 OR artistic-dist-1.0 OR gpl-1.0-plus - license_expression_spdx: Artistic-1.0-Perl OR LicenseRef-scancode-artistic-1988-1.0 OR GPL-1.0-or-later + license_expression_spdx: Artistic-1.0-Perl OR Artistic-dist OR GPL-1.0-or-later matches: - license_expression: artistic-perl-1.0 OR artistic-dist-1.0 OR gpl-1.0-plus - license_expression_spdx: Artistic-1.0-Perl OR LicenseRef-scancode-artistic-1988-1.0 - OR GPL-1.0-or-later + license_expression_spdx: Artistic-1.0-Perl OR Artistic-dist OR GPL-1.0-or-later from_file: - start_line: '1985' + start_line: 1985 end_line: 2000 matcher: 2-aho score: '100.0' @@ -5755,10 +5753,10 @@ other_license_detections: "Artistic-dist" tag. identifier: artistic_perl_1_0_or_artistic_dist_1_0_or_gpl_1_0_plus-9cd54d77-c838-d496-0a92-de100a6c75bc - license_expression: artistic-dist-1.0 - license_expression_spdx: LicenseRef-scancode-artistic-1988-1.0 + license_expression_spdx: Artistic-dist matches: - license_expression: artistic-dist-1.0 - license_expression_spdx: LicenseRef-scancode-artistic-1988-1.0 + license_expression_spdx: Artistic-dist from_file: start_line: 2014 end_line: 2016 @@ -5775,10 +5773,10 @@ other_license_detections: under the "Artistic-dist" tag. identifier: artistic_dist_1_0-52936621-27b8-5371-2fc4-9a5b06005497 - license_expression: artistic-dist-1.0 OR gpl-1.0-plus - license_expression_spdx: LicenseRef-scancode-artistic-1988-1.0 OR GPL-1.0-or-later + license_expression_spdx: Artistic-dist OR GPL-1.0-or-later matches: - license_expression: artistic-dist-1.0 OR gpl-1.0-plus - license_expression_spdx: LicenseRef-scancode-artistic-1988-1.0 OR GPL-1.0-or-later + license_expression_spdx: Artistic-dist OR GPL-1.0-or-later from_file: start_line: 2041 end_line: 2065 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 ba165c2b1d9..bc933a1800b 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 @@ -693,13 +693,12 @@ other_license_expression_spdx: ((GPL-1.0-or-later AND GPL-1.0-only) OR (Artistic AND Artistic-1.0-Perl)) AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND LicenseRef-scancode-other-copyleft AND ((GPL-1.0-or-later AND GPL-1.0-only) OR (Artistic-1.0-Perl AND Artistic-1.0-Perl)) AND (Artistic-1.0-Perl OR GPL-1.0-or-later) AND ((GPL-1.0-or-later AND GPL-1.0-only) OR (Artistic-1.0-Perl - AND Artistic-1.0-Perl) OR LicenseRef-scancode-artistic-1988-1.0) AND (Artistic-1.0-Perl OR - LicenseRef-scancode-artistic-1988-1.0 OR GPL-1.0-or-later) AND LicenseRef-scancode-artistic-1988-1.0 - AND LicenseRef-scancode-artistic-1988-1.0 AND ((Artistic-1.0-Perl AND Artistic-1.0-Perl) OR - (GPL-1.0-or-later AND GPL-1.0-only) OR LicenseRef-scancode-artistic-1988-1.0) AND (LicenseRef-scancode-artistic-1988-1.0 - OR GPL-1.0-or-later) AND (((GPL-1.0-or-later AND GPL-1.0-only) OR (Artistic-1.0-Perl AND Artistic-1.0-Perl)) - AND MIT) AND (GPL-1.0-or-later OR Artistic-1.0-Perl) AND ((GPL-1.0-or-later AND GPL-1.0-only) - OR (Artistic-1.0-Perl AND Artistic-1.0-Perl)) AND (Artistic-1.0-Perl OR GPL-1.0-or-later) + AND Artistic-1.0-Perl) OR Artistic-dist) AND (Artistic-1.0-Perl OR Artistic-dist OR GPL-1.0-or-later) + AND Artistic-dist AND Artistic-dist AND ((Artistic-1.0-Perl AND Artistic-1.0-Perl) OR (GPL-1.0-or-later + AND GPL-1.0-only) OR Artistic-dist) AND (Artistic-dist OR GPL-1.0-or-later) AND (((GPL-1.0-or-later + AND GPL-1.0-only) OR (Artistic-1.0-Perl AND Artistic-1.0-Perl)) AND MIT) AND (GPL-1.0-or-later + OR Artistic-1.0-Perl) AND ((GPL-1.0-or-later AND GPL-1.0-only) OR (Artistic-1.0-Perl AND Artistic-1.0-Perl)) + AND (Artistic-1.0-Perl OR GPL-1.0-or-later) license_detections: [] other_license_detections: - license_expression: lgpl-2.1 @@ -1441,7 +1440,7 @@ other_license_detections: end_line: 2483 matcher: 1-hash score: '90.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 90 rule_identifier: other-copyleft_4.RULE @@ -1796,10 +1795,10 @@ other_license_detections: warranty. identifier: fsf_ap-a7d380d0-4462-458a-36c1-1852bdcbf538 - license_expression: artistic-dist-1.0 - license_expression_spdx: LicenseRef-scancode-artistic-1988-1.0 + license_expression_spdx: Artistic-dist matches: - license_expression: artistic-dist-1.0 - license_expression_spdx: LicenseRef-scancode-artistic-1988-1.0 + license_expression_spdx: Artistic-dist from_file: start_line: 2716 end_line: 2840 @@ -2115,7 +2114,7 @@ other_license_detections: end_line: 168 matcher: 1-hash score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: artistic-perl-1.0_or_gpl-1.0-plus_47.RULE @@ -2166,8 +2165,8 @@ other_license_detections: - license_expression: artistic-perl-1.0 OR gpl-1.0-plus license_expression_spdx: Artistic-1.0-Perl OR GPL-1.0-or-later from_file: - start_line: '190' - end_line: '190' + start_line: 190 + end_line: 190 matcher: 1-hash score: '90.91' matched_length: 10 @@ -2183,8 +2182,8 @@ other_license_detections: - license_expression: artistic-perl-1.0 OR gpl-1.0-plus license_expression_spdx: Artistic-1.0-Perl OR GPL-1.0-or-later from_file: - start_line: '198' - end_line: '198' + start_line: 198 + end_line: 198 matcher: 1-hash score: '91.67' matched_length: 11 @@ -2373,7 +2372,7 @@ other_license_detections: end_line: 317 matcher: 1-hash score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE @@ -2915,7 +2914,7 @@ other_license_detections: end_line: 586 matcher: 1-hash score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: artistic-perl-1.0_or_gpl-1.0-plus_15.RULE @@ -2934,7 +2933,7 @@ other_license_detections: end_line: 601 matcher: 1-hash score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: artistic-perl-1.0_or_gpl-1.0-plus_25.RULE @@ -3876,7 +3875,7 @@ other_license_detections: end_line: 1105 matcher: 2-aho score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: gpl-1.0-plus_or_artistic-perl-1.0_39.RULE @@ -4084,7 +4083,7 @@ other_license_detections: end_line: 1210 matcher: 2-aho score: '70.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 70 rule_identifier: gpl-1.0-plus_or_artistic-perl-1.0_34.RULE @@ -4610,7 +4609,7 @@ other_license_detections: end_line: 1468 matcher: 2-aho score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: artistic-perl-1.0_or_gpl-1.0-plus_45.RULE @@ -4854,7 +4853,7 @@ other_license_detections: end_line: 1583 matcher: 1-hash score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: artistic-perl-1.0_or_gpl-1.0-plus_49.RULE @@ -5226,7 +5225,7 @@ other_license_detections: end_line: 1779 matcher: 2-aho score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: gpl-1.0-plus_or_artistic-perl-1.0_39.RULE @@ -5353,7 +5352,7 @@ other_license_detections: end_line: 1845 matcher: 2-aho score: '100.0' - matched_length: '19' + matched_length: 19 match_coverage: '100.0' rule_relevance: 100 rule_identifier: gpl-1.0-plus_or_artistic-perl-1.0_39.RULE @@ -5451,14 +5450,13 @@ other_license_detections: modify it under the same terms as Perl itself. identifier: artistic_perl_1_0_or_gpl_1_0_plus-5362e445-2780-fe5e-5f5c-8e18d2260a6e - license_expression: artistic-perl-1.0 OR artistic-dist-1.0 OR gpl-1.0-plus - license_expression_spdx: Artistic-1.0-Perl OR LicenseRef-scancode-artistic-1988-1.0 OR GPL-1.0-or-later + license_expression_spdx: Artistic-1.0-Perl OR Artistic-dist OR GPL-1.0-or-later matches: - license_expression: artistic-perl-1.0 OR artistic-dist-1.0 OR gpl-1.0-plus - license_expression_spdx: Artistic-1.0-Perl OR LicenseRef-scancode-artistic-1988-1.0 - OR GPL-1.0-or-later + license_expression_spdx: Artistic-1.0-Perl OR Artistic-dist OR GPL-1.0-or-later from_file: - start_line: '1913' - end_line: '1928' + start_line: 1913 + end_line: 1928 matcher: 2-aho score: '100.0' matched_length: 103 @@ -5485,13 +5483,13 @@ other_license_detections: "Artistic-dist" tag. identifier: artistic_perl_1_0_or_artistic_dist_1_0_or_gpl_1_0_plus-9cd54d77-c838-d496-0a92-de100a6c75bc - license_expression: artistic-dist-1.0 - license_expression_spdx: LicenseRef-scancode-artistic-1988-1.0 + license_expression_spdx: Artistic-dist matches: - license_expression: artistic-dist-1.0 - license_expression_spdx: LicenseRef-scancode-artistic-1988-1.0 + license_expression_spdx: Artistic-dist from_file: - start_line: '1942' - end_line: '1944' + start_line: 1942 + end_line: 1944 matcher: 2-aho score: '100.0' matched_length: 21 @@ -5505,13 +5503,13 @@ other_license_detections: under the "Artistic-dist" tag. identifier: artistic_dist_1_0-52936621-27b8-5371-2fc4-9a5b06005497 - license_expression: artistic-dist-1.0 OR gpl-1.0-plus - license_expression_spdx: LicenseRef-scancode-artistic-1988-1.0 OR GPL-1.0-or-later + license_expression_spdx: Artistic-dist OR GPL-1.0-or-later matches: - license_expression: artistic-dist-1.0 OR gpl-1.0-plus - license_expression_spdx: LicenseRef-scancode-artistic-1988-1.0 OR GPL-1.0-or-later + license_expression_spdx: Artistic-dist OR GPL-1.0-or-later from_file: - start_line: '1969' - end_line: '1993' + start_line: 1969 + end_line: 1993 matcher: 2-aho score: '100.0' matched_length: 213