This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository licensecheck.

commit e80552758c990bdc2e604e08bbd86ca854ae3571
Author: Jonas Smedegaard <d...@jones.dk>
Date:   Sun Oct 9 14:08:41 2016 +0200

    Add license pattern cc_by_sa.
---
 lib/App/Licensecheck.pm             |  12 +--
 lib/Regexp/Pattern/License.pm       |  13 +++
 lib/Regexp/Pattern/License/Parts.pm |  31 +++++++
 t/SPDX/CC-BY-SA-1.0.txt             |  81 +++++++++++++++++
 t/SPDX/CC-BY-SA-2.0.txt             |  85 ++++++++++++++++++
 t/SPDX/CC-BY-SA-2.5.txt             |  85 ++++++++++++++++++
 t/SPDX/CC-BY-SA-3.0.txt             |  99 +++++++++++++++++++++
 t/SPDX/CC-BY-SA-4.0.txt             | 168 ++++++++++++++++++++++++++++++++++++
 8 files changed, 565 insertions(+), 9 deletions(-)

diff --git a/lib/App/Licensecheck.pm b/lib/App/Licensecheck.pm
index 2d8a3c0..176b3ed 100755
--- a/lib/App/Licensecheck.pm
+++ b/lib/App/Licensecheck.pm
@@ -60,7 +60,6 @@ my %SPDX = (
        'Adobe-2006'           => 'Adobe',
        'APAFML'               => 'Adobe Postscript AFM',
        'Artistic or GPL'      => 'Perl',
-       'CC-BY-SA'             => 'CC by-sa',
        FSFAP                  => 'FSF All Permissive',
        FSFUL                  => 'FSF Unlimited',
        FSFULLR                => 'FSF Unlimited (with Retention)',
@@ -450,8 +449,6 @@ sub parse_license
 
        #<<<  do not let perltidy touch this (keep long regex on one line)
 
-       my $cc_by_sa = qr/Creative Commons Attribution[ -]Share[ -]?Alike|CC[ 
-]BY[ -]SA/i;
-
        # version of AGPL/GPL/LGPL
        given ($licensetext) {
                when ( /version ($ver_re)(?: of the License)?,? or(?: \(at your 
option\))? version ($ver_re)/ ) {
@@ -560,15 +557,12 @@ sub parse_license
 
        # CC
        given ($licensetext) {
-               when ( /$cc_by_sa(?i: version)? ($ver_re) or ($ver_re)/ ) {
+               when ( /$L{re}{cc_by_sa}(?i: version)? ($ver_re) or ($ver_re)/ 
) {
                        $license = "CC BY-SA (v$1 or v$2) $license";
                        push @spdx_license, "CC-BY-SA-$1 or CC-BY-SA-$1";
                }
-               when ( /$cc_by_sa(?: $ver_prefix_re($ver_re)?)(?: License)?( 
(?:and|or)(?: \(at your option\))? any later(?: version)|[,.] Later versions 
are permitted)?(?:,? (?:and|or)(?: the)?(?:GNU)? (AGPL|GPL|LGPL)(?:-?($ver_re)( 
or later)?)?)?/i ) {
-                       $gen_license->( 'CC-BY-SA', $1, $2, $3, $4 );
-               }
-               when ( m<https?creativecommons.org/licenses/by-sa/($ver_re)/( 
\(or any later version\))?> ) {
-                       $gen_license->( 'CC-BY-SA', $1, $2 );
+               when ( /$L{re}{cc_by_sa}(?: $ver_prefix_re($ver_re)?)(?: 
License)?( (?:and|or)(?: \(at your option\))? any later(?: version)|[,.] Later 
versions are permitted)?(?:,? (?:and|or)(?: the)?(?:GNU)? 
(AGPL|GPL|LGPL)(?:-?($ver_re)( or later)?)?)?/i ) {
+                       $gen_license->( 'cc_by_sa', $1, $2, $3, $4 );
                }
        }
 
diff --git a/lib/Regexp/Pattern/License.pm b/lib/Regexp/Pattern/License.pm
index 256cfca..28c82b6 100644
--- a/lib/Regexp/Pattern/License.pm
+++ b/lib/Regexp/Pattern/License.pm
@@ -30,6 +30,8 @@ Patterns each covering a single license.
 
 =item * bsd_4_clause
 
+=item * cc_by_sa
+
 =item * curl
 
 =item * dsdp
@@ -58,6 +60,9 @@ Patterns each covering a single license.
 
 =cut
 
+my $D  = qr/[-–]/;     # dash
+my $SD = qr/[ -–]/;    # space or dash
+
 my %P;
 while ( my ( $key, $val ) = each %Regexp::Pattern::License::Parts::RE ) {
        $P{$key} = $val->{pat};
@@ -87,6 +92,14 @@ our %RE = (
                tags                  => ['bsd'],
                pat                   => qr/$P{ad_verbatim}/,
        },
+       cc_by_sa => {
+               name    => 'CC-BY-SA',
+               caption => 'CC by-sa',
+               summary => 'Creative Commons Attribution-ShareAlike Public 
License',
+               tags    => ['cc'],
+               pat =>
+                       
qr/(?:$P{cc}$SD(?:$P{cc_by}$SD$P{cc_sa}|BY${SD}SA|$P{cc_url}by-sa))/,
+       },
        curl => {
                tags => ['mit'],
                pat =>
diff --git a/lib/Regexp/Pattern/License/Parts.pm 
b/lib/Regexp/Pattern/License/Parts.pm
index addac66..fd8e456 100644
--- a/lib/Regexp/Pattern/License/Parts.pm
+++ b/lib/Regexp/Pattern/License/Parts.pm
@@ -29,6 +29,14 @@ Patterns each covering a single part, e.g. a clause or a 
disclaimer phrase.
 
 =item * ad_verbatim
 
+=item * cc
+
+=item * cc_by
+
+=item * cc_sa
+
+=item * cc_url
+
 =item * discl
 
 =item * permission_granted_without
@@ -49,6 +57,9 @@ Patterns each covering a single part, e.g. a clause or a 
disclaimer phrase.
 
 =cut
 
+my $D  = qr/[-–]/;     # dash
+my $SD = qr/[ -–]/;    # space or dash
+
 # permission clause
 my $granted = qr/Permission is hereby granted/;
 
@@ -100,6 +111,26 @@ our %RE = (
                tags    => ['clause'],
                pat     => qr/$redist_any must retain 
$ack[^a-zA-Z]+$product_by/,
        },
+       cc => {
+               caption => 'Creative Commons qualifier',
+               tags    => ['qualifier'],
+               pat     => qr/(?:Creative Commons|CC)/,
+       },
+       cc_by => {
+               caption => 'Creative Commons Attribution component',
+               tags    => ['component'],
+               pat     => qr/(?:Attribution)/,
+       },
+       cc_sa => {
+               caption => 'Creative Commons ShareAlike component',
+               tags    => ['component'],
+               pat     => qr/(?:Share$SD?Alike)/,
+       },
+       cc_url => {
+               caption => 'Creative Commons URL',
+               tags    => ['url'],
+               pat     => 
qr"(?:(?:https?:?)?(?://)?creativecommons.org/licenses/)",
+       },
        discl => {
                caption => 'disclaimer',
                tags    => ['component'],
diff --git a/t/SPDX/CC-BY-SA-1.0.txt b/t/SPDX/CC-BY-SA-1.0.txt
new file mode 100644
index 0000000..7ce6c5a
--- /dev/null
+++ b/t/SPDX/CC-BY-SA-1.0.txt
@@ -0,0 +1,81 @@
+Creative Commons Attribution-ShareAlike 1.0
+
+<<beginOptional;name=ccOptionalIntro>> CREATIVE COMMONS CORPORATION IS NOT A 
LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS DRAFT 
LICENSE DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS 
PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO 
WARRANTIES REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR 
DAMAGES RESULTING FROM ITS USE. <<endOptional>>
+
+License
+
+THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE 
COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY 
COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS 
AUTHORIZED UNDER THIS LICENSE IS PROHIBITED.
+
+BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE 
BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS 
CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
+
+1. Definitions
+
+     a. "Collective Work" means a work, such as a periodical issue, anthology 
or encyclopedia, in which the Work in its entirety in unmodified form, along 
with a number of other contributions, constituting separate and independent 
works in themselves, are assembled into a collective whole. A work that 
constitutes a Collective Work will not be considered a Derivative Work (as 
defined below) for the purposes of this License.
+
+     b. "Derivative Work" means a work based upon the Work or upon the Work 
and other pre-existing works, such as a translation, musical arrangement, 
dramatization, fictionalization, motion picture version, sound recording, art 
reproduction, abridgment, condensation, or any other form in which the Work may 
be recast, transformed, or adapted, except that a work that constitutes a 
Collective Work will not be considered a Derivative Work for the purpose of 
this License.
+
+     c. "Licensor" means the individual or entity that offers the Work under 
the terms of this License.
+
+     d. "Original Author" means the individual or entity who created the Work.
+
+     e. "Work" means the copyrightable work of authorship offered under the 
terms of this License.
+
+     f. "You" means an individual or entity exercising rights under this 
License who has not previously violated the terms of this License with respect 
to the Work, or who has received express permission from the Licensor to 
exercise rights under this License despite a previous violation.
+
+2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or 
restrict any rights arising from fair use, first sale or other limitations on 
the exclusive rights of the copyright owner under copyright law or other 
applicable laws.
+
+3. License Grant. Subject to the terms and conditions of this License, 
Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual 
(for the duration of the applicable copyright) license to exercise the rights 
in the Work as stated below:
+
+     a. to reproduce the Work, to incorporate the Work into one or more 
Collective Works, and to reproduce the Work as incorporated in the Collective 
Works;
+
+     b. to create and reproduce Derivative Works;
+
+     c. to distribute copies or phonorecords of, display publicly, perform 
publicly, and perform publicly by means of a digital audio transmission the 
Work including as incorporated in Collective Works;
+
+     d. to distribute copies or phonorecords of, display publicly, perform 
publicly, and perform publicly by means of a digital audio transmission 
Derivative Works;
+
+The above rights may be exercised in all media and formats whether now known 
or hereafter devised. The above rights include the right to make such 
modifications as are technically necessary to exercise the rights in other 
media and formats. All rights not expressly granted by Licensor are hereby 
reserved.
+
+4. Restrictions. The license granted in Section 3 above is expressly made 
subject to and limited by the following restrictions:
+
+     a. You may distribute, publicly display, publicly perform, or publicly 
digitally perform the Work only under the terms of this License, and You must 
include a copy of, or the Uniform Resource Identifier for, this License with 
every copy or phonorecord of the Work You distribute, publicly display, 
publicly perform, or publicly digitally perform. You may not offer or impose 
any terms on the Work that alter or restrict the terms of this License or the 
recipients' exercise of the rights [...]
+
+     b. You may distribute, publicly display, publicly perform, or publicly 
digitally perform a Derivative Work only under the terms of this License, and 
You must include a copy of, or the Uniform Resource Identifier for, this 
License with every copy or phonorecord of each Derivative Work You distribute, 
publicly display, publicly perform, or publicly digitally perform. You may not 
offer or impose any terms on the Derivative Works that alter or restrict the 
terms of this License or the r [...]
+
+     c. If you distribute, publicly display, publicly perform, or publicly 
digitally perform the Work or any Derivative Works or Collective Works, You 
must keep intact all copyright notices for the Work and give the Original 
Author credit reasonable to the medium or means You are utilizing by conveying 
the name (or pseudonym if applicable) of the Original Author if supplied; the 
title of the Work if supplied; in the case of a Derivative Work, a credit 
identifying the use of the Work in t [...]
+
+5. Representations, Warranties and Disclaimer
+
+     a. By offering the Work for public release under this License, Licensor 
represents and warrants that, to the best of Licensor's knowledge after 
reasonable inquiry:
+
+           i. Licensor has secured all rights in the Work necessary to grant 
the license rights hereunder and to permit the lawful exercise of the rights 
granted hereunder without You having any obligation to pay any royalties, 
compulsory license fees, residuals or any other payments;
+
+          ii. The Work does not infringe the copyright, trademark, publicity 
rights, common law rights or any other right of any third party or constitute 
defamation, invasion of privacy or other tortious injury to any third party.
+
+     b. EXCEPT AS EXPRESSLY STATED IN THIS LICENSE OR OTHERWISE AGREED IN 
WRITING OR REQUIRED BY APPLICABLE LAW, THE WORK IS LICENSED ON AN "AS IS" 
BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, 
WITHOUT LIMITATION, ANY WARRANTIES REGARDING THE CONTENTS OR ACCURACY OF THE 
WORK.
+
+6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, 
AND EXCEPT FOR DAMAGES ARISING FROM LIABILITY TO A THIRD PARTY RESULTING FROM 
BREACH OF THE WARRANTIES IN SECTION 5, IN NO EVENT WILL LICENSOR BE LIABLE TO 
YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR 
EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF 
LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+7. Termination
+
+     a. This License and the rights granted hereunder will terminate 
automatically upon any breach by You of the terms of this License. Individuals 
or entities who have received Derivative Works or Collective Works from You 
under this License, however, will not have their licenses terminated provided 
such individuals or entities remain in full compliance with those licenses. 
Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
+
+     b. Subject to the above terms and conditions, the license granted here is 
perpetual (for the duration of the applicable copyright in the Work). 
Notwithstanding the above, Licensor reserves the right to release the Work 
under different license terms or to stop distributing the Work at any time; 
provided, however that any such election will not serve to withdraw this 
License (or any other license that has been, or is required to be, granted 
under the terms of this License), and this L [...]
+
+8. Miscellaneous
+
+     a. Each time You distribute or publicly digitally perform the Work or a 
Collective Work, the Licensor offers to the recipient a license to the Work on 
the same terms and conditions as the license granted to You under this License.
+
+     b. Each time You distribute or publicly digitally perform a Derivative 
Work, Licensor offers to the recipient a license to the original Work on the 
same terms and conditions as the license granted to You under this License.
+
+     c. If any provision of this License is invalid or unenforceable under 
applicable law, it shall not affect the validity or enforceability of the 
remainder of the terms of this License, and without further action by the 
parties to this agreement, such provision shall be reformed to the minimum 
extent necessary to make such provision valid and enforceable.
+
+     d. No term or provision of this License shall be deemed waived and no 
breach consented to unless such waiver or consent shall be in writing and 
signed by the party to be charged with such waiver or consent.
+
+     e. This License constitutes the entire agreement between the parties with 
respect to the Work licensed here. There are no understandings, agreements or 
representations with respect to the Work not specified here. Licensor shall not 
be bound by any additional provisions that may appear in any communication from 
You. This License may not be modified without the mutual written agreement of 
the Licensor and You. 
+
+Creative Commons is not a party to this License, and makes no warranty 
whatsoever in connection with the Work. Creative Commons will not be liable to 
You or any party on any legal theory for any damages whatsoever, including 
without limitation any general, special, incidental or consequential damages 
arising in connection to this license. Notwithstanding the foregoing two (2) 
sentences, if Creative Commons has expressly identified itself as the Licensor 
hereunder, it shall have all right [...]
+
+Except for the limited purpose of indicating to the public that the Work is 
licensed under the CCPL, neither party will use the trademark "Creative 
Commons" or any related trademark or logo of Creative Commons without the prior 
written consent of Creative Commons. Any permitted use will be in compliance 
with Creative Commons' then-current trademark usage guidelines, as may be 
published on its website or otherwise made available upon request from time to 
time.
+
+Creative Commons may be contacted at http://creativecommons.org/. 
\ No newline at end of file
diff --git a/t/SPDX/CC-BY-SA-2.0.txt b/t/SPDX/CC-BY-SA-2.0.txt
new file mode 100644
index 0000000..fc4b6b2
--- /dev/null
+++ b/t/SPDX/CC-BY-SA-2.0.txt
@@ -0,0 +1,85 @@
+Creative Commons Attribution-ShareAlike 2.0
+
+<<beginOptional;name=ccOptionalIntro>> CREATIVE COMMONS CORPORATION IS NOT A 
LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES 
NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS 
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING 
THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM 
ITS USE. <<endOptional>>
+
+License
+
+THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE 
COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY 
COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS 
AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
+
+BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE 
BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS 
CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
+
+1. Definitions
+
+     a. "Collective Work" means a work, such as a periodical issue, anthology 
or encyclopedia, in which the Work in its entirety in unmodified form, along 
with a number of other contributions, constituting separate and independent 
works in themselves, are assembled into a collective whole. A work that 
constitutes a Collective Work will not be considered a Derivative Work (as 
defined below) for the purposes of this License.
+
+     b. "Derivative Work" means a work based upon the Work or upon the Work 
and other pre-existing works, such as a translation, musical arrangement, 
dramatization, fictionalization, motion picture version, sound recording, art 
reproduction, abridgment, condensation, or any other form in which the Work may 
be recast, transformed, or adapted, except that a work that constitutes a 
Collective Work will not be considered a Derivative Work for the purpose of 
this License. For the avoidance of [...]
+
+     c. "Licensor" means the individual or entity that offers the Work under 
the terms of this License.
+
+     d. "Original Author" means the individual or entity who created the Work.
+
+     e. "Work" means the copyrightable work of authorship offered under the 
terms of this License.
+
+     f. "You" means an individual or entity exercising rights under this 
License who has not previously violated the terms of this License with respect 
to the Work, or who has received express permission from the Licensor to 
exercise rights under this License despite a previous violation.
+
+     g. "License Elements" means the following high-level license attributes 
as selected by Licensor and indicated in the title of this License: 
Attribution, ShareAlike.
+
+2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or 
restrict any rights arising from fair use, first sale or other limitations on 
the exclusive rights of the copyright owner under copyright law or other 
applicable laws.
+
+3. License Grant. Subject to the terms and conditions of this License, 
Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual 
(for the duration of the applicable copyright) license to exercise the rights 
in the Work as stated below:
+
+     a. to reproduce the Work, to incorporate the Work into one or more 
Collective Works, and to reproduce the Work as incorporated in the Collective 
Works;
+
+     b. to create and reproduce Derivative Works; 
+
+     c. to distribute copies or phonorecords of, display publicly, perform 
publicly, and perform publicly by means of a digital audio transmission the 
Work including as incorporated in Collective Works;
+
+     d. to distribute copies or phonorecords of, display publicly, perform 
publicly, and perform publicly by means of a digital audio transmission 
Derivative Works.
+
+     e. For the avoidance of doubt, where the work is a musical composition:
+
+          i. Performance Royalties Under Blanket Licenses. Licensor waives the 
exclusive right to collect, whether individually or via a performance rights 
society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or 
public digital performance (e.g. webcast) of the Work.
+
+          ii. Mechanical Rights and Statutory Royalties. Licensor waives the 
exclusive right to collect, whether individually or via a music rights society 
or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You 
create from the Work ("cover version") and distribute, subject to the 
compulsory license created by 17 USC Section 115 of the US Copyright Act (or 
the equivalent in other jurisdictions).
+
+     f. Webcasting Rights and Statutory Royalties. For the avoidance of doubt, 
where the Work is a sound recording, Licensor waives the exclusive right to 
collect, whether individually or via a performance-rights society (e.g. 
SoundExchange), royalties for the public digital performance (e.g. webcast) of 
the Work, subject to the compulsory license created by 17 USC Section 114 of 
the US Copyright Act (or the equivalent in other jurisdictions).
+
+The above rights may be exercised in all media and formats whether now known 
or hereafter devised. The above rights include the right to make such 
modifications as are technically necessary to exercise the rights in other 
media and formats. All rights not expressly granted by Licensor are hereby 
reserved.
+
+4. Restrictions. The license granted in Section 3 above is expressly made 
subject to and limited by the following restrictions:
+
+     a. You may distribute, publicly display, publicly perform, or publicly 
digitally perform the Work only under the terms of this License, and You must 
include a copy of, or the Uniform Resource Identifier for, this License with 
every copy or phonorecord of the Work You distribute, publicly display, 
publicly perform, or publicly digitally perform. You may not offer or impose 
any terms on the Work that alter or restrict the terms of this License or the 
recipients' exercise of the rights [...]
+
+     b. You may distribute, publicly display, publicly perform, or publicly 
digitally perform a Derivative Work only under the terms of this License, a 
later version of this License with the same License Elements as this License, 
or a Creative Commons iCommons license that contains the same License Elements 
as this License (e.g. Attribution-ShareAlike 2.0 Japan). You must include a 
copy of, or the Uniform Resource Identifier for, this License or other license 
specified in the previous se [...]
+
+     c. If you distribute, publicly display, publicly perform, or publicly 
digitally perform the Work or any Derivative Works or Collective Works, You 
must keep intact all copyright notices for the Work and give the Original 
Author credit reasonable to the medium or means You are utilizing by conveying 
the name (or pseudonym if applicable) of the Original Author if supplied; the 
title of the Work if supplied; to the extent reasonably practicable, the 
Uniform Resource Identifier, if any,  [...]
+
+5. Representations, Warranties and Disclaimer
+
+UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK 
AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE 
MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT 
LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR 
PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, 
OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME 
JURISDICTIONS DO NOT ALLOW THE EXCLUSIO [...]
+
+6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, 
IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, 
INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS 
LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE 
POSSIBILITY OF SUCH DAMAGES.
+
+7. Termination
+
+     a. This License and the rights granted hereunder will terminate 
automatically upon any breach by You of the terms of this License. Individuals 
or entities who have received Derivative Works or Collective Works from You 
under this License, however, will not have their licenses terminated provided 
such individuals or entities remain in full compliance with those licenses. 
Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
+
+     b. Subject to the above terms and conditions, the license granted here is 
perpetual (for the duration of the applicable copyright in the Work). 
Notwithstanding the above, Licensor reserves the right to release the Work 
under different license terms or to stop distributing the Work at any time; 
provided, however that any such election will not serve to withdraw this 
License (or any other license that has been, or is required to be, granted 
under the terms of this License), and this L [...]
+
+8. Miscellaneous
+
+     a. Each time You distribute or publicly digitally perform the Work or a 
Collective Work, the Licensor offers to the recipient a license to the Work on 
the same terms and conditions as the license granted to You under this License.
+
+     b. Each time You distribute or publicly digitally perform a Derivative 
Work, Licensor offers to the recipient a license to the original Work on the 
same terms and conditions as the license granted to You under this License.
+
+     c. If any provision of this License is invalid or unenforceable under 
applicable law, it shall not affect the validity or enforceability of the 
remainder of the terms of this License, and without further action by the 
parties to this agreement, such provision shall be reformed to the minimum 
extent necessary to make such provision valid and enforceable.
+
+     d. No term or provision of this License shall be deemed waived and no 
breach consented to unless such waiver or consent shall be in writing and 
signed by the party to be charged with such waiver or consent.
+
+     e. This License constitutes the entire agreement between the parties with 
respect to the Work licensed here. There are no understandings, agreements or 
representations with respect to the Work not specified here. Licensor shall not 
be bound by any additional provisions that may appear in any communication from 
You. This License may not be modified without the mutual written agreement of 
the Licensor and You. 
+
+Creative Commons is not a party to this License, and makes no warranty 
whatsoever in connection with the Work. Creative Commons will not be liable to 
You or any party on any legal theory for any damages whatsoever, including 
without limitation any general, special, incidental or consequential damages 
arising in connection to this license. Notwithstanding the foregoing two (2) 
sentences, if Creative Commons has expressly identified itself as the Licensor 
hereunder, it shall have all right [...]
+
+Except for the limited purpose of indicating to the public that the Work is 
licensed under the CCPL, neither party will use the trademark "Creative 
Commons" or any related trademark or logo of Creative Commons without the prior 
written consent of Creative Commons. Any permitted use will be in compliance 
with Creative Commons' then-current trademark usage guidelines, as may be 
published on its website or otherwise made available upon request from time to 
time.
+
+Creative Commons may be contacted at http://creativecommons.org/. 
\ No newline at end of file
diff --git a/t/SPDX/CC-BY-SA-2.5.txt b/t/SPDX/CC-BY-SA-2.5.txt
new file mode 100644
index 0000000..9b13ce6
--- /dev/null
+++ b/t/SPDX/CC-BY-SA-2.5.txt
@@ -0,0 +1,85 @@
+Creative Commons Attribution-ShareAlike 2.5
+
+<<beginOptional;name=ccOptionalIntro>> CREATIVE COMMONS CORPORATION IS NOT A 
LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES 
NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS 
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING 
THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM 
ITS USE. <<endOptional>>
+
+License
+
+THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE 
COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY 
COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS 
AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
+
+BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE 
BOUND BY THE TERMS OF THIS LICENSE. THE LICENSOR GRANTS YOU THE RIGHTS 
CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
+
+1. Definitions
+
+     a. "Collective Work" means a work, such as a periodical issue, anthology 
or encyclopedia, in which the Work in its entirety in unmodified form, along 
with a number of other contributions, constituting separate and independent 
works in themselves, are assembled into a collective whole. A work that 
constitutes a Collective Work will not be considered a Derivative Work (as 
defined below) for the purposes of this License.
+
+     b. "Derivative Work" means a work based upon the Work or upon the Work 
and other pre-existing works, such as a translation, musical arrangement, 
dramatization, fictionalization, motion picture version, sound recording, art 
reproduction, abridgment, condensation, or any other form in which the Work may 
be recast, transformed, or adapted, except that a work that constitutes a 
Collective Work will not be considered a Derivative Work for the purpose of 
this License. For the avoidance of [...]
+
+     c. "Licensor" means the individual or entity that offers the Work under 
the terms of this License.
+
+     d. "Original Author" means the individual or entity who created the Work.
+
+     e. "Work" means the copyrightable work of authorship offered under the 
terms of this License.
+
+     f. "You" means an individual or entity exercising rights under this 
License who has not previously violated the terms of this License with respect 
to the Work, or who has received express permission from the Licensor to 
exercise rights under this License despite a previous violation.
+
+     g. "License Elements" means the following high-level license attributes 
as selected by Licensor and indicated in the title of this License: 
Attribution, ShareAlike.
+
+2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or 
restrict any rights arising from fair use, first sale or other limitations on 
the exclusive rights of the copyright owner under copyright law or other 
applicable laws.
+
+3. License Grant. Subject to the terms and conditions of this License, 
Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual 
(for the duration of the applicable copyright) license to exercise the rights 
in the Work as stated below:
+
+     a. to reproduce the Work, to incorporate the Work into one or more 
Collective Works, and to reproduce the Work as incorporated in the Collective 
Works;
+
+     b. to create and reproduce Derivative Works;
+
+     c. to distribute copies or phonorecords of, display publicly, perform 
publicly, and perform publicly by means of a digital audio transmission the 
Work including as incorporated in Collective Works;
+
+     d. to distribute copies or phonorecords of, display publicly, perform 
publicly, and perform publicly by means of a digital audio transmission 
Derivative Works.
+
+     e. For the avoidance of doubt, where the work is a musical composition:
+
+          i. Performance Royalties Under Blanket Licenses. Licensor waives the 
exclusive right to collect, whether individually or via a performance rights 
society (e.g. ASCAP, BMI, SESAC), royalties for the public performance or 
public digital performance (e.g. webcast) of the Work.
+
+          ii. Mechanical Rights and Statutory Royalties. Licensor waives the 
exclusive right to collect, whether individually or via a music rights society 
or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You 
create from the Work ("cover version") and distribute, subject to the 
compulsory license created by 17 USC Section 115 of the US Copyright Act (or 
the equivalent in other jurisdictions).
+
+     f. Webcasting Rights and Statutory Royalties. For the avoidance of doubt, 
where the Work is a sound recording, Licensor waives the exclusive right to 
collect, whether individually or via a performance-rights society (e.g. 
SoundExchange), royalties for the public digital performance (e.g. webcast) of 
the Work, subject to the compulsory license created by 17 USC Section 114 of 
the US Copyright Act (or the equivalent in other jurisdictions).
+
+The above rights may be exercised in all media and formats whether now known 
or hereafter devised. The above rights include the right to make such 
modifications as are technically necessary to exercise the rights in other 
media and formats. All rights not expressly granted by Licensor are hereby 
reserved.
+
+4. Restrictions. The license granted in Section 3 above is expressly made 
subject to and limited by the following restrictions:
+
+     a. You may distribute, publicly display, publicly perform, or publicly 
digitally perform the Work only under the terms of this License, and You must 
include a copy of, or the Uniform Resource Identifier for, this License with 
every copy or phonorecord of the Work You distribute, publicly display, 
publicly perform, or publicly digitally perform. You may not offer or impose 
any terms on the Work that alter or restrict the terms of this License or the 
recipients' exercise of the rights [...]
+
+     b. You may distribute, publicly display, publicly perform, or publicly 
digitally perform a Derivative Work only under the terms of this License, a 
later version of this License with the same License Elements as this License, 
or a Creative Commons iCommons license that contains the same License Elements 
as this License (e.g. Attribution-ShareAlike 2.5 Japan). You must include a 
copy of, or the Uniform Resource Identifier for, this License or other license 
specified in the previous se [...]
+
+     c. If you distribute, publicly display, publicly perform, or publicly 
digitally perform the Work or any Derivative Works or Collective Works, You 
must keep intact all copyright notices for the Work and provide, reasonable to 
the medium or means You are utilizing: (i) the name of the Original Author (or 
pseudonym, if applicable) if supplied, and/or (ii) if the Original Author 
and/or Licensor designate another party or parties (e.g. a sponsor institute, 
publishing entity, journal) for [...]
+
+5. Representations, Warranties and Disclaimer
+
+UNLESS OTHERWISE AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK 
AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE 
MATERIALS, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT 
LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR 
PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, 
OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME 
JURISDICTIONS DO NOT ALLOW THE EXCLUSIO [...]
+
+6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, 
IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, 
INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS 
LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE 
POSSIBILITY OF SUCH DAMAGES.
+
+7. Termination
+
+     a. This License and the rights granted hereunder will terminate 
automatically upon any breach by You of the terms of this License. Individuals 
or entities who have received Derivative Works or Collective Works from You 
under this License, however, will not have their licenses terminated provided 
such individuals or entities remain in full compliance with those licenses. 
Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
+
+     b. Subject to the above terms and conditions, the license granted here is 
perpetual (for the duration of the applicable copyright in the Work). 
Notwithstanding the above, Licensor reserves the right to release the Work 
under different license terms or to stop distributing the Work at any time; 
provided, however that any such election will not serve to withdraw this 
License (or any other license that has been, or is required to be, granted 
under the terms of this License), and this L [...]
+
+8. Miscellaneous
+
+     a. Each time You distribute or publicly digitally perform the Work or a 
Collective Work, the Licensor offers to the recipient a license to the Work on 
the same terms and conditions as the license granted to You under this License.
+
+     b. Each time You distribute or publicly digitally perform a Derivative 
Work, Licensor offers to the recipient a license to the original Work on the 
same terms and conditions as the license granted to You under this License.
+
+     c. If any provision of this License is invalid or unenforceable under 
applicable law, it shall not affect the validity or enforceability of the 
remainder of the terms of this License, and without further action by the 
parties to this agreement, such provision shall be reformed to the minimum 
extent necessary to make such provision valid and enforceable.
+
+     d. No term or provision of this License shall be deemed waived and no 
breach consented to unless such waiver or consent shall be in writing and 
signed by the party to be charged with such waiver or consent.
+
+     e. This License constitutes the entire agreement between the parties with 
respect to the Work licensed here. There are no understandings, agreements or 
representations with respect to the Work not specified here. Licensor shall not 
be bound by any additional provisions that may appear in any communication from 
You. This License may not be modified without the mutual written agreement of 
the Licensor and You. 
+
+Creative Commons is not a party to this License, and makes no warranty 
whatsoever in connection with the Work. Creative Commons will not be liable to 
You or any party on any legal theory for any damages whatsoever, including 
without limitation any general, special, incidental or consequential damages 
arising in connection to this license. Notwithstanding the foregoing two (2) 
sentences, if Creative Commons has expressly identified itself as the Licensor 
hereunder, it shall have all right [...]
+
+Except for the limited purpose of indicating to the public that the Work is 
licensed under the CCPL, neither party will use the trademark "Creative 
Commons" or any related trademark or logo of Creative Commons without the prior 
written consent of Creative Commons. Any permitted use will be in compliance 
with Creative Commons' then-current trademark usage guidelines, as may be 
published on its website or otherwise made available upon request from time to 
time.
+
+Creative Commons may be contacted at http://creativecommons.org/. 
\ No newline at end of file
diff --git a/t/SPDX/CC-BY-SA-3.0.txt b/t/SPDX/CC-BY-SA-3.0.txt
new file mode 100644
index 0000000..50bffd5
--- /dev/null
+++ b/t/SPDX/CC-BY-SA-3.0.txt
@@ -0,0 +1,99 @@
+Creative Commons Attribution-ShareAlike 3.0 Unported
+
+<<beginOptional;name=ccOptionalIntro>> CREATIVE COMMONS CORPORATION IS NOT A 
LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES 
NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS 
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING 
THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM 
ITS USE. <<endOptional>>
+
+License
+
+THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE 
COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY 
COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS 
AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
+
+BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE 
BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE 
CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE 
IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
+
+1. Definitions
+
+     a. "Adaptation" means a work based upon the Work, or upon the Work and 
other pre-existing works, such as a translation, adaptation, derivative work, 
arrangement of music or other alterations of a literary or artistic work, or 
phonogram or performance and includes cinematographic adaptations or any other 
form in which the Work may be recast, transformed, or adapted including in any 
form recognizably derived from the original, except that a work that 
constitutes a Collection will not  [...]
+
+     b. "Collection" means a collection of literary or artistic works, such as 
encyclopedias and anthologies, or performances, phonograms or broadcasts, or 
other works or subject matter other than works listed in Section 1(f) below, 
which, by reason of the selection and arrangement of their contents, constitute 
intellectual creations, in which the Work is included in its entirety in 
unmodified form along with one or more other contributions, each constituting 
separate and independent wor [...]
+
+     c. "Creative Commons Compatible License" means a license that is listed 
at http://creativecommons.org/compatiblelicenses that has been approved by 
Creative Commons as being essentially equivalent to this License, including, at 
a minimum, because that license: (i) contains terms that have the same purpose, 
meaning and effect as the License Elements of this License; and, (ii) 
explicitly permits the relicensing of adaptations of works made available under 
that license under this Licens [...]
+
+     d. "Distribute" means to make available to the public the original and 
copies of the Work or Adaptation, as appropriate, through sale or other 
transfer of ownership.
+
+     e. "License Elements" means the following high-level license attributes 
as selected by Licensor and indicated in the title of this License: 
Attribution, ShareAlike.
+
+     f. "Licensor" means the individual, individuals, entity or entities that 
offer(s) the Work under the terms of this License.
+
+     g. "Original Author" means, in the case of a literary or artistic work, 
the individual, individuals, entity or entities who created the Work or if no 
individual or entity can be identified, the publisher; and in addition (i) in 
the case of a performance the actors, singers, musicians, dancers, and other 
persons who act, sing, deliver, declaim, play in, interpret or otherwise 
perform literary or artistic works or expressions of folklore; (ii) in the case 
of a phonogram the producer b [...]
+
+     h. "Work" means the literary and/or artistic work offered under the terms 
of this License including without limitation any production in the literary, 
scientific and artistic domain, whatever may be the mode or form of its 
expression including digital form, such as a book, pamphlet and other writing; 
a lecture, address, sermon or other work of the same nature; a dramatic or 
dramatico-musical work; a choreographic work or entertainment in dumb show; a 
musical composition with or with [...]
+
+     i. "You" means an individual or entity exercising rights under this 
License who has not previously violated the terms of this License with respect 
to the Work, or who has received express permission from the Licensor to 
exercise rights under this License despite a previous violation.
+
+     j. "Publicly Perform" means to perform public recitations of the Work and 
to communicate to the public those public recitations, by any means or process, 
including by wire or wireless means or public digital performances; to make 
available to the public Works in such a way that members of the public may 
access these Works from a place and at a place individually chosen by them; to 
perform the Work to the public by any means or process and the communication to 
the public of the perfo [...]
+
+     k. "Reproduce" means to make copies of the Work by any means including 
without limitation by sound or visual recordings and the right of fixation and 
reproducing fixations of the Work, including storage of a protected performance 
or phonogram in digital form or other electronic medium.
+
+2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, 
or restrict any uses free from copyright or rights arising from limitations or 
exceptions that are provided for in connection with the copyright protection 
under copyright law or other applicable laws.
+
+3. License Grant. Subject to the terms and conditions of this License, 
Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual 
(for the duration of the applicable copyright) license to exercise the rights 
in the Work as stated below:
+
+     a. to Reproduce the Work, to incorporate the Work into one or more 
Collections, and to Reproduce the Work as incorporated in the Collections;
+
+     b. to create and Reproduce Adaptations provided that any such Adaptation, 
including any translation in any medium, takes reasonable steps to clearly 
label, demarcate or otherwise identify that changes were made to the original 
Work. For example, a translation could be marked "The original work was 
translated from English to Spanish," or a modification could indicate "The 
original work has been modified.";
+
+     c. to Distribute and Publicly Perform the Work including as incorporated 
in Collections; and,
+
+     d. to Distribute and Publicly Perform Adaptations.
+
+     e. For the avoidance of doubt:
+
+          i. Non-waivable Compulsory License Schemes. In those jurisdictions 
in which the right to collect royalties through any statutory or compulsory 
licensing scheme cannot be waived, the Licensor reserves the exclusive right to 
collect such royalties for any exercise by You of the rights granted under this 
License;
+
+          ii. Waivable Compulsory License Schemes. In those jurisdictions in 
which the right to collect royalties through any statutory or compulsory 
licensing scheme can be waived, the Licensor waives the exclusive right to 
collect such royalties for any exercise by You of the rights granted under this 
License; and,
+
+          iii. Voluntary License Schemes. The Licensor waives the right to 
collect royalties, whether individually or, in the event that the Licensor is a 
member of a collecting society that administers voluntary licensing schemes, 
via that society, from any exercise by You of the rights granted under this 
License.
+
+The above rights may be exercised in all media and formats whether now known 
or hereafter devised. The above rights include the right to make such 
modifications as are technically necessary to exercise the rights in other 
media and formats. Subject to Section 8(f), all rights not expressly granted by 
Licensor are hereby reserved.
+
+4. Restrictions. The license granted in Section 3 above is expressly made 
subject to and limited by the following restrictions:
+
+     a. You may Distribute or Publicly Perform the Work only under the terms 
of this License. You must include a copy of, or the Uniform Resource Identifier 
(URI) for, this License with every copy of the Work You Distribute or Publicly 
Perform. You may not offer or impose any terms on the Work that restrict the 
terms of this License or the ability of the recipient of the Work to exercise 
the rights granted to that recipient under the terms of the License. You may 
not sublicense the Work. [...]
+
+     b. You may Distribute or Publicly Perform an Adaptation only under the 
terms of: (i) this License; (ii) a later version of this License with the same 
License Elements as this License; (iii) a Creative Commons jurisdiction license 
(either this or a later license version) that contains the same License 
Elements as this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a 
Creative Commons Compatible License. If you license the Adaptation under one of 
the licenses mentioned in (iv), y [...]
+
+     c. If You Distribute, or Publicly Perform the Work or any Adaptations or 
Collections, You must, unless a request has been made pursuant to Section 4(a), 
keep intact all copyright notices for the Work and provide, reasonable to the 
medium or means You are utilizing: (i) the name of the Original Author (or 
pseudonym, if applicable) if supplied, and/or if the Original Author and/or 
Licensor designate another party or parties (e.g., a sponsor institute, 
publishing entity, journal) for a [...]
+
+     d. Except as otherwise agreed in writing by the Licensor or as may be 
otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly 
Perform the Work either by itself or as part of any Adaptations or Collections, 
You must not distort, mutilate, modify or take other derogatory action in 
relation to the Work which would be prejudicial to the Original Author's honor 
or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in 
which any exercise of the ri [...]
+
+5. Representations, Warranties and Disclaimer
+
+UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS 
THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND 
CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, 
WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A 
PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, 
ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. 
SOME JURISDICTIONS DO NOT ALLOW THE EXCL [...]
+
+6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, 
IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, 
INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS 
LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE 
POSSIBILITY OF SUCH DAMAGES.
+
+7. Termination
+
+     a. This License and the rights granted hereunder will terminate 
automatically upon any breach by You of the terms of this License. Individuals 
or entities who have received Adaptations or Collections from You under this 
License, however, will not have their licenses terminated provided such 
individuals or entities remain in full compliance with those licenses. Sections 
1, 2, 5, 6, 7, and 8 will survive any termination of this License.
+
+     b. Subject to the above terms and conditions, the license granted here is 
perpetual (for the duration of the applicable copyright in the Work). 
Notwithstanding the above, Licensor reserves the right to release the Work 
under different license terms or to stop distributing the Work at any time; 
provided, however that any such election will not serve to withdraw this 
License (or any other license that has been, or is required to be, granted 
under the terms of this License), and this L [...]
+
+8. Miscellaneous
+
+     a. Each time You Distribute or Publicly Perform the Work or a Collection, 
the Licensor offers to the recipient a license to the Work on the same terms 
and conditions as the license granted to You under this License.
+
+     b. Each time You Distribute or Publicly Perform an Adaptation, Licensor 
offers to the recipient a license to the original Work on the same terms and 
conditions as the license granted to You under this License.
+
+     c. If any provision of this License is invalid or unenforceable under 
applicable law, it shall not affect the validity or enforceability of the 
remainder of the terms of this License, and without further action by the 
parties to this agreement, such provision shall be reformed to the minimum 
extent necessary to make such provision valid and enforceable.
+
+     d. No term or provision of this License shall be deemed waived and no 
breach consented to unless such waiver or consent shall be in writing and 
signed by the party to be charged with such waiver or consent.
+
+     e. This License constitutes the entire agreement between the parties with 
respect to the Work licensed here. There are no understandings, agreements or 
representations with respect to the Work not specified here. Licensor shall not 
be bound by any additional provisions that may appear in any communication from 
You. This License may not be modified without the mutual written agreement of 
the Licensor and You.
+
+     f. The rights granted under, and the subject matter referenced, in this 
License were drafted utilizing the terminology of the Berne Convention for the 
Protection of Literary and Artistic Works (as amended on September 28, 1979), 
the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO 
Performances and Phonograms Treaty of 1996 and the Universal Copyright 
Convention (as revised on July 24, 1971). These rights and subject matter take 
effect in the relevant jurisdiction [...]
+
+Creative Commons Notice
+
+Creative Commons is not a party to this License, and makes no warranty 
whatsoever in connection with the Work. Creative Commons will not be liable to 
You or any party on any legal theory for any damages whatsoever, including 
without limitation any general, special, incidental or consequential damages 
arising in connection to this license. Notwithstanding the foregoing two (2) 
sentences, if Creative Commons has expressly identified itself as the Licensor 
hereunder, it shall have all right [...]
+
+Except for the limited purpose of indicating to the public that the Work is 
licensed under the CCPL, Creative Commons does not authorize the use by either 
party of the trademark "Creative Commons" or any related trademark or logo of 
Creative Commons without the prior written consent of Creative Commons. Any 
permitted use will be in compliance with Creative Commons' then-current 
trademark usage guidelines, as may be published on its website or otherwise 
made available upon request from ti [...]
+
+Creative Commons may be contacted at http://creativecommons.org/. 
\ No newline at end of file
diff --git a/t/SPDX/CC-BY-SA-4.0.txt b/t/SPDX/CC-BY-SA-4.0.txt
new file mode 100644
index 0000000..1d09048
--- /dev/null
+++ b/t/SPDX/CC-BY-SA-4.0.txt
@@ -0,0 +1,168 @@
+Creative Commons Attribution-ShareAlike 4.0 International
+
+<<beginOptional;name=ccOptionalIntro>> Creative Commons Corporation (“Creative 
Commons”) is not a law firm and does not provide legal services or legal 
advice. Distribution of Creative Commons public licenses does not create a 
lawyer-client or other relationship. Creative Commons makes its licenses and 
related information available on an “as-is” basis. Creative Commons gives no 
warranties regarding its licenses, any material licensed under their terms and 
conditions, or any related infor [...]
+
+Using Creative Commons Public Licenses
+
+Creative Commons public licenses provide a standard set of terms and 
conditions that creators and other rights holders may use to share original 
works of authorship and other material subject to copyright and certain other 
rights specified in the public license below. The following considerations are 
for informational purposes only, are not exhaustive, and do not form part of 
our licenses.
+
+Considerations for licensors: Our public licenses are intended for use by 
those authorized to give the public permission to use material in ways 
otherwise restricted by copyright and certain other rights. Our licenses are 
irrevocable. Licensors should read and understand the terms and conditions of 
the license they choose before applying it. Licensors should also secure all 
rights necessary before applying our licenses so that the public can reuse the 
material as expected. Licensors shou [...]
+
+Considerations for the public: By using one of our public licenses, a licensor 
grants the public permission to use the licensed material under specified terms 
and conditions. If the licensor’s permission is not necessary for any 
reason–for example, because of any applicable exception or limitation to 
copyright–then that use is not regulated by the license. Our licenses grant 
only permissions under copyright and certain other rights that a licensor has 
authority to grant. Use of the licen [...]
+
+Although not required by our licenses, you are encouraged to respect those 
requests where reasonable. More considerations for the public. <<endOptional>>
+
+Creative Commons Attribution-ShareAlike 4.0 International Public License
+
+By exercising the Licensed Rights (defined below), You accept and agree to be 
bound by the terms and conditions of this Creative Commons 
Attribution-ShareAlike 4.0 International Public License ("Public License"). To 
the extent this Public License may be interpreted as a contract, You are 
granted the Licensed Rights in consideration of Your acceptance of these terms 
and conditions, and the Licensor grants You such rights in consideration of 
benefits the Licensor receives from making the L [...]
+
+Section 1 – Definitions.
+       
+     a.        Adapted Material means material subject to Copyright and 
Similar Rights that is derived from or based upon the Licensed Material and in 
which the Licensed Material is translated, altered, arranged, transformed, or 
otherwise modified in a manner requiring permission under the Copyright and 
Similar Rights held by the Licensor. For purposes of this Public License, where 
the Licensed Material is a musical work, performance, or sound recording, 
Adapted Material is always produced wher [...]
+       
+     b.        Adapter's License means the license You apply to Your Copyright 
and Similar Rights in Your contributions to Adapted Material in accordance with 
the terms and conditions of this Public License.
+       
+     c.        BY-SA Compatible License means a license listed at 
creativecommons.org/compatiblelicenses, approved by Creative Commons as 
essentially the equivalent of this Public License.
+       
+     d.        Copyright and Similar Rights means copyright and/or similar 
rights closely related to copyright including, without limitation, performance, 
broadcast, sound recording, and Sui Generis Database Rights, without regard to 
how the rights are labeled or categorized. For purposes of this Public License, 
the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar 
Rights.
+       
+     e.        Effective Technological Measures means those measures that, in 
the absence of proper authority, may not be circumvented under laws fulfilling 
obligations under Article 11 of the WIPO Copyright Treaty adopted on December 
20, 1996, and/or similar international agreements.
+       
+     f.        Exceptions and Limitations means fair use, fair dealing, and/or 
any other exception or limitation to Copyright and Similar Rights that applies 
to Your use of the Licensed Material.
+       
+     g.        License Elements means the license attributes listed in the 
name of a Creative Commons Public License. The License Elements of this Public 
License are Attribution and ShareAlike.
+       
+     h.        Licensed Material means the artistic or literary work, 
database, or other material to which the Licensor applied this Public License.
+       
+     i.        Licensed Rights means the rights granted to You subject to the 
terms and conditions of this Public License, which are limited to all Copyright 
and Similar Rights that apply to Your use of the Licensed Material and that the 
Licensor has authority to license.
+       
+     j.        Licensor means the individual(s) or entity(ies) granting rights 
under this Public License.
+       
+     k.        Share means to provide material to the public by any means or 
process that requires permission under the Licensed Rights, such as 
reproduction, public display, public performance, distribution, dissemination, 
communication, or importation, and to make material available to the public 
including in ways that members of the public may access the material from a 
place and at a time individually chosen by them.
+       
+     l.        Sui Generis Database Rights means rights other than copyright 
resulting from Directive 96/9/EC of the European Parliament and of the Council 
of 11 March 1996 on the legal protection of databases, as amended and/or 
succeeded, as well as other essentially equivalent rights anywhere in the world.
+       
+     m.        You means the individual or entity exercising the Licensed 
Rights under this Public License. Your has a corresponding meaning.
+
+Section 2 – Scope.
+       
+     a.        License grant.
+       
+          1. Subject to the terms and conditions of this Public License, the 
Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, 
non-exclusive, irrevocable license to exercise the Licensed Rights in the 
Licensed Material to:
+
+               A. reproduce and Share the Licensed Material, in whole or in 
part; and  
+
+               B. produce, reproduce, and Share Adapted Material.
+       
+          2. Exceptions and Limitations. For the avoidance of doubt, where 
Exceptions and Limitations apply to Your use, this Public License does not 
apply, and You do not need to comply with its terms and conditions.
+       
+          3. Term. The term of this Public License is specified in Section 
6(a).
+       
+          4. Media and formats; technical modifications allowed. The Licensor 
authorizes You to exercise the Licensed Rights in all media and formats whether 
now known or hereafter created, and to make technical modifications necessary 
to do so. The Licensor waives and/or agrees not to assert any right or 
authority to forbid You from making technical modifications necessary to 
exercise the Licensed Rights, including technical modifications necessary to 
circumvent Effective Technological  [...]
+       
+          5. Downstream recipients.
+
+               A. Offer from the Licensor – Licensed Material. Every recipient 
of the Licensed Material automatically receives an offer from the Licensor to 
exercise the Licensed Rights under the terms and conditions of this Public 
License.
+       
+               B. Additional offer from the Licensor – Adapted Material. Every 
recipient of Adapted Material from You automatically receives an offer from the 
Licensor to exercise the Licensed Rights in the Adapted Material under the 
conditions of the Adapter’s License You apply.
+       
+               C. No downstream restrictions. You may not offer or impose any 
additional or different terms or conditions on, or apply any Effective 
Technological Measures to, the Licensed Material if doing so restricts exercise 
of the Licensed Rights by any recipient of the Licensed Material.
+       
+          6. No endorsement. Nothing in this Public License constitutes or may 
be construed as permission to assert or imply that You are, or that Your use of 
the Licensed Material is, connected with, or sponsored, endorsed, or granted 
official status by, the Licensor or others designated to receive attribution as 
provided in Section 3(a)(1)(A)(i).
+       
+     b.        Other rights.
+       
+          1. Moral rights, such as the right of integrity, are not licensed 
under this Public License, nor are publicity, privacy, and/or other similar 
personality rights; however, to the extent possible, the Licensor waives and/or 
agrees not to assert any such rights held by the Licensor to the limited extent 
necessary to allow You to exercise the Licensed Rights, but not otherwise.
+       
+          2. Patent and trademark rights are not licensed under this Public 
License.
+       
+          3. To the extent possible, the Licensor waives any right to collect 
royalties from You for the exercise of the Licensed Rights, whether directly or 
through a collecting society under any voluntary or waivable statutory or 
compulsory licensing scheme. In all other cases the Licensor expressly reserves 
any right to collect such royalties.
+
+Section 3 – License Conditions.
+
+Your exercise of the Licensed Rights is expressly made subject to the 
following conditions.
+       
+     a.        Attribution.
+       
+          1. If You Share the Licensed Material (including in modified form), 
You must:
+
+               A. retain the following if it is supplied by the Licensor with 
the Licensed Material:
+
+                    i. identification of the creator(s) of the Licensed 
Material and any others designated to receive attribution, in any reasonable 
manner requested by the Licensor (including by pseudonym if designated);
+
+                    ii.        a copyright notice;
+
+                    iii. a notice that refers to this Public License;
+
+                    iv.        a notice that refers to the disclaimer of 
warranties;
+
+                    v. a URI or hyperlink to the Licensed Material to the 
extent reasonably practicable;
+
+               B. indicate if You modified the Licensed Material and retain an 
indication of any previous modifications; and
+
+               C. indicate the Licensed Material is licensed under this Public 
License, and include the text of, or the URI or hyperlink to, this Public 
License.
+       
+          2. You may satisfy the conditions in Section 3(a)(1) in any 
reasonable manner based on the medium, means, and context in which You Share 
the Licensed Material. For example, it may be reasonable to satisfy the 
conditions by providing a URI or hyperlink to a resource that includes the 
required information.
+       
+          3. If requested by the Licensor, You must remove any of the 
information required by Section 3(a)(1)(A) to the extent reasonably practicable.
+       
+     b.        ShareAlike.In addition to the conditions in Section 3(a), if 
You Share Adapted Material You produce, the following conditions also apply.
+       
+          1. The Adapter’s License You apply must be a Creative Commons 
license with the same License Elements, this version or later, or a BY-SA 
Compatible License.
+       
+          2. You must include the text of, or the URI or hyperlink to, the 
Adapter's License You apply. You may satisfy this condition in any reasonable 
manner based on the medium, means, and context in which You Share Adapted 
Material.
+       
+          3. You may not offer or impose any additional or different terms or 
conditions on, or apply any Effective Technological Measures to, Adapted 
Material that restrict exercise of the rights granted under the Adapter's 
License You apply.
+
+Section 4 – Sui Generis Database Rights.
+
+Where the Licensed Rights include Sui Generis Database Rights that apply to 
Your use of the Licensed Material:
+       
+     a.        for the avoidance of doubt, Section 2(a)(1) grants You the 
right to extract, reuse, reproduce, and Share all or a substantial portion of 
the contents of the database;
+       
+     b.        if You include all or a substantial portion of the database 
contents in a database in which You have Sui Generis Database Rights, then the 
database in which You have Sui Generis Database Rights (but not its individual 
contents) is Adapted Material, including for purposes of Section 3(b); and
+       
+     c.        You must comply with the conditions in Section 3(a) if You 
Share all or a substantial portion of the contents of the database.
+For the avoidance of doubt, this Section 4 supplements and does not replace 
Your obligations under this Public License where the Licensed Rights include 
other Copyright and Similar Rights.
+
+Section 5 – Disclaimer of Warranties and Limitation of Liability.
+       
+     a.        Unless otherwise separately undertaken by the Licensor, to the 
extent possible, the Licensor offers the Licensed Material as-is and 
as-available, and makes no representations or warranties of any kind concerning 
the Licensed Material, whether express, implied, statutory, or other. This 
includes, without limitation, warranties of title, merchantability, fitness for 
a particular purpose, non-infringement, absence of latent or other defects, 
accuracy, or the presence or absence of e [...]
+       
+     b.        To the extent possible, in no event will the Licensor be liable 
to You on any legal theory (including, without limitation, negligence) or 
otherwise for any direct, special, indirect, incidental, consequential, 
punitive, exemplary, or other losses, costs, expenses, or damages arising out 
of this Public License or use of the Licensed Material, even if the Licensor 
has been advised of the possibility of such losses, costs, expenses, or 
damages. Where a limitation of liability is not [...]
+       
+     c.        The disclaimer of warranties and limitation of liability 
provided above shall be interpreted in a manner that, to the extent possible, 
most closely approximates an absolute disclaimer and waiver of all liability.
+
+Section 6 – Term and Termination.
+       
+     a.        This Public License applies for the term of the Copyright and 
Similar Rights licensed here. However, if You fail to comply with this Public 
License, then Your rights under this Public License terminate automatically.
+       
+     b.        Where Your right to use the Licensed Material has terminated 
under Section 6(a), it reinstates:
+       
+          1. automatically as of the date the violation is cured, provided it 
is cured within 30 days of Your discovery of the violation; or
+       
+          2. upon express reinstatement by the Licensor.
+       
+     c.        For the avoidance of doubt, this Section 6(b) does not affect 
any right the Licensor may have to seek remedies for Your violations of this 
Public License.
+       
+     d.        For the avoidance of doubt, the Licensor may also offer the 
Licensed Material under separate terms or conditions or stop distributing the 
Licensed Material at any time; however, doing so will not terminate this Public 
License.
+       
+     e.        Sections 1, 5, 6, 7, and 8 survive termination of this Public 
License.
+
+Section 7 – Other Terms and Conditions.
+       
+     a.        The Licensor shall not be bound by any additional or different 
terms or conditions communicated by You unless expressly agreed.
+       
+     b.        Any arrangements, understandings, or agreements regarding the 
Licensed Material not stated herein are separate from and independent of the 
terms and conditions of this Public License.
+
+Section 8 – Interpretation.
+       
+     a.        For the avoidance of doubt, this Public License does not, and 
shall not be interpreted to, reduce, limit, restrict, or impose conditions on 
any use of the Licensed Material that could lawfully be made without permission 
under this Public License.
+       
+     b.        To the extent possible, if any provision of this Public License 
is deemed unenforceable, it shall be automatically reformed to the minimum 
extent necessary to make it enforceable. If the provision cannot be reformed, 
it shall be severed from this Public License without affecting the 
enforceability of the remaining terms and conditions.
+       
+     c.        No term or condition of this Public License will be waived and 
no failure to comply consented to unless expressly agreed to by the Licensor.
+       
+     d.        Nothing in this Public License constitutes or may be 
interpreted as a limitation upon, or waiver of, any privileges and immunities 
that apply to the Licensor or You, including from the legal processes of any 
jurisdiction or authority.
+
+Creative Commons is not a party to its public licenses. Notwithstanding, 
Creative Commons may elect to apply one of its public licenses to material it 
publishes and in those instances will be considered the “Licensor.” Except for 
the limited purpose of indicating that material is shared under a Creative 
Commons public license or as otherwise permitted by the Creative Commons 
policies published at creativecommons.org/policies, Creative Commons does not 
authorize the use of the trademark “ [...]

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/licensecheck.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to