From: Charles Plessy Date: Mon, 10 Nov 2014 21:53:18 +0000 (+0900) Subject: Add more versions of the Creative Commons licenses in tools/license-count. X-Git-Url: https://git.donarmstrong.com/?p=debian%2Fdebian-policy.git;a=commitdiff_plain;h=9bbe67ea360b0a3c80adb9d0f162ee39c7865f94;ds=sidebyside Add more versions of the Creative Commons licenses in tools/license-count. --- diff --git a/tools/license-count b/tools/license-count index 9a56b42..a45d900 100755 --- a/tools/license-count +++ b/tools/license-count @@ -32,8 +32,16 @@ our @RULES = ( [qr,(?m)^License:.*AGPL-3, => 'AGPL 3'], [qr,(?m)^License:.*Artistic(?!-), => 'Artistic'], [qr,(?m)^License:.*Artistic-2, => 'Artistic 2.0'], + [qr,(?m)^License:.*CC-BY-1.0, => 'CC-BY 1.0'], + [qr,(?m)^License:.*CC-BY-SA-1.0, => 'CC-BY-SA 1.0'], + [qr,(?m)^License:.*CC-BY-2.0, => 'CC-BY 2.0'], + [qr,(?m)^License:.*CC-BY-SA-2.0, => 'CC-BY-SA 2.0'], + [qr,(?m)^License:.*CC-BY-2.5, => 'CC-BY 2.5'], + [qr,(?m)^License:.*CC-BY-SA-2.5, => 'CC-BY-SA 2.5'], [qr,(?m)^License:.*CC-BY-3.0, => 'CC-BY 3.0'], [qr,(?m)^License:.*CC-BY-SA-3.0, => 'CC-BY-SA 3.0'], + [qr,(?m)^License:.*CC-BY-4.0, => 'CC-BY 4.0'], + [qr,(?m)^License:.*CC-BY-SA-4.0, => 'CC-BY-SA 4.0'], [qr,(?m)^License:.*CDDL, => 'CDDL'], [qr,(?m)^License:.*GPL-1, => 'GPL 1'], [qr,(?m)^License:.*LPPL, => 'LaTeX PPL'], @@ -51,8 +59,16 @@ our @RULES = ( [qr,CeCILL-B FREE SOFTWARE LICENSE AGREEMENT, => 'CeCILL-B'], [qr,CONTRAT DE LICENCE DE LOGICIEL LIBRE CeCILL-C, => 'CeCILL-C'], [qr,CeCILL-C FREE SOFTWARE LICENSE AGREEMENT, => 'CeCILL-C'], + [qr,(?i)creative\s+commons\s+attribution\s+1\.0, => 'CC-BY 1.0'], + [qr,(?i)creative\s+commons\s+attribution[-\s]+share\s*alike\s+1\.0, => 'CC-BY-SA 1.0'], + [qr,(?i)creative\s+commons\s+attribution\s+2\.0, => 'CC-BY 2.0'], + [qr,(?i)creative\s+commons\s+attribution[-\s]+share\s*alike\s+2\.0, => 'CC-BY-SA 2.0'], + [qr,(?i)creative\s+commons\s+attribution\s+2\.5, => 'CC-BY 2.5'], + [qr,(?i)creative\s+commons\s+attribution[-\s]+share\s*alike\s+2\.5, => 'CC-BY-SA 2.5'], [qr,(?i)creative\s+commons\s+attribution\s+3\.0, => 'CC-BY 3.0'], [qr,(?i)creative\s+commons\s+attribution[-\s]+share\s*alike\s+3\.0, => 'CC-BY-SA 3.0'], + [qr,(?i)creative\s+commons\s+attribution\s+4\.0, => 'CC-BY 4.0'], + [qr,(?i)creative\s+commons\s+attribution[-\s]+share\s*alike\s+4\.0, => 'CC-BY-SA 4.0'], [qr,GNU GENERAL PUBLIC LICENSE\s+Version 1, => 'GPL 1'], [qr,LPPL Version, => 'LaTeX PPL (any)'], [qr,LPPL Version 1\.3a, => 'LaTeX PPL 1.3a'],