COPYRIGHT000644001750001750 360714107233270 17130 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Regexp-Pattern-License Upstream-Contact: Jonas Smedegaard (JONASS) Source: https://metacpan.org/pod/Regexp::Pattern::License Files: Changes META.json META.yml doap.ttl lib/Regexp/Pattern/License.pm lib/Regexp/Pattern/License/Parts.pm t/01-basic.t t/02-regexp-pattern.t t/02-regexp-pattern_RE2.t t/02-regexp-pattern_RE2_missing.t t/02-structure.t t/03-match-normalized.t t/coverage-cc-deprecated.t t/coverage-cc.t t/coverage-fedora-2.53.t t/coverage-osi.t t/coverage-perl.t t/coverage-spdx-1.16.t t/coverage-spdx-1.17.t t/coverage-spdx-1.18.t t/coverage-spdx-1.19.t t/coverage-spdx-1.20.t t/coverage-spdx-2.0.t t/coverage-spdx-2.1.t t/coverage-spdx-2.2.t t/coverage-spdx-2.3.t t/coverage-spdx-2.4.t t/coverage-spdx-2.5.t t/coverage-spdx-2.6.t t/coverage-spdx-3.0.t t/coverage-tldr.t t/coverage-trove.t t/coverage-wikidata.t t/lib/MyTest.pm t/lib/Test2/Regexp/Pattern/License.pm Copyright: Copyright 2021 Jonas Smedegaard. License: GPL-3.0 Files: INSTALL LICENSE README TODO Copyright: Unknown License: Unknown Files: COPYRIGHT CREDITS SIGNATURE Copyright: None License: public-domain Files: Makefile.PL Copyright: Copyright 2020 Toby Inkster. License: GPL-1.0+ or Artistic-1.0 Files: dist.ini Copyright: Copyright 2017 Jonas Smedegaard. License: GPL-3.0 License: GPL-3.0 This software is Copyright (c) 2021 by Jonas Smedegaard. This is free software, licensed under: The GNU General Public License, Version 3, June 2007 License: Artistic-1.0 This software is Copyright (c) 2021 by the copyright holder(s). This is free software, licensed under: The Artistic License 1.0 License: GPL-1.0 This software is Copyright (c) 2021 by the copyright holder(s). This is free software, licensed under: The GNU General Public License, Version 1, February 1989 CREDITS000644001750001750 31014107233262 16622 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3Maintainer: - Jonas Smedegaard (JONASS) Thanks: - Niels Thykier - Sandro Mani - Slaven Rezić (SREZIC) - Walter Lozano Changes000644001750001750 7777014107233262 17165 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3Regexp-Pattern-License ====================== Created: 2016-11-23 Home page: Home page: Bug tracker: Maintainer: Jonas Smedegaard (JONASS) v3.9.3 2021-08-18 [ Packaging ] - declare that we break App::Licensecheck before v3.2.7 (exception opbjects were wrongly tagged until Regexp::Pattern::License v3.9.0) v3.9.2 2021-08-17 [ Documentation ] - improve SYNOPSIS [ Test Suite ] - improve regexp tests [ Packaging ] - relax to recommend (not depend on) module re::engine::RE2 - test-require Test::Without::Module [ Other ] - stop enable RE2 option -longest_match, to match equally as without RE2 engine - tighten license pattern for bsd_4_clause, to shadow bsd v3.9.1 2021-08-16 - permit RE2 engine to consume up to 16MiB (default 8MiB is insufficient e.g. on ARMv6) v3.9.0 2021-08-14 [ Bug Fixes ] - annotate wide comma (for mulan licenses) in synthesized patterns - avoid synth.nogrant (not only alt.org.wikidata) when synthesizing grant patterns - cover trailing zero on synthesized patterns for objects aladdin_8 aladdin_9 efl_1 efl_2 mulan_1 mulan_2 - de-randomize fedora and osi IRIs - escape . (dot) in synthesized patterns - fix alt.org.fsf metadata for object afl_3 - fix alt.org.wikipedia metadata - fix drop bogus data from bsd_3_clause - fix parens in synthesized patterns - re-tag python_2 as type:combo (not type:singleversion), and fix/update patterns and metadata - tag exception prefix traits as type:trait:exception:prefix (not bogusly as type:trait:grant:prefix) [ Documentation ] - document object stability (since v3.1.0) - extend copyright to include recent years, and add Purism SPC as copyright holder [ Other ] - Added: add license object psf_2 - Added: add license object unicode_dfs, and change objects unicode_dfs_2015 unicode_dfs_2016 from unversioned to singleversion - Added: add license objects bsd_3_clause_eclipse bsd_3_clause_refractions - Added: add/update lots of alt.org.wikidata names and captions - Added: support engine => none (for returning a uncompiled regexp string) - Removed: deprecate license object python: superceded by psf_2 and python_2 - Removed: deprecate license object wordnet_3: superceded by wordnet (license is unversioned, version belongs to software project) - add alternative clashing names for objects mit_new x11 - add annotation [+] - add trait object license_label_spdx, and synthesize SPDX short-form identifiers distinct from other license labels - add/update lots of alt.org.trove names and captions - bump version - improve alt.org.osi historical metadata - improve and simplify license patterns for objects oldap oldap_1_1 oldap_2_0_1 oldap_2_1 oldap_2_2 oldap_2_2_1 oldap_2_2_2 oldap_2_3 oldap_2_4 oldap_2_5 oldap_2_6 oldap_2_7 oldap_2_8 - optimize annotation and mangling of synthesized patterns - optimize: synthesize name and grant patterns in one loop - optimize: synthesize patterns from metadata name in general loop - optimize: synthesize trove patterns in name/grant loop - relax pattern for object license_label to cover german identifier and space before colon - relax pattern for object licensed_under to optionally end with colon - rewrite description for object x11 to cover origin, and add description to object mit_new - simplify structure: stop use attribute version - synthesize name pattern for object apache - tighten annotations [:] [http://] to not implicitly treat colon or slash as optional - tighten synthesized patterns to cover singleword caption only once - tighten version stopgap to exclude ASCII alphabetic characters and plus, and exclude only roman digits, in synthesized patterns - use general version stopgap for synthesized grant patterns from metadata name - use general version stopgap for synthesized trove patterns v3.8.1 2021-08-07 [ Bug Fixes ] - avoid non-destructive substitution to support older perls - avoid randomly skipping Fedora IRIs, by normalizing property names - avoid randomly skipping chinese IRIs, by fully aligning with DefHash spec 1.0.13 which permits uppercase chararacters in properties - drop alternate names related to Thrift from objects bsl bsl_1: Different not yet included license - expand annotation [ / ] - fix default name for object antlr_pd - fix license pattern for object wordnet_3 - fix licenseversion hint for object cecill_2 - fix scope for glide and gpl_2 license patterns - rename attribute alt.archive.date_* -> alt.archive.time-* for iri property of wordnet - rename attribute lang -> alt.lang to comply with DefHash spec [ Documentation ] - add examples to objcts gpl_3 gpl_3_only [ Test Suite ] - add test to check DefHash structure - improve test library to dinstinguish default name from no name, and check for caption and summary regardless of org-specific name - rename large test to improve parallelization - restructure test function license_org_metadata() to take options as hashref - simplify tests to rely on examples (not inspect raw regex code) - test object mit_unixcrypt - tighten test 03-match-normalized.t by wrapping lines more aggressively [ Other ] - add alternative camelcase shortname for CeCill objects - add annotations [. ] [". ] - add default name for objects mit_cmu_warranty mpich2 - add description with origin to object cua_opl_1 - add steward's alternative caption for object cnri_jython - add/update lots of alt.org.fedora names and captions, and historical alt.org.cc names for some GNU licenses - annotate characters / + ( ), in synthesized patterns, and stop escape space or comma - consistently use attribute iri (not web or none) for IRI-related properties - minor optimizations - optimize annotation expansion - optimize module bootstrapping - optimize synthesizing metadata iri from name or caption, and stop synthesize useless metadata name from caption - optimize tag parsing - optimize: stop duplicate patterns and metadata to group objects - reduce DefHash size by annotating traits as (:...:) - update object beerware to fix examples and add IRI - use annotation [*)] in object catosl_1_1 and in cc objects - use attribute alt.org.steward, dropping (coding but not license naming) organizers facebook freebsd gzip inria python v3.8.0 2021-07-27 [ Bug Fixes ] - always check for optional shortname (regardless if some names contain non-shortname parens) in synthesized grant patterns - exclude shortname of versioned siblings in synthesized grant patterns - use only defined publisher in synthesized name patterns [ Test Suite ] - avoid chained comparison in test, unsupported in older perls - use Test2::V0 for test regexp-pattern.t [ Other ] - Added: add licenses bsd_protection condor condor_1_1 crossword d_fsl d_fsl_1 dbad dbad_0_2 dbad_0_3 dbad_1 dbad_1_1 dont_ask fair_source fair_source_0_9 fal fal_1_1 fal_1_2 fal_1_3 festival glide ibm_pibs ijg imlib2 leptonica libtiff mpich2 mpl_2_no_copyleft_exception ms_cl nbpl nbpl_1 nosl nosl_1 odbl odbl_1 odc_by odc_by_1 pddl pddl_1 peer_production sax_pd sds sds_1 sncl sncl_1_10 sncl_2_0_1 sncl_2_0_2 sncl_2_1 sncl_2_3 stlport truecrypt truecrypt_3 vspl wordnet wordnet_3 xfree86 xfree86_1_1 ypl ypl_1 ypl_1_1 zed zend zend_2 zimbra zimbra_1_3 zimbra_1_4 - collect names and captions separately in synthesized grant patterns - deduplicate name prefix/suffix in synthesized grant patterns - deduplicate names in synthesized grant patterns - extend internal function _join_pats to handle hashref options label prefix suffix - tighten version matching in synthesized grant patterns v3.7.1 2021-07-22 [ Test Suite ] - avoid deprecated special lang syntax in DefHash property names, and fix typos [ Other ] - add license pattern for group object mit v3.7.0 2021-07-17 [ Bug Fixes ] - avoid leading number in attribute component, to comply with DefHash spec - fix metadata and pattern for license object x11 [ Documentation ] - update TODOs [ Other ] - Added: add license object bsd_4_clause_uc - Added: add license objects cc_devnations cc_devnations_2 cc_nc_sa cc_nc_sa_1 cc_nc_sp cc_nc_sp_1 cc_nd_nc cc_nd_nc_1 cc_pd cc_pdd cc_pddc cc_sampling cc_sampling_1 cc_sp_1 - Added: add license objects erlpl erlpl_1_1 - Added: add license objects gsoap gsoap_1_3b - Added: add licenses mit_epinions mit_openvision mit_osf mit_unixcrypt mit_whatever mit_widget mit_xfig - Added: add trait objects except_font_2 except_gcc_2 except_gcc_3_1 - add annotation [:] - add metadata from old fossology shortnames - improve SPDX metadata - improve metadata and license patterns for cc_* objects - relax pattern for license object intel - tighten and generalize expat-style grant subpattern - tighten annotations [-] [ - ], to cover some forms of soft-wrapping - tighten license patterns for apache_1 bsd_4_clause openssl to disambiguate between them - tighten metadata: consistently use misc (not alt) and only once v3.6.1 2021-07-07 [ Test Suite ] - fix coverage-perl tests [ Other ] - add names and captions for https://tldrlegal.com/ website) v3.6.0 2021-07-04 [ Bug Fixes ] - fix set trove metadata for gfdl mpl_1 mpl_1_1 mpl_2 [ Documentation ] - add sections SYNOPSIS and EXAMPLES - document origin of bsd_0_clause - use _simpified_ chinese language code for mulan chinese strings [ Test Suite ] - add coverage for license ipl_1 - use Test2::V0 (not Test::Exception or Test::Requires) [ Packaging ] - stop declare dependency on strictures (unneeded since v3.0.31) [ Other ] - Added: add exception trait wxwindows - Added: add family cc - Added: add license ipa - Added: add license xnet - Added: add licenses bsd_1_clause bsd_2_clause_freebsd bsd_2_clause_netbsd bsd_2_clause_patent - Added: add licenses bsd_3_clause_attribution bsd_3_clause_clear bsd_3_clause_lbnl bsd_3_clause_no_military_license bsd_3_clause_no_nuclear_license bsd_3_clause_no_nuclear_license_2014 bsd_3_clause_no_nuclear_warranty naumen - Added: add licenses efl efl_1 efl_2 entessa frameworx frameworx_1 lpl lpl_1 lpl_1_02 ncsa nokia opl opl_1 oset_pl oset_pl_2_1 php php_3 php_3_01 simpl simpl_2 simple_w3c simple_w3c_1_1 upl upl_1 vsl vsl_1 x11 - Added: add licenses eudatagrid fair - Added: add licenses hpnd hpnd_sell mit_open_group, and combo net_snmp - Added: add licenses liliq_p liliq_p_1_1 liliq_r liliq_r_1_1 liliq_r_plus liliq_r_plus_1_1 - Added: add licenses miros mit_0 - Added: add licenses multics nasa nasa_1_3 - Added: add licenses nposl nposl_3 ucl ucl_1 - Added: add licenses ogc ogc_1 w3c w3c_19980519 w3c_19980720 w3c_20021231 w3c_20150513 - Added: add licenses sleepycat tosl - Added: add licenses unicode_dfs_2015 unicode_dfs_2016 - Added: add trait except_ecos_2, and licenses ecos_1_1 ecos_2 - add names and captions for OSI - annotate "as-is" as [as is] - improve annotations, and tighten to only use Latin-1 characters (now only mulan* patterns contain non-Latin-1 characters) - improve metadata for ipl ipl_1 - improve patterns for zpl_2 zpl_2_1 - optimize DefHash creation slightly - stop use List::Util - tighten patterns for licenses afl_3 osl_3 - update metadata for mpl_1 openssl v3.5.1 2021-06-02 [ Bug Fixes ] - use desctructive substitution in tr///, needed with perl older than v5.14 [ Test Suite ] - cover all license strings of perl CPAN::META spec v3.5.0 2021-06-22 [ Bug Fixes ] - always favor single-version metadata when joined in versioned objects (not randomly flip priority) - capitalize name of exception except_openssl - fix language strings to use ll_CC in DefHash and ll-cc in GNU URLs - include all member patterns in series objects (not a random subset) Walter Lozano++ - version_later version_only: cover lack of leading punctuation or space [ Documentation ] - update TODOs [ Other ] - Added: add license bsd_0_clause - Added: add license cvw - Added: add license intel - Added: add license jabberpl - Added: add license motosoto - Added: add licenses cal cal_1 - Added: add licenses mulan mulan_1 mulan_2 - Added: add licenses oldap oldap_1_1 oldap_1_2 oldap_1_3 oldap_1_4 oldap_2 oldap_2_0_1 oldap_2_1 oldap_2_2 oldap_2_2_1 oldap_2_2_2 oldap_2_3 oldap_2_4 oldap_2_5 oldap_2_6 oldap_2_7 oldap_2_8 - Added: add licenses sissl sissl_1_1 sissl_1_2 - Added: add name and caption for perl (as listed in POD of CPAN::Meta::Spec) - add description and extend patterns for licenses bittorrent_1 bittorrent_1_1 - annotate more consistently as [word] [ word] v3.4.0 2020-05-21 [ Bug Fixes ] - version_later_postfix: cover lack of leading space [ Test Suite ] - relax deep inspection of generated regex [ Other ] - Added: add trait object generated - Added: add trait objects addr_fsf addr_fsf_franklin addr_fsf_franklin_steet addr_fsf_mass addr_fsf_temple - Added: add trait objects except_autoconf_data except_autoconf_2 except_autoconf_2_archive except_autoconf_2_autotroll except_autoconf_2_g10 except_autoconf_3 except_bison_1_24 except_bison_2_2 except_faust except_openssl except_openssl-lgpl except_openssl_s3 except_prefix_agpl except_prefix_generic except_prefix_gpl except_prefix_gpl_clisp except_prefix_lgpl except_proguard except_qt_gpl_1 except_qt_gpl_eclipse except_qt_gpl_openssl except_qt_kernel except_qt_lgpl_1_1 except_qt_nosource except_sdc except_sollya_4_1 except_warzone except_xerces - apache apache_1_1 apache_2: add caption for 'Apache Public License' and 'Apache Software License' - bittorrent_1: fix list alternate SPDX caption (not bogusly as iri) - bsd_3_clause: add names 'EPL' 'EPL-1.0', and captions 'new BSD License' 'Eclipse Distribution License' - license gpl_2: cover 'is covered by he GNU' (original revision with typo) - licensed_under: cover 'subject to' - reorder patterns: traits before licenses - synthesized grants: cover 'the $license version 2 (the $shortname License)' v3.3.1 2020-05-17 [ Bug Fixes ] - annotate apostrophe - avoid annotating decimal point as full stop - consistently annotate slash as [/] - disambiguate license patterns for objects agpl_2 agpl-3 gpl-2 gpl-3 - fix annotate apostrophe as such (not as quote) - fix object wtfpl_2 license pattern - fix trove caption for object mpl_2 - subject pattern name: fix make leading space of publisher optional - synthesized trove label trait: include trailing space - update license object cecill: add alternate IRI (not bogus URI) - update object gpl_2: fix detect license preamble (to avoid misdetection as LGPL-2) - update object mit_advertising: fix double-escaped boundary marker in patch (although seemingly didn't matter) [ Documentation ] - document tag license:contains:tag:*: extend to cover optional reference to different license - document tag license:includes:license:* - fix include type:usage:*:* in list of possible single-license tags, and order by inheritance complexity (not alphabetically) [ Other ] - Added: add license object qpl_1 - Added: add license objects aal abstyles adsl afmparse amdplpa antlr_pd - Added: add license objects aml ampas ecl ecl_1 ecl_2 eupl eupl_1 eupl_1_1 eupl_1_2 lppl lppl_1 lppl_1_1 lppl_1_2 lppl_1_3a lppl_1_3c npl npl_1 npl_1_1 oclc oclc_1 oclc_2 ogtsl osl osl_1 osl_1_1 osl_2 osl_2_1 osl_3 rpl rpl_1 rpl_1_1 rpl_1_3 rpl_1_5 rscpl ruby spl spl_1 sugarcrm sugarcrm_1_1_3 unlicense watcom watcom_1 - Added: add license objects apl apl_1 apsl apsl_1 apsl_1_1 apsl_1_2 apsl_2 - Added: add license objects bahyph barr bittorrent bittorrent_1 bittorrent_1_1 borceux - Added: add license objects bzip2 bzip2_1_0_5 bzip2_1_0_6 - Added: add license objects caldera catosl catosl_1_1 - Added: add license objects cnri_jython cnri_python cnri_python_gpl_compat cpal cpal_1 - Added: add license objects cpol cpol_1_02 cryptix - Added: add license objects cua_opl cua_opl_1 - Added: add license objects gfdl_1_1 gfdl_1_2 gfdl_1_3 - Added: add license objects gfdl_1_1_only gfdl_1_1_or_later gfdl_1_2_only gfdl_1_2_or_later gfdl_1_3_only gfdl_1_3_or_later - Added: add license patterns lgpl_2 lgpl-2_1 lgpl-3 - Added: add trait object version_only - Added: add trait object version_suffix - Added: add usage objects agpl_1_only agpl_1_or_later agpl_3_only agpl_3_or_later - Added: add usage objects gpl_1_only gpl_1_or_later gpl_2_only gpl_2_or_later gpl_3_only gpl_3_or_later - Added: add usage objects lgpl_2_only lgpl_2_or_later lgpl_2_1_only lgpl_2_1_or_later lgpl_3_only lgpl_3_or_later - annnotate less-than and greater-than as [<] [>] (not $LT $GT) - annotate apostrophe as ['] (not $QA) - annotate bullet as [*] (not $B) - annotate colon with optional quotes as [:"] (not $CQ) - annotate copyright sign as [c] (not $C) - annotate dash or number as [-#] (not $ND) - annotate dash or space as [- ] (not $SD) - annotate dashes as [-] [ - ] (not $D $DD) - annotate end-of-sentence and end-of-paragraph vertical space as [ ] [ ] (not $E $EE) - annotate exempli gratia and id est abbreviations as [eg] [ie] - annotate full stop as [.] (not $F) - annotate http(s) protocol as [http://] (not $HT) - annotate optional slash or space as [/] (not $SL) - annotate quote as ["] (not $Q) - annotate quote or bullet as ["*] (not $QB) - annotate semicolon as [;] (not $SC) - annotate start-of-sentence bullet or count as [*)] (not $BB) - drop alternate british caption: covered by synthesized subject pattern - extend gnu patterns to cover FSF online and postal addresses - generalize use of semicolon as internal variable SC - license objects: drop most custom subject pattern grant, superceded by synthesized pattern - license objects: drop most custom subject pattern name, superceded by synthesized pattern - optimize slightly: sort keys after grep (not before) - relax internal variable gpl to cover lowercase 'license' - singleversion objects: add field licenseversion, with decimal 0 if ever used - synthesize subject pattern name: compose affixes separately - synthesize subject pattern name: cover british spelling licence - synthesize subject pattern name: cover dash variations - synthesize subject pattern name: cover embedded shortname - synthesize subject pattern name: cover leading version - synthesize subject pattern name: cover usage objects - synthesize subject pattern name: optimize version matching - synthesize subject pattern name: optimize: resolve publisher only once per object - synthesize subject pattern name: simplify: optimize: bundle names together - tighten match for quote character - trait object version_prefix: cover word revision - update combo object perl: add tags license:includes:license:artistic_1_perl license:includes:license:gpl_1_or_newer - update combo object perl: improve coverage - update group objects bsd mit: add name and caption for a BSD-style / an MIT-style; cover a/an when synthesizing subject pattern - update group objects bsd-2-clause bsd-3-clause bsd-4-clause: add informal alternate names - update license object bittorent_1_1: add tag license:contains:grant:bittorrent_1 - update license object bsd_2_clause: tighten license pattern to exclude Cryptix license - update license object cpl_1: add iri and alternative caption - update license object openssl: add tag license:contains:license:cryptix - update license objects cddl_1 cddl_1_1: add alternative names and captions - update object bsd_3_clause: add a few more alternate captions - update object licensed_under: cover trailing 'either' - update object licensed_under: simplify pattern slightly - update trait object licensed_under: cover 'available under' - update trait object licensed_under: cover 'distribute it under' v3.3.0 2020-03-13 [ Bug Fixes ] - avoid synthesizing pattern grant from ambiguous name BSD for objects bsd_2_clause bsd_3_clause - fix tag object llgpl as license:contains:license:lgpl_2_1 (not bogus license:contains:license:llgpl_2_1) - synthesize patterns in deterministic order - tighten object zpl_2 pattern license to disambiguate from bsd [ Other ] - add license patterns gpl-1 gpl-2 gpl-3 - add trait patterns by by_apache by_fsf by_james_clark by_psf by_sam_hocevar - add trove caption for mpl_1 mpl_1_1 mpl_2 - add unofficial option anchorleft - drop deprecated tags bsd cc mit zlib trait combo (replaced since v3.1.0 by family:* type:*) - enable RE2 strict mode - enable re::engine::RE2 greedy mode - extend license object apache_2 to cover a few rare grant patterns - extend license pattern agpl-3 to mask more licensed_under - extend synthesized subject pattern name to include optional publisher - extend trait pattern licensed_under to cover "under _either_ ..." - extend trait pattern version to cover a trailing 'of' (needed when prepended) - introduce tags license:published:* - simplify synthesized versioned grant pattern - tighten license patterns agpl-1 agpl-3 to avoid wildcard - tighten trait object version_number to not grab first digit of a larger number v3.2.0 2020-02-21 [ Bug Fixes ] - add trove caption for zpl (not zpl_1) [ Other ] - add object ssleay - add usage objects ofl_1_no_rfn ofl_1_rfn ofl_1_1_no_rfn ofl_1_1_rfn, and trait object usage_rfn - introduce tags type:usage:*:* type:trait:usage:rfn - relax generally to treat / as optional or replaced by space - relax license object bsd_3_clause to treat full-stop as optional v3.1.102 2020-02-10 [ Bug Fixes ] - tag object cc_cc0_1 as type:singleversion:cc_cc0 (not bogusly type:versioned:decimal) - tag objects bdwgc_matlab lgpl_bdwgc as type:unversioned (not bogusly type:versioned:decimal) [ Other ] - add objects agpl_1 agpl_2 agpl_3 - add objects zpl zpl_1 zpl_1_1 zpl_2 zpl_2_1 - extend license pattern cecill_1_1 to fully mask any_of - extend license patterns cecill_1_1 cecill_2 cecill_2_1 to avoid misdetecting as GPL-2+ - extend trait pattern licensed_under to cover more phrases - stop custom-treat name-only as grant for select objects (some use for that now better done with tag license:is:grant) - tag objects license_label license_label_trove licensed_under as type:trait:grant:prefix (not type:trait) v3.1.101 2020-01-30 [ Documentation ] - add description for object epl [ Other ] - Added: add object cc_cc0_1 - Added: add objects cc_by_1 cc_by_2 cc_by_2_5 cc_by_3 cc_by_4 - Added: add objects cc_by_nc_1 cc_by_nc_2 cc_by_nc_2_5 cc_by_nc_3 cc_by_nc_4 - Added: add objects cc_by_nc_nd_1 cc_by_nc_nd_2 cc_by_nc_nd_2_5 cc_by_nc_nd_3 cc_by_nc_nd_4 - Added: add objects cc_by_nc_sa_1 cc_by_nc_sa_2 cc_by_nc_sa_2_5 cc_by_nc_sa_3 cc_by_nc_sa_4 - Added: add objects cc_by_nd_1 cc_by_nd_2 cc_by_nd_2_5 cc_by_nd_3 cc_by_nd_4 - Added: add objects cc_by_sa_1 cc_by_sa_2 cc_by_sa_2_5 cc_by_sa_3 cc_by_sa_4 - Added: add objects cc_nc cc_nc_1 cc_nd cc_nd_1 cc_sa cc_sa_1 - Added: add objects cddl_1 cddl_1_1 - Added: add objects cpl cpl_1 epl_1 epl_2 ipl ipl_1 - Added: add objects mpl_1 mpl_1_1 mpl_2 - Added: add objects ofl_1 ofl_1_1 - Added: add objects sgi_b_1 sgi_b_1_1 sgi_b_2 - relax to match copyright sign as uppercase (C) - synthesize more CC subject patterns v3.1.100 2020-01-28 [ REGRESSIONS ] - temporarily drop subject license pattern from object afl (clashes with those of versioned child objects) [ Bug Fixes ] - tighten object adobe_2006 pattern grant to avoid false positives [ Documentation ] - add description for license objects apache_1 apache_1_1 - update TODO [ Test Suite ] - test actually used name pattern for adobe_2006 object [ Other ] - add Trove captions - add tag license:contains:* for license objects apache_1 apache_1_1 bsd_3_clause bsd_4_clause dsdp - add trait object license_label_trove - extend subject license patterns for license objects apache_1 apache_1_1 apache_2 bsd_2_clause bsd_3_clause bsd_4_clause dsdp - relax leading bullet to be optional (might be misdetected as comment marker and stripped) - relax object gpl to match bogus name "the GNU License" - relax slightly internal pattern copr_cond_discl - relax trait pattern licensed_under to cover more phrases - relax trait pattern licensed_under to cover more phrases - relax trait pattern licensed_under to cover more phrases - synthesize subject pattern grant from Trove caption - tighten trait object version_number to cover only single-digit segment v3.1.99 2020-01-05 [ REGRESSIONS ] - give up on auto-loading for now, and support only RE2 (not PCRE2) [ Packaging ] - require (not recommend) re::engine::RE2, and stop recommend re::engine::PCRE2 v3.1.98 2020-01-05 [ Test Suite ] - fix: test for the proper module for each test (arrgh) v3.1.97 2020-01-05 [ Test Suite ] - fix: test if re::engine::* is available before testing use of those modules [ Packaging ] - test-require module Test::Requires v3.1.96 2020-01-04 [ Documentation ] - add examples for object beerware [ Test Suite ] - extend testsuite with Test::Regexp::Pattern tests [ Packaging ] - recommend modules re::engine::PCRE2 re::engine::RE2 - test-require module Test::Regexp::Pattern [ Other ] - add option engine - add tags license:is:grant license:contains:grant license:contains:license:* license:contains:name:* - extend object llgpl: Add alternate cliki iri - internalize list of GNU locales v3.1.95 2020-01-03 [ Bug Fixes ] - declare alternate caption (not name) for object mit - tag object artistic as type:versioned:complex [ Other ] - Add object rpsl_1. - Add objects apache_1 apache_1_1 apache_2. - Add objects artistic_1 artistic_1_cl8 artistic_1_clarified artistic_1_perl. - Extend object afl to cover subject patterns grant license (not only name). Add objects afl_1_1 afl_1_2 afl_2 afl_2_1 afl_3. - Extend object wtfpl. Add objects wtfpl_1 wtfpl_2 wtfnmfpl wtfnmfpl_1. - Extend objects cecill cecill_1 cecill_1_1 cecill_2 cecill_2_1 cecill_b cecill_c. Add objects cecill_b_1 cecill_c_1. - Improve object jython: Extend metadata. - add alternate long caption for object bsd - relax internal bullet pattern to match up to 5 digits/chars - relax many patterns to match british spelling of licence - relax slightly trait pattern licensed_under to match strings with capital You - relax trait pattern licensed_under to match "covered by" - relax trait pattern version_prefix and synthesized grant patterns to match more version strings - synthesize patterns matching license granting declared as definition, i.e. in the form License: foo - tighten synthesized grant patterns to avoid matching derived versions v3.1.94 2019-06-12 [ Bug Fixes ] - Fix DOAP bug-database and repository URLs. Slaven Rezić++ [ Test Suite ] - Extend testsuite: Cover objects aladdin_8 aladdin_9. [ Packaging ] - Fix declare test-requirement on Try::Tiny. Slaven Rezić++ [ Other ] - Extend object bsl_1: Add subject pattern license. Improve metadata. - Extend trait patterns version version_later version_numberstring version_prefix: Cover scopes line sentence. Limit scope paragraph. - Fix objects aladdin aladdin_8 aladdin_9: Add subject pattern license for singleversion licenses and drop for versioned license. - Fix relax trait pattern version_later_postfix: Detect "any above". - Fix relax trait pattern version_prefix: Tolerate leading only/either. - Improve synthesized subject pattern grant: Use trait pattern licensed_under (not simpler copy). - Limit length of subpatterns BB (bullets) E (end of sentence) EE (end of paragraph) and lang, both for slight speedup and to limit risk of issues like Debian bug#926392. - Relax synthesized name pattern to make commas optional (not strip them). - Relax trait pattern version_prefix: Include optional non-text prefix (not only in pattern version). - Relax trait pattern version_prefix: Make whole pattern optional (not its use in version_numberstring). - Synthesize subject pattern name. v3.1.93 2019-06-08 [ Bug Fixes ] - Fix DOS in pattern for leading bullets. Niels Thykier++ Sandro Mani++ [ Other ] - Avoid regex option /r to support Perl < 5.14. - Extend trait pattern licensed_under. - Fix metadata for object afl: Drop bogus tldr name. Slightly improve metadata for object adobe_glyph. v3.1.92 2018-04-05 [ Bug Fixes ] - Fix avoid chained regexes (seemingly unsupported in perl <5.16). [ Documentation ] - Update and slightly reorganize TODOs. [ Other ] - Added: Add trait objects any_of licensed_under or_at_option version version_numberstring. - Added: Implement DefHash option "capture". - Improve embedded summary (and related comment) for option "subject". - Stop cache compiled patterns internally: Not part of Regexp::Pattern spec and better handled externally when really needed. v3.1.91 2018-03-30 [ Bug Fixes ] - Fix avoid alternate name MIT except for objects expat mit. - Fix metadata for object aladdin: Use tag type:versioned:decimal (not type:unversioned). - Fix resolve Fedora IRIs. [ Other ] - Added: Add objects aladdin_8 aladdin_9. - Added: Cover more types of generic grants (used mostly for llgpl and gpl). - Added: Extend object llgpl: Add canonical iri. v3.1.90 2018-03-29 [ Bug Fixes ] - Fix object cecill_b subject pattern license. - Fix object fsfullr to match grant at all. - Fix relax object mit_new_materials to match license at all. - Fix strip duplicate tagline for object ntp, accidentally suppressing tag family:mit. - Tighten objects qpl sgi_b: Avoid bogusly match optional trailing FSF credit. [ Documentation ] - Add TODO file to source, with a bunch of ideas. [ Test Suite ] - Extend testsuite to cover most license patterns. [ Other ] - Added: Add object json. - Added: Add object kevlin_henney (replacing recently added but broken isc_minidiscl). - Added: Add objects bsl bsl_1. - Added: Add objects jython python_2. - Added: Extend object cc_cc0: Add subject pattern grant. - Added: Extend object ftl: Add subject pattern license. - Added: Extend objects ms_pl ms_rl: Add subject pattern license. - Added: Generate default pattern dynamically, and provide alternative subject patterns statically as plaintext (also for non-Perl use). Drop alternative flavor pattern artifact. - Added: Implement DefHash option "subject". - Added: Synthesize metadata caption, and subject pattern grant. - Added: Synthesize metadata iri, and subject pattern iri. - Added: Synthesize subject pattern license. - Extend metadata: Add iri. - Extend object public_domain: Improve subject pattern license. - Fix and extend metadata: Consistently use "name" for license shortname (i.e. single-word), "caption" for license name, and "summary" for non-name short description. - Fix metadata for objects cecill_b cecill_c: Use tag type:versioned:decimal (not type:unversioned). - Implement per-object default pattern. - Relax license objects agpl beerware gpl lgpl public_domain qpl: Detect uppercase variations. - Relax object bsd_3_clause to match SPDX template. - Stringify patterns (as preparation for central compilation). - Synthesize metadata name. - Synthesize subject pattern trait. - Tighten object openssl to differentiate from apache_1. - Tighten object eurosym: Avoid wildcard. - Tighten object postgresql: Limit to lowercase pattern (uppercase or varying case seemingly unused). - Tighten objects ntp ntp_disclaimer: Disambiguate from kevlin_henney. - Uniformly detect copyright sign. - Uniformly detect hyphens. - Uniformly detect quotation marks. - Uniformly detect sentence and paragraph endings. - Uniformly detect sentence enumerators. v3.1.0 2018-02-09 [ Documentation ] - Improve POD: Fix list covered licenses aladdin icu mit_cmu mit_cmu_warranty ofl rpsl. - Improve POD: Rephrase sections about license combinations and license groups, to better disambiguate. [ Other ] - Added: Add hierarchical tags family:* type:*. Deprecate undocumented non-hierarchical tags. - Added: Add license patterns bdwgc bdwgc_matlab isc_minidiscl lgpl_bdwgc. - Added: Introduce alternate license patterns: pat.alt.flavor.artifact. v3.0.31 2017-08-15 [ Packaging ] - Initial independent CPAN release (based on App::Licensecheck). [ Other ] - Use strict and warnings (not strictures). INSTALL000644001750001750 175714107233261 16672 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3 Installing Regexp-Pattern-License should be straightforward. INSTALLATION WITH CPANMINUS If you have cpanm, you only need one line: % cpanm Regexp::Pattern::License If you are installing into a system-wide directory, you may need to pass the "-S" flag to cpanm, which uses sudo to install the module: % cpanm -S Regexp::Pattern::License INSTALLATION WITH THE CPAN SHELL Alternatively, if your CPAN shell is set up, you should just be able to do: % cpan Regexp::Pattern::License MANUAL INSTALLATION As a last resort, you can manually install it. Download the tarball and unpack it. Consult the file META.json for a list of pre-requisites. Install these first. To build Regexp-Pattern-License: % perl Makefile.PL % make && make test Then install it: % make install If you are installing into a system-wide directory, you may need to run: % sudo make install LICENSE000644001750001750 10474514107233262 16710 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3This software is Copyright (c) 2021 by Jonas Smedegaard. This is free software, licensed under: The GNU General Public License, Version 3, June 2007 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . MANIFEST000644001750001750 147714107233270 16771 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3COPYRIGHT CREDITS Changes INSTALL LICENSE MANIFEST META.json META.yml Makefile.PL README SIGNATURE TODO dist.ini doap.ttl lib/Regexp/Pattern/License.pm lib/Regexp/Pattern/License/Parts.pm t/01-basic.t t/02-regexp-pattern.t t/02-regexp-pattern_RE2.t t/02-regexp-pattern_RE2_missing.t t/02-structure.t t/03-match-normalized.t t/coverage-cc-deprecated.t t/coverage-cc.t t/coverage-fedora-2.53.t t/coverage-osi.t t/coverage-perl.t t/coverage-spdx-1.16.t t/coverage-spdx-1.17.t t/coverage-spdx-1.18.t t/coverage-spdx-1.19.t t/coverage-spdx-1.20.t t/coverage-spdx-2.0.t t/coverage-spdx-2.1.t t/coverage-spdx-2.2.t t/coverage-spdx-2.3.t t/coverage-spdx-2.4.t t/coverage-spdx-2.5.t t/coverage-spdx-2.6.t t/coverage-spdx-3.0.t t/coverage-tldr.t t/coverage-trove.t t/coverage-wikidata.t t/lib/MyTest.pm t/lib/Test2/Regexp/Pattern/License.pm META.json000644001750001750 472514107233270 17260 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3{ "abstract" : "regular expressions for legal licenses", "author" : [ "Jonas Smedegaard (JONASS) " ], "dynamic_config" : 0, "generated_by" : "Dist::Inkt::Profile::TOBYINK version 0.024, CPAN::Meta::Converter version 2.150010", "keywords" : [ "Licensing", "Sourcecode" ], "license" : [ "gpl_3" ], "meta-spec" : { "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", "version" : 2 }, "name" : "Regexp-Pattern-License", "no_index" : { "directory" : [ "eg", "examples", "inc", "t", "xt" ] }, "optional_features" : {}, "prereqs" : { "configure" : { "recommends" : { "CPAN::Meta::Requirements" : "2.000" }, "requires" : { "ExtUtils::MakeMaker" : "6.17" } }, "runtime" : { "conflicts" : { "App::Licensecheck" : "<= v3.2.6" }, "recommends" : { "re::engine::RE2" : "0" }, "requires" : { "perl" : "5" } }, "test" : { "requires" : { "Regexp::Pattern" : "0", "Test2::V0" : "0", "Test::Builder::Module" : "0", "Test::More" : "0.98", "Test::Regexp::Pattern" : "0.003", "Test::Without::Module" : "0", "Try::Tiny" : "0" } } }, "provides" : { "Regexp::Pattern::License" : { "file" : "lib/Regexp/Pattern/License.pm", "version" : "v3.9.3" }, "Regexp::Pattern::License::Parts" : { "file" : "lib/Regexp/Pattern/License/Parts.pm", "version" : "v3.9.3" } }, "release_status" : "stable", "resources" : { "bugtracker" : { "web" : "https://bugs.debian.org/libregexp-pattern-license-perl" }, "homepage" : "https://metacpan.org/pod/Regexp::Pattern::License", "license" : [ "http://www.gnu.org/licenses/gpl-3.0.txt" ], "repository" : { "type" : "git", "web" : "https://salsa.debian.org/build-common-team/regexp-pattern-license.git" }, "x_identifier" : "http://purl.org/NET/cpan-uri/dist/Regexp-Pattern-License/project" }, "version" : "v3.9.3", "x_breaks" : { "App::Licensecheck" : "<= v3.2.6" }, "x_help_wanted" : [ "tester", "documenter" ], "x_serialization_backend" : "JSON::PP version 4.04" } META.yml000644001750001750 301314107233270 17075 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3--- abstract: 'regular expressions for legal licenses' author: - 'Jonas Smedegaard (JONASS) ' build_requires: Regexp::Pattern: '0' Test2::V0: '0' Test::Builder::Module: '0' Test::More: '0.98' Test::Regexp::Pattern: '0.003' Test::Without::Module: '0' Try::Tiny: '0' configure_requires: ExtUtils::MakeMaker: '6.17' conflicts: App::Licensecheck: '<= v3.2.6' dynamic_config: 0 generated_by: 'Dist::Inkt::Profile::TOBYINK version 0.024, CPAN::Meta::Converter version 2.150010' keywords: - Licensing - Sourcecode license: gpl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html version: '1.4' name: Regexp-Pattern-License no_index: directory: - eg - examples - inc - t - xt optional_features: {} provides: Regexp::Pattern::License: file: lib/Regexp/Pattern/License.pm version: v3.9.3 Regexp::Pattern::License::Parts: file: lib/Regexp/Pattern/License/Parts.pm version: v3.9.3 recommends: re::engine::RE2: '0' requires: perl: '5' resources: Identifier: http://purl.org/NET/cpan-uri/dist/Regexp-Pattern-License/project bugtracker: https://bugs.debian.org/libregexp-pattern-license-perl homepage: https://metacpan.org/pod/Regexp::Pattern::License license: http://www.gnu.org/licenses/gpl-3.0.txt repository: https://salsa.debian.org/build-common-team/regexp-pattern-license.git version: v3.9.3 x_breaks: App::Licensecheck: '<= v3.2.6' x_help_wanted: - tester - documenter x_serialization_backend: 'CPAN::Meta::YAML version 0.018' Makefile.PL000644001750001750 1331114107233270 17620 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3use strict; use ExtUtils::MakeMaker 6.17; my $EUMM = eval( $ExtUtils::MakeMaker::VERSION ); my $meta = { "abstract" => "regular expressions for legal licenses", "author" => ["Jonas Smedegaard (JONASS) "], "dynamic_config" => 0, "generated_by" => "Dist::Inkt::Profile::TOBYINK version 0.024, CPAN::Meta::Converter version 2.150010", "keywords" => ["Licensing", "Sourcecode"], "license" => ["gpl_3"], "meta-spec" => { url => "http://search.cpan.org/perldoc?CPAN::Meta::Spec", version => 2, }, "name" => "Regexp-Pattern-License", "no_index" => { directory => ["eg", "examples", "inc", "t", "xt"] }, "prereqs" => { configure => { recommends => { "CPAN::Meta::Requirements" => "2.000" }, requires => { "ExtUtils::MakeMaker" => 6.17 }, }, runtime => { conflicts => { "App::Licensecheck" => "<= v3.2.6" }, recommends => { "re::engine::RE2" => 0 }, requires => { perl => 5 }, }, test => { requires => { "Regexp::Pattern" => 0, "Test2::V0" => 0, "Test::Builder::Module" => 0, "Test::More" => 0.98, "Test::Regexp::Pattern" => 0.003, "Test::Without::Module" => 0, "Try::Tiny" => 0, }, }, }, "provides" => { "Regexp::Pattern::License" => { file => "lib/Regexp/Pattern/License.pm", version => "v3.9.3" }, "Regexp::Pattern::License::Parts" => { file => "lib/Regexp/Pattern/License/Parts.pm", version => "v3.9.3" }, }, "release_status" => "stable", "resources" => { bugtracker => { web => "https://bugs.debian.org/libregexp-pattern-license-perl" }, homepage => "https://metacpan.org/pod/Regexp::Pattern::License", license => ["http://www.gnu.org/licenses/gpl-3.0.txt"], repository => { type => "git", web => "https://salsa.debian.org/build-common-team/regexp-pattern-license.git", }, x_identifier => "http://purl.org/NET/cpan-uri/dist/Regexp-Pattern-License/project", }, "version" => "v3.9.3", "x_breaks" => { "App::Licensecheck" => "<= v3.2.6" }, "x_help_wanted" => ["tester", "documenter"], }; my %dynamic_config; for my $stage (keys %{$meta->{prereqs}}) { my $conflicts = $meta->{prereqs}{$stage}{conflicts} or next; eval { require CPAN::Meta::Requirements } or last; $conflicts = 'CPAN::Meta::Requirements'->from_string_hash($conflicts); for my $module ($conflicts->required_modules) { eval "require $module" or next; my $installed = eval(sprintf('$%s::VERSION', $module)); $conflicts->accepts_module($module, $installed) or next; my $message = "\n". "** This version of $meta->{name} conflicts with the version of\n". "** module $module ($installed) you have installed.\n"; die($message . "\n" . "Bailing out") if $stage eq 'build' || $stage eq 'configure'; $message .= "**\n". "** It's strongly recommended that you update it after\n". "** installing this version of $meta->{name}.\n"; warn("$message\n"); } } my %WriteMakefileArgs = ( ABSTRACT => $meta->{abstract}, AUTHOR => ($EUMM >= 6.5702 ? $meta->{author} : $meta->{author}[0]), DISTNAME => $meta->{name}, VERSION => $meta->{version}, EXE_FILES => [ map $_->{file}, values %{ $meta->{x_provides_scripts} || {} } ], NAME => do { my $n = $meta->{name}; $n =~ s/-/::/g; $n }, test => { TESTS => "t/*.t" }, %dynamic_config, ); $WriteMakefileArgs{LICENSE} = $meta->{license}[0] if $EUMM >= 6.3001; sub deps { my %r; for my $stage (@_) { for my $dep (keys %{$meta->{prereqs}{$stage}{requires}}) { next if $dep eq 'perl'; my $ver = $meta->{prereqs}{$stage}{requires}{$dep}; $r{$dep} = $ver if !exists($r{$dep}) || $ver >= $r{$dep}; } } \%r; } my ($build_requires, $configure_requires, $runtime_requires, $test_requires); if ($EUMM >= 6.6303) { $WriteMakefileArgs{BUILD_REQUIRES} ||= deps('build'); $WriteMakefileArgs{CONFIGURE_REQUIRES} ||= deps('configure'); $WriteMakefileArgs{TEST_REQUIRES} ||= deps('test'); $WriteMakefileArgs{PREREQ_PM} ||= deps('runtime'); } elsif ($EUMM >= 6.5503) { $WriteMakefileArgs{BUILD_REQUIRES} ||= deps('build', 'test'); $WriteMakefileArgs{CONFIGURE_REQUIRES} ||= deps('configure'); $WriteMakefileArgs{PREREQ_PM} ||= deps('runtime'); } elsif ($EUMM >= 6.52) { $WriteMakefileArgs{CONFIGURE_REQUIRES} ||= deps('configure'); $WriteMakefileArgs{PREREQ_PM} ||= deps('runtime', 'build', 'test'); } else { $WriteMakefileArgs{PREREQ_PM} ||= deps('configure', 'build', 'test', 'runtime'); } { my ($minperl) = reverse sort( grep defined && /^[0-9]+(\.[0-9]+)?$/, map $meta->{prereqs}{$_}{requires}{perl}, qw( configure build runtime ) ); if (defined($minperl)) { die "Installing $meta->{name} requires Perl >= $minperl" unless $] >= $minperl; $WriteMakefileArgs{MIN_PERL_VERSION} ||= $minperl if $EUMM >= 6.48; } } my $mm = WriteMakefile(%WriteMakefileArgs); exit(0); README000644001750001750 6445614107233262 16547 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3NAME Regexp::Pattern::License - Regular expressions for legal licenses VERSION Version v3.9.3 SYNOPSIS use Regexp::Pattern::License; use Regexp::Pattern; my $string = 'GNU General Public License version 3 or later'; print "Found!\n" if $string =~ re( 'License::gpl_3' ); # prints "Found!" DESCRIPTION Regexp::Pattern::License provides a hash of regular expression patterns related to legal software licenses. Regexp::Pattern is a convention for organizing reusable regex patterns. PATTERNS Licensing traits Patterns each covering a single trait occuring in licenses. Each of these patterns has the tag type:trait . * addr_fsf *Since v3.4.0.* * addr_fsf_franklin *Since v3.4.0.* * addr_fsf_franklin_steet *Since v3.4.0.* * addr_fsf_mass *Since v3.4.0.* * addr_fsf_temple *Since v3.4.0.* * any_of *Since v3.1.92.* * by *Since v3.3.0.* * by_apache *Since v3.3.0.* * by_fsf *Since v3.3.0.* * by_james_clark *Since v3.3.0.* * by_psf *Since v3.3.0.* * by_sam_hocevar *Since v3.3.0.* * clause_retention * clause_reproduction * clause_advertising * clause_advertising_always * clause_non_endorsement * except_389 * except_autoconf_data *Since v3.4.0.* * except_autoconf_2 *Since v3.4.0.* * except_autoconf_2_archive *Since v3.4.0.* * except_autoconf_2_autotroll *Since v3.4.0.* * except_autoconf_2_g10 *Since v3.4.0.* * except_autoconf_3 *Since v3.4.0.* * except_bison_1_24 *Since v3.4.0.* * except_bison_2_2 *Since v3.4.0.* * except_classpath_2 * except_ecos_2 *Since v3.6.0.* * except_epl * except_epl_mpl * except_faust *Since v3.4.0.* * except_font_2 *Since v3.7.0.* * except_gcc_2 *Since v3.7.0.* * except_gcc_3_1 *Since v3.7.0.* * except_gstreamer * except_libtool * except_mif * except_openssl *Since v3.4.0.* * except_ocaml-lgpl * except_openssl-lgpl *Since v3.4.0.* * except_openssl_s3 *Since v3.4.0.* * except_prefix_agpl *Since v3.4.0.* * except_prefix_generic *Since v3.4.0.* * except_prefix_gpl *Since v3.4.0.* * except_prefix_gpl_clisp *Since v3.4.0.* * except_prefix_lgpl *Since v3.4.0.* * except_proguard *Since v3.4.0.* * except_qt_gpl_1 *Since v3.4.0.* * except_qt_gpl_eclipse *Since v3.4.0.* * except_qt_gpl_openssl *Since v3.4.0.* * except_qt_kernel *Since v3.4.0.* * except_qt_lgpl_1_1 *Since v3.4.0.* * except_qt_nosource *Since v3.4.0.* * except_sdc *Since v3.4.0.* * except_sollya_4_1 *Since v3.4.0.* * except_warzone *Since v3.4.0.* * except_wxwindows *Since v3.6.0.* * except_xerces *Since v3.4.0.* * fsf_unlimited * fsf_unlimited_retention * generated *Since v3.4.0.* * license_label * license_label_spdx *Since v3.9.0.* * license_label_trove *Since v3.1.100.* * licensed_under *Since v3.1.92.* * or_at_option *Since v3.1.92.* * usage_rfn *Since v3.2.0.* * version *Since v3.1.92.* * version_later * version_later_paragraph * version_later_postfix * version_number * version_number_suffix * version_only * version_prefix * version_numberstring *Since v3.1.92.* Single licenses Patterns each covering a single license. Each of these patterns has exactly one of these tags: type:unversioned type:versioned:decimal type:singleversion:* type:usage:*:* . * aal * abstyles * adobe_2006 * adobe_glyph * adsl * afl * afl_1_1 *Since v3.1.95.* * afl_1_2 *Since v3.1.95.* * afl_2 *Since v3.1.95.* * afl_2_1 *Since v3.1.95.* * afl_3 *Since v3.1.95.* * afmparse * agpl * agpl_1 *Since v3.1.102.* * agpl_1_only * agpl_1_or_later * agpl_2 * agpl_3 * agpl_3_only * agpl_3_or_later * aladdin * aladdin_8 *Since v3.1.91.* * aladdin_9 *Since v3.1.91.* * amdplpa * aml * ampas * antlr_pd * apache * apache_1 *Since v3.1.95.* * apache_1_1 *Since v3.1.95.* * apache_2 *Since v3.1.95.* * apafml * apl * apl_1 * apsl * apsl_1 * apsl_1_1 * apsl_1_2 * apsl_2 * artistic * artistic_1 *Since v3.1.95.* * artistic_1_cl8 *Since v3.1.95.* * artistic_1_perl *Since v3.1.95.* * artistic_2 * bahyph * barr * bdwgc *Since v3.1.0.* * bdwgc_matlab *Since v3.1.0.* * beerware * bittorrent * bittorrent_1 * bittorrent_1_1 * borceux * bsd_0_clause *Since v3.5.0.* * bsd_1_clause *Since v3.6.0.* * bsd_2_clause * bsd_2_clause_freebsd *Since v3.6.0.* * bsd_2_clause_netbsd *Since v3.6.0.* * bsd_2_clause_patent *Since v3.6.0.* * bsd_2_clause_views * bsd_3_clause * bsd_3_clause_attribution *Since v3.6.0.* * bsd_3_clause_clear *Since v3.6.0.* * bsd_3_clause_eclipse *Since v3.9.0.* * bsd_3_clause_lbnl *Since v3.6.0.* * bsd_3_clause_modification * bsd_3_clause_no_military_license *Since v3.6.0.* * bsd_3_clause_no_nuclear_license *Since v3.6.0.* * bsd_3_clause_no_nuclear_license_2014 *Since v3.6.0.* * bsd_3_clause_no_nuclear_warranty *Since v3.6.0.* * bsd_3_clause_refractions *Since v3.9.0.* * bsd_4_clause * bsd_4_clause_uc *Since v3.7.0.* * bsd_protection *Since v3.8.0.* * bsl *Since v3.1.90.* * bsl_1 *Since v3.1.90.* * bzip2 * bzip2_1_0_5 * bzip2_1_0_6 * cal *Since v3.5.0.* * cal_1 *Since v3.5.0.* * caldera * catosl * catosl_1_1 * cc_by * cc_by_1 *Since v3.1.101.* * cc_by_2 *Since v3.1.101.* * cc_by_2_5 *Since v3.1.101.* * cc_by_3 *Since v3.1.101.* * cc_by_4 *Since v3.1.101.* * cc_by_nc * cc_by_nc_1 *Since v3.1.101.* * cc_by_nc_2 *Since v3.1.101.* * cc_by_nc_2_5 *Since v3.1.101.* * cc_by_nc_3 *Since v3.1.101.* * cc_by_nc_4 *Since v3.1.101.* * cc_by_nc_nd * cc_by_nc_nd_1 *Since v3.1.101.* * cc_by_nc_nd_2 *Since v3.1.101.* * cc_by_nc_nd_2_5 *Since v3.1.101.* * cc_by_nc_nd_3 *Since v3.1.101.* * cc_by_nc_nd_4 *Since v3.1.101.* * cc_by_nc_sa * cc_by_nc_sa_1 *Since v3.1.101.* * cc_by_nc_sa_2 *Since v3.1.101.* * cc_by_nc_sa_2_5 *Since v3.1.101.* * cc_by_nc_sa_3 *Since v3.1.101.* * cc_by_nc_sa_4 *Since v3.1.101.* * cc_by_nd * cc_by_nd_1 *Since v3.1.101.* * cc_by_nd_2 *Since v3.1.101.* * cc_by_nd_2_5 *Since v3.1.101.* * cc_by_nd_3 *Since v3.1.101.* * cc_by_nd_4 *Since v3.1.101.* * cc_by_sa * cc_by_sa_1 *Since v3.1.101.* * cc_by_sa_2 *Since v3.1.101.* * cc_by_sa_2_5 *Since v3.1.101.* * cc_by_sa_3 *Since v3.1.101.* * cc_by_sa_4 *Since v3.1.101.* * cc_cc0 * cc_cc0_1 *Since v3.1.101.* * cc_devnations *Since v3.7.0.* * cc_devnations_2 *Since v3.7.0.* * cc_nc *Since v3.1.101.* * cc_nc_1 *Since v3.1.101.* * cc_nc_sa *Since v3.7.0.* * cc_nc_sa_1 *Since v3.7.0.* * cc_nc_sp *Since v3.7.0.* * cc_nc_sp_1 *Since v3.7.0.* * cc_nd_nc *Since v3.7.0.* * cc_nd_nc_1 *Since v3.7.0.* * cc_nd *Since v3.1.101.* * cc_nd_1 *Since v3.1.101.* * cc_pd *Since v3.7.0.* * cc_pdd *Since v3.7.0.* * cc_pddc *Since v3.7.0.* * cc_sa *Since v3.1.101.* * cc_sa_1 *Since v3.1.101.* * cc_sampling *Since v3.7.0.* * cc_sampling_1 *Since v3.7.0.* * cc_sp * cc_sp_1 *Since v3.7.0.* * cddl * cddl_1 *Since v3.1.101.* * cddl_1_1 *Since v3.1.101.* * cecill * cecill_1 * cecill_1_1 * cecill_2 * cecill_2_1 * cecill_b * cecill_b_1 *Since v3.1.95.* * cecill_c * cecill_c_1 *Since v3.1.95.* * cnri_jython * cnri_python * cnri_python_gpl_compat * condor *Since v3.8.0.* * condor_1_1 *Since v3.8.0.* * cpal * cpal_1 * cpl *Since v3.1.101.* * cpl_1 *Since v3.1.101.* * cpol * cpol_1_02 * crossword *Since v3.8.0.* * cryptix * cua_opl * cua_opl_1 * cube * curl * cvw *Since v3.5.0.* * d_fsl *Since v3.8.0.* * d_fsl_1 *Since v3.8.0.* * dbad *Since v3.8.0.* * dbad_0_2 *Since v3.8.0.* * dbad_0_3 *Since v3.8.0.* * dbad_1 *Since v3.8.0.* * dbad_1_1 *Since v3.8.0.* * dont_ask *Since v3.8.0.* * dsdp * ecl * ecl_1 * ecl_2 * ecos_1_1 *Since v3.6.0.* * ecos_2 *Since v3.6.0.* * efl *Since v3.6.0.* * efl_1 *Since v3.6.0.* * efl_2 *Since v3.6.0.* * entessa *Since v3.6.0.* * epl * epl_1 * epl_2 * erlpl *Since v3.7.0.* * erlpl_1_1 *Since v3.7.0.* * eudatagrid *Since v3.6.0.* * eupl * eupl_1 * eupl_1_1 * eupl_1_2 * eurosym * fair *Since v3.6.0.* * fair_source *Since v3.8.0.* * fair_source_0_9 *Since v3.8.0.* * fal *Since v3.8.0.* * fal_1_1 *Since v3.8.0.* * fal_1_2 *Since v3.8.0.* * fal_1_3 *Since v3.8.0.* * festival *Since v3.8.0.* * frameworx *Since v3.6.0.* * frameworx_1 *Since v3.6.0.* * fsfap * fsful * fsfullr * ftl * gfdl * gfdl_1_1 * gfdl_1_1_only * gfdl_1_1_or_later * gfdl_1_2 * gfdl_1_2_only * gfdl_1_2_or_later * gfdl_1_3 * gfdl_1_3_only * gfdl_1_3_or_later * gfdl_niv * glide *Since v3.8.0.* * gpl * gpl_1 *Since v3.3.0.* * gpl_1_only * gpl_1_or_later * gpl_2 *Since v3.3.0.* * gpl_2_only * gpl_2_or_later * gpl_3 *Since v3.3.0.* * gpl_3_only * gpl_3_or_later * gsoap *Since v3.7.0.* * gsoap_1.3b *Since v3.7.0.* * hpnd *Since v3.6.0.* * hpnd_sell *Since v3.6.0.* * ibm_pibs *Since v3.8.0.* * icu * ijg *Since v3.8.0.* * imlib2 *Since v3.8.0.* * intel *Since v3.5.0.* * ipa *Since v3.6.0.* * ipl * ipl_1 * isc * jabberpl *Since v3.5.0.* * json *Since v3.1.90.* * jython *Since v3.1.90.* * kevlin_henney *Since v3.1.90.* * leptonica *Since v3.8.0.* * lgpl * lgpl_2 * lgpl_2_only * lgpl_2_or_later * lgpl_2_1 * lgpl_2_1_only * lgpl_2_1_or_later * lgpl_3 * lgpl_3_only * lgpl_3_or_later * lgpl_bdwgc *Since v3.1.0.* * libpng * libtiff *Since v3.8.0.* * liliq_p *Since v3.6.0.* * liliq_p_1_1 *Since v3.6.0.* * liliq_r *Since v3.6.0.* * liliq_r_1_1 *Since v3.6.0.* * liliq_r_plus *Since v3.6.0.* * liliq_r_plus_1_1 *Since v3.6.0.* * llgpl * lpl *Since v3.6.0.* * lpl_1 *Since v3.6.0.* * lpl_1_02 *Since v3.6.0.* * lppl * lppl_1 * lppl_1_1 * lppl_1_2 * lppl_1_3a * lppl_1_3c * miros *Since v3.6.0.* * mit_0 *Since v3.6.0.* * mit_advertising * mit_cmu * mit_cmu_warranty * mit_enna * mit_epinions *Since v3.7.0.* * mit_feh * mit_new * mit_new_materials * mit_old * mit_oldstyle * mit_oldstyle_disclaimer * mit_oldstyle_permission * mit_open_group *Since v3.6.0.* * mit_openvision *Since v3.7.0.* * mit_osf *Since v3.7.0.* * mit_unixcrypt *Since v3.7.0.* * mit_whatever *Since v3.7.0.* * mit_widget *Since v3.7.0.* * mit_xfig *Since v3.7.0.* * motosoto *Since v3.5.0.* * mpich2 *Since v3.8.0.* * mpl * mpl_1 *Since v3.1.101.* * mpl_1_1 *Since v3.1.101.* * mpl_2 *Since v3.1.101.* * mpl_2_no_copyleft_exception *Since v3.8.0.* * ms_cl *Since v3.8.0.* * ms_pl * ms_rl * mulan *Since v3.5.0.* * mulan_1 *Since v3.5.0.* * mulan_2 *Since v3.5.0.* * multics *Since v3.6.0.* * nasa *Since v3.6.0.* * nasa_1_3 *Since v3.6.0.* * naumen *Since v3.6.0.* * nbpl *Since v3.8.0.* * nbpl_1 *Since v3.8.0.* * ncsa *Since v3.6.0.* * ngpl * nokia *Since v3.6.0.* * nosl *Since v3.8.0.* * nosl_1 *Since v3.8.0.* * npl * npl_1 * npl_1_1 * nposl *Since v3.6.0.* * nposl_3 *Since v3.6.0.* * ntp * ntp_disclaimer * oclc * oclc_1 * oclc_2 * odbl *Since v3.8.0.* * odbl_1 *Since v3.8.0.* * odc_by *Since v3.8.0.* * odc_by_1 *Since v3.8.0.* * ofl * ofl_1 *Since v3.1.101.* * ofl_1_no_rfn *Since v3.2.0.* * ofl_1_rfn *Since v3.2.0.* * ofl_1_1 *Since v3.1.101.* * ofl_1_1_no_rfn *Since v3.2.0.* * ofl_1_1_rfn *Since v3.2.0.* * ogc *Since v3.6.0.* * ogc_1 *Since v3.6.0.* * ogtsl * oldap *Since v3.5.0.* * oldap_1_1 *Since v3.5.0.* * oldap_1_2 *Since v3.5.0.* * oldap_1_3 *Since v3.5.0.* * oldap_1_4 *Since v3.5.0.* * oldap_2 *Since v3.5.0.* * oldap_2_0_1 *Since v3.5.0.* * oldap_2_1 *Since v3.5.0.* * oldap_2_2 *Since v3.5.0.* * oldap_2_2_1 *Since v3.5.0.* * oldap_2_2_2 *Since v3.5.0.* * oldap_2_3 *Since v3.5.0.* * oldap_2_4 *Since v3.5.0.* * oldap_2_5 *Since v3.5.0.* * oldap_2_6 *Since v3.5.0.* * oldap_2_7 *Since v3.5.0.* * oldap_2_8 *Since v3.5.0.* * openssl * opl *Since v3.6.0.* * opl_1 *Since v3.6.0.* * oset_pl *Since v3.6.0.* * oset_pl_2_1 *Since v3.6.0.* * osl * osl_1 * osl_1_1 * osl_2 * osl_2_1 * osl_3 * pddl *Since v3.8.0.* * pddl_1 *Since v3.8.0.* * peer_production *Since v3.8.0.* * php *Since v3.6.0.* * php_3 *Since v3.6.0.* * php_3_01 *Since v3.6.0.* * postgresql * psf_2 *Since v3.9.0.* * public_domain * qpl * qpl_1 * rpl * rpl_1 * rpl_1_1 * rpl_1_3 * rpl_1_5 * rpsl * rpsl_1 *Since v3.1.95.* * ruby * rscpl * sax_pd *Since v3.8.0.* * sds *Since v3.8.0.* * sds_1 *Since v3.8.0.* * sgi_b * sgi_b_1 *Since v3.1.101.* * sgi_b_1_1 *Since v3.1.101.* * sgi_b_2 *Since v3.1.101.* * simpl *Since v3.6.0.* * simpl_2 *Since v3.6.0.* * simple_w3c *Since v3.6.0.* * simple_w3c_1_1 *Since v3.6.0.* * sissl *Since v3.5.0.* * sissl_1_1 *Since v3.5.0.* * sissl_1_2 *Since v3.5.0.* * sleepycat *Since v3.6.0.* * sncl *Since v3.8.0.* * sncl_1_10 *Since v3.8.0.* * sncl_2_0_1 *Since v3.8.0.* * sncl_2_0_2 *Since v3.8.0.* * sncl_2_1 *Since v3.8.0.* * sncl_2_3 *Since v3.8.0.* * spl * spl_1 * ssleay *Since v3.2.0.* * stlport *Since v3.8.0.* * sugarcrm * sugarcrm_1_1_3 * tosl *Since v3.6.0.* * truecrypt *Since v3.8.0.* * truecrypt_3 *Since v3.8.0.* * ucl *Since v3.6.0.* * ucl_1 *Since v3.6.0.* * unicode_dfs *Since v3.9.0.* * unicode_dfs_2015 *Since v3.6.0.* * unicode_dfs_2016 *Since v3.6.0.* * unicode_strict * unicode_tou * unlicense * upl *Since v3.6.0.* * upl_1 *Since v3.6.0.* * vsl *Since v3.6.0.* * vsl_1 *Since v3.6.0.* * vspl *Since v3.8.0.* * w3c *Since v3.6.0.* * w3c_19980519 *Since v3.6.0.* * w3c_19980720 *Since v3.6.0.* * w3c_20021231 *Since v3.6.0.* * w3c_20150513 *Since v3.6.0.* * watcom * watcom_1 * wordnet *Since v3.8.0.* * wtfpl * wtfpl_1 *Since v3.1.95.* * wtfpl_2 *Since v3.1.95.* * wtfnmfpl *Since v3.1.95.* * wtfnmfpl_1 *Since v3.1.95.* * x11 *Since v3.6.0.* * xfree86 *Since v3.8.0.* * xfree86_1_1 *Since v3.8.0.* * xnet *Since v3.6.0.* * ypl *Since v3.8.0.* * ypl_1 *Since v3.8.0.* * ypl_1_1 *Since v3.8.0.* * zed *Since v3.8.0.* * zend *Since v3.8.0.* * zend_2 *Since v3.8.0.* * zimbra *Since v3.8.0.* * zimbra_1_3 *Since v3.8.0.* * zimbra_1_4 * zlib * zlib_acknowledgement * zpl *Since v3.1.102.* * zpl_1 *Since v3.1.102.* * zpl_1_1 *Since v3.1.102.* * zpl_2 *Since v3.1.102.* * zpl_2_1 *Since v3.1.102.* License combinations Patterns each covering a combination of multiple licenses. Each of these patterns has the tag type:combo . * net_snmp *Since v3.6.0.* * perl * python_2 *Since v3.9.0.* License groups Patterns each covering either of multiple licenses. Each of these patterns has the tag type:group . * bsd * cc *Since v3.6.0.* * gnu * mit STRUCTURE The regexp patterns follows the DefHash specification, and more specifically the structure of Regexp::Pattern, defining access to one pattern per DefHash object, as `pat`. Additionally, (sub)patterns are available in plaintext form, as `pat.alt.*`. SUBJECT Each pattern targets one or more subjects, i.e. ways to directly or indirectly represent a license. Beware that not all pattern objects fully cover all subjects. trait Distinguishing trait or feature expressed in licensing strings, e.g. an advertising clause or granting "...or any later version." Coverage for this subject is currently rather weak. name Distinguishing name, e.g. usable in license grant. grant Text granting the license. license Text containing licensing terms. Texts containing both license grant and licensing terms (e.g. BSD- and MIT-style licensing) may be classified as either subject grant or subject license. This may change, as needs for distinction is better understood. SCOPE Each pattern can process material within some scope, i.e. a certain sample size of the full subject. As an example, use line-based processing, where patterns spanning multiple lines are not applicable. line Pattern typically found within a single line. Typically this means less than 70 characters within scope. sentence Pattern matching within a sentence. May span multiple lines, but not across multiple sentences. Typically this means no full-stop or colon within scope. paragraph Pattern matching distinguishing paragraph. May span multiple sentences, but not multiple paragraphs. Typically this means no newline within scope. section Pattern matching distinguishing section. May span multiple paragraphs, but not multiple sections. Typically this means blank line within scope. multisection Pattern may span multiple sections. OBSOLETE OBJECTS License objects obsoleted by improved coverage of other objects, and provided only as dummy objects. * python *Since v3.9.0.* Replaced by "psf_2" and "python_2". * wordnet_3 *Since v3.9.0.* Replaced by "wordnet". TAGS Pattern defhashes optionally includes tags, which may help in selecting multiple related patterns. Tags are hierarchical, with `:` as separator, and may be extended without notice. Therefore take care to permit sub-parts when tag-matching, e.g. using a regex like ` /\Asome:tag(?:\z|:)/ `. * family:bsd * family:cc * family:gpl * family:mit * family:zlib Pattern covers a license part of a family of licenses. * license:contains:grant:* License mentions a preferred form for granting the license. This implies that license is commonly granted by use of a different (typically far shorter) text. Fourth part (optional) is the key to corresponding license pattern, for a grant belonging to a different license (when omitted then a grant for same license is assumed). * license:contains:license:* License contains another license. Wildcard is the key to corresponding license pattern. * license:contains:name:* License mentions name of another license. * license:includes:license:* License references coverage of another license. Wildcard is the key to corresponding license pattern. * license:is:grant License is commonly granted by stating the whole license. * license:published:* License grant may include an "as published by..." reference. Third part is the key to corresponding trait pattern. * type:trait:publisher:* Pattern covers an "as published by ..." license grant phrase. Third part (optional) is the key to corresponding license pattern. * type:usage:*:* Pattern covers a specific usage of a license. Third part is the key of the corresponding non-usage-specific pattern. Fourth part is the key of the corresponding usage trait pattern. * type:combo Pattern covers a combination of multiple licenses. * type:group Pattern covers either of multiple licenses. * type:singleversion:* Pattern covers a specific version of a license. Third part is the key of the corresponding non-version-specific pattern. * type:trait Pattern covers a single trait occuring in licenses. * type:unversioned Pattern covers a license without versioning scheme. * type:versioned:decimal Pattern covers a license using decimal number versioning scheme. EXAMPLES Browse patterns The "official" way to browse patterns is using App::RegexpPatternUtils: show-regexp-pattern-module --page-result -- License Unfortunately, App::RegexpPatternUtils has a deep dependency tree. An alternative is to use Data::Printer and `less`: perl -CS -MRegexp::Pattern::License -MDDP -e 'p %Regexp::Pattern::License::RE, fulldump => 1, output => stdout' | less -RS AUTHOR Jonas Smedegaard `` COPYRIGHT AND LICENSE Copyright © 2016-2021 Jonas Smedegaard Copyright © 2017-2021 Purism SPC This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . SIGNATURE000644001750001750 1236114107233274 17142 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3This file contains message digests of all files listed in MANIFEST, signed via the Module::Signature module, version 0.87. To verify the content in this distribution, first make sure you have Module::Signature installed, then type: % cpansign -v It will check each file's integrity, as well as the signature's validity. If "==> Signature verified OK! <==" is not displayed, the distribution may already have been compromised, and you should not run its Makefile.PL or Build.PL. -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 SHA256 bdc5ee81d9abae315f084fba77a2b1326669db04397b75018931d2358c252115 COPYRIGHT SHA256 f914c9deba3a5c67c820470a93b401c21cb87fd787aa0f18ce0ef79f1a4f4419 CREDITS SHA256 8e8fba25a409ac2f262ba422a01e4736c4b033a2bb8dae6578525ea394962e0d Changes SHA256 d46df20eb26f8c1ab0cfc5c3231eb9487f2ee673fdc016795f75c92ad1960fd6 INSTALL SHA256 0eeadf2a206a9acfbdd2373b654b77b3c91f067df310f22ef017dbbb756ddf2e LICENSE SHA256 fbb36da08027c3e3df57f415cd1cc84dc77e0463d6176db53eeb8ce9e764c6eb MANIFEST SHA256 132fd06d176c79cc29547b36ab768f5f7c4b17e535bba8d320f79761c4f50d88 META.json SHA256 a9f1c7dae31f78941fceee8a86b9d567e6273c5e719f35a256ba879b710f4bb6 META.yml SHA256 cc68460ea9bf0da4671d79042a678fc259e08b02a0a5f9ccb18dcc9ceb792664 Makefile.PL SHA256 f2bfce0d3daecedd0cb54664540d79d347705da8114bc02144b590000b9533da README SHA256 53f6c6520da6eb6c41a6730e40181078f0e7e7e830faa7f100d0b3b30a458ef9 TODO SHA256 524a02d7cef09fbf4b9f3571b6d46ba0681ce9e08f904f89462b9955036f2309 dist.ini SHA256 59d24679bcc3d813220f33fd5837236265ec97202a635b4a3259811e3bf14226 doap.ttl SHA256 8585a17dab9165dba99c740e7e9d69a0f5324ba935c6c979633849a2486c33cb lib/Regexp/Pattern/License.pm SHA256 19f649421a8860db942666a50119cb3cc40de417dba02bd876bbbdf863188772 lib/Regexp/Pattern/License/Parts.pm SHA256 8571b04b5f4d940ccb5962a91df4f9260e2650ddf384d19d11c4d5ec55f7ea6e t/01-basic.t SHA256 3c0b89605baacfbfe37cdc94bbad0880bda1abeeb4a49825db6d6e57b3816652 t/02-regexp-pattern.t SHA256 d8f91b172020d9c426a0693c3be0d8b96595ee6785b09526c2009af65164b137 t/02-regexp-pattern_RE2.t SHA256 32cb5704b792b3b2f8c9ac61a56fac04642ed4779e5fba5f5f343d63610a8a2a t/02-regexp-pattern_RE2_missing.t SHA256 67eb5628b884f79dd860410163bd657eeb9bd1cc771bc23fd0021d7b358de088 t/02-structure.t SHA256 01ec07212ca0962cd5cd8b11935abd744936a0f3d1eb16af7c502e22bd1b869e t/03-match-normalized.t SHA256 aba3e2350f27209cc2955f4637c404514a4414f08cfd8b4f1656eae67caf3803 t/coverage-cc-deprecated.t SHA256 f2082ccfd0ddb862fb3fa6ba53a4effbf69fd111dd9450daeb07c7d943db9834 t/coverage-cc.t SHA256 4f63f3a6910ce49abbf2dd81d439e84957ffa8b2b23b0aab02bb9ada5f79fb66 t/coverage-fedora-2.53.t SHA256 1c118a2b9e19396eacc9e071660f4ae0b204fecd84703767fd521f408bdc0482 t/coverage-osi.t SHA256 aa54d0b0f45ed009356fd15caa5f2266776ed9d8c9dfbaa3554fc6d78972ac23 t/coverage-perl.t SHA256 d25d23d3ad60628d7ebfd76cc0103c8d151af356d3ca0359514333fb297add4b t/coverage-spdx-1.16.t SHA256 b2b27216db8eb76b354748db8109dc84c1fc11e4f6fb70f5ea99bafff5214df6 t/coverage-spdx-1.17.t SHA256 d37bbbe8d5d0a36d570c65cc7abc11bb722ac3298a44701344dbad9db5ccd4d0 t/coverage-spdx-1.18.t SHA256 cbf2a51b699a8fbdcc42d2aab62a9cba0d3f324561129fdb989e97add1aaeed4 t/coverage-spdx-1.19.t SHA256 77e0f2bbd8070aa098463e1ad55afc8ae0319bb0482c3deeacda8f14f0a76d77 t/coverage-spdx-1.20.t SHA256 83644fb2be01ea23a1e743178e3058198152c5557e3a6e24e9880345f804f73a t/coverage-spdx-2.0.t SHA256 859c6d0b157478dde3f45a43640ed9b58eefcec24f8f80193e1f33de65e61d81 t/coverage-spdx-2.1.t SHA256 96491fd5345237e9ea1beb906e9bc3344d7b3f2b5c13fc5a3a9dcbe998607f5b t/coverage-spdx-2.2.t SHA256 f2c7c6498cba5f6403950796ac05fb21d8d9466035898eb429036a19012a9e35 t/coverage-spdx-2.3.t SHA256 ac375620fc085ae3b48a580ec251f0a687d1669addf57bab19bd4e1a402840eb t/coverage-spdx-2.4.t SHA256 94f3561db63b06c9d947657d8a3ab3a7b523e9497654a0dae856aac78fe02e69 t/coverage-spdx-2.5.t SHA256 4f740aaa37990220d889abf1cc53054c67444d65b21b699aada54af769687653 t/coverage-spdx-2.6.t SHA256 f18992556ae55517ab6976e1fdf95995c66ba19f953e00997f57abbaed78951a t/coverage-spdx-3.0.t SHA256 de64b46af1061c1822734b6656d1453b3379c5e09001e7673ade800829fec42a t/coverage-tldr.t SHA256 1ada442c1625657a8fd76f77c79a64fd48145d843ee53385d396b94709b8fa19 t/coverage-trove.t SHA256 728e6e5926ad76d8cf8917c0b86724c6d4279ddf7db9dd9062c1921f4a30d317 t/coverage-wikidata.t SHA256 39e65f9a7afadfb8595e5ce19054e1d9fc5d3c3fdd21b0c3c9be6a71dd304cd6 t/lib/MyTest.pm SHA256 9b6e3f7c6afa717dc83a552ac5ffa7146d80a1c67e3aa8afb23443ae1a3da9ae t/lib/Test2/Regexp/Pattern/License.pm -----BEGIN PGP SIGNATURE----- iQIzBAEBAwAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmEdNrgACgkQLHwxRsGg ASEehQ/9Fml5/8e4RLlgaCtKQS6ulNQDPONvBUi1ay3OCwj89kOtWoS7WHVkz1TW 5loy0tcWXdCet7pXefybylhUdRx3hfoKKaDD/s/aqWFT9J7xg8S73MxrPSJUVFXU 0Nxkqt5iU/0vp9lrhWXiCjMm8DumQBWLlLOwxHfOtyUsqnz1OxyQ/2jNJAEbkBWw mcwrFBiWd75pmfRIrQFXWNEQWAAwb07NS96/r5ZTvRm/ZUHBJOnBRLvSYC2bAB0e WFxUswAV4c7fP2uf15KxU2+7F4uZc+AoF4a29Sah+shQdA8En9GV83izAR9jLnm7 ttCrJWnJL7jeY6YsrqrklHKAY3aLrOJkleerfSJa4uxzlE1kx5injOFOZwe/mSEg JLzJabniCW+ZrYVKOW3Bonuj6dpn0FSxkzbBujZjGTu9Y/UCXDt6ha1bG4g2Sryt hf0SeCN6iqUsI2lK1A48mV0yefBScNhxiUG/tuGKseIAMPPTW7186SpEZEPoz+dd ZzE8BbGsS7f0hZsPx7tv33BeCDaCA4c9cg4r/xVsrG3yTwkq5KgxDtuKEZA98Tku HIgOQzLxU/2UNeHcpLCyiVLBAi4IuiLX7bUt8SMW+v++17bUCxdVos14tHmTAUMc 0gcFs/k9d9nq4k/Ntel3zQl8nlQNrpjP/d8K2w8clojZ74Mdng8= =w9X6 -----END PGP SIGNATURE----- TODO000644001750001750 1115314107233261 16340 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3Options: * Add pattern tolerance option: + none + case + punctuation + names + versioning + hyphenation - add hyphenation pattern at each syllable (or suppress original hyphenation): (?:[-·]\s*)? * Add pattern scope option. * Extend pattern named captures to include suffixes: + canonical - for the variation of a (sub)pattern preferred upstream + popular - skip obscure variations * Add pattern parno option to support PARNO syntax: or maybe instead add pattern options balanced and delimited similar to and Patterns: * tighten trait object version_number to not capture trailing zero segments '(?P\d(?:(?:\.0)?\.[1-9])*)(?:\.0)*' * relax trait object license_label to match 'license": "' * Cover license directories: + SPDX (later than 3.0) + FSF: https://directory.fsf.org/wiki/Category:License + CC (redirected): https://github.com/creativecommons/sre-salt-prime/blob/HEAD/states/apache2/files/ccengine.conf#L74 + GNU: https://www.gnu.org/licenses/license-list.html + SUSE: https://github.com/openSUSE/spec-cleaner + Microsoft (non-free): https://en.wikipedia.org/wiki/Shared_source + Wikipedia: https://en.wikipedia.org/wiki/Category:Copyright_licenses + Debian (website): https://www.debian.org/legal/licenses/ + Debian (wiki): https://wiki.debian.org/DFSGLicenses + W3C: https://www.w3.org/Consortium/Legal/2002/ipr-notice-20021231 + linfo: http://www.linfo.org/main_index.html + ifross: https://github.com/LeChasseur/ifrOSS/blob/master/Lizenzcenter.md * copyfree: http://copyfree.org/standard/licenses * Cover traits: + Comment styles (most possible): https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(syntax)#Comments + RFN notice: https://wiki.debian.org/Fonts/Bugs/rfn-violation + Patent-related clauses: http://en.swpat.org/wiki/Patent_clauses_in_software_licences * Cover P2P licensing: * https://wiki.p2pfoundation.net/P2P_Licensing * Locate and cover previous lesser-free licenses: * https://en.wikipedia.org/wiki/List_of_formerly_proprietary_software * Provide subject patterns grant license (not any) by default: + Cover either grant or license for all objects + Use subject patterns grant license (not any avilable) by default + Document promise of full coverage, and default. Metadata: * Tag classifications: * https://en.wikipedia.org/wiki/Free_license#Classification_and_licenses * Map to Creative Commons license spectrum * https://en.wikipedia.org/wiki/Creative_Commons_license#Types_of_license * Maybe tag non-free licenses by their nature (guild/peace/etc.) * https://wiki.creativecommons.org/wiki/Parametric_license * Maybe link (where appropriate) to kemitchell: * https://writing.kemitchell.com/ * Relax tag "versioned" to any (even unknown) version Testsuite: * Add author test checking validity of URLs. + Prepend alt.archive properties with https://web.archive.org/web/ * Add author test checking coverage of URL directories * Test static patterns directly (i.e. not using Regexp::Pattern::re) * Distinguish between TODO (pending) and SKIP (irrelevant) Misc. * Implement resolving popularity scores, as needed by debian-policy team: * https://sources.debian.org/src/debian-policy/4.1.3.0/tools/license-count/?hl=63#L63 * Synthesize type:versioned iri from singleversion:$STEM as iri.alt.version.[/^$STEM_/] * Speedup synthesizing by processing simplest first * Improve grant synthesizing: + Expand to also cover lowercased names/captions + Expand to replace leading "Creative Commons" with "CC" + Expand to make leading "Creative Commons" (or "CC") optional * Improve iri synthesizing: + Expand protocol https → http + Expand to alternate websites with same identifier * Fix join data from other licenses in code loop (not declared as a seed) e.g. for group gnu * Assemble DefHash during build. + Maybe use Regexp::Assemble at build-time (but then optionally disable to support deterministic builds) + Install as YAML (and JSON?) below /usr/share/misc, for reuse by non-Perl tools. * Turn most possible into seed patterns. Document new features: * Add SYNOPSIS * Document options: + subject - including enabling multiple subjects. + capture * Add note about "re" use...: adaptable by passing option C to L. * Maybe reference https://rightsstatements.org/ dist.ini000644001750001750 20114107233261 17244 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3; Configuration file for Regexp::Pattern::License ; ;; class = 'Dist::Inkt::Profile::TOBYINK' ;; name = 'Regexp-Pattern-License' doap.ttl000644001750001750 25374314107233270 17355 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3@prefix cpan-uri: . @prefix dc: . @prefix doap: . @prefix doap-bugs: . @prefix doap-changeset: . @prefix doap-deps: . @prefix dt: . @prefix foaf: . @prefix rdfs: . @prefix xsd: . dc:contributor ; doap:release , , , . a doap:Version; dc:identifier "App-Licensecheck-v3.0.27"^^xsd:string; dc:issued "2016-11-23"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Bugfix; rdfs:label "Fix detect license FSFULLR (was misdetected as bogus FSFULR)."; ], [ a doap-changeset:Change; rdfs:label "Clean m4 dnl comment marker."; ], [ a doap-changeset:Addition; rdfs:label "Add new trait patterns clause_retention clause_reproduction clause_advertising clause_non_endorsement disclaimer."; ], [ a doap-changeset:Addition; rdfs:label "Add new group pattern bsd."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern openssl to Regexp::Pattern::License."; ], [ a doap-changeset:Addition; rdfs:label "Add new trait pattern clause_advertising_always."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern cc_by_sa to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Relax license pattern cc_by_ca."; ], [ a doap-changeset:Addition; rdfs:label "Add new license patterns cc_by cc_by_nc cc_by_nc_nd cc_by_nc_sa cc_by_nd cc_cc0 cc_sp."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix version identifier to use + only in machine-readable mode."; ], [ a doap-changeset:Addition; rdfs:label "Add new trait pattern license_version."; ], [ a doap-changeset:Addition; rdfs:label "Add new trait pattern license_prefix."; ], [ a doap-changeset:Change; rdfs:label "Tidy code: Drop noop code."; ], [ a doap-changeset:Change; rdfs:label "Emulate Regexp::Common -keep syntax to capture version number."; ], [ a doap-changeset:Addition; rdfs:label "Add new trait patterns version_later version_later_paragraph version_later_postfix."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern afl to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Relax detection of license GPL."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern agpl to Regexp::Pattern::License."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix detect license MPL-2.0 (was misdetected as MPL-2.0 or AGPL)."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern mpl to Regexp::Pattern::License."; ], [ a doap-changeset:Addition; rdfs:label "Add new license patterns gfdl gfdl_niv."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern apache to Regexp::Pattern::License."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix avoid detection of GPL/LGPL fulltext (rarely if ever used as grant)."; ], [ a doap-changeset:Regression; rdfs:label "Drop too exotic licensing phrase, and corresponding test case."; ], [ a doap-changeset:Change; rdfs:label "Add license patterns gpl lgpl to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Tighten regexes: Generalize and improve LGPL matching."; ], [ a doap-changeset:Addition; rdfs:label "Add new group pattern gnu."; ], [ a doap-changeset:Change; rdfs:label "Tighten regexes: Generalize abbreviated AGPL/LGPL/GPL matching."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern artistic to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Add combo pattern perl to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Improve license detections artistic perl."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern qpl to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Add license patterns adobe_2006 adobe_glyph apafml to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Add license patterns fsfap fsful fsfullr to Regexp::Pattern::License."; ], [ a doap-changeset:Addition; rdfs:label "Introduce new modules: Pattern::License Pattern::License::Parts."; ], [ a doap-changeset:Addition; rdfs:label "Add new trait patterns fsf_unlimited fsf_unlimited_retention."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern ftl to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Add license patterns libpng zlib zlib_acknowledgement to Regexp::Pattern::License."; ], [ a doap-changeset:Addition; rdfs:label "Add new license patterns cube eurosym."; ], [ a doap-changeset:Change; rdfs:label "Add license patterns unicode_strict unicode_tou to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern sgi_b to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern python to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern public_domain to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern ms_pl to Regexp::Pattern::License."; ], [ a doap-changeset:Addition; rdfs:label "Add new license pattern ms_rl."; ], [ a doap-changeset:Change; rdfs:label "Use Regexp::Pattern::License for shortname resolving (with internal list as fallback until phased out)."; ], [ a doap-changeset:Change; rdfs:label "Add license patterns cddl cecill cecill_1 cecill_1_1 cecill_2 cecill_2_1 cecill_b cecill_c epl to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern beerware to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern llgpl to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Drop no longer used internal license shortname list."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern wtfpl to Regexp::Pattern::License."; ], [ a doap-changeset:Change; rdfs:label "Improve detection of license GPL."; ], [ a doap-changeset:Change; rdfs:label "Add license patterns mit_new mit_new_materials mit_old mit_unspecified postgresql, and group pattern mit to Regexp::Pattern::License."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix detect licenses mit_old mit_unspecified (was misdetected as mit_new)."; ], [ a doap-changeset:Addition; rdfs:label "Add new license patterns curl dsdp mit_oldstyle mit_oldstyle_disclaimer mit_oldstyle_permission ntp ntp_disclaimer."; ], [ a doap-changeset:Change; rdfs:label "Add license patterns bsd_2_clause bsd_3_clause bsd_4_clause to Regexp::Pattern::License."; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.0.27"^^xsd:string. a doap:Version; dc:identifier "App-Licensecheck-v3.0.28"^^xsd:string; dc:issued "2016-11-25"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Documentation; rdfs:label "Fix typo in changelog."; ], [ a doap-changeset:Documentation; rdfs:label "Tidy changelog: Improve distinction between newly added and added-to-patternlist entries."; ], [ a doap-changeset:Change; rdfs:label "Tidy Regexp::Pattern::License: Remove stray bogus regexp."; ], [ a doap-changeset:Documentation; rdfs:label "Extend license pattern dsdp with alternate fedora name PetSC."; ], [ a doap-changeset:Change; rdfs:label "Drop unused and too broad trait pattern disclaimer."; ], [ a doap-changeset:Change; rdfs:label "Tidy Regexp::Pattern::License::Pattern: Rename pattern discl → asis_sw_name."; ], [ a doap-changeset:Change; rdfs:label "Tidy Regexp::Pattern::License::Pattern: Rename pattern discl_provide → asis_name_sw."; ], [ a doap-changeset:Change; rdfs:label "Tidy Regexp::Pattern::License::Pattern: Rename pattern provided_no_warranty → asis_expr_warranty."; ], [ a doap-changeset:Change; rdfs:label "Tidy Regexp::Pattern::License::Pattern: Rename pattern discl_disclaim → discl_name_warranties."; ], [ a doap-changeset:Change; rdfs:label "Tighten license pattern bsd-2-clause. Tidy Regexp::Pattern::License::Pattern: Rename pattern asis_sw_name → asis_sw_by_name."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix tighten detection of ISC license (was misdetecting curl)."; ], [ a doap-changeset:Change; rdfs:label "Add license pattern ISC to Regexp::Pattern::License::Pattern."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix tighten license pattern curl (was misdetecting other MIT variants)."; ], [ a doap-changeset:Change; rdfs:label "Tidy Regexp::Pattern::License::Pattern: Rename pattern promo_no_author → nopromo_neither."; ], [ a doap-changeset:Change; rdfs:label "Tidy Regexp::Pattern::License::Pattern: Fix sort pattern list."; ], [ a doap-changeset:Change; rdfs:label "Tidy Regexp::Pattern::License::Pattern: Rename pattern retain_notice → note_invar."; ], [ a doap-changeset:Change; rdfs:label "Tidy Regexp::Pattern::License::Pattern: Rename pattern retain_notice_cond_discl → note_retain_notice_cond_discl."; ], [ a doap-changeset:Change; rdfs:label "Tidy Regexp::Pattern::License::Pattern: Rename pattern repro_notice_cond_discl → note_repro_notice_cond_discl."; ], [ a doap-changeset:Change; rdfs:label "Tidy Regexp::Pattern::License::Pattern: Rename pattern name_no_ad → nopromo_written_prior."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix tighten detection of mit_new license (was misdetecting other MIT flavors)."; ], [ a doap-changeset:Change; rdfs:label "List license mit_new alternate fedora name Modern Style with sublicense."; ], [ a doap-changeset:Addition; rdfs:label "Add new license pattern icu."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix detect dual licensing mit_new mit_old (and speed up partsing while at it)."; ], [ a doap-changeset:Addition; rdfs:label "Add new license patterns mit_enna mit_feh."; ], [ a doap-changeset:Addition; rdfs:label "Add new license pattern mit_advertising."; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.0.28"^^xsd:string. a doap:Version; dc:identifier "App-Licensecheck-v3.0.29"^^xsd:string; dc:issued "2017-01-24"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Change; rdfs:label "Improve license patterns ftl mit_feh mit_enna cube eurosym libpng zlib zlib_acknowledgement."; ], [ a doap-changeset:Addition; rdfs:label "Add license patterns ofl aladdin rpsl mit_cmu mit_cmu_warranty."; ], [ a doap-changeset:Change; rdfs:label "Sort before enumerating ambiguously related combo licenses."; ], [ a doap-changeset:Change; rdfs:label "Streamline license parsing: Process loops of similar patterne."; ], [ a doap-changeset:Regression; rdfs:label "Drop gpl+aladdin combo license: Too exotic."; ], [ a doap-changeset:Documentation; rdfs:label "Document Regexp::Pattern::License as a private module."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix don't choke on unspecificed BSD license."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix detect BSD licenses as bare name."; doap-bugs:fixes ; doap-changeset:thanks ; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.0.29"^^xsd:string. a doap:Version; dc:identifier "App-Licensecheck-v3.0.30"^^xsd:string; dc:issued "2017-07-05"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Tests; rdfs:label "Add OSI test (including only currently succeeding OSI licenses for now)."; ], [ a doap-changeset:Change; rdfs:label "Improve license pattern agpl to skip english (not only french) cecill_2_1."; ], [ a doap-changeset:Change; rdfs:label "Improve license pattern epl."; ], [ a doap-changeset:Addition; rdfs:label "Add license pattern artistic_2."; ], [ a doap-changeset:Change; rdfs:label "clean_comments(): Relax to match varying amount of horizontal whitespace (not exactly one character) followed by any non-whitespace (not only a word character)."; ], [ a doap-changeset:Change; rdfs:label "clean_comments(): Tighten to match and strip only horizontal whitespace (not newlines)."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix license pattern ms_pl to detect MS Public License (not non-free MS Permissive License)."; ], [ a doap-changeset:Change; rdfs:label "Improve license pattern epl to detect some forms of \"or newer\"."; ], [ a doap-changeset:Bugfix; rdfs:label "Tighten license patterns afl agpl cdl gfdl gfdl_nivgpl lgpl llgpl mpl ms_pl ms_rl qpl sgi_b wtfpl mit to require descriptive prefix when only an abbreviation."; doap-bugs:fixes ; doap-changeset:thanks ; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.0.30"^^xsd:string. a doap:Project; cpan-uri:x_help_wanted , ; dc:contributor ; doap-deps:runtime-conflict [ doap-deps:on "App::Licensecheck <= v3.2.6"^^doap-deps:CpanId; ]; doap-deps:runtime-recommendation [ doap-deps:on "re::engine::RE2"^^doap-deps:CpanId ]; doap-deps:runtime-requirement [ doap-deps:on "perl 5"^^doap-deps:CpanId ]; doap-deps:test-requirement [ doap-deps:on "Regexp::Pattern"^^doap-deps:CpanId ], [ doap-deps:on "Test::Builder::Module"^^doap-deps:CpanId; ], [ doap-deps:on "Test::More 0.98"^^doap-deps:CpanId ], [ doap-deps:on "Test::Without::Module"^^doap-deps:CpanId; ], [ doap-deps:on "Test2::V0"^^doap-deps:CpanId ], [ doap-deps:on "Test::Regexp::Pattern 0.003"^^doap-deps:CpanId; ], [ doap-deps:on "Try::Tiny"^^doap-deps:CpanId ]; doap:bug-database , ; doap:category [ rdfs:label "Sourcecode" ], [ rdfs:label "Licensing" ]; doap:created "2016-11-23"^^xsd:date; doap:developer ; doap:download-page ; doap:homepage , ; doap:license ; doap:maintainer ; doap:name "Regexp-Pattern-License"; doap:programming-language "Perl"; doap:release , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ; doap:repository [ a doap:GitRepository; doap:browse ; ]; doap:shortdesc "regular expressions for legal licenses". a doap:Version; dc:identifier "Regexp-Pattern-License-v3.0.31"^^xsd:string; dc:issued "2017-08-15"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Packaging; rdfs:label "Initial independent CPAN release (based on App::Licensecheck)."; ], [ a doap-changeset:Change; rdfs:label "Use strict and warnings (not strictures)."; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.0.31"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.0"^^xsd:string; dc:issued "2018-02-09"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Addition; rdfs:label "Add hierarchical tags family:* type:*. Deprecate undocumented non-hierarchical tags."; ], [ a doap-changeset:Addition; rdfs:label "Add license patterns bdwgc bdwgc_matlab isc_minidiscl lgpl_bdwgc."; ], [ a doap-changeset:Addition; rdfs:label "Introduce alternate license patterns: pat.alt.flavor.artifact."; ], [ a doap-changeset:Documentation; rdfs:label "Improve POD: Rephrase sections about license combinations and license groups, to better disambiguate."; ], [ a doap-changeset:Documentation; rdfs:label "Improve POD: Fix list covered licenses aladdin icu mit_cmu mit_cmu_warranty ofl rpsl."; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.0"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.100"^^xsd:string; dc:issued "2020-01-28"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Change; rdfs:label "relax trait pattern licensed_under to cover more phrases"; ], [ a doap-changeset:Bugfix; rdfs:label "tighten object adobe_2006 pattern grant to avoid false positives"; ], [ a doap-changeset:Tests; rdfs:label "test actually used name pattern for adobe_2006 object"; ], [ a doap-changeset:Change; rdfs:label "relax trait pattern licensed_under to cover more phrases"; ], [ a doap-changeset:Change; rdfs:label "relax object gpl to match bogus name \"the GNU License\""; ], [ a doap-changeset:Change; rdfs:label "tighten trait object version_number to cover only single-digit segment"; ], [ a doap-changeset:Change; rdfs:label "relax trait pattern licensed_under to cover more phrases"; ], [ a doap-changeset:Change; rdfs:label "add Trove captions"; ], [ a doap-changeset:Change; rdfs:label "add trait object license_label_trove"; ], [ a doap-changeset:Change; rdfs:label "synthesize subject pattern grant from Trove caption"; ], [ a doap-changeset:Documentation; rdfs:label "update TODO"; ], [ a doap-changeset:Change; rdfs:label "relax leading bullet to be optional (might be misdetected as comment marker and stripped)"; ], [ a doap-changeset:Change; rdfs:label "relax slightly internal pattern copr_cond_discl"; ], [ a doap-changeset:Change; rdfs:label "extend subject license patterns for license objects apache_1 apache_1_1 apache_2 bsd_2_clause bsd_3_clause bsd_4_clause dsdp"; ], [ a doap-changeset:Change; rdfs:label "add tag license:contains:* for license objects apache_1 apache_1_1 bsd_3_clause bsd_4_clause dsdp"; ], [ a doap-changeset:Documentation; rdfs:label "add description for license objects apache_1 apache_1_1"; ], [ a doap-changeset:Regression; rdfs:label "temporarily drop subject license pattern from object afl (clashes with those of versioned child objects)"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.100"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.101"^^xsd:string; dc:issued "2020-01-30"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Addition; rdfs:label "add objects cpl cpl_1 epl_1 epl_2 ipl ipl_1"; ], [ a doap-changeset:Documentation; rdfs:label "add description for object epl"; ], [ a doap-changeset:Change; rdfs:label "relax to match copyright sign as uppercase (C)"; ], [ a doap-changeset:Addition; rdfs:label "add objects sgi_b_1 sgi_b_1_1 sgi_b_2"; ], [ a doap-changeset:Addition; rdfs:label "add objects ofl_1 ofl_1_1"; ], [ a doap-changeset:Addition; rdfs:label "add objects mpl_1 mpl_1_1 mpl_2"; ], [ a doap-changeset:Addition; rdfs:label "add objects cddl_1 cddl_1_1"; ], [ a doap-changeset:Addition; rdfs:label "add objects cc_by_1 cc_by_2 cc_by_2_5 cc_by_3 cc_by_4"; ], [ a doap-changeset:Addition; rdfs:label "add objects cc_by_nc_1 cc_by_nc_2 cc_by_nc_2_5 cc_by_nc_3 cc_by_nc_4"; ], [ a doap-changeset:Addition; rdfs:label "add objects cc_by_nc_nd_1 cc_by_nc_nd_2 cc_by_nc_nd_2_5 cc_by_nc_nd_3 cc_by_nc_nd_4"; ], [ a doap-changeset:Addition; rdfs:label "add objects cc_by_nc_sa_1 cc_by_nc_sa_2 cc_by_nc_sa_2_5 cc_by_nc_sa_3 cc_by_nc_sa_4"; ], [ a doap-changeset:Addition; rdfs:label "add objects cc_by_nd_1 cc_by_nd_2 cc_by_nd_2_5 cc_by_nd_3 cc_by_nd_4"; ], [ a doap-changeset:Addition; rdfs:label "add objects cc_by_sa_1 cc_by_sa_2 cc_by_sa_2_5 cc_by_sa_3 cc_by_sa_4"; ], [ a doap-changeset:Addition; rdfs:label "add object cc_cc0_1"; ], [ a doap-changeset:Addition; rdfs:label "add objects cc_nc cc_nc_1 cc_nd cc_nd_1 cc_sa cc_sa_1"; ], [ a doap-changeset:Change; rdfs:label "synthesize more CC subject patterns"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.101"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.102"^^xsd:string; dc:issued "2020-02-10"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Change; rdfs:label "add objects agpl_1 agpl_2 agpl_3"; ], [ a doap-changeset:Change; rdfs:label "add objects zpl zpl_1 zpl_1_1 zpl_2 zpl_2_1"; ], [ a doap-changeset:Change; rdfs:label "extend trait pattern licensed_under to cover more phrases"; ], [ a doap-changeset:Change; rdfs:label "extend license patterns cecill_1_1 cecill_2 cecill_2_1 to avoid misdetecting as GPL-2+"; ], [ a doap-changeset:Change; rdfs:label "stop custom-treat name-only as grant for select objects (some use for that now better done with tag license:is:grant)"; ], [ a doap-changeset:Bugfix; rdfs:label "tag objects bdwgc_matlab lgpl_bdwgc as type:unversioned (not bogusly type:versioned:decimal)"; ], [ a doap-changeset:Bugfix; rdfs:label "tag object cc_cc0_1 as type:singleversion:cc_cc0 (not bogusly type:versioned:decimal)"; ], [ a doap-changeset:Change; rdfs:label "extend license pattern cecill_1_1 to fully mask any_of"; ], [ a doap-changeset:Change; rdfs:label "tag objects license_label license_label_trove licensed_under as type:trait:grant:prefix (not type:trait)"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.102"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.90"^^xsd:string; dc:issued "2018-03-29"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Tests; rdfs:label "Extend testsuite to cover most license patterns."; ], [ a doap-changeset:Change; rdfs:label "Fix metadata for objects cecill_b cecill_c: Use tag type:versioned:decimal (not type:unversioned)."; ], [ a doap-changeset:Change; rdfs:label "Relax object bsd_3_clause to match SPDX template."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix object fsfullr to match grant at all."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix relax object mit_new_materials to match license at all."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix strip duplicate tagline for object ntp, accidentally suppressing tag family:mit."; ], [ a doap-changeset:Addition; rdfs:label "Add object kevlin_henney (replacing recently added but broken isc_minidiscl)."; ], [ a doap-changeset:Change; rdfs:label "Tighten objects ntp ntp_disclaimer: Disambiguate from kevlin_henney."; ], [ a doap-changeset:Change; rdfs:label "Tighten object eurosym: Avoid wildcard."; ], [ a doap-changeset:Bugfix; rdfs:label "Tighten objects qpl sgi_b: Avoid bogusly match optional trailing FSF credit."; ], [ a doap-changeset:Change; rdfs:label "Tighten object postgresql: Limit to lowercase pattern (uppercase or varying case seemingly unused)."; ], [ a doap-changeset:Change; rdfs:label "Fix and extend metadata: Consistently use \"name\" for license shortname (i.e. single-word), \"caption\" for license name, and \"summary\" for non-name short description."; ], [ a doap-changeset:Change; rdfs:label "Extend metadata: Add iri."; ], [ a doap-changeset:Change; rdfs:label "Relax license objects agpl beerware gpl lgpl public_domain qpl: Detect uppercase variations."; ], [ a doap-changeset:Change; rdfs:label "Uniformly detect quotation marks."; ], [ a doap-changeset:Change; rdfs:label "Uniformly detect hyphens."; ], [ a doap-changeset:Change; rdfs:label "Uniformly detect sentence enumerators."; ], [ a doap-changeset:Change; rdfs:label "Uniformly detect sentence and paragraph endings."; ], [ a doap-changeset:Change; rdfs:label "Uniformly detect copyright sign."; ], [ a doap-changeset:Change; rdfs:label "Stringify patterns (as preparation for central compilation)."; ], [ a doap-changeset:Addition; rdfs:label "Generate default pattern dynamically, and provide alternative subject patterns statically as plaintext (also for non-Perl use). Drop alternative flavor pattern artifact."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix object cecill_b subject pattern license."; ], [ a doap-changeset:Addition; rdfs:label "Implement DefHash option \"subject\"."; ], [ a doap-changeset:Addition; rdfs:label "Add object json."; ], [ a doap-changeset:Addition; rdfs:label "Extend objects ms_pl ms_rl: Add subject pattern license."; ], [ a doap-changeset:Addition; rdfs:label "Extend object cc_cc0: Add subject pattern grant."; ], [ a doap-changeset:Change; rdfs:label "Implement per-object default pattern."; ], [ a doap-changeset:Addition; rdfs:label "Synthesize subject pattern license."; ], [ a doap-changeset:Addition; rdfs:label "Synthesize metadata caption, and subject pattern grant."; ], [ a doap-changeset:Change; rdfs:label "Synthesize metadata name."; ], [ a doap-changeset:Addition; rdfs:label "Synthesize metadata iri, and subject pattern iri."; ], [ a doap-changeset:Change; rdfs:label "Synthesize subject pattern trait."; ], [ a doap-changeset:Change; rdfs:label "Extend object public_domain: Improve subject pattern license."; ], [ a doap-changeset:Addition; rdfs:label "Extend object ftl: Add subject pattern license."; ], [ a doap-changeset:Addition; rdfs:label "Add objects jython python_2."; ], [ a doap-changeset:Change; rdfs:label "Tighten object openssl to differentiate from apache_1."; ], [ a doap-changeset:Addition; rdfs:label "Add objects bsl bsl_1."; ], [ a doap-changeset:Documentation; rdfs:label "Add TODO file to source, with a bunch of ideas."; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.90"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.91"^^xsd:string; dc:issued "2018-03-30"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Addition; rdfs:label "Cover more types of generic grants (used mostly for llgpl and gpl)."; ], [ a doap-changeset:Addition; rdfs:label "Extend object llgpl: Add canonical iri."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix avoid alternate name MIT except for objects expat mit."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix resolve Fedora IRIs."; ], [ a doap-changeset:Addition; rdfs:label "Add objects aladdin_8 aladdin_9."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix metadata for object aladdin: Use tag type:versioned:decimal (not type:unversioned)."; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.91"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.92"^^xsd:string; dc:issued "2018-04-05"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Bugfix; rdfs:label "Fix avoid chained regexes (seemingly unsupported in perl <5.16)."; ], [ a doap-changeset:Addition; rdfs:label "Add trait objects any_of licensed_under or_at_option version version_numberstring."; ], [ a doap-changeset:Change; rdfs:label "Stop cache compiled patterns internally: Not part of Regexp::Pattern spec and better handled externally when really needed."; ], [ a doap-changeset:Change; rdfs:label "Improve embedded summary (and related comment) for option \"subject\"."; ], [ a doap-changeset:Addition; rdfs:label "Implement DefHash option \"capture\"."; ], [ a doap-changeset:Documentation; rdfs:label "Update and slightly reorganize TODOs."; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.92"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.93"^^xsd:string; dc:issued "2019-06-08"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Change; rdfs:label "Fix metadata for object afl: Drop bogus tldr name. Slightly improve metadata for object adobe_glyph."; ], [ a doap-changeset:Change; rdfs:label "Avoid regex option /r to support Perl < 5.14."; ], [ a doap-changeset:Change; rdfs:label "Extend trait pattern licensed_under."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix DOS in pattern for leading bullets."; doap-bugs:fixes ; doap-changeset:thanks , ; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.93"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.94"^^xsd:string; dc:issued "2019-06-12"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Change; rdfs:label "Limit length of subpatterns BB (bullets) E (end of sentence) EE (end of paragraph) and lang, both for slight speedup and to limit risk of issues like Debian bug#926392."; ], [ a doap-changeset:Change; rdfs:label "Improve synthesized subject pattern grant: Use trait pattern licensed_under (not simpler copy)."; ], [ a doap-changeset:Change; rdfs:label "Synthesize subject pattern name."; ], [ a doap-changeset:Change; rdfs:label "Fix objects aladdin aladdin_8 aladdin_9: Add subject pattern license for singleversion licenses and drop for versioned license."; ], [ a doap-changeset:Tests; rdfs:label "Extend testsuite: Cover objects aladdin_8 aladdin_9."; ], [ a doap-changeset:Change; rdfs:label "Extend object bsl_1: Add subject pattern license. Improve metadata."; ], [ a doap-changeset:Change; rdfs:label "Relax synthesized name pattern to make commas optional (not strip them)."; ], [ a doap-changeset:Change; rdfs:label "Relax trait pattern version_prefix: Make whole pattern optional (not its use in version_numberstring)."; ], [ a doap-changeset:Change; rdfs:label "Extend trait patterns version version_later version_numberstring version_prefix: Cover scopes line sentence. Limit scope paragraph."; ], [ a doap-changeset:Change; rdfs:label "Relax trait pattern version_prefix: Include optional non-text prefix (not only in pattern version)."; ], [ a doap-changeset:Change; rdfs:label "Fix relax trait pattern version_later_postfix: Detect \"any above\"."; ], [ a doap-changeset:Change; rdfs:label "Fix relax trait pattern version_prefix: Tolerate leading only/either."; ], [ a doap-changeset:Bugfix; rdfs:label "Fix DOAP bug-database and repository URLs."; doap-bugs:fixes ; doap-changeset:thanks ; ], [ a doap-changeset:Packaging; rdfs:label "Fix declare test-requirement on Try::Tiny."; doap-bugs:fixes ; doap-changeset:thanks ; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.94"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.95"^^xsd:string; dc:issued "2020-01-03"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Change; rdfs:label "relax many patterns to match british spelling of licence"; ], [ a doap-changeset:Change; rdfs:label "add alternate long caption for object bsd"; ], [ a doap-changeset:Change; rdfs:label "Add objects artistic_1 artistic_1_cl8 artistic_1_clarified artistic_1_perl."; ], [ a doap-changeset:Change; rdfs:label "Extend object afl to cover subject patterns grant license (not only name). Add objects afl_1_1 afl_1_2 afl_2 afl_2_1 afl_3."; ], [ a doap-changeset:Change; rdfs:label "relax internal bullet pattern to match up to 5 digits/chars"; ], [ a doap-changeset:Change; rdfs:label "relax trait pattern version_prefix and synthesized grant patterns to match more version strings"; ], [ a doap-changeset:Change; rdfs:label "tighten synthesized grant patterns to avoid matching derived versions"; ], [ a doap-changeset:Change; rdfs:label "Improve object jython: Extend metadata."; ], [ a doap-changeset:Change; rdfs:label "Extend objects cecill cecill_1 cecill_1_1 cecill_2 cecill_2_1 cecill_b cecill_c. Add objects cecill_b_1 cecill_c_1."; ], [ a doap-changeset:Change; rdfs:label "Add object rpsl_1."; ], [ a doap-changeset:Change; rdfs:label "Add objects apache_1 apache_1_1 apache_2."; ], [ a doap-changeset:Change; rdfs:label "relax slightly trait pattern licensed_under to match strings with capital You"; ], [ a doap-changeset:Change; rdfs:label "synthesize patterns matching license granting declared as definition, i.e. in the form License: foo"; ], [ a doap-changeset:Change; rdfs:label "relax trait pattern licensed_under to match \"covered by\""; ], [ a doap-changeset:Change; rdfs:label "Extend object wtfpl. Add objects wtfpl_1 wtfpl_2 wtfnmfpl wtfnmfpl_1."; ], [ a doap-changeset:Bugfix; rdfs:label "declare alternate caption (not name) for object mit"; ], [ a doap-changeset:Bugfix; rdfs:label "tag object artistic as type:versioned:complex"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.95"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.96"^^xsd:string; dc:issued "2020-01-04"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Change; rdfs:label "internalize list of GNU locales"; ], [ a doap-changeset:Change; rdfs:label "add tags license:is:grant license:contains:grant license:contains:license:* license:contains:name:*"; ], [ a doap-changeset:Change; rdfs:label "extend object llgpl: Add alternate cliki iri"; ], [ a doap-changeset:Tests; rdfs:label "extend testsuite with Test::Regexp::Pattern tests"; ], [ a doap-changeset:Documentation; rdfs:label "add examples for object beerware"; ], [ a doap-changeset:Packaging; rdfs:label "test-require module Test::Regexp::Pattern"; ], [ a doap-changeset:Change; rdfs:label "add option engine"; ], [ a doap-changeset:Packaging; rdfs:label "recommend modules re::engine::PCRE2 re::engine::RE2"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.96"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.97"^^xsd:string; dc:issued "2020-01-05"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Tests; rdfs:label "fix: test if re::engine::* is available before testing use of those modules"; ], [ a doap-changeset:Packaging; rdfs:label "test-require module Test::Requires"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.97"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.98"^^xsd:string; dc:issued "2020-01-05"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Tests; rdfs:label "fix: test for the proper module for each test (arrgh)"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.98"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.1.99"^^xsd:string; dc:issued "2020-01-05"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Regression; rdfs:label "give up on auto-loading for now, and support only RE2 (not PCRE2)"; ], [ a doap-changeset:Packaging; rdfs:label "require (not recommend) re::engine::RE2, and stop recommend re::engine::PCRE2"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.1.99"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.2.0"^^xsd:string; dc:issued "2020-02-21"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Bugfix; rdfs:label "add trove caption for zpl (not zpl_1)"; ], [ a doap-changeset:Change; rdfs:label "introduce tags type:usage:*:* type:trait:usage:rfn"; ], [ a doap-changeset:Change; rdfs:label "add usage objects ofl_1_no_rfn ofl_1_rfn ofl_1_1_no_rfn ofl_1_1_rfn, and trait object usage_rfn"; ], [ a doap-changeset:Change; rdfs:label "add object ssleay"; ], [ a doap-changeset:Change; rdfs:label "relax license object bsd_3_clause to treat full-stop as optional"; ], [ a doap-changeset:Change; rdfs:label "relax generally to treat / as optional or replaced by space"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.2.0"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.3.0"^^xsd:string; dc:issued "2020-03-13"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Bugfix; rdfs:label "synthesize patterns in deterministic order"; ], [ a doap-changeset:Change; rdfs:label "extend license pattern agpl-3 to mask more licensed_under"; ], [ a doap-changeset:Change; rdfs:label "tighten license patterns agpl-1 agpl-3 to avoid wildcard"; ], [ a doap-changeset:Bugfix; rdfs:label "fix tag object llgpl as license:contains:license:lgpl_2_1 (not bogus license:contains:license:llgpl_2_1)"; ], [ a doap-changeset:Change; rdfs:label "drop deprecated tags bsd cc mit zlib trait combo (replaced since v3.1.0 by family:* type:*)"; ], [ a doap-changeset:Change; rdfs:label "introduce tags license:published:*"; ], [ a doap-changeset:Change; rdfs:label "add trait patterns by by_apache by_fsf by_james_clark by_psf by_sam_hocevar"; ], [ a doap-changeset:Change; rdfs:label "extend trait pattern licensed_under to cover \"under _either_ ...\""; ], [ a doap-changeset:Bugfix; rdfs:label "avoid synthesizing pattern grant from ambiguous name BSD for objects bsd_2_clause bsd_3_clause"; ], [ a doap-changeset:Change; rdfs:label "simplify synthesized versioned grant pattern"; ], [ a doap-changeset:Change; rdfs:label "extend synthesized subject pattern name to include optional publisher"; ], [ a doap-changeset:Change; rdfs:label "tighten trait object version_number to not grab first digit of a larger number"; ], [ a doap-changeset:Change; rdfs:label "extend license object apache_2 to cover a few rare grant patterns"; ], [ a doap-changeset:Change; rdfs:label "add trove caption for mpl_1 mpl_1_1 mpl_2"; ], [ a doap-changeset:Change; rdfs:label "enable re::engine::RE2 greedy mode"; ], [ a doap-changeset:Change; rdfs:label "add unofficial option anchorleft"; ], [ a doap-changeset:Change; rdfs:label "enable RE2 strict mode"; ], [ a doap-changeset:Change; rdfs:label "add license patterns gpl-1 gpl-2 gpl-3"; ], [ a doap-changeset:Change; rdfs:label "extend trait pattern version to cover a trailing 'of' (needed when prepended)"; ], [ a doap-changeset:Bugfix; rdfs:label "tighten object zpl_2 pattern license to disambiguate from bsd"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.3.0"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.3.1"^^xsd:string; dc:issued "2020-05-17"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Change; rdfs:label "generalize use of semicolon as internal variable SC"; ], [ a doap-changeset:Documentation; rdfs:label "fix include type:usage:*:* in list of possible single-license tags, and order by inheritance complexity (not alphabetically)"; ], [ a doap-changeset:Bugfix; rdfs:label "fix trove caption for object mpl_2"; ], [ a doap-changeset:Addition; rdfs:label "add trait object version_suffix"; ], [ a doap-changeset:Change; rdfs:label "synthesize subject pattern name: optimize: resolve publisher only once per object"; ], [ a doap-changeset:Change; rdfs:label "singleversion objects: add field licenseversion, with decimal 0 if ever used"; ], [ a doap-changeset:Change; rdfs:label "synthesize subject pattern name: optimize version matching"; ], [ a doap-changeset:Change; rdfs:label "synthesize subject pattern name: compose affixes separately"; ], [ a doap-changeset:Addition; rdfs:label "add trait object version_only"; ], [ a doap-changeset:Change; rdfs:label "synthesize subject pattern name: cover usage objects"; ], [ a doap-changeset:Bugfix; rdfs:label "disambiguate license patterns for objects agpl_2 agpl-3 gpl-2 gpl-3"; ], [ a doap-changeset:Addition; rdfs:label "add license patterns lgpl_2 lgpl-2_1 lgpl-3"; ], [ a doap-changeset:Bugfix; rdfs:label "subject pattern name: fix make leading space of publisher optional"; ], [ a doap-changeset:Addition; rdfs:label "add usage objects lgpl_2_only lgpl_2_or_later lgpl_2_1_only lgpl_2_1_or_later lgpl_3_only lgpl_3_or_later"; ], [ a doap-changeset:Addition; rdfs:label "add usage objects agpl_1_only agpl_1_or_later agpl_3_only agpl_3_or_later"; ], [ a doap-changeset:Addition; rdfs:label "add usage objects gpl_1_only gpl_1_or_later gpl_2_only gpl_2_or_later gpl_3_only gpl_3_or_later"; ], [ a doap-changeset:Change; rdfs:label "synthesize subject pattern name: cover leading version"; ], [ a doap-changeset:Change; rdfs:label "extend gnu patterns to cover FSF online and postal addresses"; ], [ a doap-changeset:Change; rdfs:label "synthesize subject pattern name: cover embedded shortname"; ], [ a doap-changeset:Change; rdfs:label "license objects: drop most custom subject pattern name, superceded by synthesized pattern"; ], [ a doap-changeset:Change; rdfs:label "synthesize subject pattern name: simplify: optimize: bundle names together"; ], [ a doap-changeset:Change; rdfs:label "synthesize subject pattern name: cover british spelling licence"; ], [ a doap-changeset:Change; rdfs:label "trait object version_prefix: cover word revision"; ], [ a doap-changeset:Addition; rdfs:label "add license object qpl_1"; ], [ a doap-changeset:Addition; rdfs:label "add license objects gfdl_1_1 gfdl_1_2 gfdl_1_3"; ], [ a doap-changeset:Addition; rdfs:label "add license objects gfdl_1_1_only gfdl_1_1_or_later gfdl_1_2_only gfdl_1_2_or_later gfdl_1_3_only gfdl_1_3_or_later"; ], [ a doap-changeset:Change; rdfs:label "tighten match for quote character"; ], [ a doap-changeset:Change; rdfs:label "license objects: drop most custom subject pattern grant, superceded by synthesized pattern"; ], [ a doap-changeset:Bugfix; rdfs:label "fix object wtfpl_2 license pattern"; ], [ a doap-changeset:Addition; rdfs:label "add license objects aal abstyles adsl afmparse amdplpa antlr_pd"; ], [ a doap-changeset:Addition; rdfs:label "add license objects apl apl_1 apsl apsl_1 apsl_1_1 apsl_1_2 apsl_2"; ], [ a doap-changeset:Addition; rdfs:label "add license objects bahyph barr bittorrent bittorrent_1 bittorrent_1_1 borceux"; ], [ a doap-changeset:Addition; rdfs:label "add license objects bzip2 bzip2_1_0_5 bzip2_1_0_6"; ], [ a doap-changeset:Addition; rdfs:label "add license objects caldera catosl catosl_1_1"; ], [ a doap-changeset:Change; rdfs:label "update license objects cddl_1 cddl_1_1: add alternative names and captions"; ], [ a doap-changeset:Addition; rdfs:label "add license objects cnri_jython cnri_python cnri_python_gpl_compat cpal cpal_1"; ], [ a doap-changeset:Change; rdfs:label "update license object cpl_1: add iri and alternative caption"; ], [ a doap-changeset:Addition; rdfs:label "add license objects cpol cpol_1_02 cryptix"; ], [ a doap-changeset:Change; rdfs:label "update license object bsd_2_clause: tighten license pattern to exclude Cryptix license"; ], [ a doap-changeset:Change; rdfs:label "update license object openssl: add tag license:contains:license:cryptix"; ], [ a doap-changeset:Addition; rdfs:label "add license objects cua_opl cua_opl_1"; ], [ a doap-changeset:Change; rdfs:label "update object licensed_under: simplify pattern slightly"; ], [ a doap-changeset:Change; rdfs:label "annotate full stop as [.] (not $F)"; ], [ a doap-changeset:Change; rdfs:label "annotate semicolon as [;] (not $SC)"; ], [ a doap-changeset:Bugfix; rdfs:label "fix annotate apostrophe as such (not as quote)"; ], [ a doap-changeset:Change; rdfs:label "annotate start-of-sentence bullet or count as [*)] (not $BB)"; ], [ a doap-changeset:Bugfix; rdfs:label "update object mit_advertising: fix double-escaped boundary marker in patch (although seemingly didn't matter)"; ], [ a doap-changeset:Change; rdfs:label "annotate quote as [\"] (not $Q)"; ], [ a doap-changeset:Change; rdfs:label "annotate dash or space as [- ] (not $SD)"; ], [ a doap-changeset:Change; rdfs:label "annotate quote or bullet as [\"*] (not $QB)"; ], [ a doap-changeset:Change; rdfs:label "annotate optional slash or space as [/] (not $SL)"; ], [ a doap-changeset:Bugfix; rdfs:label "avoid annotating decimal point as full stop"; ], [ a doap-changeset:Change; rdfs:label "annotate end-of-sentence and end-of-paragraph vertical space as [ ] [ ] (not $E $EE)"; ], [ a doap-changeset:Change; rdfs:label "annotate colon with optional quotes as [:\"] (not $CQ)"; ], [ a doap-changeset:Bugfix; rdfs:label "annotate apostrophe"; ], [ a doap-changeset:Change; rdfs:label "annotate dashes as [-] [ - ] (not $D $DD)"; ], [ a doap-changeset:Change; rdfs:label "annotate bullet as [*] (not $B)"; ], [ a doap-changeset:Change; rdfs:label "annnotate less-than and greater-than as [<] [>] (not $LT $GT)"; ], [ a doap-changeset:Change; rdfs:label "annotate apostrophe as ['] (not $QA)"; ], [ a doap-changeset:Change; rdfs:label "annotate copyright sign as [c] (not $C)"; ], [ a doap-changeset:Change; rdfs:label "annotate dash or number as [-#] (not $ND)"; ], [ a doap-changeset:Change; rdfs:label "annotate http(s) protocol as [http://] (not $HT)"; ], [ a doap-changeset:Change; rdfs:label "annotate exempli gratia and id est abbreviations as [eg] [ie]"; ], [ a doap-changeset:Change; rdfs:label "update object licensed_under: cover trailing 'either'"; ], [ a doap-changeset:Change; rdfs:label "optimize slightly: sort keys after grep (not before)"; ], [ a doap-changeset:Bugfix; rdfs:label "consistently annotate slash as [/]"; ], [ a doap-changeset:Documentation; rdfs:label "document tag license:includes:license:*"; ], [ a doap-changeset:Change; rdfs:label "update combo object perl: add tags license:includes:license:artistic_1_perl license:includes:license:gpl_1_or_newer"; ], [ a doap-changeset:Change; rdfs:label "update trait object licensed_under: cover 'distribute it under'"; ], [ a doap-changeset:Change; rdfs:label "update combo object perl: improve coverage"; ], [ a doap-changeset:Documentation; rdfs:label "document tag license:contains:tag:*: extend to cover optional reference to different license"; ], [ a doap-changeset:Change; rdfs:label "update license object bittorent_1_1: add tag license:contains:grant:bittorrent_1"; ], [ a doap-changeset:Bugfix; rdfs:label "update license object cecill: add alternate IRI (not bogus URI)"; ], [ a doap-changeset:Bugfix; rdfs:label "update object gpl_2: fix detect license preamble (to avoid misdetection as LGPL-2)"; ], [ a doap-changeset:Bugfix; rdfs:label "synthesized trove label trait: include trailing space"; ], [ a doap-changeset:Change; rdfs:label "update object bsd_3_clause: add a few more alternate captions"; ], [ a doap-changeset:Change; rdfs:label "relax internal variable gpl to cover lowercase 'license'"; ], [ a doap-changeset:Change; rdfs:label "synthesize subject pattern name: cover dash variations"; ], [ a doap-changeset:Addition; rdfs:label "add license objects aml ampas ecl ecl_1 ecl_2 eupl eupl_1 eupl_1_1 eupl_1_2 lppl lppl_1 lppl_1_1 lppl_1_2 lppl_1_3a lppl_1_3c npl npl_1 npl_1_1 oclc oclc_1 oclc_2 ogtsl osl osl_1 osl_1_1 osl_2 osl_2_1 osl_3 rpl rpl_1 rpl_1_1 rpl_1_3 rpl_1_5 rscpl ruby spl spl_1 sugarcrm sugarcrm_1_1_3 unlicense watcom watcom_1"; ], [ a doap-changeset:Change; rdfs:label "update group objects bsd mit: add name and caption for a BSD-style / an MIT-style; cover a/an when synthesizing subject pattern"; ], [ a doap-changeset:Change; rdfs:label "update trait object licensed_under: cover 'available under'"; ], [ a doap-changeset:Change; rdfs:label "update group objects bsd-2-clause bsd-3-clause bsd-4-clause: add informal alternate names"; ], [ a doap-changeset:Change; rdfs:label "drop alternate british caption: covered by synthesized subject pattern"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.3.1"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.4.0"^^xsd:string; dc:issued "2020-05-21"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Change; rdfs:label "licensed_under: cover 'subject to'"; ], [ a doap-changeset:Change; rdfs:label "license gpl_2: cover 'is covered by he GNU' (original revision with typo)"; ], [ a doap-changeset:Change; rdfs:label "apache apache_1_1 apache_2: add caption for 'Apache Public License' and 'Apache Software License'"; ], [ a doap-changeset:Change; rdfs:label "synthesized grants: cover 'the $license version 2 (the $shortname License)'"; ], [ a doap-changeset:Change; rdfs:label "bsd_3_clause: add names 'EPL' 'EPL-1.0', and captions 'new BSD License' 'Eclipse Distribution License'"; ], [ a doap-changeset:Change; rdfs:label "reorder patterns: traits before licenses"; ], [ a doap-changeset:Tests; rdfs:label "relax deep inspection of generated regex"; ], [ a doap-changeset:Change; rdfs:label "bittorrent_1: fix list alternate SPDX caption (not bogusly as iri)"; ], [ a doap-changeset:Addition; rdfs:label "add trait object generated"; ], [ a doap-changeset:Addition; rdfs:label "add trait objects addr_fsf addr_fsf_franklin addr_fsf_franklin_steet addr_fsf_mass addr_fsf_temple"; ], [ a doap-changeset:Addition; rdfs:label "add trait objects except_autoconf_data except_autoconf_2 except_autoconf_2_archive except_autoconf_2_autotroll except_autoconf_2_g10 except_autoconf_3 except_bison_1_24 except_bison_2_2 except_faust except_openssl except_openssl-lgpl except_openssl_s3 except_prefix_agpl except_prefix_generic except_prefix_gpl except_prefix_gpl_clisp except_prefix_lgpl except_proguard except_qt_gpl_1 except_qt_gpl_eclipse except_qt_gpl_openssl except_qt_kernel except_qt_lgpl_1_1 except_qt_nosource except_sdc except_sollya_4_1 except_warzone except_xerces"; ], [ a doap-changeset:Bugfix; rdfs:label "version_later_postfix: cover lack of leading space"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.4.0"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.5.0"^^xsd:string; dc:issued "2021-06-22"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Bugfix; rdfs:label "version_later version_only: cover lack of leading punctuation or space"; ], [ a doap-changeset:Change; rdfs:label "annotate more consistently as [word] [ word]"; ], [ a doap-changeset:Addition; rdfs:label "add licenses sissl sissl_1_1 sissl_1_2"; ], [ a doap-changeset:Addition; rdfs:label "add name and caption for perl (as listed in POD of CPAN::Meta::Spec)"; ], [ a doap-changeset:Addition; rdfs:label "add license bsd_0_clause"; ], [ a doap-changeset:Addition; rdfs:label "add licenses cal cal_1"; ], [ a doap-changeset:Addition; rdfs:label "add license intel"; ], [ a doap-changeset:Addition; rdfs:label "add license jabberpl"; ], [ a doap-changeset:Addition; rdfs:label "add license cvw"; ], [ a doap-changeset:Addition; rdfs:label "add licenses mulan mulan_1 mulan_2"; ], [ a doap-changeset:Addition; rdfs:label "add licenses oldap oldap_1_1 oldap_1_2 oldap_1_3 oldap_1_4 oldap_2 oldap_2_0_1 oldap_2_1 oldap_2_2 oldap_2_2_1 oldap_2_2_2 oldap_2_3 oldap_2_4 oldap_2_5 oldap_2_6 oldap_2_7 oldap_2_8"; ], [ a doap-changeset:Addition; rdfs:label "add license motosoto"; ], [ a doap-changeset:Change; rdfs:label "add description and extend patterns for licenses bittorrent_1 bittorrent_1_1"; ], [ a doap-changeset:Bugfix; rdfs:label "capitalize name of exception except_openssl"; ], [ a doap-changeset:Bugfix; rdfs:label "fix language strings to use ll_CC in DefHash and ll-cc in GNU URLs"; ], [ a doap-changeset:Bugfix; rdfs:label "always favor single-version metadata when joined in versioned objects (not randomly flip priority)"; ], [ a doap-changeset:Documentation; rdfs:label "update TODOs"; ], [ a doap-changeset:Bugfix; rdfs:label "include all member patterns in series objects (not a random subset)"; doap-bugs:fixes ; doap-changeset:thanks ; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.5.0"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.5.1"^^xsd:string; dc:issued "2021-06-02"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Tests; rdfs:label "cover all license strings of perl CPAN::META spec"; ], [ a doap-changeset:Bugfix; rdfs:label "use desctructive substitution in tr///, needed with perl older than v5.14"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.5.1"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.6.0"^^xsd:string; dc:issued "2021-07-04"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Packaging; rdfs:label "stop declare dependency on strictures (unneeded since v3.0.31)"; ], [ a doap-changeset:Change; rdfs:label "stop use List::Util"; ], [ a doap-changeset:Change; rdfs:label "optimize DefHash creation slightly"; ], [ a doap-changeset:Documentation; rdfs:label "add sections SYNOPSIS and EXAMPLES"; ], [ a doap-changeset:Addition; rdfs:label "add family cc"; ], [ a doap-changeset:Addition; rdfs:label "add licenses unicode_dfs_2015 unicode_dfs_2016"; ], [ a doap-changeset:Documentation; rdfs:label "document origin of bsd_0_clause"; ], [ a doap-changeset:Tests; rdfs:label "use Test2::V0 (not Test::Exception or Test::Requires)"; ], [ a doap-changeset:Addition; rdfs:label "add license xnet"; ], [ a doap-changeset:Addition; rdfs:label "add licenses sleepycat tosl"; ], [ a doap-changeset:Addition; rdfs:label "add licenses liliq_p liliq_p_1_1 liliq_r liliq_r_1_1 liliq_r_plus liliq_r_plus_1_1"; ], [ a doap-changeset:Change; rdfs:label "improve annotations, and tighten to only use Latin-1 characters (now only mulan* patterns contain non-Latin-1 characters)"; ], [ a doap-changeset:Documentation; rdfs:label "use _simpified_ chinese language code for mulan chinese strings"; ], [ a doap-changeset:Addition; rdfs:label "add trait except_ecos_2, and licenses ecos_1_1 ecos_2"; ], [ a doap-changeset:Addition; rdfs:label "add license ipa"; ], [ a doap-changeset:Tests; rdfs:label "add coverage for license ipl_1"; ], [ a doap-changeset:Addition; rdfs:label "add licenses hpnd hpnd_sell mit_open_group, and combo net_snmp"; ], [ a doap-changeset:Addition; rdfs:label "add licenses nposl nposl_3 ucl ucl_1"; ], [ a doap-changeset:Change; rdfs:label "tighten patterns for licenses afl_3 osl_3"; ], [ a doap-changeset:Addition; rdfs:label "add licenses multics nasa nasa_1_3"; ], [ a doap-changeset:Addition; rdfs:label "add licenses miros mit_0"; ], [ a doap-changeset:Addition; rdfs:label "add licenses eudatagrid fair"; ], [ a doap-changeset:Change; rdfs:label "annotate \"as-is\" as [as is]"; ], [ a doap-changeset:Addition; rdfs:label "add licenses bsd_1_clause bsd_2_clause_freebsd bsd_2_clause_netbsd bsd_2_clause_patent"; ], [ a doap-changeset:Change; rdfs:label "improve metadata for ipl ipl_1"; ], [ a doap-changeset:Addition; rdfs:label "add licenses ogc ogc_1 w3c w3c_19980519 w3c_19980720 w3c_20021231 w3c_20150513"; ], [ a doap-changeset:Bugfix; rdfs:label "fix set trove metadata for gfdl mpl_1 mpl_1_1 mpl_2"; ], [ a doap-changeset:Addition; rdfs:label "add licenses bsd_3_clause_attribution bsd_3_clause_clear bsd_3_clause_lbnl bsd_3_clause_no_military_license bsd_3_clause_no_nuclear_license bsd_3_clause_no_nuclear_license_2014 bsd_3_clause_no_nuclear_warranty naumen"; ], [ a doap-changeset:Change; rdfs:label "improve patterns for zpl_2 zpl_2_1"; ], [ a doap-changeset:Addition; rdfs:label "add licenses efl efl_1 efl_2 entessa frameworx frameworx_1 lpl lpl_1 lpl_1_02 ncsa nokia opl opl_1 oset_pl oset_pl_2_1 php php_3 php_3_01 simpl simpl_2 simple_w3c simple_w3c_1_1 upl upl_1 vsl vsl_1 x11"; ], [ a doap-changeset:Change; rdfs:label "update metadata for mpl_1 openssl"; ], [ a doap-changeset:Addition; rdfs:label "add exception trait wxwindows"; ], [ a doap-changeset:Change; rdfs:label "add names and captions for OSI"; ], [ dt:Change "improve patterns for openssl, to disambiguate from apache_1 and bsd_4_clause"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.6.0"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.6.1"^^xsd:string; dc:issued "2021-07-07"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Change; rdfs:label "add names and captions for https://tldrlegal.com/ website)"; ], [ a doap-changeset:Tests; rdfs:label "fix coverage-perl tests"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.6.1"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.7.0"^^xsd:string; dc:issued "2021-07-17"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Change; rdfs:label "add metadata from old fossology shortnames"; ], [ a doap-changeset:Change; rdfs:label "tighten annotations [-] [ - ], to cover some forms of soft-wrapping"; ], [ a doap-changeset:Change; rdfs:label "add annotation [:]"; ], [ a doap-changeset:Bugfix; rdfs:label "fix metadata and pattern for license object x11"; ], [ a doap-changeset:Change; rdfs:label "tighten and generalize expat-style grant subpattern"; ], [ a doap-changeset:Change; rdfs:label "relax pattern for license object intel"; ], [ a doap-changeset:Documentation; rdfs:label "update TODOs"; ], [ a doap-changeset:Addition; rdfs:label "add licenses mit_epinions mit_openvision mit_osf mit_unixcrypt mit_whatever mit_widget mit_xfig"; ], [ a doap-changeset:Bugfix; rdfs:label "avoid leading number in attribute component, to comply with DefHash spec"; ], [ a doap-changeset:Change; rdfs:label "tighten metadata: consistently use misc (not alt) and only once"; ], [ a doap-changeset:Addition; rdfs:label "add license objects cc_devnations cc_devnations_2 cc_nc_sa cc_nc_sa_1 cc_nc_sp cc_nc_sp_1 cc_nd_nc cc_nd_nc_1 cc_pd cc_pdd cc_pddc cc_sampling cc_sampling_1 cc_sp_1"; ], [ a doap-changeset:Change; rdfs:label "improve metadata and license patterns for cc_* objects"; ], [ a doap-changeset:Addition; rdfs:label "add license object bsd_4_clause_uc"; ], [ a doap-changeset:Change; rdfs:label "tighten license patterns for apache_1 bsd_4_clause openssl to disambiguate between them"; ], [ a doap-changeset:Addition; rdfs:label "add license objects erlpl erlpl_1_1"; ], [ a doap-changeset:Addition; rdfs:label "add trait objects except_font_2 except_gcc_2 except_gcc_3_1"; ], [ a doap-changeset:Addition; rdfs:label "add license objects gsoap gsoap_1_3b"; ], [ a doap-changeset:Change; rdfs:label "improve SPDX metadata"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.7.0"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.7.1"^^xsd:string; dc:issued "2021-07-22"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Tests; rdfs:label "avoid deprecated special lang syntax in DefHash property names, and fix typos"; ], [ a doap-changeset:Change; rdfs:label "add license pattern for group object mit"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.7.1"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.8.0"^^xsd:string; dc:issued "2021-07-27"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Bugfix; rdfs:label "exclude shortname of versioned siblings in synthesized grant patterns"; ], [ a doap-changeset:Bugfix; rdfs:label "use only defined publisher in synthesized name patterns"; ], [ a doap-changeset:Change; rdfs:label "extend internal function _join_pats to handle hashref options label prefix suffix"; ], [ a doap-changeset:Tests; rdfs:label "use Test2::V0 for test regexp-pattern.t"; ], [ a doap-changeset:Change; rdfs:label "tighten version matching in synthesized grant patterns"; ], [ a doap-changeset:Change; rdfs:label "deduplicate names in synthesized grant patterns"; ], [ a doap-changeset:Change; rdfs:label "deduplicate name prefix/suffix in synthesized grant patterns"; ], [ a doap-changeset:Change; rdfs:label "collect names and captions separately in synthesized grant patterns"; ], [ a doap-changeset:Bugfix; rdfs:label "always check for optional shortname (regardless if some names contain non-shortname parens) in synthesized grant patterns"; ], [ a doap-changeset:Tests; rdfs:label "avoid chained comparison in test, unsupported in older perls"; ], [ a doap-changeset:Addition; rdfs:label "add licenses bsd_protection condor condor_1_1 crossword d_fsl d_fsl_1 dbad dbad_0_2 dbad_0_3 dbad_1 dbad_1_1 dont_ask fair_source fair_source_0_9 fal fal_1_1 fal_1_2 fal_1_3 festival glide ibm_pibs ijg imlib2 leptonica libtiff mpich2 mpl_2_no_copyleft_exception ms_cl nbpl nbpl_1 nosl nosl_1 odbl odbl_1 odc_by odc_by_1 pddl pddl_1 peer_production sax_pd sds sds_1 sncl sncl_1_10 sncl_2_0_1 sncl_2_0_2 sncl_2_1 sncl_2_3 stlport truecrypt truecrypt_3 vspl wordnet wordnet_3 xfree86 xfree86_1_1 ypl ypl_1 ypl_1_1 zed zend zend_2 zimbra zimbra_1_3 zimbra_1_4"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.8.0"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.8.1"^^xsd:string; dc:issued "2021-08-07"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Bugfix; rdfs:label "expand annotation [ / ]"; ], [ a doap-changeset:Bugfix; rdfs:label "avoid randomly skipping chinese IRIs, by fully aligning with DefHash spec 1.0.13 which permits uppercase chararacters in properties"; ], [ a doap-changeset:Bugfix; rdfs:label "avoid randomly skipping Fedora IRIs, by normalizing property names"; ], [ a doap-changeset:Change; rdfs:label "add alternative camelcase shortname for CeCill objects"; ], [ a doap-changeset:Change; rdfs:label "optimize module bootstrapping"; ], [ a doap-changeset:Change; rdfs:label "optimize annotation expansion"; ], [ a doap-changeset:Change; rdfs:label "optimize tag parsing"; ], [ a doap-changeset:Tests; rdfs:label "restructure test function license_org_metadata() to take options as hashref"; ], [ a doap-changeset:Change; rdfs:label "optimize synthesizing metadata iri from name or caption, and stop synthesize useless metadata name from caption"; ], [ a doap-changeset:Change; rdfs:label "consistently use attribute iri (not web or none) for IRI-related properties"; ], [ a doap-changeset:Bugfix; rdfs:label "fix scope for glide and gpl_2 license patterns"; ], [ a doap-changeset:Bugfix; rdfs:label "rename attribute lang -> alt.lang to comply with DefHash spec"; ], [ a doap-changeset:Change; rdfs:label "use attribute alt.org.steward, dropping (coding but not license naming) organizers facebook freebsd gzip inria python"; ], [ a doap-changeset:Bugfix; rdfs:label "rename attribute alt.archive.date_* -> alt.archive.time-* for iri property of wordnet"; ], [ a doap-changeset:Tests; rdfs:label "add test to check DefHash structure"; ], [ a doap-changeset:Change; rdfs:label "update object beerware to fix examples and add IRI"; ], [ a doap-changeset:Documentation; rdfs:label "add examples to objcts gpl_3 gpl_3_only"; ], [ a doap-changeset:Tests; rdfs:label "simplify tests to rely on examples (not inspect raw regex code)"; ], [ a doap-changeset:Change; rdfs:label "reduce DefHash size by annotating traits as (:...:)"; ], [ a doap-changeset:Bugfix; rdfs:label "avoid non-destructive substitution to support older perls"; ], [ a doap-changeset:Change; rdfs:label "optimize: stop duplicate patterns and metadata to group objects"; ], [ a doap-changeset:Change; rdfs:label "minor optimizations"; ], [ a doap-changeset:Change; rdfs:label "annotate characters / + ( ), in synthesized patterns, and stop escape space or comma"; ], [ a doap-changeset:Bugfix; rdfs:label "fix license pattern for object wordnet_3"; ], [ a doap-changeset:Bugfix; rdfs:label "fix default name for object antlr_pd"; ], [ a doap-changeset:Bugfix; rdfs:label "drop alternate names related to Thrift from objects bsl bsl_1: Different not yet included license"; ], [ a doap-changeset:Change; rdfs:label "add steward's alternative caption for object cnri_jython"; ], [ a doap-changeset:Change; rdfs:label "add description with origin to object cua_opl_1"; ], [ a doap-changeset:Change; rdfs:label "add default name for objects mit_cmu_warranty mpich2"; ], [ a doap-changeset:Tests; rdfs:label "rename large test to improve parallelization"; ], [ a doap-changeset:Tests; rdfs:label "improve test library to dinstinguish default name from no name, and check for caption and summary regardless of org-specific name"; ], [ a doap-changeset:Change; rdfs:label "add annotations [. ] [\". ]"; ], [ a doap-changeset:Change; rdfs:label "use annotation [*)] in object catosl_1_1 and in cc objects"; ], [ a doap-changeset:Tests; rdfs:label "tighten test 03-match-normalized.t by wrapping lines more aggressively"; ], [ a doap-changeset:Tests; rdfs:label "test object mit_unixcrypt"; ], [ a doap-changeset:Change; rdfs:label "add/update lots of alt.org.fedora names and captions, and historical alt.org.cc names for some GNU licenses"; ], [ a doap-changeset:Bugfix; rdfs:label "fix licenseversion hint for object cecill_2"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.8.1"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.9.0"^^xsd:string; dc:issued "2021-08-14"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Change; rdfs:label "simplify structure: stop use attribute version"; ], [ a doap-changeset:Change; rdfs:label "tighten version stopgap to exclude ASCII alphabetic characters and plus, and exclude only roman digits, in synthesized patterns"; ], [ a doap-changeset:Change; rdfs:label "synthesize name pattern for object apache"; ], [ a doap-changeset:Change; rdfs:label "bump version"; ], [ a doap-changeset:Addition; rdfs:label "add license object unicode_dfs, and change objects unicode_dfs_2015 unicode_dfs_2016 from unversioned to singleversion"; ], [ a doap-changeset:Addition; rdfs:label "add license object psf_2"; ], [ a doap-changeset:Bugfix; rdfs:label "re-tag python_2 as type:combo (not type:singleversion), and fix/update patterns and metadata"; ], [ a doap-changeset:Removal; rdfs:label "deprecate license object python: superceded by psf_2 and python_2"; ], [ a doap-changeset:Addition; rdfs:label "add/update lots of alt.org.wikidata names and captions"; ], [ a doap-changeset:Bugfix; rdfs:label "avoid synth.nogrant (not only alt.org.wikidata) when synthesizing grant patterns"; ], [ a doap-changeset:Bugfix; rdfs:label "fix alt.org.wikipedia metadata"; ], [ a doap-changeset:Bugfix; rdfs:label "fix alt.org.fsf metadata for object afl_3"; ], [ a doap-changeset:Change; rdfs:label "rewrite description for object x11 to cover origin, and add description to object mit_new"; ], [ a doap-changeset:Change; rdfs:label "add/update lots of alt.org.trove names and captions"; ], [ a doap-changeset:Change; rdfs:label "relax pattern for object license_label to cover german identifier and space before colon"; ], [ a doap-changeset:Change; rdfs:label "relax pattern for object licensed_under to optionally end with colon"; ], [ a doap-changeset:Change; rdfs:label "tighten annotations [:] [http://] to not implicitly treat colon or slash as optional"; ], [ a doap-changeset:Change; rdfs:label "improve and simplify license patterns for objects oldap oldap_1_1 oldap_2_0_1 oldap_2_1 oldap_2_2 oldap_2_2_1 oldap_2_2_2 oldap_2_3 oldap_2_4 oldap_2_5 oldap_2_6 oldap_2_7 oldap_2_8"; ], [ a doap-changeset:Change; rdfs:label "add alternative clashing names for objects mit_new x11"; ], [ a doap-changeset:Change; rdfs:label "optimize: synthesize name and grant patterns in one loop"; ], [ a doap-changeset:Change; rdfs:label "tighten synthesized patterns to cover singleword caption only once"; ], [ a doap-changeset:Change; rdfs:label "optimize: synthesize trove patterns in name/grant loop"; ], [ a doap-changeset:Change; rdfs:label "use general version stopgap for synthesized trove patterns"; ], [ a doap-changeset:Bugfix; rdfs:label "annotate wide comma (for mulan licenses) in synthesized patterns"; ], [ a doap-changeset:Bugfix; rdfs:label "cover trailing zero on synthesized patterns for objects aladdin_8 aladdin_9 efl_1 efl_2 mulan_1 mulan_2"; ], [ a doap-changeset:Bugfix; rdfs:label "escape . (dot) in synthesized patterns"; ], [ a doap-changeset:Change; rdfs:label "add annotation [+]"; ], [ a doap-changeset:Bugfix; rdfs:label "de-randomize fedora and osi IRIs"; ], [ a doap-changeset:Bugfix; rdfs:label "fix parens in synthesized patterns"; ], [ a doap-changeset:Change; rdfs:label "optimize annotation and mangling of synthesized patterns"; ], [ a doap-changeset:Change; rdfs:label "use general version stopgap for synthesized grant patterns from metadata name"; ], [ a doap-changeset:Change; rdfs:label "optimize: synthesize patterns from metadata name in general loop"; ], [ a doap-changeset:Change; rdfs:label "add trait object license_label_spdx, and synthesize SPDX short-form identifiers distinct from other license labels"; ], [ a doap-changeset:Bugfix; rdfs:label "tag exception prefix traits as type:trait:exception:prefix (not bogusly as type:trait:grant:prefix)"; ], [ a doap-changeset:Documentation; rdfs:label "document object stability (since v3.1.0)"; ], [ a doap-changeset:Documentation; rdfs:label "extend copyright to include recent years, and add Purism SPC as copyright holder"; ], [ a doap-changeset:Removal; rdfs:label "deprecate license object wordnet_3: superceded by wordnet (license is unversioned, version belongs to software project)"; ], [ a doap-changeset:Addition; rdfs:label "add license objects bsd_3_clause_eclipse bsd_3_clause_refractions"; ], [ a doap-changeset:Bugfix; rdfs:label "fix drop bogus data from bsd_3_clause"; ], [ a doap-changeset:Change; rdfs:label "improve alt.org.osi historical metadata"; ], [ a doap-changeset:Addition; rdfs:label "support engine => none (for returning a uncompiled regexp string)"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.9.0"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.9.1"^^xsd:string; dc:issued "2021-08-16"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Change; rdfs:label "permit RE2 engine to consume up to 16MiB (default 8MiB is insufficient e.g. on ARMv6)"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.9.1"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.9.2"^^xsd:string; dc:issued "2021-08-17"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Packaging; rdfs:label "relax to recommend (not depend on) module re::engine::RE2"; ], [ a doap-changeset:Tests; rdfs:label "improve regexp tests"; ], [ a doap-changeset:Packaging; rdfs:label "test-require Test::Without::Module"; ], [ a doap-changeset:Change; rdfs:label "tighten license pattern for bsd_4_clause, to shadow bsd"; ], [ a doap-changeset:Change; rdfs:label "stop enable RE2 option -longest_match, to match equally as without RE2 engine"; ], [ a doap-changeset:Documentation; rdfs:label "improve SYNOPSIS"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.9.2"^^xsd:string. a doap:Version; dc:identifier "Regexp-Pattern-License-v3.9.3"^^xsd:string; dc:issued "2021-08-18"^^xsd:date; doap-changeset:changeset [ doap-changeset:item [ a doap-changeset:Packaging; rdfs:label "declare that we break App::Licensecheck before v3.2.7 (exception opbjects were wrongly tagged until Regexp::Pattern::License v3.9.0)"; ]; ]; doap-changeset:released-by ; doap:file-release ; doap:revision "v3.9.3"^^xsd:string. a foaf:Person; foaf:mbox , ; foaf:name "Jonas Smedegaard"; foaf:nick "JONASS"; foaf:page . a foaf:Person; foaf:mbox ; foaf:name "Slaven Rezić"; foaf:nick "SREZIC"; foaf:page . a doap-bugs:Issue; doap-bugs:id "129784"^^xsd:string; doap-bugs:page . a doap-bugs:Issue; doap-bugs:id "129785"^^xsd:string; doap-bugs:page . foaf:mbox , ; foaf:name "Niels Thykier". dc:title "GNU General Public License version 3 or newer.". foaf:mbox ; foaf:name "Sandro Mani". foaf:mbox , ; foaf:name "Walter Lozano". 01-basic.t000644001750001750 157314107233261 17564 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use Regexp::Pattern; plan 4; my $e = dies { re("License::foo") }; like $e, qr/No regexp pattern named 'foo' in package 'Regexp::Pattern::License'/, "get unknown -> dies"; subtest "get" => sub { my $re = re("License::fsful"); isa_ok $re, ['Regexp'], 're object is a Regexp'; like( 'This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it.', $re ); unlike( 'foo', $re ); }; subtest "get no engine" => sub { my $re = re( "License::fsful", engine => 'none' ); ok $re; ref_ok \$re, 'SCALAR', 're output is a scalar'; like $re, qr/\Q(?:[Tt]he )?Free Software Foundation)/; }; subtest "get bogus engine" => sub { my $e = dies { my $re = re( "License::fsful", engine => 'bogus' ) }; like $e, qr/Unsupported regexp engine "bogus"/, 'call with bogus engine -> dies'; }; done_testing; 02-regexp-pattern.t000644001750001750 64114107233261 21424 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use Regexp::Pattern; use Test::Regexp::Pattern; plan 5; my $OPTS = {}; my $re = re( "License::fsful", $OPTS ); ok $re; isa_ok $re, ['Regexp'], 're object is a Regexp'; ref_ok $re, 'REGEXP', 're object is a native Regexp object'; regexp_patterns_in_module_ok 'Regexp::Pattern::License', $OPTS; regexp_patterns_in_module_ok 'Regexp::Pattern::License::Parts', 'parts', $OPTS; done_testing; 02-regexp-pattern_RE2.t000644001750001750 100114107233261 22103 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use Test2::Require::Module 're::engine::RE2'; use Regexp::Pattern; use re::engine::RE2; use Test::Regexp::Pattern; plan 5; my $OPTS = { engine => 'RE2' }; my $re = re( "License::fsful", $OPTS ); ok $re; isa_ok $re, ['Regexp'], 're object is a Regexp'; isa_ok $re, ['re::engine::RE2'], 're object is an RE2 object'; regexp_patterns_in_module_ok 'Regexp::Pattern::License', $OPTS; regexp_patterns_in_module_ok 'Regexp::Pattern::License::Parts', 'parts', $OPTS; done_testing; 02-regexp-pattern_RE2_missing.t000644001750001750 52714107233261 23630 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use Test::Without::Module qw( re::engine::RE2 ); use Regexp::Pattern; use Test::Regexp::Pattern; plan 1; my $OPTS = { engine => 'RE2' }; my $e = dies { re( "License::fsful", $OPTS ) }; like $e, qr/cannot use regexp engine "RE2": Module "re::engine::RE2" is not installed/, "call with engine RE2 -> dies"; done_testing; 02-structure.t000644001750001750 273014107233261 20540 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use Regexp::Pattern::License; #plan 11; my %RE = %Regexp::Pattern::License::RE; my $property = '_?[a-z][a-z0-9_]*'; my $attribute = '[a-z][a-z0-9_]*'; my $lang = '[a-z]{2,3}(?:_[A-Z]{2,3})?'; my $localspec_re = qr/^(?: # metadata and Regexp::Pattern structs without attributes description|examples|licenseversion|tags|gen|gen_args | (?: # metadata with optional properties (?:name|caption|summary|iri) (?:\.alt(?:\.(?: # TODO: add tests to check each org # TODO: maybe drop less popular orgs (instead using misc) org\.(?:cc|debian|fedora|fsf|gentoo|linfo|osi|perl|scancode|software_license|spdx|steward|tldr|trove|wikipedia|wikidata) | (?:since|until)\.(?:date_\d{8}) | archive\.(?:time_\d{14}) | synth\.nogrant | (?:lang\.$lang)? | (?:old|path|legal|iri|format|misc)\.$attribute ))+)? | # patterns _?pat (?:\.alt(?:\.(?: subject\.(?:name|grant|license|iri|trait) | # TODO: drop overlapping terms # TODO: add line_or_sentence, and require unigueness scope\.(?:line|sentence|paragraph|multiparagraph|section|multisection|all) | (?:lang\.$lang)? | (?:target|part|type|synth|misc)\.$attribute ))+)? ) )$/x; like \%RE, hash { all_keys match qr/^$property(?:\.$attribute)*$/ }, 'object names match Regexp::Pattern spec'; like \%RE, hash { all_vals hash { all_keys match $localspec_re; } }, 'properties match Regexp::Pattern spec and attributes are alt + key/value pairs'; done_testing; 03-match-normalized.t000644001750001750 71067214107233261 22012 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/t#!perl use utf8; use strict; use warnings; use lib 't/lib'; use MyTest tests => 468; license_covered( 'aal', name => 'Attribution Assurance License', text => < 'Abstyles License', text => < 'Adobe-2006 License', text => < 'Adobe Glyph List License', text => < 'Amazon Digital Services License', text => < 'Academic Free License', # TODO: readd when children cover same region # license => < [qw(subject_license)] ); license_covered( 'afl_1_1', name => 'Academic Free License version 1.1', grant => 'Licensed under the Academic Free License version 1.1.', license => 'The Academic Free License applies to any original work', TODO => [qw(grant_grant name_name)] ); license_covered( 'afl_1_2', name => 'Academic Free License version 1.2', grant => 'Licensed under the Academic Free License version 1.2', license => 'This Academic Free License applies to any original work', TODO => [qw(grant_grant name_name)] ); license_covered( 'afl_2', name => 'Academic Free License version 2.0', grant => 'Licensed under the Academic Free License version 2.0', license => < [qw(grant_grant name_name)] ); license_covered( 'afl_2_1', name => 'Academic Free License version 2.1', grant => 'Licensed under the Academic Free License version 2.1', license => < [qw(grant_grant name_name)] ); license_covered( 'afl_3', name => 'Academic Free License version 3.0', grant => 'Licensed under the Academic Free License version 3.0', license => < 'Afmparse License', text => < 'GNU Affero General Public License', grant => < [qw(subject_license)] ); license_covered( 'agpl_1', name => 'Affero General Public License, Version 1', text => < [qw(grant_grant)] ); license_covered( 'agpl_1_only', name => 'GNU Affero General Public License version 1 only', TODO => [qw(subject_iri subject_license)] ); license_covered( 'agpl_1_or_later', name => 'GNU Affero General Public License version 1 or later', TODO => [qw(subject_iri subject_license)] ); license_covered( 'agpl_2', name => 'Affero General Public License, Version 2', text => < [qw(grant_grant)] ); license_covered( 'agpl_3', name => 'GNU Affero General Public License, Version 3', grant => < < [qw()] ); license_covered( 'agpl_3_only', name => 'GNU Affero General Public License version 3 only', TODO => [qw(subject_iri subject_license)] ); license_covered( 'agpl_3_or_later', name => 'GNU Affero General Public License version 3 or later', TODO => [qw(subject_iri subject_license)] ); license_covered( 'aladdin', name => 'Aladdin Free Public License', grant => < [qw(subject_iri subject_license)] ); license_covered( 'aladdin_8', name => 'Aladdin Free Public License', grant => < < [qw(name_name grant_grant)] ); license_covered( 'aladdin_9', name => 'Aladdin Free Public License', grant => < < [qw(name_name grant_grant)] ); license_covered( 'amdplpa', name => "AMD's plpa_map.c License", text => < 'Apple MIT License', text => < 'Academy of Motion Picture Arts and Sciences BSD', text => < 'ANTLR Software Rights Notice', text => < 'Apache License', iri => 'https://www.apache.org/licenses/LICENSE-2.0', grant => < [qw(subject_license not_grant_iri)] ); license_covered( 'apafml', name => 'Adobe Postscript AFM License', text => < 'Adaptive Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'apl_1', name => 'Adaptive Public License 1.0', grant => < < 'Apple Public Source License', TODO => [qw(subject_license)] ); license_covered( 'apsl_1', name => 'Apple Public Source License 1.0', grant => < < 'Apple Public Source License 1.1', grant => < < 'Apple Public Source License 1.2', grant => < < 'Apple Public Source License 2.0', grant => < < 'Artistic License', TODO => [qw(subject_license)] ); license_covered( 'artistic_1', name => 'Artistic License 1.0', iri => 'https://opensource.org/licenses/artistic-license-1.0', text => < [qw(not_iri_name)] ); license_covered( 'artistic_1_cl8', name => 'Artistic-1.0-cl8', iri => 'https://spdx.org/licenses/Artistic-1.0-cl8', text => < [qw(name_name subject_license not_iri_name)] ); license_covered( 'artistic_1_clarified', name => 'Clarified Artistic License', iri => 'http://gianluca.dellavedova.org/2011/01/03/clarified-artistic-license/', text => < [qw(name_name)] ); license_covered( 'artistic_1_perl', name => 'Artistic License 1.0 (Perl)', iri => 'http://dev.perl.org/licenses/artistic.html', text => < [qw(name_name subject_license)] ); license_covered( 'artistic_2', name => 'Artistic License 2.0', iri => 'http://www.perlfoundation.org/artistic_license_2_0', text => < 'Bahyph License', text => < 'Barr License', text => <<'EOF', This is a package of commutative diagram macros built on top of Xy-pic by Michael Barr (email: barr@barrs.org). EOF ); license_covered( 'bdwgc', name => 'bdwgc', iri => 'http://www.hboehm.info/gc/license.txt', text => < [qw(name_name)] ); license_covered( 'bdwgc_matlab', text => < [qw(subject_iri)] ); license_covered( 'bittorrent', name => 'BitTorrent Open Source License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'bittorrent_1', name => 'BitTorrent Open Source License v1.0', grant => < < 'BitTorrent Open Source License v1.1', grant => < < 'Borceux license', text => < 'BSD (0 clause)', text => < 'BSD (1 clause)', text => < 'BSD 2-Clause', text => < [qw(name_name)] ); license_covered( 'bsd_2_clause_freebsd', name => 'BSD 2-Clause FreeBSD License', text => < 'BSD 2-Clause NetBSD License', text => < [qw(name_name)] ); license_covered( 'bsd_2_clause_patent', name => 'BSD 2-Clause Plus Patent License', text => < 'BSD 2-Clause with views sentence', text => < 'BSD 3-Clause', text => < [qw(name_name)] ); license_covered( 'bsd_3_clause_attribution', name => 'BSD with attribution', text => < 'BSD 3-Clause Clear License', text => < 'Eclipse Distribution License - v 1.0', text => < [qw(name_name)] ); license_covered( 'bsd_3_clause_lbnl', name => 'Lawrence Berkeley National Labs BSD variant license', text => < 'BSD 3-Clause Modification', text => < 'BSD 3-Clause No Military License', text => < 'BSD 3-Clause No Nuclear License', text => < 'BSD 3-Clause No Nuclear License 2014', text => < 'BSD 3-Clause No Nuclear Warranty', text => < 'Refractions BSD 3 Clause License (BSD) - v 1.0', text => < [qw(name_name)] ); license_covered( 'bsd_4_clause', name => 'BSD 4-Clause', text => <. 4. Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. EOF TODO => [qw(name_name)] ); license_covered( 'bsd_4_clause_uc', text => < [qw(name_name)] ); license_covered( 'bsd_protection', name => 'BSD Protection License', text => < 'Boost Software License', TODO => [qw(subject_license)] ); license_covered( 'bsl_1', name => 'Boost Software License 1.0', iri => 'http://www.boost.org/LICENSE_1_0.txt', text => < [qw(text_license not_iri_name)] ); license_covered( 'bzip2', name => 'bzip2 and libbzip2 License', text => < [qw(subject_iri)] ); license_covered( 'bzip2_1_0_5', name => 'bzip2 and libbzip2 License v1.0.5', text => < 'bzip2 and libbzip2 License v1.0.6', text => < 'Cryptographic Autonomy License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cal_1', name => 'Cryptographic Autonomy License 1.0', text => < 'BSD Source Caldera License', text => < 'Computer Associates Trusted Open Source License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'catosl_1_1', name => 'Computer Associates Trusted Open Source License 1.1', text => < 'Creative Commons Attribution 4.0 International Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_by_1', name => 'Creative Commons Attribution 1.0 Generic License', iri => 'https://creativecommons.org/licenses/by/1.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_2', name => 'Creative Commons Attribution 2.0 Generic License', iri => 'https://creativecommons.org/licenses/by/2.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_2_5', name => 'Creative Commons Attribution 2.5 Generic License', iri => 'https://creativecommons.org/licenses/by/2.5/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_3', name => 'Creative Commons Attribution 3.0 Unported License', iri => 'https://creativecommons.org/licenses/by/3.0/', grant => < [qw(name_name grant_grant not_grant_iri)] ); license_covered( 'cc_by_4', name => 'Creative Commons Attribution 4.0 International License', iri => 'https://creativecommons.org/licenses/by/4.0/', grant => < [qw(name_name grant_grant not_grant_iri)] ); license_covered( 'cc_by_nc', name => 'Creative Commons Attribution-NonCommercial 4.0 International Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_by_nc_1', name => 'Creative Commons Attribution-NonCommercial 1.0 Generic License', iri => 'https://creativecommons.org/licenses/by-nc/1.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_nc_2', name => 'Creative Commons Attribution-NonCommercial 2.0 Generic License', iri => 'https://creativecommons.org/licenses/by-nc/2.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_nc_2_5', name => 'Creative Commons Attribution-NonCommercial 2.5 Generic License', iri => 'https://creativecommons.org/licenses/by-nc/2.5/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_nc_3', name => 'Creative Commons Attribution-NonCommercial 3.0 Unported License', iri => 'https://creativecommons.org/licenses/by-nc/3.0/', grant => < [qw(name_name grant_grant not_grant_iri)] ); license_covered( 'cc_by_nc_4', name => 'Creative Commons Attribution-NonCommercial 4.0 International License', iri => 'https://creativecommons.org/licenses/by-nc/4.0/', grant => < [qw(name_name grant_grant not_grant_iri)] ); license_covered( 'cc_by_nc_nd', name => 'Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_by_nc_nd_1', name => 'Creative Commons Attribution-NoDerivs-NonCommercial 1.0 Generic License', iri => 'https://creativecommons.org/licenses/by-nd-nc/1.0/', grant => < [qw(iri_iri not_grant_iri)] ); license_covered( 'cc_by_nc_nd_2', name => 'Creative Commons Attribution-NonCommercial-NoDerivs 2.0 Generic License', iri => 'https://creativecommons.org/licenses/by-nc-nd/2.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_nc_nd_2_5', name => 'Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Generic License', iri => 'https://creativecommons.org/licenses/by-nc-nd/2.5/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_nc_nd_3', name => 'Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License', iri => 'https://creativecommons.org/licenses/by-nc-nd/3.0/', grant => < [qw(name_name grant_grant not_grant_iri)] ); license_covered( 'cc_by_nc_nd_4', name => 'Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License', iri => 'https://creativecommons.org/licenses/by-nc-nd/4.0/', grant => < [qw(name_name grant_grant not_grant_iri)] ); license_covered( 'cc_by_nc_sa', name => 'Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_by_nc_sa_1', name => 'Creative Commons Attribution-NonCommercial-ShareAlike 1.0 Generic License', iri => 'https://creativecommons.org/licenses/by-nc-sa/1.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_nc_sa_2', name => 'Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Generic License', iri => 'https://creativecommons.org/licenses/by-nc-sa/2.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_nc_sa_2_5', name => 'Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Generic License', iri => 'https://creativecommons.org/licenses/by-nc-sa/2.5/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_nc_sa_3', name => 'Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License', iri => 'https://creativecommons.org/licenses/by-nc-sa/3.0/', grant => < [qw(name_name grant_grant not_grant_iri)] ); license_covered( 'cc_by_nc_sa_4', name => 'Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License', iri => 'https://creativecommons.org/licenses/by-nc-sa/4.0/', grant => < [qw(name_name grant_grant not_grant_iri)] ); license_covered( 'cc_by_nd', name => 'Creative Commons Attribution-NoDerivatives 4.0 International Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_by_nd_1', name => 'Creative Commons Attribution-NoDerivs 1.0 Generic License', iri => 'https://creativecommons.org/licenses/by-nd/1.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_nd_2', name => 'Creative Commons Attribution-NoDerivs 2.0 Generic License', iri => 'https://creativecommons.org/licenses/by-nd/2.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_nd_2_5', name => 'Creative Commons Attribution-NoDerivs 2.5 Generic License', iri => 'https://creativecommons.org/licenses/by-nd/2.5/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_nd_3', name => 'Creative Commons Attribution-NoDerivs 3.0 Unported License', iri => 'https://creativecommons.org/licenses/by-nd/3.0/', grant => < [qw(name_name grant_grant not_grant_iri)] ); license_covered( 'cc_by_nd_4', name => 'Creative Commons Attribution-NoDerivatives 4.0 International License', iri => 'https://creativecommons.org/licenses/by-nd/4.0/', grant => < [qw(name_name grant_grant not_grant_iri)] ); license_covered( 'cc_by_sa', name => 'Creative Commons Attribution-ShareAlike 4.0 International Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_by_sa_1', name => 'Creative Commons Attribution-ShareAlike 1.0 Generic License', iri => 'https://creativecommons.org/licenses/by-sa/1.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_sa_2', name => 'Creative Commons Attribution-ShareAlike 2.0 Generic License', iri => 'https://creativecommons.org/licenses/by-sa/2.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_sa_2_5', name => 'Creative Commons Attribution-ShareAlike 2.5 Generic License', iri => 'https://creativecommons.org/licenses/by-sa/2.5/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_by_sa_3', name => 'Creative Commons Attribution-ShareAlike 3.0 Unported License', iri => 'https://creativecommons.org/licenses/by-sa/3.0/', grant => < [qw(name_name grant_grant not_grant_iri)] ); license_covered( 'cc_by_sa_4', name => 'Creative Commons Attribution-ShareAlike 4.0 International License', iri => 'https://creativecommons.org/licenses/by-sa/4.0/', grant => < [qw(name_name grant_grant not_grant_iri)] ); license_covered( 'cc_cc0', name => 'Creative Commons Zero 1.0 Universal', iri => 'https://en.wikipedia.org/wiki/Creative_Commons_license#Zero_/_public_domain', grant => 'To the extent possible under law, the person who associated CC0 with this work has waived all copyright and related or neighboring rights to this work', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_cc0_1', name => 'Creative Commons Zero 1.0 Universal', iri => 'https://en.wikipedia.org/wiki/Creative_Commons_license#Zero_/_public_domain', grant => 'To the extent possible under law, the person who associated CC0 with this work has waived all copyright and related or neighboring rights to this work', TODO => [qw(name_name subject_license)] ); license_covered( 'cc_nc', name => 'Creative Commons NonCommercial Generic Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_nc_1', name => 'Creative Commons NonCommercial 1.0 Generic License', iri => 'https://creativecommons.org/licenses/nc/1.0/', grant => < [qw(iri_iri not_grant_iri)] ); license_covered( 'cc_devnations', name => 'Creative Commons Developing Nations Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_devnations_2', name => 'Creative Commons Developing Nations 2.0 Generic License', iri => 'https://creativecommons.org/licenses/devnations/2.0/', grant => < < [qw(not_grant_iri)] ); license_covered( 'cc_nc_sa', name => 'Creative Commons NonCommercial-ShareAlike 1.0 Generic License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_nc_sa_1', name => 'Creative Commons NonCommercial-ShareAlike 1.0 Generic License', iri => 'https://creativecommons.org/licenses/nc-sa/1.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_nc_sp', name => 'Creative Commons NonCommercial Sampling Plus 1.0 License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_nc_sp_1', name => 'Creative Commons NonCommercial Sampling Plus 1.0 License', iri => 'https://creativecommons.org/licenses/nc-sampling+/1.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_nd', name => 'Creative Commons NoDerivs 1.0 Generic Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_nd_1', name => 'Creative Commons NoDerivs 1.0 Generic License', iri => 'https://creativecommons.org/licenses/nd/1.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_nd_nc', name => 'Creative Commons NoDerivs-NonCommercial 1.0 Generic License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_nd_nc_1', name => 'Creative Commons NoDerivs-NonCommercial 1.0 Generic License', iri => 'https://creativecommons.org/licenses/nd-nc/1.0/', grant => < [qw(iri_iri not_grant_iri)] ); license_covered( 'cc_pd', name => 'Creative Commons Public Domain', iri => 'https://creativecommons.org/licenses/publicdomain/', grant => < [qw(not_grant_iri subject_license)] ); license_covered( 'cc_pdd', name => 'Creative Commons Public Domain Dedication', grant => < < [qw(not_grant_iri)] ); license_covered( 'cc_pddc', name => 'Creative Commons Public Domain Dedication and Certification', grant => < < [qw(not_grant_iri)] ); license_covered( 'cc_sa', name => 'Creative Commons ShareAlike 1.0 Generic Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_sa_1', name => 'Creative Commons ShareAlike 1.0 Generic License', iri => 'https://creativecommons.org/licenses/sa/1.0/', grant => < [qw(not_grant_iri)] ); license_covered( 'cc_sampling', name => 'Creative Commons Sampling License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_sampling_1', name => 'Creative Commons Sampling 1.0 License', iri => 'https://creativecommons.org/licenses/sa/1.0/', grant => < [qw(iri_iri not_grant_iri)] ); license_covered( 'cc_sp', name => 'Creative Commons Sampling Plus License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cc_sp_1', name => 'Creative Commons Sampling Plus 1.0 License', iri => 'https://creativecommons.org/licenses/sa/1.0/', grant => < [qw(iri_iri not_grant_iri)] ); license_covered( 'cddl', name => 'Common Development and Distribution License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cddl_1', name => 'Common Development and Distribution License 1.0', text => < [qw(subject_iri)] ); license_covered( 'cddl_1_1', name => 'Common Development and Distribution License 1.1', text => < [qw(subject_iri)] ); license_covered( 'cecill', name => 'CeCILL Free Software License Agreement', text => < 'CeCILL Free Software License Agreement v1.0', iri => 'https://cecill.info/licences/Licence_CeCILL_V1-fr.html', text => < [qw(name_name not_iri_name)] ); license_covered( 'cecill_1_1', name => 'CeCILL Free Software License Agreement v1.1', iri => 'https://cecill.info/licences/Licence_CeCILL_V1.1-US.html', text => < [qw(name_name not_iri_name)] ); license_covered( 'cecill_2', name => 'CeCILL Free Software License Agreement v2.0', iri => 'https://cecill.info/licences/Licence_CeCILL_V2-fr.html', text => < [qw(name_name)] ); license_covered( 'cecill_2_1', name => 'CeCILL Free Software License Agreement v2.1', iri => 'https://cecill.info/licences/Licence_CeCILL_V2.1-fr.html', grant => < < [qw(name_name not_iri_name)] ); license_covered( 'cecill_b', name => 'CeCILL-B Free Software License Agreement', iri => 'https://cecill.info/licences/Licence_CeCILL-B_V1-en.html', grant => < < [qw(not_iri_name)] ); license_covered( 'cecill_b_1', name => 'CeCILL-B License 1.0', iri => 'https://cecill.info/licences/Licence_CeCILL-B_V1-en.html', grant => < < [qw(not_iri_name)] ); license_covered( 'cecill_c', name => 'CeCILL-C Free Software License Agreement', iri => 'https://cecill.info/licences/Licence_CeCILL-C_V1-fr.html', grant => < < [qw(not_iri_name)] ); license_covered( 'cecill_c_1', name => 'CeCILL-C License 1.0', iri => 'https://cecill.info/licences/Licence_CeCILL-C_V1-fr.html', grant => < < [qw(not_iri_name)] ); license_covered( 'cnri_jython', name => 'CNRI Jython License', text => < '', text => < 'CNRI Python Open Source GPL Compatible License Agreement', text => < 'Condor Public License', TODO => [qw(subject_license)] ); license_covered( 'condor_1_1', name => 'Condor Public License v1.1', text => < 'Crossword License', text => < 'Common Public Attribution License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cpal_1', name => 'Common Public Attribution License 1.0', text => < 'Common Public License', TODO => [qw(not_iri_name subject_license)] ); license_covered( 'cpl_1', name => 'Common Public License 1.0', text => < [qw(not_iri_name subject_iri)] ); license_covered( 'cpol', name => 'The Code Project Open License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'cpol_1_02', name => 'The Code Project Open License 1.02', text => < [qw(name_name)] ); license_covered( 'cryptix', name => 'Cryptix Public License', text => < 'Cube License', text => < 'curl License', text => < 'MITRE Collaborative Virtual Workspace License', text => < 'DBAD Public License', ); license_covered( 'dbad_0_2', name => 'DBAD Public License 0.2', text => < 'Deutsche Freie Software Lizenz', TODO => [qw(subject_license)] ); license_covered( 'd_fsl_1', name => 'Deutsche Freie Software Lizenz 1.0', text => < 'DBAD Public License 0.3', text => < 'DBAD Public License 1.0', text => < 'DBAD Public License 1.1', text => < DON'T BE A DICK PUBLIC LICENSE > TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 1. Do whatever you like with the original work, just don't be a dick. EOF TODO => [qw(subject_iri)] ); license_covered( 'dont_ask', name => 'The Don\'t Ask Me About It License', text => < 'DSDP License', text => < 'Educational Community License', TODO => [qw(subject_license)] ); license_covered( 'ecl_1', name => 'Educational Community License, Version 1.0', text => < [qw(not_iri_name subject_iri)] ); license_covered( 'ecl_2', name => 'Educational Community License, Version 2.0', text => < [qw(not_iri_name subject_iri)] ); license_covered( 'ecos_1_1', name => 'Red Hat eCos Public License v1.1', text => < 'eCos license version 2.0', text => < 'Eiffel Forum License', TODO => [qw(subject_license)] ); license_covered( 'efl_1', name => 'Eiffel Forum License, version 1', text => < 'Eiffel Forum License, version 2', text => < 'Entessa Public License', text => < 'Eclipse Public License', text => < [qw(subject_license)] ); license_covered( 'epl_1', name => 'Eclipse Public License 1.0', text => < [qw(not_iri_name subject_iri)] ); license_covered( 'epl_2', name => 'Eclipse Public License 2.0', text => < [qw(not_iri_name subject_iri)] ); license_covered( 'erlpl', name => 'Erlang Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'erlpl_1_1', name => 'Erlang Public License 1.1', text => < 'EU DataGrid Software License', text => < 'European Union Public License', TODO => [qw(subject_license)] ); license_covered( 'eupl_1', name => 'European Union Public License, Version 1.0', text => < 'European Union Public License, Version 1.1', text => < 'European Union Public License, Version 1.2', text => < 'Eurosym License', text => < 'Fair License', text => < 'Fair Source License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'fair_source_0_9', name => 'Fair Source License, version 0.9', text => < 'Free Art License', TODO => [qw(subject_license)] ); license_covered( 'fal_1_1', name => 'Lizenz Freie Kunst 1.1', text => < [qw(subject_iri)] ); license_covered( 'fal_1_2', name => 'Free Art License 1.2', text => < 'Free Art License 1.3', text => < 'Festival', text => < 'Frameworx License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'frameworx_1', name => 'Frameworx License 1.0', text => < 'FSF All Permissive License', iri => 'https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html', text => < 'FSF Unlimited License', text => < 'FSF Unlimited License (with License Retention)', text => < [qw(name_name)] ); license_covered( 'ftl', name => 'FreeType Project License', text => < 'GNU Free Documentation License', text => < [qw(subject_license)] ); license_covered( 'gfdl_1_1', name => 'GNU Free Documentation License, Version 1.1', text => < [qw(grant_grant)] ); license_covered( 'gfdl_1_1_only', name => 'GNU Free Documentation License, Version 1.1 only', TODO => [qw(subject_iri subject_license)] ); license_covered( 'gfdl_1_1_or_later', name => 'GNU Free Documentation License, Version 1.1 or later', TODO => [qw(subject_iri subject_license)] ); license_covered( 'gfdl_1_2', name => 'GNU Free Documentation License, Version 1.2', text => < [qw(grant_grant)] ); license_covered( 'gfdl_1_2_only', name => 'GNU Free Documentation License, Version 1.2 only', TODO => [qw(subject_iri subject_license)] ); license_covered( 'gfdl_1_2_or_later', name => 'GNU Free Documentation License, Version 1.2 or later', TODO => [qw(subject_iri subject_license)] ); license_covered( 'gfdl_1_3', name => 'GNU Free Documentation License, Version 1.3', text => < [qw(grant_grant)] ); license_covered( 'gfdl_1_3_only', name => 'GNU Free Documentation License, Version 1.3 only', TODO => [qw(subject_iri subject_license)] ); license_covered( 'gfdl_1_3_or_later', name => 'GNU Free Documentation License, Version 1.3 or later', TODO => [qw(subject_iri subject_license)] ); license_covered( 'glide', name => '3dfx Glide License', text => < 'GNU General Public License version 1 only', TODO => [qw(subject_iri subject_license)] ); license_covered( 'gpl_1_or_later', name => 'GNU General Public License version 1 or later', TODO => [qw(subject_iri subject_license)] ); license_covered( 'gpl_2_only', name => 'GNU General Public License version 2 only', TODO => [qw(subject_iri subject_license)] ); license_covered( 'gpl_2_or_later', name => 'GNU General Public License version 2 or later', TODO => [qw(subject_iri subject_license)] ); license_covered( 'gpl_3_only', name => 'GNU General Public License version 3 only', TODO => [qw(subject_iri subject_license)] ); license_covered( 'gpl_3_or_later', name => 'GNU General Public License version 3 or later', TODO => [qw(subject_iri subject_license)] ); license_covered( 'gsoap', name => 'gSOAP Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'gsoap_1_3b', name => 'gSOAP Public License v1.3b', text => < [qw(name_name)] ); license_covered( 'hpnd', name => 'Historical Permission Notice and Disclaimer', text => < or not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. EOF ); license_covered( 'hpnd_sell', name => 'Historical Permission Notice and Disclaimer - sell variant', text => < 'IBM PowerPC Initialization and Boot Software', text => < 'Independent JPEG Group License', text => < 'Imlib2 License', text => < 'ISC License', text => < 'ICU License', text => < 'Intel Open Source License', text => < [qw(subject_iri)] ); license_covered( 'ipa', name => 'IPA Font License', text => < 'IBM Public License 1.0', text => < [qw(subject_license)] ); license_covered( 'jabberpl', name => 'Jabber Open Source License', text => < 'The Software shall be used for Good, not Evil.', ); license_covered( 'jython', name => 'Jython License', text => < < [qw(subject_iri)] ); license_covered( 'leptonica', name => 'Leptonica License', text => < 'GNU Library General Public License', TODO => [qw(subject_license)] ); license_covered( 'lgpl_2', name => 'GNU Library General Public License version 2', text => < 'GNU Library General Public License version 2 only', TODO => [qw(subject_iri subject_license)] ); license_covered( 'lgpl_2_or_later', name => 'GNU Library General Public License version 2 or newer', TODO => [qw(subject_iri subject_license)] ); license_covered( 'lgpl_2_1', name => 'GNU Lesser General Public License version 2.1', text => < 'GNU Lesser General Public License version 2.1 only', TODO => [qw(subject_iri subject_license)] ); license_covered( 'lgpl_2_1_or_later', name => 'GNU Lesser General Public License version 2.1 or newer', TODO => [qw(subject_iri subject_license)] ); license_covered( 'lgpl_3', name => 'GNU Lesser General Public License version 3', text => < 'GNU Lesser General Public License version 3 only', TODO => [qw(subject_iri subject_license)] ); license_covered( 'lgpl_3_or_later', name => 'GNU Lesser General Public License version 3 or newer', TODO => [qw(subject_iri subject_license)] ); license_covered( 'lgpl_bdwgc', text => < [qw(subject_iri)] ); license_covered( 'libpng', name => 'libpng License', text => < [qw(name_name)], ); license_covered( 'libtiff', name => 'libtiff License', text => < 'Licence Libre du Québec – Permissive (LiLiQ-P)', TODO => [qw(subject_iri subject_license)] ); license_covered( 'liliq_p_1_1', name => 'Licence Libre du Québec – Permissive (LiLiQ-P) version 1.1', text => < 'Licence Libre du Québec – Réciprocité (LiLiQ-R)', TODO => [qw(subject_iri subject_license)] ); license_covered( 'liliq_r_1_1', name => 'Licence Libre du Québec – Réciprocité (LiLiQ-R) version 1.1', text => < 'Licence Libre du Québec – Réciprocité forte (LiLiQ-R+)', TODO => [qw(subject_iri subject_license)] ); license_covered( 'liliq_r_plus_1_1', name => 'Licence Libre du Québec – Réciprocité forte (LiLiQ-R+) version 1.1', text => < 'Lisp Lesser General Public License', iri => 'http://opensource.franz.com/preamble.html', text => < [qw(subject_license)] ); license_covered( 'lpl', name => 'Lucent Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'lpl_1', name => 'Lucent Public License v1.0', text => < (""), the Original Program, and b. in the case of each Contributor, i. changes to the Program, and ii. additions to the Program; where such changes and/or additions to the Program originate from and are "Contributed" by that particular Contributor. EOF ); license_covered( 'lpl_1_02', name => 'Lucent Public License v1.02', text => < [qw(name_name)] ); license_covered( 'lppl', name => 'LaTeX Project Public License', TODO => [qw(subject_license)] ); license_covered( 'lppl_1', name => 'LaTeX Project Public License 1.0', text => < 'LaTeX Project Public License 1.1', text => < 'LaTeX Project Public License 1.2', text => < 'LaTeX Project Public License 1.3a', text => < [qw(name_name)] ); license_covered( 'lppl_1_3c', name => 'LaTeX Project Public License 1.3c', text => < [qw(name_name)] ); license_covered( 'miros', name => 'MirOS Licence', text => < 'MIT No Attribution', text => < < 'CMU License', text => < 'Standard ML of New Jersey License', text => < 'enna License', text => < 'MIT~Epinions', text => < 'feh License', text => < 'MIT License', iri => 'http://www.jclark.com/xml/copying.txt', text => < < [qw(subject_iri)] ); license_covered( 'mit_old', text => < [qw(subject_iri)] ); license_covered( 'mit_oldstyle', text => < < < 'MIT Open Group variant', text => < 'MIT~OpenVision', text => < 'MIT~OSF', text => < 'MIT~UnixCrypt', text => < 'MIT~whatever', text => < 'MIT~Widget', text => < 'MIT-Xfig', text => < 'Motosoto License', iri => 'https://opensource.org/licenses/Motosoto', text => < [qw(not_iri_name)] ); license_covered( 'mpich2', name => 'mpich2 License', text => < [qw(not_iri_name)] ); license_covered( 'mpl', name => 'Mozilla Public License', iri => 'https://www.mozilla.org/MPL', text => < [qw(subject_license)] ); license_covered( 'mpl_1', name => 'Mozilla Public License 1.0', text => < [qw(subject_iri)] ); license_covered( 'mpl_1_1', name => 'Mozilla Public License 1.1', text => < [qw(subject_iri)] ); license_covered( 'mpl_2', name => 'Mozilla Public License 2.0', text => < [qw(subject_iri)] ); license_covered( 'mpl_2_no_copyleft_exception', name => 'Mozilla Public License 2.0 (no copyleft exception)', TODO => [qw(name_name subject_license)] ); license_covered( 'ms_cl', name => 'Microsoft Shared Source Community License (MS-CL)', text => < [qw(not_iri_name)] ); license_covered( 'ms_pl', name => 'Microsoft Public License', iri => 'https://en.wikipedia.org/wiki/Shared_source#Microsoft_Public_License_(Ms-PL)', TODO => [qw(not_iri_name)] ); license_covered( 'ms_rl', name => 'Microsoft Reciprocal License', iri => 'https://en.wikipedia.org/wiki/Shared_source#Microsoft_Reciprocal_License_(Ms-RL)', TODO => [qw(not_iri_name)] ); license_covered( 'mulan', name => 'Mulan Permissive Software License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'mulan', name => '木兰宽松许可证', TODO => [qw(subject_iri subject_license)] ); license_covered( 'mulan_1', name => 'Mulan Permissive Software License,Version 1', iri => 'https://license.coscl.org.cn/MulanPSL', text => < '木兰宽松许可证, 第1版', text => < [qw(name_name)] ); license_covered( 'mulan_2', name => 'Mulan Permissive Software License,Version 2', text => < '木兰宽松许可证, 第2版', text => < [qw(name_name)] ); license_covered( 'multics', name => 'Multics License', text => < 'NASA Open Source Agreement', TODO => [qw(subject_license)] ); license_covered( 'nasa_1_3', name => 'NASA Open Source Agreement 1.3', text => < 'Naumen Public License', text => < 'Net Boolean Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'nbpl_1', name => 'Net Boolean Public License v1', text => < 'University of Illinois/NCSA Open Source License', text => <, nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission. 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. EOF ); license_covered( 'ngpl', name => 'Nethack General Public License', text => < 'Nokia Open Source License', text => < 'Netizen Open Source License', TODO => [qw(subject_license)] ); license_covered( 'nosl_1', name => 'Netizen Open Source License 1.0', text => < 'Netscape Public License', TODO => [qw(subject_license)] ); license_covered( 'npl_1', name => 'Netscape Public License version 1.0', text => < 'Netscape Public License version 1.1', text => < 'Non-Profit Open Software License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'nposl_3', name => 'Non-Profit Open Software License 3.0', text => < 'NTP License', text => <> not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. <> makes no representations about the suitability this software for any purpose. It is provided "as is" without express or implied warranty. EOF ); license_covered( 'ntp_disclaimer', text => < [qw(subject_iri)] ); license_covered( 'oclc', name => 'OCLC Research Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'oclc_1', name => 'OCLC Research Public License 1.0', text => < [qw(subject_iri)] ); license_covered( 'oclc_2', name => 'OCLC Research Public License 2.0', text => < 'ODC Open Database License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'odbl_1', name => 'ODC Open Database License v1.0', text => < 'Open Data Commons Attribution License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'odc_by_1', name => 'Open Data Commons Attribution License v1.0', text => < 'SIL Open Font License', iri => 'http://scripts.sil.org/OFL', TODO => [qw(subject_license not_iri_name)] ); license_covered( 'ofl_1', name => 'SIL Open Font License 1.0', text => < [qw(subject_iri)] ); license_covered( 'ofl_1_1', name => 'SIL Open Font License 1.1', text => < [qw(subject_iri)] ); license_covered( 'ogc', name => 'OGC Software License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'ogc_1', name => 'OGC Software License, Version 1.0', text => < [qw(name_name)] ); license_covered( 'ogtsl', name => 'Open Group Test Suite License', text => < 'Open LDAP Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'oldap_1_1', name => 'Open LDAP Public License v1.1', text => < 'Open LDAP Public License v1.2', text => < 'Open LDAP Public License v1.3', text => < 'Open LDAP Public License v1.4', text => < 'Open LDAP Public License v2.0', text => < 'Open LDAP Public License v2.0.1', text => < 'Open LDAP Public License v2.1', text => < 'Open LDAP Public License v2.2', text => < 'Open LDAP Public License v2.2.1', text => < 'Open LDAP Public License v2.2.2', text => < 'Open LDAP Public License v2.3', text => < 'Open LDAP Public License v2.4', text => < 'Open LDAP Public License v2.5', text => < 'Open LDAP Public License v2.6', text => < 'Open LDAP Public License v2.7', text => < 'Open LDAP Public License v2.8', text => < 'OpenSSL License', text => < 'Open Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'opl_1', name => 'Open Public License v1.0', text => < 'OSET Public License', TODO => [qw(subject_license)] ); license_covered( 'oset_pl_2_1', name => 'OSET Public License version 2.1', text => < 'Open Software License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'osl_1', name => 'Open Software License 1.0', grant => < < 'Open Software License 1.1', grant => < < 'Open Software License 2.0', trant => < < 'Open Software License 2.1', grant => < < 'Open Software License 3.0', grant => < < 'Open Data Commons Public Domain Dedication & License 1.0', TODO => [qw(subject_iri subject_license)] ); license_covered( 'pddl_1', name => 'Open Data Commons Public Domain Dedication & License 1.0', text => < 'Peer Production License', text => < 'PHP License', TODO => [qw(subject_license)] ); license_covered( 'php_3', name => 'PHP License 3.0', text => <". THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. EOF ); license_covered( 'php_3_01', name => 'PHP License 3.01', text => <". THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. EOF TODO => [qw(name_name)] ); license_covered( 'postgresql', name => 'PostgreSQL License', text => < 'Python Software Foundation License version 2', text => < 'http://www.linfo.org/publicdomain.html', grant => < [qw(subject_license)] ); license_covered( 'qpl', name => 'Q Public License', TODO => [qw(subject_license)] ); license_covered( 'qpl_1', name => 'Q Public License 1.0', text => < 'Reciprocal Public License', TODO => [qw(subject_license)] ); license_covered( 'rpl_1', name => 'Reciprocal Public License, Version 1.0', text => < 'Reciprocal Public License, Version 1.1', text => < 'Reciprocal Public License, Version 1.3', text => < 'Reciprocal Public License, Version 1.5', text => < 'RealNetworks Public Source License', TODO => [qw(subject_license)] ); license_covered( 'rpsl_1', name => 'RealNetworks Public Source License 1.0', text => < 'Ruby License', text => < 'Ricoh Source Code Public License', text => < 'Sax Public Domain Notice', text => < 'Show don\'t Sell License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'sds_1', name => 'Show don\'t Sell License, Version 1', text => < [qw(subject_iri)] ); license_covered( 'sgi_b', name => 'SGI Free Software License B', iri => 'https://www.sgi.com/projects/FreeB/', TODO => [qw(subject_license not_iri_name)] ); license_covered( 'sgi_b_1', name => 'SGI Free Software License B v1.0', text => < [qw(subject_iri)] ); license_covered( 'sgi_b_1_1', name => 'SGI Free Software License B v1.1', text => < [qw(subject_iri)] ); license_covered( 'sgi_b_2', name => 'SGI Free Software License B v2.0', text => < [qw(subject_iri)] ); license_covered( 'simpl', name => 'Simple Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'simpl_2', name => 'Simple Public License 2.0', text => < 'Simple Public License', TODO => [qw(subject_license subject_iri)] ); license_covered( 'simple_w3c_1_1', name => 'Simple Public License 1.1', text => < 'Sun Industry Standards Source License', TODO => [qw(subject_license subject_iri not_iri_name)] ); license_covered( 'sissl_1_1', name => 'Sun Industry Standards Source License - Version 1.1', iri => 'https://www.openoffice.org/licenses/sissl_license.html', text => < 'SUN INDUSTRY STANDARDS SOURCE LICENSE Version 1.2', iri => 'http://gridscheduler.sourceforge.net/Gridengine_SISSL_license.html', text => < 'Sleepycat License', text => < 'Simple Non Code License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'sncl_1_10', name => 'Simple Non Code License, Version 1.10.0', text => < [qw(subject_iri)] ); license_covered( 'sncl_2_0_1', name => 'Simple Non Code License, Version 2.0.1', text => < [qw(subject_iri)] ); license_covered( 'sncl_2_0_2', name => 'Simple Non Code License v2.0.2', TODO => [qw(subject_license subject_iri)] ); license_covered( 'sncl_2_1', name => 'Simple Non Code License v2.1.0', text => < 'Simple Non Code License v2.3', text => < [qw(subject_iri)] ); license_covered( 'spl', name => 'Sun Public License', TODO => [qw(subject_license)] ); license_covered( 'spl_1', name => 'Sun Public License 1.0', grant => < < [qw(grant_grant)] ); license_covered( 'stlport', name => 'STLport License Agreement', text => < 'SugarCRM Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'sugarcrm_1_1_3', name => 'SugarCRM Public License v1.1.3', text => < 'Trusster Open Source License', text => < 'TrueCrypt License Version', TODO => [qw(subject_iri subject_license)] ); license_covered( 'truecrypt_3', name => 'TrueCrypt License Version 3.0', text => < 'Upstream Compatibility License', TODO => [qw(subject_iri subject_iri subject_license)] ); license_covered( 'ucl_1', name => 'Upstream Compatibility License v. 1.0', text => < 'Unicode License Agreement - Data Files and Software', TODO => [qw(subject_iri subject_license)] ); license_covered( 'unicode_dfs_2015', name => 'Unicode License Agreement - Data Files and Software (2015)', text => < [qw(name_name)] ); license_covered( 'unicode_dfs_2016', name => 'Unicode License Agreement - Data Files and Software (2016)', text => < < [qw(subject_iri)] ); license_covered( 'unicode_tou', name => 'Unicode Terms of Use', text => < 'the Unlicense', text => < 'Universal Permissive License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'upl_1', name => 'Universal Permissive License 1.0', text => < 'Vovida Software License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'vsl_1', name => 'Vovida Software License v. 1.0', text => < 'Very Simple Public License', text => < 'W3C License', TODO => [qw(subject_license)] ); license_covered( 'w3c_19980519', name => 'W3C Software Notice and License (1998-05-19)', text => < [qw(name_name)] ); license_covered( 'w3c_19980720', name => 'W3C Software Notice and License (1998-07-20)', text => < [qw(name_name)] ); license_covered( 'w3c_20021231', name => 'W3C Software Notice and License (2002-12-31)', text => < [qw(name_name)] ); license_covered( 'w3c_20150513', name => 'W3C Software and Document Notice and License (2015-05-13)', text => < [qw(name_name)] ); license_covered( 'watcom', name => 'Sybase Open Watcom Public License', TODO => [qw(subject_license)] ); license_covered( 'watcom_1', name => 'Sybase Open Watcom Public License 1.0', text => < 'WordNet', text => < [qw(name_name)] ); license_covered( 'wtfpl', name => 'Do What The F*ck You Want To Public License', iri => 'http://www.wtfpl.net/', grant => 'This input method table is licensed under the WTFPL.', ); license_covered( 'wtfpl_1', name => 'Do What The Fuck You Want To Public License, Version 1', iri => 'http://cvs.windowmaker.org/co.php/wm/COPYING.WTFPL', text => < [qw(name_name not_iri_name)] ); license_covered( 'wtfpl_2', name => 'Do What The Fuck You Want To Public License, Version 2', iri => 'http://www.wtfpl.net/', grant => < < [qw(name_name not_iri_name)] ); license_covered( 'wtfnmfpl', name => "Do What The Fuck You Want To But It's Not My Fault Public License", TODO => [qw(name_name subject_license)] ); license_covered( 'wtfnmfpl_1', name => "Do What The Fuck You Want To But It's Not My Fault Public License v1", iri => 'http://www.adversary.org/wp/2013/10/14/do-what-the-fuck-you-want-but-its-not-my-fault/', text => < 'X11 License', text => < 'XFree86 License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'xfree86_1_1', name => 'XFree86 License 1.1', text => < 'X.Net License', text => < 'Yahoo! Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'ypl_1', name => 'Yahoo! Public License v1.0', iri => 'https://www.zimbra.com/license/yahoo_public_license_1.0.html', text => < 'Yahoo! Public License v1.1', iri => 'https://www.zimbra.com/license/yahoo_public_license_1.1.html', text => < 'Zed License', text => < 'Zend License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'zend_2', name => 'Zend License v2.0', text => < 'Zimbra Public License', TODO => [qw(subject_iri subject_license)] ); license_covered( 'zimbra_1_3', name => 'Zimbra Public License v1.3', text => < 'Zimbra Public License v1.4', text => < 'zlib License', iri => 'http://zlib.net/zlib_license.html', text => < [qw(not_iri_name)] ); license_covered( 'zlib_acknowledgement', name => 'zlib/libpng License with Acknowledgement', text => < 'ZPL License', TODO => [qw(subject_license)] ); license_covered( 'zpl_1', name => 'Zope Public License 1.0', iri => 'http://www.zope.org/Resources/ZPL', TODO => [qw(subject_license)] ); license_covered( 'zpl_1_1', name => 'Zope Public License 1.1', iri => 'https://spdx.org/licenses/ZPL-1.1', TODO => [qw(not_iri_name subject_license)] ); license_covered( 'zpl_2', name => 'Zope Public License 2.0', iri => 'http://old.zope.org/Resources/License/ZPL-1.1', text => < 'Zope Public License 2.1', iri => 'http://old.zope.org/Resources/ZPL/', text => < 'BSD 4-Clause', iri => 'https://en.wikipedia.org/wiki/BSD_licenses', text => <. 4. Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. EOF TODO => [qw(not_iri_name)] ); license_covered( 'python_2', name => 'Python License 2.0', text => < 'MIT License', iri => 'https://en.wikipedia.org/wiki/MIT_License', grant => 'Released under the MIT license', TODO => [qw(name_name subject_license)] ); done_testing; coverage-cc-deprecated.t000644001750001750 1113114107233261 22550 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data sources: # # like( license_org_metadata( 'cc', { date => 0 } ), hash { # Developing Nations field 'Creative Commons Developing Nations' => 'CC-DevNations'; field 'Developing Nations 2.0' => 'CC-DevNations-2.0'; # legal field 'Developing Nations License' => 'CC-DevNations-2.0'; # deed # ShareAlike field 'Creative Commons ShareAlike' => 'CC-SA'; field 'Creative Commons ShareAlike 1.0 Generic License' => 'CC-SA-1.0'; # grant field 'ShareAlike 1.0' => 'CC-SA-1.0'; # legal field 'CC SA 1.0' => 'CC-SA-1.0'; # shortname field 'ShareAlike 1.0 Generic (CC SA 1.0)' => 'CC-SA-1.0'; # deed # NonCommercial field 'Creative Commons NonCommercial' => 'CC-NC'; field 'Creative Commons NonCommercial 1.0 Generic License' => 'CC-NC-1.0'; # grant field 'NonCommercial 1.0' => 'CC-NC-1.0'; # legal field 'CC NC 1.0' => 'CC-NC-1.0'; # shortname field 'NonCommercial 1.0 Generic (CC NC 1.0)' => 'CC-NC-1.0'; # deed # NonCommercial Sampling Plus field 'Creative Commons NonCommercial Sampling Plus' => 'CC-NC-Sampling+'; field 'NonCommercial Sampling Plus 1.0' => 'CC-NC-Sampling+-1.0'; # legal field 'CC NC-Sampling+ 1.0' => 'CC-NC-Sampling+-1.0'; # shortname # NonCommercial-ShareAlike field 'Creative Commons NonCommercial-ShareAlike' => 'CC-NC-SA'; field 'Creative Commons NonCommercial-ShareAlike 1.0 Generic License' => 'CC-NC-SA-1.0'; # grant field 'NonCommercial-ShareAlike 1.0' => 'CC-NC-SA-1.0'; # legal field 'CC NC-SA 1.0' => 'CC-NC-SA-1.0'; # shortname field 'NonCommercial-ShareAlike 1.0 Generic (CC NC-SA 1.0)' => 'CC-NC-SA-1.0'; # deed # NoDerivs-NonCommercial field 'Creative Commons NoDerivs-NonCommercial' => 'CC-ND-NC'; field 'Creative Commons NoDerivatives-NonCommercial' => 'CC-ND-NC'; # long field 'Creative Commons NonCommercial-NoDerivs' => 'CC-ND-NC'; # flipped field 'Creative Commons NoDerivs-NonCommercial 1.0 Generic License' => 'CC-ND-NC-1.0'; # grant field 'NoDerivs-NonCommercial 1.0' => 'CC-ND-NC-1.0'; # legal field 'CC ND-NC 1.0' => 'CC-ND-NC-1.0'; # shortname field 'NoDerivs-NonCommercial 1.0 Generic (CC ND-NC 1.0)' => 'CC-ND-NC-1.0'; # deed # NoDerivs field 'Creative Commons NoDerivs' => 'CC-ND'; field 'Creative Commons NoDerivatives' => 'CC-ND'; # long field 'Creative Commons NoDerivs 1.0 Generic License' => 'CC-ND-1.0'; # grant field 'NoDerivs 1.0' => 'CC-ND-1.0'; # legal field 'CC ND 1.0' => 'CC-ND-1.0'; # shortname field 'NoDerivs 1.0 Generic (CC ND 1.0)' => 'CC-ND-1.0'; # deed # Public Domain field 'Creative Commons Public Domain' => 'CC-PD'; # grant # Public Domain Dedication field 'Creative Commons Public Domain Dedication' => 'CC-PDD'; # legal field 'Creative Commons Copyright-Only Dedication (based on United States law)' => 'CC-PDD'; # deed # Public Domain Dedication and Certification field 'Creative Commons Public Domain Dedication and Certification' => 'CC-PDDC'; # legal field 'Creative Commons Copyright-Only Dedication (based on United States law) or Public Domain Certification' => 'CC-PDDC'; # deed # Sampling field 'Creative Commons Sampling' => 'CC-Sampling'; field 'Sampling 1.0' => 'CC-Sampling-1.0'; # legal # Sampling Plus field 'Creative Commons Sampling Plus' => 'CC-Sampling+'; field 'Sampling Plus 1.0' => 'CC-Sampling+-1.0'; # legal field 'CC Sampling+ 1.0' => 'CC-Sampling+-1.0'; # shortname # Software field 'Creative Commons GNU GPL' => 'GPL-2'; field 'CC-GNU GPL' => 'GPL-2'; # deed field 'Creative Commons GNU LGPL' => 'LGPL-2.1'; field 'CC-GNU LGPL' => 'LGPL-2.1'; # deed end(); }, 'coverage of Creative Commons Public licenses' ); done_testing; coverage-cc.t000644001750001750 3367014107233261 20466 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Key is spdx:name. # Value is spdx:licenseId. # Data sources: # and https://creativecommons.org/publicdomain/zero/1.0/ like( license_org_metadata( 'cc', { date => 99999999 } ), hash { # Attribution field 'Creative Commons Attribution' => 'CC-BY'; field 'Creative Commons Attribution 1.0 Generic License' => 'CC-BY-1.0'; # grant field 'Creative Commons Attribution 2.0 Generic License' => 'CC-BY-2.0'; # grant field 'Creative Commons Attribution 2.5 Generic License' => 'CC-BY-2.5'; # grant field 'Creative Commons Attribution 3.0 Unported License' => 'CC-BY-3.0'; # grant field 'Creative Commons Attribution 3.0 International License' => 'CC-BY-3.0'; # grant modern field 'Creative Commons Attribution 4.0 International License' => 'CC-BY-4.0'; # grant field 'Attribution 1.0' => 'CC-BY-1.0'; # legal field 'Attribution 2.0' => 'CC-BY-2.0'; # legal field 'Attribution 2.5' => 'CC-BY-2.5'; # legal field 'Attribution 3.0 Unported' => 'CC-BY-3.0'; # legal field 'Attribution 4.0 International' => 'CC-BY-4.0'; # legal field 'CC BY 1.0' => 'CC-BY-1.0'; # shortname field 'CC BY 2.0' => 'CC-BY-2.0'; # shortname field 'CC BY 2.5' => 'CC-BY-2.5'; # shortname field 'CC BY 3.0' => 'CC-BY-3.0'; # shortname field 'CC BY 4.0' => 'CC-BY-4.0'; # shortname field 'Attribution 1.0 Generic (CC BY 1.0)' => 'CC-BY-1.0'; # deed field 'Attribution 2.0 Generic (CC BY 2.0)' => 'CC-BY-2.0'; # deed field 'Attribution 2.5 Generic (CC BY 2.5)' => 'CC-BY-2.5'; # deed field 'Attribution 3.0 Unported (CC BY 3.0)' => 'CC-BY-3.0'; # deed field 'Attribution 4.0 International (CC BY 4.0)' => 'CC-BY-4.0'; # deed # Attribution-NonCommercial field 'Creative Commons Attribution-NonCommercial' => 'CC-BY-NC'; field 'Creative Commons Attribution-NonCommercial 1.0 Generic License' => 'CC-BY-NC-1.0'; # grant field 'Creative Commons Attribution-NonCommercial 2.0 Generic License' => 'CC-BY-NC-2.0'; # grant field 'Creative Commons Attribution-NonCommercial 2.5 Generic License' => 'CC-BY-NC-2.5'; # grant field 'Creative Commons Attribution-NonCommercial 3.0 Unported License' => 'CC-BY-NC-3.0'; # grant field 'Creative Commons Attribution-NonCommercial 3.0 International License' => 'CC-BY-NC-3.0'; # grant modern field 'Creative Commons Attribution-NonCommercial 4.0 International License' => 'CC-BY-NC-4.0'; # grant field 'Attribution-NonCommercial 1.0' => 'CC-BY-NC-1.0'; # legal field 'Attribution-NonCommercial 2.0' => 'CC-BY-NC-2.0'; # legal field 'Attribution-NonCommercial 2.5' => 'CC-BY-NC-2.5'; # legal field 'Attribution-NonCommercial 3.0 Unported' => 'CC-BY-NC-3.0'; # legal field 'Attribution-NonCommercial 4.0 International' => 'CC-BY-NC-4.0'; # legal field 'CC BY-NC 1.0' => 'CC-BY-NC-1.0'; # shortname field 'CC BY-NC 2.0' => 'CC-BY-NC-2.0'; # shortname field 'CC BY-NC 2.5' => 'CC-BY-NC-2.5'; # shortname field 'CC BY-NC 3.0' => 'CC-BY-NC-3.0'; # shortname field 'CC BY-NC 4.0' => 'CC-BY-NC-4.0'; # shortname field 'Attribution-NonCommercial 1.0 Generic (CC BY-NC 1.0)' => 'CC-BY-NC-1.0'; # deed field 'Attribution-NonCommercial 2.0 Generic (CC BY-NC 2.0)' => 'CC-BY-NC-2.0'; # deed field 'Attribution-NonCommercial 2.5 Generic (CC BY-NC 2.5)' => 'CC-BY-NC-2.5'; # deed field 'Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)' => 'CC-BY-NC-3.0'; # deed field 'Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)' => 'CC-BY-NC-4.0'; # deed # Attribution-NonCommercial-NoDerivatives field 'Creative Commons Attribution-NonCommercial-NoDerivatives' => 'CC-BY-NC-ND'; field 'Creative Commons Attribution-NonCommercial-NoDerivs' => 'CC-BY-NC-ND'; # abbrev field 'Creative Commons Attribution-NoDerivs-NonCommercial' => 'CC-BY-NC-ND'; # abbrev swapped field 'Creative Commons Attribution-NoDerivs-NonCommercial 1.0 Generic License' => 'CC-BY-ND-NC-1.0'; # grant field 'Creative Commons Attribution-NonCommercial-NoDerivs 2.0 Generic License' => 'CC-BY-NC-ND-2.0'; # grant field 'Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Generic License' => 'CC-BY-NC-ND-2.5'; # grant field 'Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License' => 'CC-BY-NC-ND-3.0'; # grant field 'Creative Commons Attribution-NonCommercial-NoDerivs 3.0 International License' => 'CC-BY-NC-ND-3.0'; # grant modern field 'Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License' => 'CC-BY-NC-ND-4.0'; # grant field 'Attribution-NoDerivs-NonCommercial 1.0' => 'CC-BY-ND-NC-1.0'; # legal field 'Attribution-NonCommercial-NoDerivs 2.0' => 'CC-BY-NC-ND-2.0'; # legal field 'Attribution-NonCommercial-NoDerivs 2.5' => 'CC-BY-NC-ND-2.5'; # legal field 'Attribution-NonCommercial-NoDerivs 3.0 Unported' => 'CC-BY-NC-ND-3.0'; # legal field 'Attribution-NonCommercial-NoDerivatives 4.0 International' => 'CC-BY-NC-ND-4.0'; # legal field 'CC BY-ND-NC 1.0' => 'CC-BY-ND-NC-1.0'; # shortname field 'CC BY-NC-ND 2.0' => 'CC-BY-NC-ND-2.0'; # shortname field 'CC BY-NC-ND 2.5' => 'CC-BY-NC-ND-2.5'; # shortname field 'CC BY-NC-ND 3.0' => 'CC-BY-NC-ND-3.0'; # shortname field 'CC BY-NC-ND 4.0' => 'CC-BY-NC-ND-4.0'; # shortname field 'Attribution-NoDerivs-NonCommercial 1.0 Generic (CC BY-ND-NC 1.0)' => 'CC-BY-ND-NC-1.0'; # deed field 'Attribution-NonCommercial-NoDerivs 2.0 Generic (CC BY-NC-ND 2.0)' => 'CC-BY-NC-ND-2.0'; # deed field 'Attribution-NonCommercial-NoDerivs 2.5 Generic (CC BY-NC-ND 2.5)' => 'CC-BY-NC-ND-2.5'; # deed field 'Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0)' => 'CC-BY-NC-ND-3.0'; # deed field 'Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)' => 'CC-BY-NC-ND-4.0'; # deed # Attribution-NonCommercial-ShareAlike field 'Creative Commons Attribution-NonCommercial-ShareAlike' => 'CC-BY-NC-SA'; field 'Creative Commons Attribution-NonCommercial-ShareAlike 1.0 Generic License' => 'CC-BY-NC-SA-1.0'; # grant field 'Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Generic License' => 'CC-BY-NC-SA-2.0'; # grant field 'Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Generic License' => 'CC-BY-NC-SA-2.5'; # grant field 'Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License' => 'CC-BY-NC-SA-3.0'; # grant field 'Creative Commons Attribution-NonCommercial-ShareAlike 3.0 International License' => 'CC-BY-NC-SA-3.0'; # grant modern field 'Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License' => 'CC-BY-NC-SA-4.0'; # grant field 'Attribution-NonCommercial-ShareAlike 1.0' => 'CC-BY-NC-SA-1.0'; # legal field 'Attribution-NonCommercial-ShareAlike 2.0' => 'CC-BY-NC-SA-2.0'; # legal field 'Attribution-NonCommercial-ShareAlike 2.5' => 'CC-BY-NC-SA-2.5'; # legal field 'Attribution-NonCommercial-ShareAlike 3.0 Unported' => 'CC-BY-NC-SA-3.0'; # legal field 'Attribution-NonCommercial-ShareAlike 4.0 International' => 'CC-BY-NC-SA-4.0'; # legal field 'CC BY-NC-SA 1.0' => 'CC-BY-NC-SA-1.0'; # shortname field 'CC BY-NC-SA 2.0' => 'CC-BY-NC-SA-2.0'; # shortname field 'CC BY-NC-SA 2.5' => 'CC-BY-NC-SA-2.5'; # shortname field 'CC BY-NC-SA 3.0' => 'CC-BY-NC-SA-3.0'; # shortname field 'CC BY-NC-SA 4.0' => 'CC-BY-NC-SA-4.0'; # shortname field 'Attribution-NonCommercial-ShareAlike 1.0 Generic (CC BY-NC-SA 1.0)' => 'CC-BY-NC-SA-1.0'; # deed field 'Attribution-NonCommercial-ShareAlike 2.0 Generic (CC BY-NC-SA 2.0)' => 'CC-BY-NC-SA-2.0'; # deed field 'Attribution-NonCommercial-ShareAlike 2.5 Generic (CC BY-NC-SA 2.5)' => 'CC-BY-NC-SA-2.5'; # deed field 'Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)' => 'CC-BY-NC-SA-3.0'; # deed field 'Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)' => 'CC-BY-NC-SA-4.0'; # deed # Attribution-NoDerivatives field 'Creative Commons Attribution-NoDerivatives' => 'CC-BY-ND'; field 'Creative Commons Attribution-NoDerivs' => 'CC-BY-ND'; # abbrev field 'Creative Commons Attribution-NoDerivs 1.0 Generic License' => 'CC-BY-ND-1.0'; # grant field 'Creative Commons Attribution-NoDerivs 2.0 Generic License' => 'CC-BY-ND-2.0'; # grant field 'Creative Commons Attribution-NoDerivs 2.5 Generic License' => 'CC-BY-ND-2.5'; # grant field 'Creative Commons Attribution-NoDerivs 3.0 Unported License' => 'CC-BY-ND-3.0'; # grant field 'Creative Commons Attribution-NoDerivs 3.0 International License' => 'CC-BY-ND-3.0'; # grant modern field 'Creative Commons Attribution-NoDerivatives 4.0 International License' => 'CC-BY-ND-4.0'; # grant field 'Attribution-NoDerivs 1.0' => 'CC-BY-ND-1.0'; # legal field 'Attribution-NoDerivs 2.0' => 'CC-BY-ND-2.0'; # legal field 'Attribution-NoDerivs 2.5' => 'CC-BY-ND-2.5'; # legal field 'Attribution-NoDerivs 3.0 Unported' => 'CC-BY-ND-3.0'; # legal field 'Attribution-NoDerivatives 4.0 International' => 'CC-BY-ND-4.0'; # legal field 'CC BY-ND 1.0' => 'CC-BY-ND-1.0'; # shortname field 'CC BY-ND 2.0' => 'CC-BY-ND-2.0'; # shortname field 'CC BY-ND 2.5' => 'CC-BY-ND-2.5'; # shortname field 'CC BY-ND 3.0' => 'CC-BY-ND-3.0'; # shortname field 'CC BY-ND 4.0' => 'CC-BY-ND-4.0'; # shortname field 'Attribution-NoDerivs 1.0 Generic (CC BY-ND 1.0)' => 'CC-BY-ND-1.0'; # deed field 'Attribution-NoDerivs 2.0 Generic (CC BY-ND 2.0)' => 'CC-BY-ND-2.0'; # deed field 'Attribution-NoDerivs 2.5 Generic (CC BY-ND 2.5)' => 'CC-BY-ND-2.5'; # deed field 'Attribution-NoDerivs 3.0 Unported (CC BY-ND 3.0)' => 'CC-BY-ND-3.0'; # deed field 'Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0)' => 'CC-BY-ND-4.0'; # deed # Attribution-ShareAlike field 'Creative Commons Attribution-ShareAlike' => 'CC-BY-SA'; field 'Creative Commons Attribution-ShareAlike 1.0 Generic License' => 'CC-BY-SA-1.0'; # grant field 'Creative Commons Attribution-ShareAlike 2.0 Generic License' => 'CC-BY-SA-2.0'; # grant field 'Creative Commons Attribution-ShareAlike 2.5 Generic License' => 'CC-BY-SA-2.5'; # grant field 'Creative Commons Attribution-ShareAlike 3.0 Unported License' => 'CC-BY-SA-3.0'; # grant field 'Creative Commons Attribution-ShareAlike 3.0 International License' => 'CC-BY-SA-3.0'; # grant modern field 'Creative Commons Attribution-ShareAlike 4.0 International License' => 'CC-BY-SA-4.0'; # grant field 'Attribution-ShareAlike 1.0' => 'CC-BY-SA-1.0'; # legal field 'Attribution-ShareAlike 2.0' => 'CC-BY-SA-2.0'; # legal field 'Attribution-ShareAlike 2.5' => 'CC-BY-SA-2.5'; # legal field 'Attribution-ShareAlike 3.0 Unported' => 'CC-BY-SA-3.0'; # legal field 'Attribution-ShareAlike 4.0 International' => 'CC-BY-SA-4.0'; # legal field 'CC BY-SA 1.0' => 'CC-BY-SA-1.0'; # shortname field 'CC BY-SA 2.0' => 'CC-BY-SA-2.0'; # shortname field 'CC BY-SA 2.5' => 'CC-BY-SA-2.5'; # shortname field 'CC BY-SA 3.0' => 'CC-BY-SA-3.0'; # shortname field 'CC BY-SA 4.0' => 'CC-BY-SA-4.0'; # shortname field 'Attribution-ShareAlike 1.0 Generic (CC BY-SA 1.0)' => 'CC-BY-SA-1.0'; # deed field 'Attribution-ShareAlike 2.0 Generic (CC BY-SA 2.0)' => 'CC-BY-SA-2.0'; # deed field 'Attribution-ShareAlike 2.5 Generic (CC BY-SA 2.5)' => 'CC-BY-SA-2.5'; # deed field 'Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)' => 'CC-BY-SA-3.0'; # deed field 'Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)' => 'CC-BY-SA-4.0'; # deed # CC0 field 'Creative Commons CC0' => 'CC0'; field 'Creative Commons CC0 1.0' => 'CC0-1.0'; # generic field 'CC0 1.0 Universal' => 'CC0-1.0'; # legal field 'CC0 1.0' => 'CC0-1.0'; # shortname field 'CC0 1.0 Universal (CC0 1.0) Public Domain Dedication' => 'CC0-1.0'; # deed end(); }, 'coverage of Creative Commons Public licenses' ); done_testing; coverage-fedora-2.53.t000644001750001750 10735314107233261 21746 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data sources: # # # # # dirty dump (needs further work): # curl 'https://fedoraproject.org/w/index.php?title=Licensing:Main&action=edit' | perl -nE 'm{^\|([^|]+?)\s+\|\|(?:[^|]+\|\|)*?(http[^\s|]+)} and say '"\"\\t\\tfield '\$1' => '\$2'\";" | sort -t= -k2 > fedora.t # Key is Full Name, and multi-word Short Name, and IRI page/fragment, and page headline. # Value is singleword Short Name, or default name. like( license_org_metadata( 'fedora', { date => '20200819', rev => '2_53' } ), hash { # Good Licenses field '3dfx Glide License' => 'Glide'; # field '4Suite Copyright License' => ''; # field 'ASL 1.1' => ''; # short field 'Abstyles License' => 'Abstyles'; field 'Abstyles' => 'Abstyles'; # iri field 'Academic Free License' => 'AFL'; field 'Academy of Motion Picture Arts and Sciences BSD' => 'AMPAS'; field 'AMPAS BSD' => 'AMPAS'; # short field 'AMPASBSD' => 'AMPAS'; # iri field 'Adobe Systems Incorporated Source Code License Agreement' => 'Adobe'; field 'AdobeLicense' => 'Adobe'; # iri field 'Adobe License' => 'Adobe'; # ignore: default caption field 'Adobe Postscript AFM License' => 'APAFML'; field 'AdobePostscriptAFM' => 'APAFML'; # iri field 'Adobe Glyph List License' => 'Adobe-Glyph'; field 'AdobeGlyph' => 'Adobe-Glyph'; # iri field 'Affero General Public License 1.0' => 'AGPLv1'; field 'Affero General Public License 3.0' => 'AGPLv3'; field 'Affero General Public License 3.0 or later' => 'AGPLv3+'; # field # 'Affero General Public License 3.0 with Zarafa trademark exceptions' # => ''; # field 'AGPLv3 with exceptions' => ''; field 'Afmparse License' => 'Afmparse'; field 'Afmparse' => 'Afmparse'; # iri field 'Amazon Digital Services License' => 'ADSL'; field 'AmazonDigitalServicesLicense' => 'ADSL'; # iri field 'AMD\'s plpa_map.c License' => 'AMDPLPA'; field 'AMD plpa map License' => 'AMDPLPA'; # iri field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'ANTLR-PD' => 'ANTLR-PD'; # iri field 'Apache Software License 1.0' => 'Apache-1.0'; field 'ASL 1.0' => 'Apache-1.0'; # short field 'Apache Software License 1.1' => 'Apache-1.1'; field 'ASL 1.1' => 'Apache-1.1'; # short field 'Apache Software License 2.0' => 'Apache-2.0'; field 'ASL 2.0' => 'Apache-2.0'; # short # field 'App::s2p License' => 'App-s2p'; field 'Apple MIT License' => 'AML'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'APSL 2.0' => 'APSL-2.0'; # short # fiekd 'Array Input Method Public License' => 'Array' field 'Artistic (clarified)' => 'Artistic-1.0-clarified'; field 'Artistic clarified' => 'Artistic-1.0-clarified'; # short field 'ArtisticClarified' => 'Artistic-1.0-clarified'; # iri field 'Artistic 2.0' => 'Artistic-2.0'; # field 'Aspell-ru License' => 'ARL'; # field 'Aspell-ru License' => 'ARL'; # iri field 'Attribution Assurance License' => 'AAL'; field 'Bahyph License' => 'Bahyph'; field 'Bahyph' => 'Bahyph'; # iri field 'Barr License' => 'Barr'; field 'Barr' => 'Barr'; # iri field 'Beerware License' => 'Beerware'; field 'Beerware' => 'Beerware'; # iri # field 'BeOpen Open Source License Agreement Version 1' => 'BeOpen'; # field 'Bibtex License' => 'Bibtex'; field 'BitTorrent License' => 'BitTorrent'; field 'BitTorrent Open Source License' => 'BitTorrent'; # iri field 'Boost Software License' => 'Boost'; field 'Borceux license' => 'Borceux'; field 'Borceux' => 'Borceux'; # iri field 'BSD + Patent' => 'BSD-2-Clause-Patent'; field 'BSD-2-Clause-Patent' => 'BSD-2-Clause-Patent'; # iri # relaxed from more specific BSD-4-Clause-UC field 'BSD License (original)' => 'BSD-4-Clause'; field 'BSDwithAdvertising' => 'BSD-4-Clause'; # iri field 'BSD with attribution' => 'BSD-3-Clause-Attribution'; field 'BSD License (no advertising)' => 'BSD-3-Clause'; field '3ClauseBSD' => 'BSD-3-Clause'; # iri field 'BSD License (two clause)' => 'BSD-2-Clause-FreeBSD'; field '2ClauseBSD' => 'BSD-2-Clause-FreeBSD'; # iri field 'BSD Protection License' => 'BSD-Protection'; field 'BSD Protection' => 'BSD-Protection'; # iri field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL'; field 'CeCILL License v1.1' => 'CeCILL'; field 'CeCILL License v2' => 'CeCILL'; field 'CeCILL-B License' => 'CeCILL-B'; field 'CeCILL-C License' => 'CeCILL-C'; # field 'Celtx Public License (CePL)' => 'Netscape'; field 'CMU License (BSD like)' => 'MIT-CMU'; field 'CMU Style' => 'MIT-CMU'; # iri field 'CNRI License (Old Python)' => 'CNRI'; field 'Common Development Distribution License 1.0' => 'CDDL-1.0'; field 'CDDL 1.0' => 'CDDL-1.0'; # page field 'Common Development Distribution License 1.1' => 'CDDL-1.1'; field 'CDDL 1.1' => 'CDDL-1.1'; # page field 'Common Public License' => 'CPL'; field 'Condor Public License' => 'Condor'; # field 'Copyright Attribution Only' => 'CopyrightOnly'; # field 'Copyright only' => 'CopyrightOnly'; field 'CPAL License 1.0' => 'CPAL'; # field 'CP/M License' => 'CPM'; # field 'CRC32 License' => 'CRC32'; field 'Creative Commons BSD' => 'BSD-2-Clause'; field 'BSD 2-Clause License' => 'BSD-2-Clause'; # default caption field 'Creative Commons GNU GPL' => 'GPL-2'; field 'GNU General Public License, Version 2' => 'GPL-2'; # default caption field 'Creative Commons GNU LGPL' => 'LGPL-2.1'; field 'GNU Lesser General Public License, Version 2.1' => 'LGPL-2.1'; # default caption field 'Creative Commons Zero 1.0 Universal' => 'CC0'; field 'Crossword License' => 'Crossword'; field 'Crossword' => 'Crossword'; # iri field 'Cryptix General License' => 'Cryptix'; # field 'Crystal Stacker License' => 'CrystalStacker'; # field 'Crystal Stacker' => 'CrystalStacker'; field 'CUA Office Public License Version 1.0' => 'MPLv1.1'; field 'Cube License' => 'Cube'; field 'Cube' => 'Cube'; # iri # field 'diffmark license' => 'diffmark'; # field 'DO WHATEVER PUBLIC LICENSE' => 'DWPL'; field 'Do What The F*ck You Want To Public License' => 'WTFPL'; field 'WTFPL' => 'WTFPL'; # iri # field 'DOC License' => 'DOC'; # field 'Docbook MIT License' => 'DMIT'; # field 'Dotseqn License' => 'Dotseqn'; field 'DSDP License' => 'DSDP'; field 'DSDP' => 'DSDP'; # iri # field 'dvipdfm License' => 'dvipdfm'; field 'Eclipse Distribution License 1.0' => 'EDL-1.0'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'Eclipse Public License 2.0' => 'EPL-2.0'; field 'eCos License v2.0' => 'eCos'; field 'Educational Community License 1.0' => 'ECL-1.0'; field 'ECL 1.0' => 'ECL-1.0'; field 'Educational Community License 2.0' => 'ECL-2.0'; field 'ECL 2.0' => 'ECL-2.0'; # field 'eGenix.com Public License 1.1.0' => 'eGenix'; field 'Eiffel Forum License 2.0' => 'EFL-2'; field 'EFL 2.0' => 'EFL-2'; field 'enna License' => 'MIT-enna'; field 'enna' => 'MIT-enna'; field 'Enlightenment License (e16)' => 'MIT-advertising'; field 'MIT With Advertising' => 'MIT-advertising'; field 'Entessa Public License' => 'Entessa'; # field 'EPICS Open License' => 'EPICS'; field 'Erlang Public License 1.1' => 'ERPL'; field 'ErlangPublicLicense' => 'ERPL'; field 'EU Datagrid Software License' => 'EUDatagrid'; field 'EU Datagrid' => 'EUDatagrid'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'EUPL 1.1' => 'EUPL-1.1'; field 'European Union Public License 1.2' => 'EUPL-1.2'; field 'EUPL 1.2' => 'EUPL-1.2'; field 'Eurosym License' => 'Eurosym'; field 'Eurosym' => 'Eurosym'; # iri field 'Fedora Directory Server License' => '389-exception'; field 'Fair License' => 'Fair'; field 'feh License' => 'MIT-feh'; field 'feh' => 'MIT-feh'; # field 'FLTK License' => 'FLTK-exception'; # field 'Fraunhofer FDK AAC License' => 'FDK-AAC'; # field 'FreeImage Public License' => 'MPLv1.0'; field 'Freetype License' => 'FTL'; field 'FSF All Permissive license' => 'FSFAP'; field 'FSFAP' => 'FSFAP'; # iri field 'FSF Unlimited License' => 'FSFUL'; field 'FSF Unlimited License (with License Retention)' => 'FSFULLR'; # field 'Giftware License' => 'Giftware'; # field 'GL2PS License' => 'GL2PS'; # field 'Glulxe License' => 'Glulxe'; # field 'GNU General Public License (no version)' => 'GPL+'; # combo field 'GNU General Public License (no version), with Classpath exception' => ''; # combo field 'GNU General Public License (no version), with font embedding exception' => ''; field 'GNU General Public License v1.0 only' => 'GPLv1'; field 'GNU General Public License v1.0 or later' => 'GPL+'; field 'GNU General Public License v2.0 only' => 'GPLv2'; # combo field 'GNU General Public License v2.0 only, with Classpath exception' => ''; # combo field 'GNU General Public License v2.0 only, with font embedding exception' => ''; field 'GNU General Public License v2.0 or later' => 'GPLv2+'; # combo field 'GNU General Public License v2.0 or later, with Classpath exception' => ''; # combo field 'GNU General Public License v2.0 or later, with font embedding exception' => ''; field 'GNU General Public License v3.0 only' => 'GPLv3'; # combo field 'GNU General Public License v3.0 only, with Classpath exception' => ''; # combo field 'GNU General Public License v3.0 only, with font embedding exception' => ''; field 'GNU General Public License v3.0 or later' => 'GPLv3+'; # combo field 'GNU General Public License v3.0 or later, with Classpath exception' => ''; # combo field 'GNU General Public License v3.0 or later, with font embedding exception' => ''; field 'Classpath exception' => 'Classpath-exception-2.0'; # exception part field 'font embedding exception' => 'Font-exception-2.0'; # exception part # field 'GNU Lesser General Public License (no version)' => 'LGPLv2+'; # combo field 'GNU Lesser General Public License v2 (or 2.1) only' => 'LGPLv2'; # combo field 'GNU Lesser General Public License v2 (or 2.1), with exception' => ''; field 'GNU Lesser General Public License v2 (or 2.1) or later' => 'LGPLv2+'; # combo field 'GNU Lesser General Public License v2 (or 2.1) or later, with exception' => ''; field 'GNU Lesser General Public License v3.0 only' => 'LGPLv3'; # combo field 'GNU Lesser General Public License v3.0 only, with exception' => ''; field 'GNU Lesser General Public License v3.0 or later' => 'LGPLv3+'; # combo field 'GNU Lesser General Public License v3.0 or later, with exception' => ''; # field 'gnuplot License' => 'gnuplot'; # field 'Gnuplot' => 'gnuplot'; # iri # field 'Haskell Language Report License' => 'HaskellReport'; # field 'Henry Spencer Reg-Ex Library License' => 'HSRL'; field 'Historical Permission Notice and Disclaimer' => 'HPND'; field 'IBM Public License' => 'IBM'; # field 'iMatix Standard Function Library Agreement' => 'iMatix'; # field 'ImageMagick License' => 'ImageMagick'; field 'Imlib2 License' => 'Imlib2'; field 'Imlib2' => 'Imlib2'; # iri field 'Independent JPEG Group License' => 'IJG'; field 'IJG' => 'IJG'; # iri # field 'Inner Net License' => 'Inner-Net'; # field 'Intel ACPI Software License Agreement' => 'Intel-ACPI'; # field 'Intel ACPI' => 'Intel-ACPI'; # field 'Interbase Public License' => 'Interbase'; field 'ISC License (Bind, DHCP Server)' => 'ISC'; field 'ISC License' => 'ISC'; # default caption field 'Jabber Open Source License' => 'Jabber'; # field 'JasPer License' => 'JasPer'; field 'JPython License (old)' => 'JPython'; # field 'Julius License' => 'Julius'; # field 'Knuth License' => 'Knuth'; field 'LaTeX Project Public License' => 'LPPL'; # field 'Latex2e License' => 'Latex2e'; field 'Lawrence Berkeley National Labs BSD variant license' => 'BSD-3-Clause-LBNL'; field 'LBNL BSD' => 'BSD-3-Clause-LBNL'; # short field 'LBNLBSD' => 'BSD-3-Clause-LBNL'; # iri # field 'LEGO Open Source License Agreement' => 'LOSLA'; field 'Leptonica License' => 'Leptonica'; field 'Leptonica' => 'Leptonica'; # iri # field 'Lhcyr License' => 'Lhcyr'; field 'libtiff License' => 'libtiff'; field 'libtiff' => 'libtiff'; # iri field 'Lisp Library General Public License' => 'LLGPL'; # field 'Logica Open Source License' => 'Logica'; field 'Lucent Public License (Plan9)' => 'LPL'; # field 'MakeIndex License' => 'MakeIndex'; # field 'Matrix Template Library License' => 'MTLL'; # field 'mecab-ipadic license' => 'mecab-ipadic'; # field 'Metasploit Framework License (post 2006)' => ''; # field 'Metasploit Framework License' => ''; # page field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; # field 'midnight License' => 'midnight'; field 'MirOS License' => 'MirOS'; field 'MIT license (also X11)' => 'mit_new'; field 'MIT-style license, Modern Style with sublicense' => 'mit_new'; # page # field 'MIT +no-false-attribs license' => 'MITNFA'; # field 'mod_macro License' => 'mod_macro'; field 'Motosoto License' => 'Motosoto'; field 'Mozilla Public License v1.0' => 'MPLv1.0'; field 'Mozilla Public License v1.1' => 'MPLv1.1'; field 'Mozilla Public License v2.0' => 'MPLv2.0'; field 'mpich2 License' => 'mpich2'; # field 'Mup License' => 'Mup'; # field 'MX4J License' => 'ASL 1.1'; # field 'MX4J' => 'ASL 1.1'; # field 'MySQL License' => ''; field 'Naumen Public License' => 'Naumen'; field 'NCSA/University of Illinois Open Source License' => 'NCSA'; # field 'Neotonic Clearsilver License' => 'ASL 1.1'; # field 'NetCDF license' => 'NetCDF'; field 'Nethack General Public License' => 'NGPL'; field 'Netizen Open Source License' => 'NOSL'; field 'Netscape Public License' => 'Netscape'; # field 'Newmat License' => 'Newmat'; # field 'Newmat_License' => 'Newmat'; # field 'Newsletr License' => 'Newsletr'; # field 'NIST Software License' => 'NISTSL'; # field 'Nmap License' => 'Nmap'; field 'Nokia Open Source License' => 'Nokia'; # field 'No Limit Public License' => 'NLPL'; # field 'Noweb License' => 'Noweb'; # field 'NRL License' => ''; field 'Nunit License' => 'zlib-acknowledgement'; field 'Nunit' => 'zlib-acknowledgement'; # field 'Open Government License' => 'OGL'; field 'OpenLDAP License' => 'OpenLDAP'; # field 'Open Market License' => 'OML'; # field 'OpenPBS License' => 'OpenPBS'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'OSL 1.0' => 'OSL-1.0'; # short field 'Open Software License 1.1' => 'OSL1.1'; field 'OSL 1.1' => 'OSL1.1'; # short field 'Open Software License 2.0' => 'OSL-2.0'; field 'OSL 2.0' => 'OSL-2.0'; # short field 'Open Software License 2.1' => 'OSL2.1'; field 'OSL 2.1' => 'OSL2.1'; # short field 'Open Software License 3.0' => 'OSL-3.0'; field 'OSL 3.0' => 'OSL-3.0'; # short field 'OpenSSL License' => 'OpenSSL'; # field 'OReilly License' => 'OReilly'; # field 'Par License' => 'Par'; field 'Perl License' => 'Perl'; field 'the same terms as the Perl 5 programming language itself (Artistic or GPL)' => 'Perl'; # default summary # field 'GPL+ or Artistic' => 'Perl'; # field 'Perl License (variant)' => ''; # field 'GPLv2 or Artistic' => 'Perl'; # field 'Perl License (variant)' => ''; # field 'GPLv2+ or Artistic' => 'Perl'; # field 'Perl License (variant)' => ''; # field 'LGPLv2+ or Artistic' => 'Perl'; # field 'Phorum License' => ''; field 'PHP License v3.0' => 'PHP'; # field 'PlainTeX License' => 'PlainTeX'; # field 'Plexus Classworlds License' => 'Plexus'; field 'PostgreSQL License' => 'PostgreSQL'; # field 'psfrag License' => 'psfrag'; # field 'psutils License' => 'psutils'; field 'Public Domain' => 'public-domain'; field 'Python License' => 'Python'; # field 'Qhull License' => 'Qhull'; field 'Q Public License' => 'QPL'; # field 'Qwt License 1.0' => 'Qwt-exception-1.0'; # field 'QuickFix License' => ''; # field 'ASL 1.1' => ''; # field 'radvd License' => 'radvd'; # field 'Rdisc License' => 'Rdisc'; # field 'REX License' => 'REX'; # field 'Rice BSD' => 'RiceBSD'; # field 'Rice BSD License' => 'RiceBSD'; # iri # field 'Romio License' => 'Romio'; # field 'RSA License' => 'RSA'; # field 'Rsfs License' => 'Rsfs'; field 'Ruby License' => 'Ruby'; # field 'Saxpath License' => 'Saxpath'; # field 'Sequence Library License' => 'Sequence'; # field 'SequenceLibraryLicense' => 'Sequence'; # iri # field 'SCEA Shared Source License' => 'SCEA'; # field 'Scheme Widget Library (SWL) Software License Agreement' => 'SWT'; # field 'SciTech MGL Public License' => 'STMPL'; # field 'SCRIP License' => 'SCRIP'; # field 'Sendmail License' => 'Sendmail'; field 'SGI Free Software License B 2.0' => 'SGI-B-2.0'; field 'Sleepycat Software Product License' => "Sleepycat"; field 'Sleepycat' => "Sleepycat"; # iri # field 'SLIB License' => 'SLIB'; # field 'softSurfer License' => 'softSurfer'; # field 'SNIA Public License 1.1' => 'SNIA'; field 'Standard ML of New Jersey License' => 'SMLNJ'; field 'Sun Industry Standards Source License' => 'SISSL'; field 'Sun Public License' => 'SPL'; # field 'TCL/TK License' => 'TCL'; # field 'Teeworlds License' => 'Teeworlds'; # field 'Text-Tabs+Wrap License' => 'TTWL'; # field 'Thor Public License' => 'TPL'; # field 'ThorPublicLicense' => 'TPL'; # iri # field 'Threeparttable License' => 'Threeparttable'; # field 'Time::ParseDate License' => 'TPDL'; # field 'TMate Open Source License' => ''TMate; # field 'Tolua License' => 'Tolua'; # field 'TORQUE v2.5+ Software License v1.1' => 'TORQUEv1.1'; # field 'Transitive Grace Period Public Licence' => 'TGPPL'; field 'Trusster Open Source License' => 'TOSL'; # field 'Tumbolia Public License' => 'Tumbolia'; # field 'UCAR License' => 'UCAR'; # field 'Unicode Character Database Terms Of Use' => 'UCD'; field 'Unicode License' => 'Unicode'; field 'Unlicense' => 'Unlicense'; field 'The Unlicense' => 'Unlicense'; # default caption field 'Universal Permissive License' => 'UPL'; field 'UPL' => 'UPL'; # iri # field 'Vim License' => ''; # field 'Vita Nuova Liberal Source License' => 'VNLSL'; # field 'VOSTROM Public License for Open Source' => 'VOSTROM'; field 'Vovida Software License v. 1.0' => 'VSL'; field 'W3C Software Notice and License' => 'W3C'; # field 'Webmin License' => 'Webmin'; # field 'Wsuipa License' => 'Wsuipa'; # field 'wxWidgets Library License' => 'wxWidgets'; # field 'wxWindows Library License v 3.1' => 'wxWindows'; # field 'wxWindows.html' => 'wxWindows'; # iri # field 'xinetd License' => 'xinetd'; # field 'Xerox License' => 'Xerox'; # field 'XPP License' => 'xpp'; # field 'XSkat License' => 'XSkat'; field 'Yahoo Public License v 1.1' => 'YPLv1.1'; field 'Zed License' => 'Zed'; field 'Zend License v2.0' => 'Zend'; field 'Zero-Clause BSD' => '0BSD'; field 'ZeroClauseBSD' => '0BSD'; # iri field 'Zope Public License v 1.0' => 'ZPLv1.0'; field 'Zope Public License v 2.0' => 'ZPLv2.0'; field 'Zope Public License v 2.1' => 'ZPLv2.1'; field 'zlib/libpng License' => 'zlib'; field 'zlib/libpng License with Acknowledgement' => 'zlib-acknowledgement'; field 'zlib with acknowledgement' => 'zlib-acknowledgement'; # short # Bad Licenses # field '9wm License (Original)' => ''; # field 'Adaptive Public License' => ''; # field 'Agere LT Modem Driver License' => # 'Agere_LT_Modem_Driver_License'; field 'Aladdin Free Public License' => 'Aladdin'; # field 'AMAP License' => 'AMAP_License'; # field 'Amazon Software License' => ''; # field 'Apple iTunes License' => ''; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; # field 'Apple Quicktime License' => ''; # field 'Aptana Public License' => ''; field 'Artistic 1.0 (original)' => 'Artistic-1.0-Perl'; # field 'AT&T Public License' => ''; # field 'C/Migemo License' => 'CMigemo'; # field 'CACert Root Distribution License' => # 'CACert_Root_Distribution_License'; field 'CodeProject Open License (CPOL)' => 'CPOL'; # field 'Commons Clause' => 'CommonsClause'; field 'Eiffel Forum License 1.0' => 'EFL-1'; field 'Eiffel Forum License V1' => 'EFL-1'; # iri # field 'EMC2 License' => ''; field 'European Union Public License v1.0' => 'EUPL-1.0'; field 'Frameworx License' => 'Frameworx-1.0'; # field 'Frontier Artistic License' => ''; # field 'GPL for Computer Programs of the Public Administration' => ''; field 'gSOAP Public License' => 'gSOAP-1.3b'; # field 'Hacktivismo Enhanced-Source Software License Agreement' => ''; # field 'Helix DNA Technology Binary Research Use License' => ''; # field 'HP Software License Terms' => ''; # field 'IBM Sample Code License' => ''; # field 'Intel IPW3945 Daemon License' => ''; field 'Intel Open Source License' => 'Intel'; # field 'Jahia Community Source License' => ''; field 'JSON License' => 'JSON'; # field 'lha license' => ''; # field # 'License Agreement for Application Response Measurement (ARM) SDK' # => 'ApplicationResponseMeasurementSDKLicense'; # field 'Maia Mailguard License' => ''; # field 'MAME License' => ''; # field 'McRae General Public License' => ''; # field 'MeepZor Consulting Public Licence' => ''; # field 'Metasploit Framework License (pre 2006)' => # 'Metasploit_Framework_License'; # field 'Microsoft\'s Shared Source CLI/C#/Jscript License' => ''; # field 'Microsoft_Shared_Source_License' => ''; # iri field 'MITRE Collaborative Virtual Workspace License (CVW)' => 'CVW'; # field 'MSNTP License' => 'MSNTP'; # field 'mrouted license (old)' => 'mrouted'; # field 'NASA CDF License' => 'NasaCDF'; field 'NASA Open Source Agreement v1.3' => 'NASA-1.3'; field 'NASA Open Source Agreement' => 'NASA-1.3'; # iri # since 20210108 field 'Nmap Public Source License Version 0.92 (NPSL)' => ''; field 'OCLC Public Research License 2.0' => 'OCLC-2.0'; # field 'Open CASCADE Technology Public License' => ''; field 'Open Group Test Suite License' => 'OGTSL'; # field 'Open Map License' => ''; # field 'Open Motif Public End User License' => ''; field 'Open Public License' => 'OPL-1.0'; field 'Open Public License v1.0' => 'OPL-1.0'; # default caption # field 'OSGi Specification License' => ''; # field 'Paul Hsieh Derivative License' => ''; # field 'Paul Hsieh Exposition License' => ''; # field 'Pine License' => ''; # field 'qmail License' => ''; field 'Reciprocal Public License' => 'RPL'; field 'Ricoh Source Code Public License' => 'RSCPL'; # field 'Scilab License (OLD)' => 'Scilab_License_Old'; # field 'Server Side Public License v1 (SSPL)' => 'SSPL'; # too broad field 'SGI Free Software License B 1.1 or older' => ''; # field 'SGI GLX Public License 1.0' => 'GLX_Public_License'; # field 'Siren14 License Agreement' => 'Siren14_Licensing_Agreement'; # field 'Spin Commercial License' => ''; # field 'Squeak License' => ''; # field 'SystemC Open Source License' => ''; # field 'Sun Binary Code License Agreement' => ''; # field 'Sun Community Source License' => ''; # field 'Sun RPC License' => 'SunRPC'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; # field 'Terracotta Public License 1.0' => ''; field 'TrueCrypt License' => 'TrueCrypt'; # field 'TORQUE v2.5+ Software License v1.0' => ''; # field 'University of Utah Public License' => ''; # field 'University of Washington Free Fork License' => 'UofWFreeFork'; # field 'unrar license' => 'Unrar'; field 'X.Net License' => 'Xnet'; field 'Yahoo Public License 1.0' => 'YPL-1.0'; field 'Zimbra Public License 1.3' => 'Zimbra-1.3'; # Good Documentation Licenses # field 'Apple\'s Common Documentation License, Version 1.0' => 'CDL'; # field 'Common_Documentation_License' => 'CDL'; # iri field 'Creative Commons Attribution license' => 'CC-BY'; field 'Creative Commons Attribution-ShareAlike' => 'CC-BY-SA'; # field 'FreeBSD Documentation License' => 'FBSDDL'; field 'GNU Free Documentation License' => 'GFDL'; field 'GNU General Public License' => 'GPL'; # field 'IEEE and Open Group Documentation License' => 'IEEE'; # field 'Linux Documentation Project License' => 'LDPL'; # field 'Old FSF Documentation License' => 'OFSFDL'; # field 'OldFSFDocLicense' => 'OFSFDL'; # field 'Open Publication License, v1.0' => ''; # field 'Open Publication' => ''; # short # field 'Public Use License, v1.0' => 'PublicUseLicense'; # field 'Public Use' => 'PublicUseLicense'; # short # Bad Documentation Licenses # field 'Open Content License' => ''; # field 'Open Directory License' => ''; # field 'W3C Documentation License' => ''; # Good Content Licenses # duplicate field 'Creative Commons Attribution license' => 'CC-BY'; # duplicate field 'Creative Commons Attribution-ShareAlike' => 'CC-BY-SA'; field 'Creative Commons Attribution-NoDerivs' => 'CC-BY-ND'; # duplicate field 'Creative Commons Zero 1.0 Universal' => 'CC0'; # field 'Data license Germany - attribution 2.0' => 'DL-DE-BY'; # field 'Design Science License' => 'DSL'; # field 'Distributed Management Task Force License' => 'DMTF'; # field 'EFF Open Audio License v1' => 'OAL'; # field 'OpenAudioLicense' => 'OAL'; # field 'Ethymonics Free Music License' => 'EFML'; field 'Free Art License' => 'FAL'; field 'Free Art' => 'FAL'; # short # field 'GeoGratis Licence Agreement' => 'GeoGratis'; # duplicate field 'GNU General Public License' => 'GPL'; field 'Open Data Commons Public Domain Dedication and Licence' => 'PDDL-1.0'; field 'PDDL' => 'PDDL-1.0'; # iri # field 'Open Data License (GeoLite Country and GeoLite City databases)' => ''; # Bad Content Licenses # field 'CAcert Non-Related Persons Disclaimer and License' => ''; field 'Creative Commons Attribution-NonCommercial-NoDerivs' => 'CC-BY-NC-ND'; field 'Creative Commons Attribution-NonCommercial' => 'CC-BY-NC'; field 'Creative Commons Attribution-NonCommercial-ShareAlike' => 'CC-BY-NC-SA'; field 'Creative Commons Sampling Plus 1.0' => 'CC-SP-1.0'; # field 'LinuxTag Yellow OpenMusic License' => ''; # Good Font Licenses field 'SIL Open Font License 1.1' => 'OFL'; # field 'Adobe/TUG Utopia license agreement' => 'Utopia'; # field 'AMS Bluesky Font License' => 'AMS'; # field 'Arphic Public License' => 'Arphic'; # field 'Atkinson Hyperlegible Font License' => 'AHFL'; # field 'Baekmuk License' => 'Baekmuk'; # field 'Bitstream Vera Font License' => ''; # field 'Bitstream Vera' => ''; # short # field 'Charter License' => 'Charter'; # duplicate field 'Creative Commons Attribution license' => 'CC-BY'; # field 'DoubleStroke Font License' => 'DoubleStroke'; # field 'ec Font License' => 'ec'; # field 'Elvish Font License' => 'Elvish'; # field 'GUST Font License' => 'LPPL'; # field 'Hack Open Font License' => 'HOFL'; # field 'Hershey Font License' => 'Hershey'; field 'IPA Font License' => 'IPA'; # field 'Liberation Font License' => 'Liberation'; # duplicate field 'LaTeX Project Public License' => 'LPPL'; # field 'Lucida Legal Notice' => 'Lucida'; # field 'MgOpen Font License' => 'MgOpen'; # field 'mplus Font License' => 'mplus'; # field 'ParaType Font License' => 'PTFL'; # field 'Punknova Font License' => 'Punknova'; # field 'STIX Fonts User License' => 'STIX'; # field 'Wadalab Font License' => 'Wadalab'; # field 'XANO Mincho Font License' => 'XANO'; # Bad Font Licenses # field 'DIP SIPA Font License' => ''; # field 'Larabie Fonts License' => ''; # field 'Literat Font License' => ''; # field 'Ubuntu Font License' => ''; # BSD field 'a BSD-style license' => 'BSD'; # group page field 'BSD' => 'BSD'; # iri field 'BSD license' => 'BSD'; # default caption # Fedora use BSD-4-Clause-UC as proof but names are more general field 'Original BSD License' => 'BSD-4-Clause'; field 'Original BSD License (BSD with advertising)' => 'BSD-4-Clause'; # page field 'New BSD' => 'BSD-3-Clause'; field 'New BSD (no advertising, 3 clause)' => 'BSD-3-Clause'; field 'FreeBSD BSD Variant (2 clause BSD)' => 'BSD-2-Clause-FreeBSD'; field 'Academy of Motion Picture Arts and Sciences BSD Variant' => 'AMPAS'; # field 'Hybrid BSD' => ''; # field 'HybridBSD' => ''; # anchor # field 'BSD Without Notice Requirement' => ''; # field 'BSDWithoutNoticeRequirement' => ''; # variant field 'BSDThreeClauseVariant' => ''; # variant field 'BSD Three Clause Variant' => ''; # field 'VTK BSD' => ''; # variant field 'VTKBSDVariant' => ''; # variant field 'BSD-style license, Compilation Variant' => ''; # variant field 'BSD-style license, AES Variant' => ''; # variant field 'BSD-style license, jCharts Variant' => ''; # variant field 'BSD-style license, Modification Variant' => ''; # variant field 'BSD-style license, Advertising Variant' => ''; # variant field 'BSD-style license, OpenData Variant' => ''; # variant field 'BSD-style license, xvt variant' => ''; # variant field 'BSD-style license, tcp_wrappers variant' => ''; # CDDL field 'CDDL' => 'CDDL'; # group page field 'Common Development and Distribution License' => 'CDDL'; # default caption # MIT field 'an MIT-style license' => 'MIT'; field 'MIT' => 'MIT'; # group page field 'MIT license' => 'MIT'; # default caption field 'MIT-style license, Old Style' => 'mit_oldstyle'; field 'MIT (Old Style)' => 'mit_oldstyle'; # default caption field 'MIT-style license, Old Style (no advertising without permission)' => 'mit_oldstyle_permission'; field 'MIT-style license, Old Style with legal disclaimer' => 'mit_oldstyle_disclaimer'; field 'MIT (Old Style, legal disclaimer)' => 'mit_oldstyle_disclaimer'; # default caption # field 'MIT-style license, Old Style with legal disclaimer 2' => ''; # field 'MIT-style license, Old Style with legal disclaimer 3' => ''; # variant field 'MIT-style license, Old Style (Bellcore variant)' => ''; field 'MIT-style license, PostgreSQL License (MIT Variant)' => 'PostgreSQL'; # field 'MIT-style license, CMU Style' => ''; field 'MIT-style license, MLton variant' => 'SMLNJ'; field 'MIT-style license, Standard ML of New Jersey Variant' => 'SMLNJ'; field 'MIT-style license, WordNet Variant' => 'WordNet'; field 'WordNet License' => 'WordNet'; # default caption # field 'MIT-style license, Modern Style with sublicense' => ''; # field 'MIT-style license, Modern Style without sublicense (Unicode)' => ''; # variant field 'MIT-style license, Modern Variants' => ''; field 'MIT-style license, Modern style (ICU Variant)' => 'ICU'; field 'ICU License' => 'ICU'; # default caption field 'MIT-style license, feh variant' => 'MIT-feh'; field 'MIT-style license, enna variant' => 'MIT-enna'; # variant field 'MIT-style license, Thrift variant' => ''; # field 'Thrift' => ''; field 'MIT-style license, mpich2 variant' => 'mpich2'; field 'MIT-style license, Festival variant' => 'Festival'; field 'Festival' => 'Festival'; # variant field 'MIT-style license, Minimal variant' => ''; field 'MIT-style license, Another Minimal variant (found in libatomic_ops)' => 'bdwgc'; field 'Boehm GC License' => 'bdwgc'; # default caption field 'MIT-style license, Adobe Glyph List Variant' => 'Adobe-Glyph'; field 'MIT-style license, Xfig Variant' => 'mit_xfig'; field 'Xfig' => 'mit_xfig'; # short field 'MIT-style license, Hylafax Variant' => 'libtiff'; field 'Hylafax' => 'libtiff'; # variant field 'MIT-style license, DANSE Variant' => ''; field 'MIT-style license, Nuclear Variant' => 'mit_widget'; field 'MIT-style license, Epinions Variant' => 'mit_epinions'; field 'MIT-style license, OpenVision Variant' => 'mit_openvision'; field 'MIT-style license, PetSC Variant' => 'DSDP'; field 'MIT-style license, Whatever Variant' => 'mit_whatever'; field 'MIT-style license, UnixCrypt Variant' => 'mit_unixcrypt'; # variant field 'MIT-style license, UnixCrypt Variant, Variant Text' => ''; field 'MIT-style license, HP Variant' => 'mit_osf'; field 'MIT-style license, Cheusov variant' => 'STLport'; # page field 'STLport License Agreement' => 'STLport'; # default caption field 'MIT-style license, NTP variant' => 'NTP'; field 'NTP License' => 'NTP'; # default caption end(); }, 'coverage of Fedora snapshot from 2021-07-31' ); done_testing; coverage-osi.t000644001750001750 3436714107233261 20677 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; plan 1; use Regexp::Pattern::License; my %RE = %Regexp::Pattern::License::RE; # Key is either page title, # with shortname stripped. # or item names on list pages alphabetical, category, or do-not-use, # with shortname stripped. # Value is page name. my %names = map { my $key = $_; my $id = $RE{$key}{'name.alt.org.osi.synth.nogrant'} // $RE{$key}{'name.alt.org.osi'}; my $maincaption = $RE{$key}{'caption.alt.org.osi.synth.nogrant'} // $RE{$key}{'caption.alt.org.osi'} // $RE{$key}{caption}; my @altcaptions = map { $RE{$key}{$_} } ( sort grep { /^(?:(?:name|caption)\.alt\.org\.osi\.misc\.|summary\.alt\.org\.osi)/ and !/\.version\./ } keys %{ $RE{$key} } ); map { $_ => $id } $maincaption, @altcaptions; } grep { grep {/^name\.alt\.org\.osi(?:\.synth\.nogrant)?$/} keys %{ $RE{$_} } } keys %RE; like( \%names, hash { field '0-clause BSD License' => '0BSD'; # list field '0-clause BSD license' => '0BSD'; # list in BSD sublist field '1-clause BSD License' => 'BSD-1-Clause'; field 'The 2-Clause BSD License' => 'BSD-2-Clause'; field '2-clause BSD License' => 'BSD-2-Clause'; # list field '2-clause BSD license' => 'BSD-2-Clause'; # category list field 'The 3-Clause BSD License' => 'BSD-3-Clause'; field '3-clause BSD License' => 'BSD-3-Clause'; # list field '3-clause BSD license' => 'BSD-3-Clause'; # category list field 'Academic Free License ("AFL") v. 3.0' => 'AFL-3.0'; field 'Academic Free License 3.0' => 'AFL-3.0'; # list field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'Adaptive Public License' => 'APL-1.0'; # list field 'Apache Software License, version 1.1' => 'Apache-1.1'; field 'Apache Software License 1.1' => 'Apache-1.1'; # list field 'Apache License, Version 2.0' => 'Apache-2.0'; field 'Apache License 2.0' => 'Apache-2.0'; # list field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Apple Public Source License' => 'APSL-2.0'; # category list field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic license 1.0' => 'Artistic-1.0'; # list field 'Artistic license, version 1.0' => 'Artistic-1.0'; # do-not-use list field 'Artistic License 2.0' => 'Artistic-2.0'; field 'Artistic license 2.0' => 'Artistic-2.0'; # category list field 'Artistic License 1.0 (Perl)' => 'Artistic-1.0-Perl'; # unlisted field 'Attribution Assurance License' => 'AAL'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'Boost Software License' => 'BSL-1.0'; # list field 'BSD-2-Clause-Patent' => 'BSDplusPatent'; field 'BSD-3-Clause-LBNL' => 'BSD-3-Clause-LBNL'; # list in BSD sublist field 'BSD+Patent' => 'BSDplusPatent'; # field 'CERN Open Hardware License Version 2 - Permissive' => 'CERN-OHL-P'; # field 'CERN Open Hardware License Version 2 - Weakly Reciprocal' => # 'CERN-OHL-W'; # field 'CERN Open Hardware License Version 2 - Strongly Reciprocl' => # 'CERN-OHL-S'; field 'Cea Cnrs Inria Logiciel Libre License, version 2.1' => 'CECILL-2.1'; field 'CeCILL License 2.1' => 'CECILL-2.1'; # list field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Public Attribution License Version 1.0' => 'CPAL-1.0'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; # list field 'Common Public License 1.0' => 'CPL-1.0'; field 'Common Public License, version 1.0' => 'CPL-1.0'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Cryptographic Autonomy License version 1.0' => 'CAL-1.0'; field 'Cryptographic Autonomy License v.1.0' => 'CAL-1.0'; # list field 'CUA Office Public License' => 'CUA-OPL-1.0'; field 'CUA Office Public License Version 1.0' => 'CUA-OPL-1.0'; # list field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'Eclipse Public License version 2.0' => 'EPL-2.0'; field 'Eclipse Public License 2.0' => 'EPL-2.0'; # list field 'eCos License version 2.0' => 'eCos-2.0'; field 'Educational Community License, Version 1.0' => 'ECL-1.0'; field 'Educational Community License, Version 2.0' => 'ECL-2.0'; field 'The Eiffel Forum License, version 1' => 'EFL-1.0'; field 'Eiffel Forum License V1.0' => 'EFL-1.0'; # list field 'Eiffel Forum License, version 1.0' => 'EFL-1.0'; # do-not-use list field 'Eiffel Forum License, Version 2' => 'EFL-2.0'; field 'Eiffel Forum License V2.0' => 'EFL-2.0'; # list field 'Entessa Public License' => 'Entessa'; field 'Entessa Public License Version. 1.0' => 'Entessa'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License, version 1.2' => 'EUPL-1.2'; field 'European Union Public License 1.2' => 'EUPL-1.2'; # list field 'European Union Public License' => 'EUPL-1.2'; # category list field 'Fair License' => 'Fair'; field 'Frameworx License 1.0' => 'Frameworx-1.0'; field 'Frameworx License' => 'Frameworx-1.0'; # list field 'Free Public License 1.0.0' => '0BSD'; # list field 'FPL-1.0.0' => '0BSD'; # shortname field 'GNU Affero General Public License version 3' => 'AGPL-3.0'; field 'GNU General Public License' => 'gpl-license'; # category list field 'GPL' => 'gpl-license'; # shortname field 'GNU General Public License version 2' => 'GPL-2.0'; field 'GNU General Public License, version 2' => 'GPL-2.0'; # category list field 'GNU General Public License version 3' => 'GPL-3.0'; field 'GNU General Public License, version 3' => 'GPL-3.0'; # category list field 'GNU LGPL' => 'lgpl-license'; field 'LGPL' => 'lgpl-license'; # shortname field 'GNU Lesser General Public License' => 'lgpl-license'; # category list field 'GNU Library General Public License version 2' => 'LGPL-2.0'; # lgpl-license list field 'GNU Lesser General Public License version 2.1' => 'LGPL-2.1'; field 'GNU Lesser General Public License version 3' => 'LGPL-3.0'; field 'Historical Permission Notice and Disclaimer' => 'HPND'; field 'IBM Public License Version 1.0' => 'IPL-1.0'; field 'IBM Public License 1.0' => 'IPL-1.0'; # list field 'The Intel Open Source License' => 'Intel'; field 'Intel Open Source License' => 'Intel'; # list field 'IPA Font License' => 'IPA'; field 'ISC License' => 'ISC'; field 'Jabber Open Source License' => 'jabberpl'; field 'LaTeX Project Public License, Version 1.3c' => 'LPPL-1.3c'; field 'LaTeX Project Public License 1.3c' => 'LPPL-1.3c'; # list field 'Lawrence Berkeley National Labs BSD Variant License' => 'BSD-3-Clause-LBNL'; field 'Licence Libre du Québec – Permissive (LiLiQ-P) version 1.1' => 'LiLiQ-P-1.1'; field 'Licence Libre du Québec – Réciprocité (LiLiQ-R) version 1.1' => 'LiLiQ-R-1.1'; field 'Licence Libre du Québec – Réciprocité forte (LiLiQ-R+) version 1.1' => 'LiLiQ-Rplus-1.1'; field 'Lucent Public License, Plan 9, version 1.0' => 'LPL-1.0'; field 'Lucent Public License ("Plan9"), version 1.0' => 'LPL-1.0'; # list field 'Lucent Public License Version 1.02' => 'LPL-1.02'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; field 'MirOS Licence' => 'MirOS'; field 'The MIT License' => 'MIT'; field 'MIT License' => 'MIT'; # list field 'MIT license' => 'MIT'; # category list field 'MIT No Attribution License' => 'MIT-0'; field 'The MITRE Collaborative Virtual Workspace License' => 'CVW'; field 'MITRE Collaborative Virtual Workspace License' => 'CVW'; # list field 'Motosoto Open Source License - Version 0.9.1' => 'Motosoto'; field 'Motosoto License' => 'Motosoto'; # list field 'The Mozilla Public License (MPL), version 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; # list field 'Mozilla Public License, version 1.0' => 'MPL-1.0'; # do-not-use list field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License, version 1.1' => 'MPL-1.1'; # do-not-use list field 'Mozilla Public License 2.0' => 'MPL-2.0'; field 'Mulan Permissive Software License v2' => 'MulanPSL-2.0'; field 'MulanPSL - 2.0' => 'MulanPSL-2.0'; # page shortname field 'Multics License' => 'Multics'; field 'NASA Open Source Agreement v1.3' => 'NASA-1.3'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; # list field 'NAUMEN Public License' => 'Naumen'; field 'Naumen Public License' => 'Naumen'; # list field 'The Nethack General Public License' => 'NGPL'; field 'Nethack General Public License' => 'NGPL'; # list field 'Nokia Open Source License Version 1.0a' => 'Nokia'; field 'Nokia Open Source License' => 'Nokia'; # list field 'NOKIA' => 'Nokia'; # page shortname field 'The Non-Profit Open Software License version 3.0' => 'NPOSL-3.0'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; # list field 'NTP License' => 'NTP'; field 'The OCLC Research Public License 2.0 License' => 'OCLC-2.0'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; # list field 'The Open Group Test Suite License' => 'OGTSL'; field 'Open Group Test Suite License' => 'OGTSL'; # list field 'Open Software License, version 1.0' => 'OSL-1.0'; field 'Open Software License 1.0' => 'OSL-1.0'; # list field 'The Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 2.1' => 'OSL-2.1'; # list field 'The Open Software License 3.0' => 'OSL-3.0'; field 'Open Software License 3.0' => 'OSL-3.0'; # list field 'Open Software License' => 'OSL-3.0'; # category list field 'OpenLDAP Public License Version 2.8' => 'OLDAP-2.8'; field 'OSET Public License version 2.1' => 'OPL-2.1'; field 'OSET-PL-2.1' => 'OPL-2.1'; # category list shortname field 'The PHP License 3.0' => 'PHP-3.0'; field 'PHP License 3.0' => 'PHP-3.0'; # list field 'PHP License 3.01' => 'PHP-3.01'; field 'The PostgreSQL Licence' => 'PostgreSQL'; field 'The PostgreSQL License' => 'PostgreSQL'; # list field 'Python License' => 'Python-2.0'; field 'overall Python license' => 'Python-2.0'; field 'The CNRI portion of the multi-part Python License' => 'CNRI-Python'; field 'CNRI portion of Python License' => 'CNRI-Python'; # shortname field 'CNRI Python license' => 'CNRI-Python'; # list field 'The Q Public License Version' => 'QPL-1.0'; field 'Q Public License' => 'QPL-1.0'; # list field 'RealNetworks Public Source License Version 1.0' => 'RPSL-1.0'; field 'RealNetworks Public Source License V1.0' => 'RPSL-1.0'; # list field 'Reciprocal Public License, version 1.1' => 'RPL-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'The Ricoh Source Code Public License' => 'RSCPL'; field 'Ricoh Source Code Public License' => 'RSCPL'; # list field 'SIL OPEN FONT LICENSE' => 'OFL-1.1'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; # list field 'Simple Public License' => 'SimPL-2.0'; field 'Simple Public License 2.0' => 'SimPL-2.0'; # list field 'Simple-2.0' => 'SimPL-2.0'; # category list link field 'The Sleepycat License' => 'Sleepycat'; field 'Sleepycat License' => 'Sleepycat'; # list field 'Sun Industry Standards Source License' => 'SISSL'; field 'Sun Public License, Version 1.0' => 'SPL-1.0'; field 'Sun Public License 1.0' => 'SPL-1.0'; # list field 'The Sybase Open Source Licence' => 'Watcom-1.0'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; # list field 'The Universal Permissive License (UPL), Version 1.0' => 'UPL'; field 'Universal Permissive License' => 'UPL'; # list field 'The University of Illinois/NCSA Open Source License' => 'NCSA'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; # list field 'Upstream Compatibility License v1.0' => 'UCL-1.0'; field 'Unicode, Inc. License Agreement - Data Files and Software' => 'Unicode-DFS-2016'; field 'Unicode Data Files and Software License' => 'Unicode-DFS-2016'; # list field 'Unicode License Agreement - Data Files and Software' => 'Unicode-DFS-2016'; # category list field 'The Unlicense' => 'Unlicense'; field 'The Vovida Software License v. 1.0' => 'VSL-1.0'; field 'Vovida Software License v. 1.0' => 'VSL-1.0'; # list field 'The W3C® SOFTWARE NOTICE AND LICENSE' => 'W3C'; field 'W3C License' => 'W3C'; # list field 'The wxWindows Library Licence' => 'WXwindows'; field 'wxWindows Library License' => 'WXwindows'; # list field 'The X.Net, Inc. License' => 'Xnet'; field 'X.Net License' => 'Xnet'; # list field 'Zero-Clause BSD' => '0BSD'; field 'Zero-Clause BSD / Free Public License 1.0.0' => '0BSD' ; # old name: https://web.archive.org/web/20210128111142/https://opensource.org/licenses/0BSD field 'The Zope Public License Ver.2.0' => 'ZPL-2.0'; field 'Zope Public License 2.0' => 'ZPL-2.0'; # list field 'Zope Public License 2.o' => 'ZPL-2.0'; # category list field 'The zlib/libpng License' => 'Zlib'; field 'zlib/libpng license' => 'Zlib'; # list end(); }, 'coverage of (plus unlisted entries gpl-license lgpl-license LGPL-2.0)' ); done_testing; coverage-perl.t000644001750001750 354514107233261 21021 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; plan 1; use Regexp::Pattern::License; my %RE = %Regexp::Pattern::License::RE; my %names = map { $RE{$_}{'name.alt.org.perl.synth.nogrant'} // $RE{$_}{'name.alt.org.perl'} => $RE{$_}{'caption.alt.org.perl.synth.nogrant'} // $RE{$_}{'caption.alt.org.perl'} // $RE{$_}{caption} } grep { grep {/^name\.alt\.org\.perl(?:\.synth\.nogrant)?$/} keys %{ $RE{$_} } } keys %RE; is \%names, hash { field agpl_3 => 'GNU Affero General Public License, Version 3'; field apache_1_1 => 'Apache Software License, Version 1.1'; field apache_2_0 => 'Apache License, Version 2.0'; field artistic_1 => 'Artistic License, (Version 1)'; field artistic_2 => 'Artistic License, Version 2.0'; field bsd => 'BSD License (three-clause)'; field freebsd => 'FreeBSD License (two-clause)'; field gfdl_1_2 => 'GNU Free Documentation License, Version 1.2'; field gfdl_1_3 => 'GNU Free Documentation License, Version 1.3'; field gpl_1 => 'GNU General Public License, Version 1'; field gpl_2 => 'GNU General Public License, Version 2'; field gpl_3 => 'GNU General Public License, Version 3'; field lgpl_2_1 => 'GNU Lesser General Public License, Version 2.1'; field lgpl_3_0 => 'GNU Lesser General Public License, Version 3.0'; field mit => 'MIT (aka X11) License'; field mozilla_1_0 => 'Mozilla Public License, Version 1.0'; field mozilla_1_1 => 'Mozilla Public License, Version 1.1'; field openssl => 'OpenSSL License'; field perl_5 => 'The Perl 5 License (Artistic 1 & GPL 1 or later)'; field qpl_1_0 => 'Q Public License, Version 1.0'; field ssleay => 'Original SSLeay License'; field sun => 'Sun Internet Standards Source License (SISSL)'; field zlib => 'zlib License'; end(); }, 'coverage of ', \%names; done_testing; coverage-spdx-1.16.t000644001750001750 3013614107233261 21434 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data source: like( license_org_metadata( 'spdx', { date => '20120620', rev => '1_16' } ), hash { field 'Attribution Assurance License' => 'AAL'; field 'Academic Free License v1.1' => 'AFL-1.1'; field 'Academic Free License v1.2' => 'AFL-1.2'; field 'Academic Free License v2.0' => 'AFL-2.0'; field 'Academic Free License v2.1' => 'AFL-2.1'; field 'Academic Free License v3.0' => 'AFL-3.0'; field 'GNU Affero General Public License v3.0' => 'AGPL-3.0'; field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'Apache License 1.0' => 'Apache-1.0'; field 'Apache License 1.1' => 'Apache-1.1'; field 'Apache License 2.0' => 'Apache-2.0'; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic License 2.0' => 'Artistic-2.0'; field 'BSD 2-clause "Simplified" License' => 'BSD-2-Clause'; field 'BSD 2-clause "FreeBSD" License' => 'BSD-2-Clause-FreeBSD'; field 'BSD 2-clause "NetBSD" License' => 'BSD-2-Clause-NetBSD'; field 'BSD 3-clause "New" or "Revised" License' => 'BSD-3-Clause'; field 'BSD 4-clause "Original" or "Old" License' => 'BSD-4-Clause'; field 'BSD-4-Clause (University of California-Specific)' => 'BSD-4-Clause-UC'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'CeCILL Free Software License Agreement v1.0' => 'CECILL-1.0'; field 'CeCILL Free Software License Agreement v1.1' => 'CECILL-1.1'; field 'CeCILL Free Software License Agreement v2.0' => 'CECILL-2.0'; field 'CeCILL-B Free Software License Agreement' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement' => 'CECILL-C'; field 'Clarified Artistic License' => 'ClArtistic'; field 'CNRI Python License' => 'CNRI-Python'; field 'CNRI Python Open Source GPL Compatible License Agreement' => 'CNRI-Python-GPL-Compatible'; field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Development and Distribution License 1.1' => 'CDDL-1.1'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; field 'Common Public License 1.0' => 'CPL-1.0'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Creative Commons Attribution 1.0' => 'CC-BY-1.0'; field 'Creative Commons Attribution 2.0' => 'CC-BY-2.0'; field 'Creative Commons Attribution 2.5' => 'CC-BY-2.5'; field 'Creative Commons Attribution 3.0' => 'CC-BY-3.0'; field 'Creative Commons Attribution No Derivatives 1.0' => 'CC-BY-ND-1.0'; field 'Creative Commons Attribution No Derivatives 2.0' => 'CC-BY-ND-2.0'; field 'Creative Commons Attribution No Derivatives 2.5' => 'CC-BY-ND-2.5'; field 'Creative Commons Attribution No Derivatives 3.0' => 'CC-BY-ND-3.0'; field 'Creative Commons Attribution Non Commercial 1.0' => 'CC-BY-NC-1.0'; field 'Creative Commons Attribution Non Commercial 2.0' => 'CC-BY-NC-2.0'; field 'Creative Commons Attribution Non Commercial 2.5' => 'CC-BY-NC-2.5'; field 'Creative Commons Attribution Non Commercial 3.0' => 'CC-BY-NC-3.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 1.0' => 'CC-BY-NC-ND-1.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.0' => 'CC-BY-NC-ND-2.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.5' => 'CC-BY-NC-ND-2.5'; field 'Creative Commons Attribution Non Commercial No Derivatives 3.0' => 'CC-BY-NC-ND-3.0'; field 'Creative Commons Attribution Non Commercial Share Alike 1.0' => 'CC-BY-NC-SA-1.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.0' => 'CC-BY-NC-SA-2.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.5' => 'CC-BY-NC-SA-2.5'; field 'Creative Commons Attribution Non Commercial Share Alike 3.0' => 'CC-BY-NC-SA-3.0'; field 'Creative Commons Attribution Share Alike 1.0' => 'CC-BY-SA-1.0'; field 'Creative Commons Attribution Share Alike 2.0' => 'CC-BY-SA-2.0'; field 'Creative Commons Attribution Share Alike 2.5' => 'CC-BY-SA-2.5'; field 'Creative Commons Attribution Share Alike 3.0' => 'CC-BY-SA-3.0'; field 'Creative Commons Zero v1.0 Universal' => 'CC0-1.0'; field 'CUA Office Public License v1.0' => 'CUA-OPL-1.0'; field 'eCos license version 2.0' => 'eCos-2.0'; field 'Educational Community License v1.0' => 'ECL-1.0'; field 'Educational Community License v2.0' => 'ECL-2.0'; field 'Eiffel Forum License v1.0' => 'EFL-1.0'; field 'Eiffel Forum License v2.0' => 'EFL-2.0'; field 'Entessa Public License v1.0' => 'Entessa'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'Erlang Public License v1.1' => 'ErlPL-1.1'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License 1.0' => 'EUPL-1.0'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'Fair License' => 'Fair'; field 'Frameworx Open License 1.0' => 'Frameworx-1.0'; field 'GNU Free Documentation License v1.1' => 'GFDL-1.1'; field 'GNU Free Documentation License v1.2' => 'GFDL-1.2'; field 'GNU Free Documentation License v1.3' => 'GFDL-1.3'; field 'GNU General Public License v1.0 only' => 'GPL-1.0'; field 'GNU General Public License v1.0 or later' => 'GPL-1.0+'; field 'GNU General Public License v2.0 only' => 'GPL-2.0'; field 'GNU General Public License v2.0 or later' => 'GPL-2.0+'; field 'GNU General Public License v2.0 w/Autoconf exception' => 'GPL-2.0-with-autoconf-exception'; field 'GNU General Public License v2.0 w/Bison exception' => 'GPL-2.0-with-bison-exception'; field 'GNU General Public License v2.0 w/Classpath exception' => 'GPL-2.0-with-classpath-exception'; field 'GNU General Public License v2.0 w/Font exception' => 'GPL-2.0-with-font-exception'; field 'GNU General Public License v2.0 w/GCC Runtime Library exception' => 'GPL-2.0-with-GCC-exception'; field 'GNU General Public License v3.0 only' => 'GPL-3.0'; field 'GNU General Public License v3.0 or later' => 'GPL-3.0+'; field 'GNU General Public License v3.0 w/Autoconf exception' => 'GPL-3.0-with-autoconf-exception'; field 'GNU General Public License v3.0 w/GCC Runtime Library exception' => 'GPL-3.0-with-GCC-exception'; field 'gSOAP Public License v1.3b' => 'gSOAP-1.3b'; field 'Historic Permission Notice and Disclaimer' => 'HPND'; field 'IPA Font License' => 'IPA'; field 'IBM Public License v1.0' => 'IPL-1.0'; field 'ISC License' => 'ISC'; field 'GNU Library General Public License v2 only' => 'LGPL-2.0'; field 'GNU Library General Public License v2 or later' => 'LGPL-2.0+'; field 'GNU Lesser General Public License v2.1 only' => 'LGPL-2.1'; field 'GNU Lesser General Public License v2.1 or later' => 'LGPL-2.1+'; field 'GNU Lesser General Public License v3.0 only' => 'LGPL-3.0'; field 'GNU Lesser General Public License v3.0 or later' => 'LGPL-3.0+'; field 'libpng License' => 'Libpng'; field 'Lucent Public License Version 1.0 (Plan9)' => 'LPL-1.0'; field 'Lucent Public License v1.02' => 'LPL-1.02'; field 'LaTeX Project Public License v1.0' => 'LPPL-1.0'; field 'LaTeX Project Public License v1.1' => 'LPPL-1.1'; field 'LaTeX Project Public License v1.2' => 'LPPL-1.2'; field 'LaTeX Project Public License v1.3c' => 'LPPL-1.3c'; field 'MirOS Licence' => 'MirOS'; field 'MIT License' => 'MIT'; field 'Motosoto License' => 'Motosoto'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0' => 'MPL-2.0'; # quirk field 'Mozilla Public License 2.0' => 'MPL-2.0-no-copyleft-exception'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; field 'Multics License' => 'Multics'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; field 'Naumen Public License' => 'Naumen'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; field 'Nethack General Public License' => 'NGPL'; field 'Nokia Open Source License' => 'Nokia'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; field 'NTP License' => 'NTP'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; field 'ODC Open Database License v1.0' => 'ODbL-1.0'; field 'SIL Open Font License 1.0' => 'OFL-1.0'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; field 'Open Group Test Suite License' => 'OGTSL'; field 'OpenLDAP Public License v2.8' => 'OLDAP-2.8'; field 'OpenSSL License' => 'OpenSSL'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'Open Software License 2.0' => 'OSL-2.0'; field 'Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 3.0' => 'OSL-3.0'; field 'ODC Public Domain Dedication & License 1.0' => 'PDDL-1.0'; field 'PHP License v3.0' => 'PHP-3.0'; field 'PHP LIcense v3.01' => 'PHP-3.01'; field 'PostgreSQL License' => 'PostgreSQL'; field 'Python License 2.0' => 'Python-2.0'; field 'Q Public License 1.0' => 'QPL-1.0'; field 'Red Hat eCos Public License v1.1' => 'RHeCos-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'RealNetworks Public Source License v1.0' => 'RPSL-1.0'; field 'Ricoh Source Code Public License' => 'RSCPL'; field 'Ruby License' => 'Ruby'; field 'Sax Public Domain Notice' => 'SAX-PD'; field 'Simple Public License 2.0' => 'SimPL-2.0'; field 'Sleepycat License' => 'Sleepycat'; field 'Sun Public License v1.0' => 'SPL-1.0'; field 'SugarCRM Public License v1.1.3' => 'SugarCRM-1.1.3'; field 'Vovida Software License v1.0' => 'VSL-1.0'; field 'W3C Software and Notice License' => 'W3C'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; field 'wxWindows Library License' => 'WXwindows'; field 'XFree86 License 1.1' => 'XFree86-1.1'; field 'X.Net License' => 'Xnet'; field 'Yahoo! Public License v1.0' => 'YPL-1.0'; field 'Yahoo! Public License v1.1' => 'YPL-1.1'; field 'Zimbra Public License v1.3' => 'Zimbra-1.3'; field 'zlib License' => 'Zlib'; field 'Zope Public License 1.1' => 'ZPL-1.1'; field 'Zope Public License 2.0' => 'ZPL-2.0'; field 'Zope Public License 2.1' => 'ZPL-2.1'; # quirks: duplicate names field 'Mozilla Public License 2.0 (no copyleft exception)' => 'MPL-2.0-no-copyleft-exception'; end(); }, 'coverage of SPDX 1.16, released 2012-06-20' ); done_testing; coverage-spdx-1.17.t000644001750001750 3463014107233261 21440 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data source: like( license_org_metadata( 'spdx', { date => '20130117', rev => '1_17' } ), hash { field 'Attribution Assurance License' => 'AAL'; field 'Academic Free License v1.1' => 'AFL-1.1'; field 'Academic Free License v1.2' => 'AFL-1.2'; field 'Academic Free License v2.0' => 'AFL-2.0'; field 'Academic Free License v2.1' => 'AFL-2.1'; field 'Academic Free License v3.0' => 'AFL-3.0'; field 'GNU Affero General Public License v3.0' => 'AGPL-3.0'; field 'Aladdin Free Public License' => 'Aladdin'; field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'Apache License 1.0' => 'Apache-1.0'; field 'Apache License 1.1' => 'Apache-1.1'; field 'Apache License 2.0' => 'Apache-2.0'; field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic License 2.0' => 'Artistic-2.0'; field 'BitTorrent Open Source License v1.0' => 'BitTorrent-1.0'; field 'BitTorrent Open Source License v1.1' => 'BitTorrent-1.1'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'BSD 2-clause "Simplified" License' => 'BSD-2-Clause'; field 'BSD 2-clause FreeBSD License' => 'BSD-2-Clause-FreeBSD'; field 'BSD 2-clause NetBSD License' => 'BSD-2-Clause-NetBSD'; field 'BSD 3-clause "New" or "Revised" License' => 'BSD-3-Clause'; field 'BSD 2-clause "Clear" License' => 'BSD-3-Clause-Clear'; field 'BSD 4-clause "Original" or "Old" License' => 'BSD-4-Clause'; field 'BSD-4-Clause (University of California-Specific)' => 'BSD-4-Clause-UC'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Creative Commons Attribution 1.0' => 'CC-BY-1.0'; field 'Creative Commons Attribution 2.0' => 'CC-BY-2.0'; field 'Creative Commons Attribution 2.5' => 'CC-BY-2.5'; field 'Creative Commons Attribution 3.0' => 'CC-BY-3.0'; field 'Creative Commons Attribution No Derivatives 1.0' => 'CC-BY-ND-1.0'; field 'Creative Commons Attribution No Derivatives 2.0' => 'CC-BY-ND-2.0'; field 'Creative Commons Attribution No Derivatives 2.5' => 'CC-BY-ND-2.5'; field 'Creative Commons Attribution No Derivatives 3.0' => 'CC-BY-ND-3.0'; field 'Creative Commons Attribution Non Commercial 1.0' => 'CC-BY-NC-1.0'; field 'Creative Commons Attribution Non Commercial 2.0' => 'CC-BY-NC-2.0'; field 'Creative Commons Attribution Non Commercial 2.5' => 'CC-BY-NC-2.5'; field 'Creative Commons Attribution Non Commercial 3.0' => 'CC-BY-NC-3.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 1.0' => 'CC-BY-NC-ND-1.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.0' => 'CC-BY-NC-ND-2.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.5' => 'CC-BY-NC-ND-2.5'; field 'Creative Commons Attribution Non Commercial No Derivatives 3.0' => 'CC-BY-NC-ND-3.0'; field 'Creative Commons Attribution Non Commercial Share Alike 1.0' => 'CC-BY-NC-SA-1.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.0' => 'CC-BY-NC-SA-2.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.5' => 'CC-BY-NC-SA-2.5'; field 'Creative Commons Attribution Non Commercial Share Alike 3.0' => 'CC-BY-NC-SA-3.0'; field 'Creative Commons Attribution Share Alike 1.0' => 'CC-BY-SA-1.0'; field 'Creative Commons Attribution Share Alike 2.0' => 'CC-BY-SA-2.0'; field 'Creative Commons Attribution Share Alike 2.5' => 'CC-BY-SA-2.5'; field 'Creative Commons Attribution Share Alike 3.0' => 'CC-BY-SA-3.0'; field 'Creative Commons Zero v1.0 Universal' => 'CC0-1.0'; field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Development and Distribution License 1.1' => 'CDDL-1.1'; field 'CeCILL Free Software License Agreement v1.0' => 'CECILL-1.0'; field 'CeCILL Free Software License Agreement v1.1' => 'CECILL-1.1'; field 'CeCILL Free Software License Agreement v2.0' => 'CECILL-2.0'; field 'CeCILL-B Free Software License Agreement' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement' => 'CECILL-C'; field 'Clarified Artistic License' => 'ClArtistic'; field 'CNRI Python License' => 'CNRI-Python'; field 'CNRI Python Open Source GPL Compatible License Agreement' => 'CNRI-Python-GPL-Compatible'; field 'Condor Public License v1.1' => 'Condor-1.1'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; field 'Common Public License 1.0' => 'CPL-1.0'; field 'CUA Office Public License v1.0' => 'CUA-OPL-1.0'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'eCos license version 2.0' => 'eCos-2.0'; field 'Educational Community License v1.0' => 'ECL-1.0'; field 'Educational Community License v2.0' => 'ECL-2.0'; field 'Eiffel Forum License v1.0' => 'EFL-1.0'; field 'Eiffel Forum License v2.0' => 'EFL-2.0'; field 'Entessa Public License v1.0' => 'Entessa'; field 'Erlang Public License v1.1' => 'ErlPL-1.1'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License 1.0' => 'EUPL-1.0'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'Fair License' => 'Fair'; field 'Frameworx Open License 1.0' => 'Frameworx-1.0'; field 'Freetype Project License' => 'FTL'; field 'GNU Free Documentation License v1.1' => 'GFDL-1.1'; field 'GNU Free Documentation License v1.2' => 'GFDL-1.2'; field 'GNU Free Documentation License v1.3' => 'GFDL-1.3'; field 'GNU General Public License v1.0 only' => 'GPL-1.0'; field 'GNU General Public License v1.0 or later' => 'GPL-1.0+'; field 'GNU General Public License v2.0 only' => 'GPL-2.0'; field 'GNU General Public License v2.0 or later' => 'GPL-2.0+'; field 'GNU General Public License v2.0 w/Autoconf exception' => 'GPL-2.0-with-autoconf-exception'; field 'GNU General Public License v2.0 w/Bison exception' => 'GPL-2.0-with-bison-exception'; field 'GNU General Public License v2.0 w/Classpath exception' => 'GPL-2.0-with-classpath-exception'; field 'GNU General Public License v2.0 w/Font exception' => 'GPL-2.0-with-font-exception'; field 'GNU General Public License v2.0 w/GCC Runtime Library exception' => 'GPL-2.0-with-GCC-exception'; field 'GNU General Public License v3.0 only' => 'GPL-3.0'; field 'GNU General Public License v3.0 or later' => 'GPL-3.0+'; field 'GNU General Public License v3.0 w/Autoconf exception' => 'GPL-3.0-with-autoconf-exception'; field 'GNU General Public License v3.0 w/GCC Runtime Library exception' => 'GPL-3.0-with-GCC-exception'; field 'gSOAP Public License v1.3b' => 'gSOAP-1.3b'; field 'Historic Permission Notice and Disclaimer' => 'HPND'; field 'Independent JPEG Group License' => 'IJG'; field 'Imlib2 License' => 'Imlib2'; field 'Intel Open Source License' => 'Intel'; field 'IPA Font License' => 'IPA'; field 'IBM Public License v1.0' => 'IPL-1.0'; field 'ISC License' => 'ISC'; field 'JSON License' => 'JSON'; field 'GNU Library General Public License v2 only' => 'LGPL-2.0'; field 'GNU Library General Public License v2 or later' => 'LGPL-2.0+'; field 'GNU Lesser General Public License v2.1 only' => 'LGPL-2.1'; field 'GNU Lesser General Public License v2.1 or later' => 'LGPL-2.1+'; field 'GNU Lesser General Public License v3.0 only' => 'LGPL-3.0'; field 'GNU Lesser General Public License v3.0 or later' => 'LGPL-3.0+'; field 'libpng License' => 'Libpng'; field 'Lucent Public License v1.02' => 'LPL-1.02'; field 'Lucent Public License Version 1.0' => 'LPL-1.0'; field 'LaTeX Project Public License 1.3a' => 'LPPL-1.3a'; field 'LaTeX Project Public License v1.0' => 'LPPL-1.0'; field 'LaTeX Project Public License v1.1' => 'LPPL-1.1'; field 'LaTeX Project Public License v1.2' => 'LPPL-1.2'; field 'LaTeX Project Public License v1.3c' => 'LPPL-1.3c'; field 'MirOS Licence' => 'MirOS'; field 'MIT License' => 'MIT'; field 'Motosoto License' => 'Motosoto'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0' => 'MPL-2.0'; field 'Mozilla Public License 2.0 (no copyleft exception)' => 'MPL-2.0-no-copyleft-exception'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; field 'Multics License' => 'Multics'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; field 'Naumen Public License' => 'Naumen'; field 'Net Boolean Public License v1' => 'NBPL-1.0'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; field 'Nethack General Public License' => 'NGPL'; field 'Nokia Open Source License' => 'Nokia'; field 'Netizen Open Source License' => 'NOSL'; field 'Netscape Public License v1.0' => 'NPL-1.0'; field 'Netscape Public License v1.1' => 'NPL-1.1'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; field 'NTP License' => 'NTP'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; field 'ODC Open Database License v1.0' => 'ODbL-1.0'; field 'SIL Open Font License 1.0' => 'OFL-1.0'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; field 'Open Group Test Suite License' => 'OGTSL'; field 'Open LDAP Public License 2.2.2' => 'OLDAP-2.2.2'; field 'Open LDAP Public License v1.1' => 'OLDAP-1.1'; field 'Open LDAP Public License v1.2' => 'OLDAP-1.2'; field 'Open LDAP Public License v1.3' => 'OLDAP-1.3'; field 'Open LDAP Public License v1.4' => 'OLDAP-1.4'; field 'Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)' => 'OLDAP-2.0'; field 'Open LDAP Public License v2.0.1' => 'OLDAP-2.0.1'; field 'Open LDAP Public License v2.1' => 'OLDAP-2.1'; field 'Open LDAP Public License v2.2' => 'OLDAP-2.2'; field 'Open LDAP Public License v2.2.1' => 'OLDAP-2.2.1'; field 'Open LDAP Public License v2.3' => 'OLDAP-2.3'; field 'Open LDAP Public License v2.4' => 'OLDAP-2.4'; field 'Open LDAP Public License v2.5' => 'OLDAP-2.5'; field 'Open LDAP Public License v2.6' => 'OLDAP-2.6'; field 'Open LDAP Public License v2.7' => 'OLDAP-2.7'; field 'OpenLDAP Public License v2.8' => 'OLDAP-2.8'; field 'OpenSSL License' => 'OpenSSL'; field 'Open Public License v1.0' => 'OPL-1.0'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'Open Software License 2.0' => 'OSL-2.0'; field 'Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 3.0' => 'OSL-3.0'; field 'ODC Public Domain Dedication & License 1.0' => 'PDDL-1.0'; field 'PHP License v3.0' => 'PHP-3.0'; field 'PHP LIcense v3.01' => 'PHP-3.01'; field 'PostgreSQL License' => 'PostgreSQL'; field 'Python License 2.0' => 'Python-2.0'; field 'Q Public License 1.0' => 'QPL-1.0'; field 'Red Hat eCos Public License v1.1' => 'RHeCos-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'RealNetworks Public Source License v1.0' => 'RPSL-1.0'; field 'Ricoh Source Code Public License' => 'RSCPL'; field 'Ruby License' => 'Ruby'; field 'Sax Public Domain Notice' => 'SAX-PD'; field 'SGI Free Software License B v1.0' => 'SGI-B-1.0'; field 'SGI Free Software License B v1.1' => 'SGI-B-1.1'; field 'SGI Free Software License B v2.0' => 'SGI-B-2.0'; field 'Simple Public License 2.0' => 'SimPL-2.0'; field 'Sun Industry Standards Source License' => 'SISSL'; field 'Sleepycat License' => 'Sleepycat'; field 'Standard ML of New Jersey License' => 'SMLNJ'; field 'Sun Public License v1.0' => 'SPL-1.0'; field 'SugarCRM Public License v1.1.3' => 'SugarCRM-1.1.3'; field 'Vovida Software License v1.0' => 'VSL-1.0'; field 'W3C Software and Notice License' => 'W3C'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; field 'Do What The F*ck You Want To Public License' => 'WTFPL'; field 'wxWindows Library License' => 'WXwindows'; field 'X11 License' => 'X11'; field 'XFree86 License 1.1' => 'XFree86-1.1'; field 'X.Net License' => 'Xnet'; field 'Yahoo! Public License v1.0' => 'YPL-1.0'; field 'Yahoo! Public License v1.1' => 'YPL-1.1'; field 'Zimbra Public License v1.3' => 'Zimbra-1.3'; field 'zlib License' => 'Zlib'; field 'Zope Public License 1.1' => 'ZPL-1.1'; field 'Zope Public License 2.0' => 'ZPL-2.0'; field 'Zope Public License 2.1' => 'ZPL-2.1'; end(); }, 'coverage of SPDX 1.17, released 2013-01-17' ); done_testing; coverage-spdx-1.18.t000644001750001750 3536014107233261 21442 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data source: like( license_org_metadata( 'spdx', { date => '20130410', rev => '1_18' } ), hash { field 'Attribution Assurance License' => 'AAL'; field 'Academic Free License v1.1' => 'AFL-1.1'; field 'Academic Free License v1.2' => 'AFL-1.2'; field 'Academic Free License v2.0' => 'AFL-2.0'; field 'Academic Free License v2.1' => 'AFL-2.1'; field 'Academic Free License v3.0' => 'AFL-3.0'; field 'GNU Affero General Public License v1.0' => 'AGPL-1.0'; field 'GNU Affero General Public License v3.0' => 'AGPL-3.0'; field 'Aladdin Free Public License' => 'Aladdin'; field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'Apache License 1.0' => 'Apache-1.0'; field 'Apache License 1.1' => 'Apache-1.1'; field 'Apache License 2.0' => 'Apache-2.0'; field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic License 2.0' => 'Artistic-2.0'; field 'BitTorrent Open Source License v1.0' => 'BitTorrent-1.0'; field 'BitTorrent Open Source License v1.1' => 'BitTorrent-1.1'; field 'BSD 2-clause "Simplified" License' => 'BSD-2-Clause'; field 'BSD 2-clause FreeBSD License' => 'BSD-2-Clause-FreeBSD'; field 'BSD 2-clause NetBSD License' => 'BSD-2-Clause-NetBSD'; field 'BSD 3-clause "New" or "Revised" License' => 'BSD-3-Clause'; field 'BSD 3-clause Clear License' => 'BSD-3-Clause-Clear'; field 'BSD 4-clause "Original" or "Old" License' => 'BSD-4-Clause'; field 'BSD-4-Clause (University of California-Specific)' => 'BSD-4-Clause-UC'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Creative Commons Attribution 1.0' => 'CC-BY-1.0'; field 'Creative Commons Attribution 2.0' => 'CC-BY-2.0'; field 'Creative Commons Attribution 2.5' => 'CC-BY-2.5'; field 'Creative Commons Attribution 3.0' => 'CC-BY-3.0'; field 'Creative Commons Attribution No Derivatives 1.0' => 'CC-BY-ND-1.0'; field 'Creative Commons Attribution No Derivatives 2.0' => 'CC-BY-ND-2.0'; field 'Creative Commons Attribution No Derivatives 2.5' => 'CC-BY-ND-2.5'; field 'Creative Commons Attribution No Derivatives 3.0' => 'CC-BY-ND-3.0'; field 'Creative Commons Attribution Non Commercial 1.0' => 'CC-BY-NC-1.0'; field 'Creative Commons Attribution Non Commercial 2.0' => 'CC-BY-NC-2.0'; field 'Creative Commons Attribution Non Commercial 2.5' => 'CC-BY-NC-2.5'; field 'Creative Commons Attribution Non Commercial 3.0' => 'CC-BY-NC-3.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 1.0' => 'CC-BY-NC-ND-1.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.0' => 'CC-BY-NC-ND-2.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.5' => 'CC-BY-NC-ND-2.5'; field 'Creative Commons Attribution Non Commercial No Derivatives 3.0' => 'CC-BY-NC-ND-3.0'; field 'Creative Commons Attribution Non Commercial Share Alike 1.0' => 'CC-BY-NC-SA-1.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.0' => 'CC-BY-NC-SA-2.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.5' => 'CC-BY-NC-SA-2.5'; field 'Creative Commons Attribution Non Commercial Share Alike 3.0' => 'CC-BY-NC-SA-3.0'; field 'Creative Commons Attribution Share Alike 1.0' => 'CC-BY-SA-1.0'; field 'Creative Commons Attribution Share Alike 2.0' => 'CC-BY-SA-2.0'; field 'Creative Commons Attribution Share Alike 2.5' => 'CC-BY-SA-2.5'; field 'Creative Commons Attribution Share Alike 3.0' => 'CC-BY-SA-3.0'; field 'Creative Commons Zero v1.0 Universal' => 'CC0-1.0'; field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Development and Distribution License 1.1' => 'CDDL-1.1'; field 'CeCILL Free Software License Agreement v1.0' => 'CECILL-1.0'; field 'CeCILL Free Software License Agreement v1.1' => 'CECILL-1.1'; field 'CeCILL Free Software License Agreement v2.0' => 'CECILL-2.0'; field 'CeCILL-B Free Software License Agreement' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement' => 'CECILL-C'; field 'Clarified Artistic License' => 'ClArtistic'; field 'CNRI Python License' => 'CNRI-Python'; field 'CNRI Python Open Source GPL Compatible License Agreement' => 'CNRI-Python-GPL-Compatible'; field 'Condor Public License v1.1' => 'Condor-1.1'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; field 'Common Public License 1.0' => 'CPL-1.0'; field 'Code Project Open License 1.02' => 'CPOL-1.02'; field 'CUA Office Public License v1.0' => 'CUA-OPL-1.0'; field 'Deutsche Freie Software Lizenz' => 'D-FSL-1.0'; field 'Educational Community License v1.0' => 'ECL-1.0'; field 'Educational Community License v2.0' => 'ECL-2.0'; field 'eCos license version 2.0' => 'eCos-2.0'; field 'Eiffel Forum License v1.0' => 'EFL-1.0'; field 'Eiffel Forum License v2.0' => 'EFL-2.0'; field 'Entessa Public License v1.0' => 'Entessa'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'Erlang Public License v1.1' => 'ErlPL-1.1'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License 1.0' => 'EUPL-1.0'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'Fair License' => 'Fair'; field 'Frameworx Open License 1.0' => 'Frameworx-1.0'; field 'Freetype Project License' => 'FTL'; field 'GNU Free Documentation License v1.1' => 'GFDL-1.1'; field 'GNU Free Documentation License v1.2' => 'GFDL-1.2'; field 'GNU Free Documentation License v1.3' => 'GFDL-1.3'; field 'GNU General Public License v1.0 only' => 'GPL-1.0'; field 'GNU General Public License v1.0 or later' => 'GPL-1.0+'; field 'GNU General Public License v2.0 only' => 'GPL-2.0'; field 'GNU General Public License v2.0 or later' => 'GPL-2.0+'; field 'GNU General Public License v2.0 w/Autoconf exception' => 'GPL-2.0-with-autoconf-exception'; field 'GNU General Public License v2.0 w/Bison exception' => 'GPL-2.0-with-bison-exception'; field 'GNU General Public License v2.0 w/Classpath exception' => 'GPL-2.0-with-classpath-exception'; field 'GNU General Public License v2.0 w/Font exception' => 'GPL-2.0-with-font-exception'; field 'GNU General Public License v2.0 w/GCC Runtime Library exception' => 'GPL-2.0-with-GCC-exception'; field 'GNU General Public License v3.0 only' => 'GPL-3.0'; field 'GNU General Public License v3.0 or later' => 'GPL-3.0+'; field 'GNU General Public License v3.0 w/Autoconf exception' => 'GPL-3.0-with-autoconf-exception'; field 'GNU General Public License v3.0 w/GCC Runtime Library exception' => 'GPL-3.0-with-GCC-exception'; field 'gSOAP Public License v1.3b' => 'gSOAP-1.3b'; field 'GNU Library General Public License v2 only' => 'LGPL-2.0'; field 'GNU Library General Public License v2 or later' => 'LGPL-2.0+'; field 'GNU Lesser General Public License v2.1 only' => 'LGPL-2.1'; field 'GNU Lesser General Public License v2.1 or later' => 'LGPL-2.1+'; field 'GNU Lesser General Public License v3.0 only' => 'LGPL-3.0'; field 'GNU Lesser General Public License v3.0 or later' => 'LGPL-3.0+'; field 'Historic Permission Notice and Disclaimer' => 'HPND'; field 'Independent JPEG Group License' => 'IJG'; field 'Imlib2 License' => 'Imlib2'; field 'Intel Open Source License' => 'Intel'; field 'IPA Font License' => 'IPA'; field 'IBM Public License v1.0' => 'IPL-1.0'; field 'ISC License' => 'ISC'; field 'JSON License' => 'JSON'; field 'libpng License' => 'Libpng'; field 'Lucent Public License v1.02' => 'LPL-1.02'; field 'Lucent Public License Version 1.0' => 'LPL-1.0'; field 'LaTeX Project Public License 1.3a' => 'LPPL-1.3a'; field 'LaTeX Project Public License v1.0' => 'LPPL-1.0'; field 'LaTeX Project Public License v1.1' => 'LPPL-1.1'; field 'LaTeX Project Public License v1.2' => 'LPPL-1.2'; field 'LaTeX Project Public License v1.3c' => 'LPPL-1.3c'; field 'MirOS Licence' => 'MirOS'; field 'MIT License' => 'MIT'; field 'Motosoto License' => 'Motosoto'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0' => 'MPL-2.0'; field 'Mozilla Public License 2.0 (no copyleft exception)' => 'MPL-2.0-no-copyleft-exception'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; field 'Multics License' => 'Multics'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; field 'Naumen Public License' => 'Naumen'; field 'Net Boolean Public License v1' => 'NBPL-1.0'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; field 'Nethack General Public License' => 'NGPL'; field 'Nokia Open Source License' => 'Nokia'; field 'Netizen Open Source License' => 'NOSL'; field 'Netscape Public License v1.0' => 'NPL-1.0'; field 'Netscape Public License v1.1' => 'NPL-1.1'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; field 'NTP License' => 'NTP'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; field 'ODC Open Database License v1.0' => 'ODbL-1.0'; field 'SIL Open Font License 1.0' => 'OFL-1.0'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; field 'Open Group Test Suite License' => 'OGTSL'; field 'Open LDAP Public License 2.2.2' => 'OLDAP-2.2.2'; field 'Open LDAP Public License v1.1' => 'OLDAP-1.1'; field 'Open LDAP Public License v1.2' => 'OLDAP-1.2'; field 'Open LDAP Public License v1.3' => 'OLDAP-1.3'; field 'Open LDAP Public License v1.4' => 'OLDAP-1.4'; field 'Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)' => 'OLDAP-2.0'; field 'Open LDAP Public License v2.0.1' => 'OLDAP-2.0.1'; field 'Open LDAP Public License v2.1' => 'OLDAP-2.1'; field 'Open LDAP Public License v2.2' => 'OLDAP-2.2'; field 'Open LDAP Public License v2.2.1' => 'OLDAP-2.2.1'; field 'Open LDAP Public License v2.3' => 'OLDAP-2.3'; field 'Open LDAP Public License v2.4' => 'OLDAP-2.4'; field 'Open LDAP Public License v2.5' => 'OLDAP-2.5'; field 'Open LDAP Public License v2.6' => 'OLDAP-2.6'; field 'Open LDAP Public License v2.7' => 'OLDAP-2.7'; field 'OpenLDAP Public License v2.8' => 'OLDAP-2.8'; field 'OpenSSL License' => 'OpenSSL'; field 'Open Public License v1.0' => 'OPL-1.0'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'Open Software License 2.0' => 'OSL-2.0'; field 'Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 3.0' => 'OSL-3.0'; field 'ODC Public Domain Dedication & License 1.0' => 'PDDL-1.0'; field 'PHP License v3.0' => 'PHP-3.0'; field 'PHP LIcense v3.01' => 'PHP-3.01'; field 'PostgreSQL License' => 'PostgreSQL'; field 'Python License 2.0' => 'Python-2.0'; field 'Q Public License 1.0' => 'QPL-1.0'; field 'Red Hat eCos Public License v1.1' => 'RHeCos-1.1'; field 'Reciprocal Public License 1.1' => 'RPL-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'RealNetworks Public Source License v1.0' => 'RPSL-1.0'; field 'Ricoh Source Code Public License' => 'RSCPL'; field 'Ruby License' => 'Ruby'; field 'Sax Public Domain Notice' => 'SAX-PD'; field 'SGI Free Software License B v1.0' => 'SGI-B-1.0'; field 'SGI Free Software License B v1.1' => 'SGI-B-1.1'; field 'SGI Free Software License B v2.0' => 'SGI-B-2.0'; field 'Simple Public License 2.0' => 'SimPL-2.0'; field 'Sun Industry Standards Source License' => 'SISSL'; field 'Sleepycat License' => 'Sleepycat'; field 'Standard ML of New Jersey License' => 'SMLNJ'; field 'Sun Public License v1.0' => 'SPL-1.0'; field 'SugarCRM Public License v1.1.3' => 'SugarCRM-1.1.3'; field 'Vovida Software License v1.0' => 'VSL-1.0'; field 'W3C Software and Notice License' => 'W3C'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; field 'Do What The F*ck You Want To Public License' => 'WTFPL'; field 'wxWindows Library License' => 'WXwindows'; field 'X11 License' => 'X11'; field 'XFree86 License 1.1' => 'XFree86-1.1'; field 'X.Net License' => 'Xnet'; field 'Yahoo! Public License v1.0' => 'YPL-1.0'; field 'Yahoo! Public License v1.1' => 'YPL-1.1'; field 'Zimbra Public License v1.3' => 'Zimbra-1.3'; field 'zlib License' => 'Zlib'; field 'Zope Public License 1.1' => 'ZPL-1.1'; field 'Zope Public License 2.0' => 'ZPL-2.0'; field 'Zope Public License 2.1' => 'ZPL-2.1'; end(); }, 'coverage of SPDX 1.18, releases 2013-04-10' ); done_testing; coverage-spdx-1.19.t000644001750001750 3561114107233261 21442 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data source: like( license_org_metadata( 'spdx', { date => '20130912', rev => '1_19' } ), hash { field 'Academic Free License v1.1' => 'AFL-1.1'; field 'Academic Free License v1.2' => 'AFL-1.2'; field 'Academic Free License v2.0' => 'AFL-2.0'; field 'Academic Free License v2.1' => 'AFL-2.1'; field 'Academic Free License v3.0' => 'AFL-3.0'; field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'Aladdin Free Public License' => 'Aladdin'; field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'Apache License 1.0' => 'Apache-1.0'; field 'Apache License 1.1' => 'Apache-1.1'; field 'Apache License 2.0' => 'Apache-2.0'; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic License 1.0 w/clause 8' => 'Artistic-1.0-cl8'; field 'Artistic License 1.0 (Perl)' => 'Artistic-1.0-Perl'; field 'Artistic License 2.0' => 'Artistic-2.0'; field 'Attribution Assurance License' => 'AAL'; field 'BitTorrent Open Source License v1.0' => 'BitTorrent-1.0'; field 'BitTorrent Open Source License v1.1' => 'BitTorrent-1.1'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'BSD 2-clause "Simplified" License' => 'BSD-2-Clause'; field 'BSD 2-clause FreeBSD License' => 'BSD-2-Clause-FreeBSD'; field 'BSD 2-clause NetBSD License' => 'BSD-2-Clause-NetBSD'; field 'BSD 3-clause "New" or "Revised" License' => 'BSD-3-Clause'; field 'BSD 3-clause Clear License' => 'BSD-3-Clause-Clear'; field 'BSD 4-clause "Original" or "Old" License' => 'BSD-4-Clause'; field 'BSD-4-Clause (University of California-Specific)' => 'BSD-4-Clause-UC'; field 'CeCILL Free Software License Agreement v1.0' => 'CECILL-1.0'; field 'CeCILL Free Software License Agreement v1.1' => 'CECILL-1.1'; field 'CeCILL Free Software License Agreement v2.0' => 'CECILL-2.0'; field 'CeCILL-B Free Software License Agreement' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement' => 'CECILL-C'; field 'Clarified Artistic License' => 'ClArtistic'; field 'CNRI Python License' => 'CNRI-Python'; field 'CNRI Python Open Source GPL Compatible License Agreement' => 'CNRI-Python-GPL-Compatible'; field 'Code Project Open License 1.02' => 'CPOL-1.02'; field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Development and Distribution License 1.1' => 'CDDL-1.1'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; field 'Common Public License 1.0' => 'CPL-1.0'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Condor Public License v1.1' => 'Condor-1.1'; field 'Creative Commons Attribution 1.0' => 'CC-BY-1.0'; field 'Creative Commons Attribution 2.0' => 'CC-BY-2.0'; field 'Creative Commons Attribution 2.5' => 'CC-BY-2.5'; field 'Creative Commons Attribution 3.0' => 'CC-BY-3.0'; field 'Creative Commons Attribution No Derivatives 1.0' => 'CC-BY-ND-1.0'; field 'Creative Commons Attribution No Derivatives 2.0' => 'CC-BY-ND-2.0'; field 'Creative Commons Attribution No Derivatives 2.5' => 'CC-BY-ND-2.5'; field 'Creative Commons Attribution No Derivatives 3.0' => 'CC-BY-ND-3.0'; field 'Creative Commons Attribution Non Commercial 1.0' => 'CC-BY-NC-1.0'; field 'Creative Commons Attribution Non Commercial 2.0' => 'CC-BY-NC-2.0'; field 'Creative Commons Attribution Non Commercial 2.5' => 'CC-BY-NC-2.5'; field 'Creative Commons Attribution Non Commercial 3.0' => 'CC-BY-NC-3.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 1.0' => 'CC-BY-NC-ND-1.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.0' => 'CC-BY-NC-ND-2.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.5' => 'CC-BY-NC-ND-2.5'; field 'Creative Commons Attribution Non Commercial No Derivatives 3.0' => 'CC-BY-NC-ND-3.0'; field 'Creative Commons Attribution Non Commercial Share Alike 1.0' => 'CC-BY-NC-SA-1.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.0' => 'CC-BY-NC-SA-2.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.5' => 'CC-BY-NC-SA-2.5'; field 'Creative Commons Attribution Non Commercial Share Alike 3.0' => 'CC-BY-NC-SA-3.0'; field 'Creative Commons Attribution Share Alike 1.0' => 'CC-BY-SA-1.0'; field 'Creative Commons Attribution Share Alike 2.0' => 'CC-BY-SA-2.0'; field 'Creative Commons Attribution Share Alike 2.5' => 'CC-BY-SA-2.5'; field 'Creative Commons Attribution Share Alike 3.0' => 'CC-BY-SA-3.0'; field 'Creative Commons Zero v1.0 Universal' => 'CC0-1.0'; field 'CUA Office Public License v1.0' => 'CUA-OPL-1.0'; field 'Deutsche Freie Software Lizenz' => 'D-FSL-1.0'; field 'Do What The F*ck You Want To Public License' => 'WTFPL'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'eCos license version 2.0' => 'eCos-2.0'; field 'Educational Community License v1.0' => 'ECL-1.0'; field 'Educational Community License v2.0' => 'ECL-2.0'; field 'Eiffel Forum License v1.0' => 'EFL-1.0'; field 'Eiffel Forum License v2.0' => 'EFL-2.0'; field 'Entessa Public License v1.0' => 'Entessa'; field 'Erlang Public License v1.1' => 'ErlPL-1.1'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License 1.0' => 'EUPL-1.0'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'Fair License' => 'Fair'; field 'Frameworx Open License 1.0' => 'Frameworx-1.0'; field 'Freetype Project License' => 'FTL'; field 'GNU Affero General Public License v1.0' => 'AGPL-1.0'; field 'GNU Affero General Public License v3.0' => 'AGPL-3.0'; field 'GNU Free Documentation License v1.1' => 'GFDL-1.1'; field 'GNU Free Documentation License v1.2' => 'GFDL-1.2'; field 'GNU Free Documentation License v1.3' => 'GFDL-1.3'; field 'GNU General Public License v1.0 only' => 'GPL-1.0'; field 'GNU General Public License v1.0 or later' => 'GPL-1.0+'; field 'GNU General Public License v2.0 only' => 'GPL-2.0'; field 'GNU General Public License v2.0 or later' => 'GPL-2.0+'; field 'GNU General Public License v2.0 w/Autoconf exception' => 'GPL-2.0-with-autoconf-exception'; field 'GNU General Public License v2.0 w/Bison exception' => 'GPL-2.0-with-bison-exception'; field 'GNU General Public License v2.0 w/Classpath exception' => 'GPL-2.0-with-classpath-exception'; field 'GNU General Public License v2.0 w/Font exception' => 'GPL-2.0-with-font-exception'; field 'GNU General Public License v2.0 w/GCC Runtime Library exception' => 'GPL-2.0-with-GCC-exception'; field 'GNU General Public License v3.0 only' => 'GPL-3.0'; field 'GNU General Public License v3.0 or later' => 'GPL-3.0+'; field 'GNU General Public License v3.0 w/Autoconf exception' => 'GPL-3.0-with-autoconf-exception'; field 'GNU General Public License v3.0 w/GCC Runtime Library exception' => 'GPL-3.0-with-GCC-exception'; field 'GNU Lesser General Public License v2.1 only' => 'LGPL-2.1'; field 'GNU Lesser General Public License v2.1 or later' => 'LGPL-2.1+'; field 'GNU Lesser General Public License v3.0 only' => 'LGPL-3.0'; field 'GNU Lesser General Public License v3.0 or later' => 'LGPL-3.0+'; field 'GNU Library General Public License v2 only' => 'LGPL-2.0'; field 'GNU Library General Public License v2 or later' => 'LGPL-2.0+'; field 'gSOAP Public License v1.3b' => 'gSOAP-1.3b'; field 'Historic Permission Notice and Disclaimer' => 'HPND'; field 'IBM PowerPC Initialization and Boot Software' => 'IBM-pibs'; field 'IBM Public License v1.0' => 'IPL-1.0'; field 'Imlib2 License' => 'Imlib2'; field 'Independent JPEG Group License' => 'IJG'; field 'Intel Open Source License' => 'Intel'; field 'IPA Font License' => 'IPA'; field 'ISC License' => 'ISC'; field 'JSON License' => 'JSON'; field 'LaTeX Project Public License 1.3a' => 'LPPL-1.3a'; field 'LaTeX Project Public License v1.0' => 'LPPL-1.0'; field 'LaTeX Project Public License v1.1' => 'LPPL-1.1'; field 'LaTeX Project Public License v1.2' => 'LPPL-1.2'; field 'LaTeX Project Public License v1.3c' => 'LPPL-1.3c'; field 'libpng License' => 'Libpng'; field 'Lucent Public License v1.02' => 'LPL-1.02'; field 'Lucent Public License Version 1.0' => 'LPL-1.0'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; field 'MirOS Licence' => 'MirOS'; field 'MIT License' => 'MIT'; field 'Motosoto License' => 'Motosoto'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0' => 'MPL-2.0'; field 'Mozilla Public License 2.0 (no copyleft exception)' => 'MPL-2.0-no-copyleft-exception'; field 'Multics License' => 'Multics'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; field 'Naumen Public License' => 'Naumen'; field 'Net Boolean Public License v1' => 'NBPL-1.0'; field 'Nethack General Public License' => 'NGPL'; field 'Netizen Open Source License' => 'NOSL'; field 'Netscape Public License v1.0' => 'NPL-1.0'; field 'Netscape Public License v1.1' => 'NPL-1.1'; field 'Nokia Open Source License' => 'Nokia'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; field 'NTP License' => 'NTP'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; field 'ODC Open Database License v1.0' => 'ODbL-1.0'; field 'ODC Public Domain Dedication & License 1.0' => 'PDDL-1.0'; field 'Open Group Test Suite License' => 'OGTSL'; field 'Open LDAP Public License 2.2.2' => 'OLDAP-2.2.2'; field 'Open LDAP Public License v1.1' => 'OLDAP-1.1'; field 'Open LDAP Public License v1.2' => 'OLDAP-1.2'; field 'Open LDAP Public License v1.3' => 'OLDAP-1.3'; field 'Open LDAP Public License v1.4' => 'OLDAP-1.4'; field 'Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)' => 'OLDAP-2.0'; field 'Open LDAP Public License v2.0.1' => 'OLDAP-2.0.1'; field 'Open LDAP Public License v2.1' => 'OLDAP-2.1'; field 'Open LDAP Public License v2.2' => 'OLDAP-2.2'; field 'Open LDAP Public License v2.2.1' => 'OLDAP-2.2.1'; field 'Open LDAP Public License v2.3' => 'OLDAP-2.3'; field 'Open LDAP Public License v2.4' => 'OLDAP-2.4'; field 'Open LDAP Public License v2.5' => 'OLDAP-2.5'; field 'Open LDAP Public License v2.6' => 'OLDAP-2.6'; field 'Open LDAP Public License v2.7' => 'OLDAP-2.7'; field 'Open Public License v1.0' => 'OPL-1.0'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'Open Software License 2.0' => 'OSL-2.0'; field 'Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 3.0' => 'OSL-3.0'; field 'OpenLDAP Public License v2.8' => 'OLDAP-2.8'; field 'OpenSSL License' => 'OpenSSL'; field 'PHP License v3.0' => 'PHP-3.0'; field 'PHP License v3.01' => 'PHP-3.01'; field 'PostgreSQL License' => 'PostgreSQL'; field 'Python License 2.0' => 'Python-2.0'; field 'Q Public License 1.0' => 'QPL-1.0'; field 'RealNetworks Public Source License v1.0' => 'RPSL-1.0'; field 'Reciprocal Public License 1.1' => 'RPL-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'Red Hat eCos Public License v1.1' => 'RHeCos-1.1'; field 'Ricoh Source Code Public License' => 'RSCPL'; field 'Ruby License' => 'Ruby'; field 'Sax Public Domain Notice' => 'SAX-PD'; field 'SGI Free Software License B v1.0' => 'SGI-B-1.0'; field 'SGI Free Software License B v1.1' => 'SGI-B-1.1'; field 'SGI Free Software License B v2.0' => 'SGI-B-2.0'; field 'SIL Open Font License 1.0' => 'OFL-1.0'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; field 'Simple Public License 2.0' => 'SimPL-2.0'; field 'Sleepycat License' => 'Sleepycat'; field 'Standard ML of New Jersey License' => 'SMLNJ'; field 'SugarCRM Public License v1.1.3' => 'SugarCRM-1.1.3'; field 'Sun Industry Standards Source License v1.1' => 'SISSL'; field 'Sun Industry Standards Source License v1.2' => 'SISSL-1.2'; field 'Sun Public License v1.0' => 'SPL-1.0'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; field 'Vovida Software License v1.0' => 'VSL-1.0'; field 'W3C Software Notice and License' => 'W3C'; field 'wxWindows Library License' => 'WXwindows'; field 'X.Net License' => 'Xnet'; field 'X11 License' => 'X11'; field 'XFree86 License 1.1' => 'XFree86-1.1'; field 'Yahoo! Public License v1.0' => 'YPL-1.0'; field 'Yahoo! Public License v1.1' => 'YPL-1.1'; field 'Zimbra Public License v1.3' => 'Zimbra-1.3'; field 'zlib License' => 'Zlib'; field 'Zope Public License 1.1' => 'ZPL-1.1'; field 'Zope Public License 2.0' => 'ZPL-2.0'; field 'Zope Public License 2.1' => 'ZPL-2.1'; field 'The Unlicense' => 'Unlicense'; end(); }, 'coverage of SPDX 1.19, git tagged 2013-09-12' ); done_testing; coverage-spdx-1.20.t000644001750001750 5023514107233261 21431 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data source: like( license_org_metadata( 'spdx', { date => '20140807', rev => '1_20' } ), hash { field '3dfx Glide License' => 'Glide'; field 'Abstyles License' => 'Abstyles'; field 'Academic Free License v1.1' => 'AFL-1.1'; field 'Academic Free License v1.2' => 'AFL-1.2'; field 'Academic Free License v2.0' => 'AFL-2.0'; field 'Academic Free License v2.1' => 'AFL-2.1'; field 'Academic Free License v3.0' => 'AFL-3.0'; field 'Academy of Motion Picture Arts and Sciences BSD' => 'AMPAS'; field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'Adobe Glyph List License' => 'Adobe-Glyph'; field 'Adobe Postscript AFM License' => 'APAFML'; field 'Adobe Systems Incorporated Source Code License Agreement' => 'Adobe-2006'; field 'Affero General Public License v1.0' => 'AGPL-1.0'; field 'Afmparse License' => 'Afmparse'; field 'Aladdin Free Public License' => 'Aladdin'; field 'Amazon Digital Services License' => 'ADSL'; field 'AMD\'s plpa_map.c License' => 'AMDPLPA'; field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'Apache License 1.0' => 'Apache-1.0'; field 'Apache License 1.1' => 'Apache-1.1'; field 'Apache License 2.0' => 'Apache-2.0'; field 'Apple MIT License' => 'AML'; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic License 1.0 (Perl)' => 'Artistic-1.0-Perl'; field 'Artistic License 1.0 w/clause 8' => 'Artistic-1.0-cl8'; field 'Artistic License 2.0' => 'Artistic-2.0'; field 'Attribution Assurance License' => 'AAL'; field 'Bahyph License' => 'Bahyph'; field 'Barr License' => 'Barr'; field 'Beerware License' => 'Beerware'; field 'BitTorrent Open Source License v1.0' => 'BitTorrent-1.0'; field 'BitTorrent Open Source License v1.1' => 'BitTorrent-1.1'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'Borceux license' => 'Borceux'; field 'BSD 2-clause "Simplified" License' => 'BSD-2-Clause'; field 'BSD 2-clause FreeBSD License' => 'BSD-2-Clause-FreeBSD'; field 'BSD 2-clause NetBSD License' => 'BSD-2-Clause-NetBSD'; field 'BSD 3-clause "New" or "Revised" License' => 'BSD-3-Clause'; field 'BSD 3-clause Clear License' => 'BSD-3-Clause-Clear'; field 'BSD 4-clause "Original" or "Old" License' => 'BSD-4-Clause'; field 'BSD Protection License' => 'BSD-Protection'; field 'BSD with attribution' => 'BSD-3-Clause-Attribution'; field 'BSD-4-Clause (University of California-Specific)' => 'BSD-4-Clause-UC'; field 'bzip2 and libbzip2 License v1.0.5' => 'bzip2-1.0.5'; field 'bzip2 and libbzip2 License v1.0.6' => 'bzip2-1.0.6'; field 'Caldera License' => 'Caldera'; field 'CeCILL Free Software License Agreement v1.0' => 'CECILL-1.0'; field 'CeCILL Free Software License Agreement v1.1' => 'CECILL-1.1'; field 'CeCILL Free Software License Agreement v2.0' => 'CECILL-2.0'; field 'CeCILL-B Free Software License Agreement' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement' => 'CECILL-C'; field 'Clarified Artistic License' => 'ClArtistic'; field 'CMU License' => 'MIT-CMU'; field 'CNRI Python License' => 'CNRI-Python'; field 'CNRI Python Open Source GPL Compatible License Agreement' => 'CNRI-Python-GPL-Compatible'; field 'Code Project Open License 1.02' => 'CPOL-1.02'; field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Development and Distribution License 1.1' => 'CDDL-1.1'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; field 'Common Public License 1.0' => 'CPL-1.0'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Condor Public License v1.1' => 'Condor-1.1'; field 'Creative Commons Attribution 1.0' => 'CC-BY-1.0'; field 'Creative Commons Attribution 2.0' => 'CC-BY-2.0'; field 'Creative Commons Attribution 2.5' => 'CC-BY-2.5'; field 'Creative Commons Attribution 3.0' => 'CC-BY-3.0'; field 'Creative Commons Attribution 4.0' => 'CC-BY-4.0'; field 'Creative Commons Attribution No Derivatives 1.0' => 'CC-BY-ND-1.0'; field 'Creative Commons Attribution No Derivatives 2.0' => 'CC-BY-ND-2.0'; field 'Creative Commons Attribution No Derivatives 2.5' => 'CC-BY-ND-2.5'; field 'Creative Commons Attribution No Derivatives 3.0' => 'CC-BY-ND-3.0'; field 'Creative Commons Attribution No Derivatives 4.0' => 'CC-BY-ND-4.0'; field 'Creative Commons Attribution Non Commercial 1.0' => 'CC-BY-NC-1.0'; field 'Creative Commons Attribution Non Commercial 2.0' => 'CC-BY-NC-2.0'; field 'Creative Commons Attribution Non Commercial 2.5' => 'CC-BY-NC-2.5'; field 'Creative Commons Attribution Non Commercial 3.0' => 'CC-BY-NC-3.0'; field 'Creative Commons Attribution Non Commercial 4.0' => 'CC-BY-NC-4.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 1.0' => 'CC-BY-NC-ND-1.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.0' => 'CC-BY-NC-ND-2.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.5' => 'CC-BY-NC-ND-2.5'; field 'Creative Commons Attribution Non Commercial No Derivatives 3.0' => 'CC-BY-NC-ND-3.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 4.0' => 'CC-BY-NC-ND-4.0'; field 'Creative Commons Attribution Non Commercial Share Alike 1.0' => 'CC-BY-NC-SA-1.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.0' => 'CC-BY-NC-SA-2.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.5' => 'CC-BY-NC-SA-2.5'; field 'Creative Commons Attribution Non Commercial Share Alike 3.0' => 'CC-BY-NC-SA-3.0'; field 'Creative Commons Attribution Non Commercial Share Alike 4.0' => 'CC-BY-NC-SA-4.0'; field 'Creative Commons Attribution Share Alike 1.0' => 'CC-BY-SA-1.0'; field 'Creative Commons Attribution Share Alike 2.0' => 'CC-BY-SA-2.0'; field 'Creative Commons Attribution Share Alike 2.5' => 'CC-BY-SA-2.5'; field 'Creative Commons Attribution Share Alike 3.0' => 'CC-BY-SA-3.0'; field 'Creative Commons Attribution Share Alike 4.0' => 'CC-BY-SA-4.0'; field 'Creative Commons Zero v1.0 Universal' => 'CC0-1.0'; field 'Crossword License' => 'Crossword'; field 'CUA Office Public License v1.0' => 'CUA-OPL-1.0'; field 'Cube License' => 'Cube'; field 'Deutsche Freie Software Lizenz' => 'D-FSL-1.0'; # TODO field 'diffmark license' => 'diffmark'; field 'Do What The F*ck You Want To Public License' => 'WTFPL'; # TODO field 'DOC License' => 'DOC'; # TODO field 'Dotseqn License' => 'Dotseqn'; field 'DSDP License' => 'DSDP'; # TODO field 'dvipdfm License' => 'dvipdfm'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'eCos license version 2.0' => 'eCos-2.0'; field 'Educational Community License v1.0' => 'ECL-1.0'; field 'Educational Community License v2.0' => 'ECL-2.0'; # TODO field 'eGenix.com Public License 1.1.0' => 'eGenix'; field 'Eiffel Forum License v1.0' => 'EFL-1.0'; field 'Eiffel Forum License v2.0' => 'EFL-2.0'; field 'Enlightenment License (e16)' => 'MIT-advertising'; field 'enna License' => 'MIT-enna'; field 'Entessa Public License v1.0' => 'Entessa'; field 'Erlang Public License v1.1' => 'ErlPL-1.1'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License 1.0' => 'EUPL-1.0'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'Eurosym License' => 'Eurosym'; field 'Fair License' => 'Fair'; field 'feh License' => 'MIT-feh'; field 'Frameworx Open License 1.0' => 'Frameworx-1.0'; field 'Freetype Project License' => 'FTL'; field 'FSF Unlimited License' => 'FSFUL'; field 'FSF Unlimited License (with License Retention)' => 'FSFULLR'; # TODO field 'Giftware License' => 'Giftware'; # TODO field 'GL2PS License' => 'GL2PS'; # TODO field 'Glulxe License' => 'Glulxe'; field 'GNU Affero General Public License v3.0' => 'AGPL-3.0'; field 'GNU Free Documentation License v1.1' => 'GFDL-1.1'; field 'GNU Free Documentation License v1.2' => 'GFDL-1.2'; field 'GNU Free Documentation License v1.3' => 'GFDL-1.3'; field 'GNU General Public License v1.0 only' => 'GPL-1.0'; field 'GNU General Public License v1.0 or later' => 'GPL-1.0+'; field 'GNU General Public License v2.0 only' => 'GPL-2.0'; field 'GNU General Public License v2.0 or later' => 'GPL-2.0+'; field 'GNU General Public License v2.0 w/Autoconf exception' => 'GPL-2.0-with-autoconf-exception'; field 'GNU General Public License v2.0 w/Bison exception' => 'GPL-2.0-with-bison-exception'; field 'GNU General Public License v2.0 w/Classpath exception' => 'GPL-2.0-with-classpath-exception'; field 'GNU General Public License v2.0 w/Font exception' => 'GPL-2.0-with-font-exception'; field 'GNU General Public License v2.0 w/GCC Runtime Library exception' => 'GPL-2.0-with-GCC-exception'; field 'GNU General Public License v3.0 only' => 'GPL-3.0'; field 'GNU General Public License v3.0 or later' => 'GPL-3.0+'; field 'GNU General Public License v3.0 w/Autoconf exception' => 'GPL-3.0-with-autoconf-exception'; field 'GNU General Public License v3.0 w/GCC Runtime Library exception' => 'GPL-3.0-with-GCC-exception'; field 'GNU Lesser General Public License v2.1 only' => 'LGPL-2.1'; field 'GNU Lesser General Public License v2.1 or later' => 'LGPL-2.1+'; field 'GNU Lesser General Public License v3.0 only' => 'LGPL-3.0'; field 'GNU Lesser General Public License v3.0 or later' => 'LGPL-3.0+'; field 'GNU Library General Public License v2 only' => 'LGPL-2.0'; field 'GNU Library General Public License v2 or later' => 'LGPL-2.0+'; # TODO field 'gnuplot License' => 'gnuplot'; field 'gSOAP Public License v1.3b' => 'gSOAP-1.3b'; # TODO field 'Haskell Language Report License' => 'HaskellReport'; field 'Historic Permission Notice and Disclaimer' => 'HPND'; field 'IBM PowerPC Initialization and Boot Software' => 'IBM-pibs'; field 'IBM Public License v1.0' => 'IPL-1.0'; # TODO field 'ImageMagick License' => 'ImageMagick'; # TODO field 'iMatix Standard Function Library Agreement' => 'iMatix'; field 'Imlib2 License' => 'Imlib2'; field 'Independent JPEG Group License' => 'IJG'; # TODO field 'Intel ACPI Software License Agreement' => 'Intel-ACPI'; field 'Intel Open Source License' => 'Intel'; field 'IPA Font License' => 'IPA'; field 'ISC License' => 'ISC'; # TODO field 'JasPer License' => 'JasPer-2.0'; field 'JSON License' => 'JSON'; field 'LaTeX Project Public License 1.3a' => 'LPPL-1.3a'; field 'LaTeX Project Public License v1.0' => 'LPPL-1.0'; field 'LaTeX Project Public License v1.1' => 'LPPL-1.1'; field 'LaTeX Project Public License v1.2' => 'LPPL-1.2'; field 'LaTeX Project Public License v1.3c' => 'LPPL-1.3c'; # TODO field 'Latex2e License' => 'Latex2e'; field 'Lawrence Berkeley National Labs BSD variant license' => 'BSD-3-Clause-LBNL'; field 'Leptonica License' => 'Leptonica'; field 'libpng License' => 'Libpng'; field 'libtiff License' => 'libtiff'; field 'Lucent Public License v1.02' => 'LPL-1.02'; field 'Lucent Public License Version 1.0' => 'LPL-1.0'; # TODO field 'MakeIndex License' => 'MakeIndex'; # TODO field 'Matrix Template Library License' => 'MTLL'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; field 'MirOS Licence' => 'MirOS'; # TODO field 'MIT +no-false-attribs license' => 'MITNFA'; field 'MIT License' => 'MIT'; field 'Motosoto License' => 'Motosoto'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0' => 'MPL-2.0'; field 'Mozilla Public License 2.0 (no copyleft exception)' => 'MPL-2.0-no-copyleft-exception'; field 'mpich2 License' => 'mpich2'; field 'Multics License' => 'Multics'; # TODO field 'Mup License' => 'Mup'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; field 'Naumen Public License' => 'Naumen'; field 'Net Boolean Public License v1' => 'NBPL-1.0'; # TODO field 'NetCDF license' => 'NetCDF'; field 'Nethack General Public License' => 'NGPL'; field 'Netizen Open Source License' => 'NOSL'; field 'Netscape Public License v1.0' => 'NPL-1.0'; field 'Netscape Public License v1.1' => 'NPL-1.1'; # TODO field 'Newsletr License' => 'Newsletr'; # TODO field 'No Limit Public License' => 'NLPL'; field 'Nokia Open Source License' => 'Nokia'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; # TODO field 'Noweb License' => 'Noweb'; # TODO field 'NRL License' => 'NRL'; field 'NTP License' => 'NTP'; # quirk field 'Nunit License' => 'Nunit'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; field 'ODC Open Database License v1.0' => 'ODbL-1.0'; field 'ODC Public Domain Dedication & License 1.0' => 'PDDL-1.0'; field 'Open Group Test Suite License' => 'OGTSL'; field 'Open LDAP Public License 2.2.2' => 'OLDAP-2.2.2'; field 'Open LDAP Public License v1.1' => 'OLDAP-1.1'; field 'Open LDAP Public License v1.2' => 'OLDAP-1.2'; field 'Open LDAP Public License v1.3' => 'OLDAP-1.3'; field 'Open LDAP Public License v1.4' => 'OLDAP-1.4'; field 'Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)' => 'OLDAP-2.0'; field 'Open LDAP Public License v2.0.1' => 'OLDAP-2.0.1'; field 'Open LDAP Public License v2.1' => 'OLDAP-2.1'; field 'Open LDAP Public License v2.2' => 'OLDAP-2.2'; field 'Open LDAP Public License v2.2.1' => 'OLDAP-2.2.1'; field 'Open LDAP Public License v2.3' => 'OLDAP-2.3'; field 'Open LDAP Public License v2.4' => 'OLDAP-2.4'; field 'Open LDAP Public License v2.5' => 'OLDAP-2.5'; field 'Open LDAP Public License v2.6' => 'OLDAP-2.6'; field 'Open LDAP Public License v2.7' => 'OLDAP-2.7'; # TODO field 'Open Market License' => 'OML'; field 'Open Public License v1.0' => 'OPL-1.0'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'Open Software License 1.1' => 'OSL-1.1'; field 'Open Software License 2.0' => 'OSL-2.0'; field 'Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 3.0' => 'OSL-3.0'; field 'OpenLDAP Public License v2.8' => 'OLDAP-2.8'; field 'OpenSSL License' => 'OpenSSL'; field 'PHP License v3.0' => 'PHP-3.0'; field 'PHP License v3.01' => 'PHP-3.01'; # TODO field 'Plexus Classworlds License' => 'Plexus'; field 'PostgreSQL License' => 'PostgreSQL'; # TODO field 'psfrag License' => 'psfrag'; # TODO field 'psutils License' => 'psutils'; field 'Python License 2.0' => 'Python-2.0'; field 'Q Public License 1.0' => 'QPL-1.0'; # TODO field 'Qhull License' => 'Qhull'; # TODO field 'Rdisc License' => 'Rdisc'; field 'RealNetworks Public Source License v1.0' => 'RPSL-1.0'; field 'Reciprocal Public License 1.1' => 'RPL-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'Red Hat eCos Public License v1.1' => 'RHeCos-1.1'; field 'Ricoh Source Code Public License' => 'RSCPL'; field 'Ruby License' => 'Ruby'; field 'Sax Public Domain Notice' => 'SAX-PD'; # TODO field 'Saxpath License' => 'Saxpath'; # TODO field 'SCEA Shared Source License' => 'SCEA'; # TODO field 'Scheme Widget Library (SWL) Software License Agreement' => # 'SWL'; field 'SGI Free Software License B v1.0' => 'SGI-B-1.0'; field 'SGI Free Software License B v1.1' => 'SGI-B-1.1'; field 'SGI Free Software License B v2.0' => 'SGI-B-2.0'; field 'SIL Open Font License 1.0' => 'OFL-1.0'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; field 'Simple Public License 2.0' => 'SimPL-2.0'; field 'Sleepycat License' => 'Sleepycat'; # quirk field 'SNIA Public License 1.1' => 'SNIA'; field 'Standard ML of New Jersey License' => 'SMLNJ'; # TODO field 'Standard ML of New Jersey License' => 'StandardML-NJ'; field 'SugarCRM Public License v1.1.3' => 'SugarCRM-1.1.3'; field 'Sun Industry Standards Source License v1.1' => 'SISSL'; field 'Sun Industry Standards Source License v1.2' => 'SISSL-1.2'; field 'Sun Public License v1.0' => 'SPL-1.0'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; # TODO field 'TCL/TK License' => 'TCL'; field 'The Unlicense' => 'Unlicense'; # TODO field 'TMate Open Source License' => 'TMate'; # TODO field 'TORQUE v2.5+ Software License v1.1' => 'TORQUE-1.1'; field 'Trusster Open Source License' => 'TOSL'; field 'Unicode Terms of Use' => 'Unicode-TOU'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; # TODO field 'Vim License' => 'Vim'; # TODO field 'VOSTROM Public License for Open Source' => 'VOSTROM'; field 'Vovida Software License v1.0' => 'VSL-1.0'; field 'W3C Software Notice and License' => 'W3C'; # TODO field 'Wsuipa License' => 'Wsuipa'; field 'wxWindows Library License' => 'WXwindows'; field 'X.Net License' => 'Xnet'; field 'X11 License' => 'X11'; # TODO field 'Xerox License' => 'Xerox'; field 'XFree86 License 1.1' => 'XFree86-1.1'; # TODO field 'xinetd License' => 'xinetd'; # TODO field 'XPP License' => 'xpp'; # TODO field 'XSkat License' => 'XSkat'; field 'Yahoo! Public License v1.0' => 'YPL-1.0'; field 'Yahoo! Public License v1.1' => 'YPL-1.1'; field 'Zed License' => 'Zed'; field 'Zend License v2.0' => 'Zend-2.0'; field 'Zimbra Public License v1.3' => 'Zimbra-1.3'; field 'zlib License' => 'Zlib'; field 'zlib/libpng License with Acknowledgement' => 'zlib-acknowledgement'; field 'Zope Public License 1.1' => 'ZPL-1.1'; field 'Zope Public License 2.0' => 'ZPL-2.0'; field 'Zope Public License 2.1' => 'ZPL-2.1'; # quirks: duplicate names field 'Nunit' => 'zlib-acknowledgement'; field 'Nunit License' => 'zlib-acknowledgement'; field 'StandardML-NJ' => 'SMLNJ'; end(); }, 'coverage of SPDX 1.20, git tagged 2014-08-07' ); done_testing; coverage-spdx-2.0.t000644001750001750 5064714107233261 21357 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data sources (exceptions extrapolated from release 2.1 data): # # # # # like( license_org_metadata( 'spdx', { date => '20150513', rev => '2' } ), hash { field '3dfx Glide License' => 'Glide'; field 'Abstyles License' => 'Abstyles'; field 'Academic Free License v1.1' => 'AFL-1.1'; field 'Academic Free License v1.2' => 'AFL-1.2'; field 'Academic Free License v2.0' => 'AFL-2.0'; field 'Academic Free License v2.1' => 'AFL-2.1'; field 'Academic Free License v3.0' => 'AFL-3.0'; field 'Academy of Motion Picture Arts and Sciences BSD' => 'AMPAS'; field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'Adobe Glyph List License' => 'Adobe-Glyph'; field 'Adobe Postscript AFM License' => 'APAFML'; field 'Adobe Systems Incorporated Source Code License Agreement' => 'Adobe-2006'; field 'Affero General Public License v1.0' => 'AGPL-1.0'; field 'Afmparse License' => 'Afmparse'; field 'Aladdin Free Public License' => 'Aladdin'; field 'Amazon Digital Services License' => 'ADSL'; field 'AMD\'s plpa_map.c License' => 'AMDPLPA'; field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'Apache License 1.0' => 'Apache-1.0'; field 'Apache License 1.1' => 'Apache-1.1'; field 'Apache License 2.0' => 'Apache-2.0'; field 'Apple MIT License' => 'AML'; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic License 1.0 (Perl)' => 'Artistic-1.0-Perl'; field 'Artistic License 1.0 w/clause 8' => 'Artistic-1.0-cl8'; field 'Artistic License 2.0' => 'Artistic-2.0'; field 'Attribution Assurance License' => 'AAL'; field 'Bahyph License' => 'Bahyph'; field 'Barr License' => 'Barr'; field 'Beerware License' => 'Beerware'; field 'BitTorrent Open Source License v1.0' => 'BitTorrent-1.0'; field 'BitTorrent Open Source License v1.1' => 'BitTorrent-1.1'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'Borceux license' => 'Borceux'; field 'BSD 2-clause "Simplified" License' => 'BSD-2-Clause'; field 'BSD 2-clause FreeBSD License' => 'BSD-2-Clause-FreeBSD'; field 'BSD 2-clause NetBSD License' => 'BSD-2-Clause-NetBSD'; field 'BSD 3-clause "New" or "Revised" License' => 'BSD-3-Clause'; field 'BSD 3-clause Clear License' => 'BSD-3-Clause-Clear'; field 'BSD 4-clause "Original" or "Old" License' => 'BSD-4-Clause'; field 'BSD Protection License' => 'BSD-Protection'; field 'BSD with attribution' => 'BSD-3-Clause-Attribution'; field 'BSD-4-Clause (University of California-Specific)' => 'BSD-4-Clause-UC'; field 'bzip2 and libbzip2 License v1.0.5' => 'bzip2-1.0.5'; field 'bzip2 and libbzip2 License v1.0.6' => 'bzip2-1.0.6'; field 'Caldera License' => 'Caldera'; field 'CeCILL Free Software License Agreement v1.0' => 'CECILL-1.0'; field 'CeCILL Free Software License Agreement v1.1' => 'CECILL-1.1'; field 'CeCILL Free Software License Agreement v2.0' => 'CECILL-2.0'; field 'CeCILL-B Free Software License Agreement' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement' => 'CECILL-C'; field 'Clarified Artistic License' => 'ClArtistic'; field 'CMU License' => 'MIT-CMU'; field 'CNRI Python License' => 'CNRI-Python'; field 'CNRI Python Open Source GPL Compatible License Agreement' => 'CNRI-Python-GPL-Compatible'; field 'Code Project Open License 1.02' => 'CPOL-1.02'; field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Development and Distribution License 1.1' => 'CDDL-1.1'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; field 'Common Public License 1.0' => 'CPL-1.0'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Condor Public License v1.1' => 'Condor-1.1'; field 'Creative Commons Attribution 1.0 Generic' => 'CC-BY-1.0'; field 'Creative Commons Attribution 2.0 Generic' => 'CC-BY-2.0'; field 'Creative Commons Attribution 2.5 Generic' => 'CC-BY-2.5'; field 'Creative Commons Attribution 3.0 Unported' => 'CC-BY-3.0'; field 'Creative Commons Attribution 4.0 International' => 'CC-BY-4.0'; field 'Creative Commons Attribution No Derivatives 1.0 Generic' => 'CC-BY-ND-1.0'; field 'Creative Commons Attribution No Derivatives 2.0 Generic' => 'CC-BY-ND-2.0'; field 'Creative Commons Attribution No Derivatives 2.5 Generic' => 'CC-BY-ND-2.5'; field 'Creative Commons Attribution No Derivatives 3.0 Unported' => 'CC-BY-ND-3.0'; field 'Creative Commons Attribution No Derivatives 4.0 International' => 'CC-BY-ND-4.0'; field 'Creative Commons Attribution Non Commercial 1.0 Generic' => 'CC-BY-NC-1.0'; field 'Creative Commons Attribution Non Commercial 2.0 Generic' => 'CC-BY-NC-2.0'; field 'Creative Commons Attribution Non Commercial 2.5 Generic' => 'CC-BY-NC-2.5'; field 'Creative Commons Attribution Non Commercial 3.0 Unported' => 'CC-BY-NC-3.0'; field 'Creative Commons Attribution Non Commercial 4.0 International' => 'CC-BY-NC-4.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic' => 'CC-BY-NC-ND-1.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic' => 'CC-BY-NC-ND-2.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic' => 'CC-BY-NC-ND-2.5'; field 'Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported' => 'CC-BY-NC-ND-3.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 4.0 International' => 'CC-BY-NC-ND-4.0'; field 'Creative Commons Attribution Non Commercial Share Alike 1.0 Generic' => 'CC-BY-NC-SA-1.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.0 Generic' => 'CC-BY-NC-SA-2.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.5 Generic' => 'CC-BY-NC-SA-2.5'; field 'Creative Commons Attribution Non Commercial Share Alike 3.0 Unported' => 'CC-BY-NC-SA-3.0'; field 'Creative Commons Attribution Non Commercial Share Alike 4.0 International' => 'CC-BY-NC-SA-4.0'; field 'Creative Commons Attribution Share Alike 1.0 Generic' => 'CC-BY-SA-1.0'; field 'Creative Commons Attribution Share Alike 2.0 Generic' => 'CC-BY-SA-2.0'; field 'Creative Commons Attribution Share Alike 2.5 Generic' => 'CC-BY-SA-2.5'; field 'Creative Commons Attribution Share Alike 3.0 Unported' => 'CC-BY-SA-3.0'; field 'Creative Commons Attribution Share Alike 4.0 International' => 'CC-BY-SA-4.0'; field 'Creative Commons Zero v1.0 Universal' => 'CC0-1.0'; field 'Crossword License' => 'Crossword'; field 'CUA Office Public License v1.0' => 'CUA-OPL-1.0'; field 'Cube License' => 'Cube'; field 'Deutsche Freie Software Lizenz' => 'D-FSL-1.0'; # TODO field 'diffmark license' => 'diffmark'; field 'Do What The F*ck You Want To Public License' => 'WTFPL'; # TODO field 'DOC License' => 'DOC'; # TODO field 'Dotseqn License' => 'Dotseqn'; field 'DSDP License' => 'DSDP'; # TODO field 'dvipdfm License' => 'dvipdfm'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'Educational Community License v1.0' => 'ECL-1.0'; field 'Educational Community License v2.0' => 'ECL-2.0'; # TODO field 'eGenix.com Public License 1.1.0' => 'eGenix'; field 'Eiffel Forum License v1.0' => 'EFL-1.0'; field 'Eiffel Forum License v2.0' => 'EFL-2.0'; field 'Enlightenment License (e16)' => 'MIT-advertising'; field 'enna License' => 'MIT-enna'; field 'Entessa Public License v1.0' => 'Entessa'; field 'Erlang Public License v1.1' => 'ErlPL-1.1'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License 1.0' => 'EUPL-1.0'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'Eurosym License' => 'Eurosym'; field 'Fair License' => 'Fair'; field 'feh License' => 'MIT-feh'; field 'Frameworx Open License 1.0' => 'Frameworx-1.0'; # TODO field 'FreeImage Public License v1.0' => 'FreeImage'; field 'Freetype Project License' => 'FTL'; field 'FSF Unlimited License' => 'FSFUL'; field 'FSF Unlimited License (with License Retention)' => 'FSFULLR'; # TODO field 'Giftware License' => 'Giftware'; # TODO field 'GL2PS License' => 'GL2PS'; # TODO field 'Glulxe License' => 'Glulxe'; field 'GNU Affero General Public License v3.0' => 'AGPL-3.0'; field 'GNU Free Documentation License v1.1' => 'GFDL-1.1'; field 'GNU Free Documentation License v1.2' => 'GFDL-1.2'; field 'GNU Free Documentation License v1.3' => 'GFDL-1.3'; field 'GNU General Public License v1.0 only' => 'GPL-1.0'; field 'GNU General Public License v2.0 only' => 'GPL-2.0'; field 'GNU General Public License v3.0 only' => 'GPL-3.0'; field 'GNU Lesser General Public License v2.1 only' => 'LGPL-2.1'; field 'GNU Lesser General Public License v3.0 only' => 'LGPL-3.0'; field 'GNU Library General Public License v2 only' => 'LGPL-2.0'; # TODO field 'gnuplot License' => 'gnuplot'; field 'gSOAP Public License v1.3b' => 'gSOAP-1.3b'; # TODO field 'Haskell Language Report License' => 'HaskellReport'; field 'Historic Permission Notice and Disclaimer' => 'HPND'; field 'IBM PowerPC Initialization and Boot Software' => 'IBM-pibs'; field 'IBM Public License v1.0' => 'IPL-1.0'; # TODO field 'ImageMagick License' => 'ImageMagick'; # TODO field 'iMatix Standard Function Library Agreement' => 'iMatix'; field 'Imlib2 License' => 'Imlib2'; field 'Independent JPEG Group License' => 'IJG'; # TODO field 'Intel ACPI Software License Agreement' => 'Intel-ACPI'; field 'Intel Open Source License' => 'Intel'; field 'IPA Font License' => 'IPA'; field 'ISC License' => 'ISC'; # TODO field 'JasPer License' => 'JasPer-2.0'; field 'JSON License' => 'JSON'; field 'LaTeX Project Public License 1.3a' => 'LPPL-1.3a'; field 'LaTeX Project Public License v1.0' => 'LPPL-1.0'; field 'LaTeX Project Public License v1.1' => 'LPPL-1.1'; field 'LaTeX Project Public License v1.2' => 'LPPL-1.2'; field 'LaTeX Project Public License v1.3c' => 'LPPL-1.3c'; # TODO field 'Latex2e License' => 'Latex2e'; field 'Lawrence Berkeley National Labs BSD variant license' => 'BSD-3-Clause-LBNL'; field 'Leptonica License' => 'Leptonica'; field 'libpng License' => 'Libpng'; field 'libtiff License' => 'libtiff'; field 'Lucent Public License v1.02' => 'LPL-1.02'; field 'Lucent Public License Version 1.0' => 'LPL-1.0'; # TODO field 'MakeIndex License' => 'MakeIndex'; # TODO field 'Matrix Template Library License' => 'MTLL'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; field 'MirOS Licence' => 'MirOS'; # TODO field 'MIT +no-false-attribs license' => 'MITNFA'; field 'MIT License' => 'MIT'; field 'Motosoto License' => 'Motosoto'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0' => 'MPL-2.0'; field 'Mozilla Public License 2.0 (no copyleft exception)' => 'MPL-2.0-no-copyleft-exception'; field 'mpich2 License' => 'mpich2'; field 'Multics License' => 'Multics'; # TODO field 'Mup License' => 'Mup'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; field 'Naumen Public License' => 'Naumen'; field 'Net Boolean Public License v1' => 'NBPL-1.0'; # TODO field 'NetCDF license' => 'NetCDF'; field 'Nethack General Public License' => 'NGPL'; field 'Netizen Open Source License' => 'NOSL'; field 'Netscape Public License v1.0' => 'NPL-1.0'; field 'Netscape Public License v1.1' => 'NPL-1.1'; # TODO field 'Newsletr License' => 'Newsletr'; # TODO field 'No Limit Public License' => 'NLPL'; field 'Nokia Open Source License' => 'Nokia'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; # TODO field 'Noweb License' => 'Noweb'; # TODO field 'NRL License' => 'NRL'; field 'NTP License' => 'NTP'; # quirk field 'Nunit License' => 'Nunit'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; field 'ODC Open Database License v1.0' => 'ODbL-1.0'; field 'ODC Public Domain Dedication & License 1.0' => 'PDDL-1.0'; field 'Open Group Test Suite License' => 'OGTSL'; field 'Open LDAP Public License 2.2.2' => 'OLDAP-2.2.2'; field 'Open LDAP Public License v1.1' => 'OLDAP-1.1'; field 'Open LDAP Public License v1.2' => 'OLDAP-1.2'; field 'Open LDAP Public License v1.3' => 'OLDAP-1.3'; field 'Open LDAP Public License v1.4' => 'OLDAP-1.4'; field 'Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)' => 'OLDAP-2.0'; field 'Open LDAP Public License v2.0.1' => 'OLDAP-2.0.1'; field 'Open LDAP Public License v2.1' => 'OLDAP-2.1'; field 'Open LDAP Public License v2.2' => 'OLDAP-2.2'; field 'Open LDAP Public License v2.2.1' => 'OLDAP-2.2.1'; field 'Open LDAP Public License v2.3' => 'OLDAP-2.3'; field 'Open LDAP Public License v2.4' => 'OLDAP-2.4'; field 'Open LDAP Public License v2.5' => 'OLDAP-2.5'; field 'Open LDAP Public License v2.6' => 'OLDAP-2.6'; field 'Open LDAP Public License v2.7' => 'OLDAP-2.7'; field 'Open LDAP Public License v2.8' => 'OLDAP-2.8'; # TODO field 'Open Market License' => 'OML'; field 'Open Public License v1.0' => 'OPL-1.0'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'Open Software License 1.1' => 'OSL-1.1'; field 'Open Software License 2.0' => 'OSL-2.0'; field 'Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 3.0' => 'OSL-3.0'; field 'OpenSSL License' => 'OpenSSL'; field 'PHP License v3.0' => 'PHP-3.0'; field 'PHP License v3.01' => 'PHP-3.01'; # TODO field 'Plexus Classworlds License' => 'Plexus'; field 'PostgreSQL License' => 'PostgreSQL'; # TODO field 'psfrag License' => 'psfrag'; # TODO field 'psutils License' => 'psutils'; field 'Python License 2.0' => 'Python-2.0'; field 'Q Public License 1.0' => 'QPL-1.0'; # TODO field 'Qhull License' => 'Qhull'; # TODO field 'Rdisc License' => 'Rdisc'; field 'RealNetworks Public Source License v1.0' => 'RPSL-1.0'; field 'Reciprocal Public License 1.1' => 'RPL-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'Red Hat eCos Public License v1.1' => 'RHeCos-1.1'; field 'Ricoh Source Code Public License' => 'RSCPL'; field 'Ruby License' => 'Ruby'; field 'Sax Public Domain Notice' => 'SAX-PD'; # TODO field 'Saxpath License' => 'Saxpath'; # TODO field 'SCEA Shared Source License' => 'SCEA'; # TODO field 'Scheme Widget Library (SWL) Software License Agreement' => # 'SWL'; field 'SGI Free Software License B v1.0' => 'SGI-B-1.0'; field 'SGI Free Software License B v1.1' => 'SGI-B-1.1'; field 'SGI Free Software License B v2.0' => 'SGI-B-2.0'; field 'SIL Open Font License 1.0' => 'OFL-1.0'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; field 'Simple Public License 2.0' => 'SimPL-2.0'; field 'Sleepycat License' => 'Sleepycat'; # TODO field 'SNIA Public License 1.1' => 'SNIA'; field 'Standard ML of New Jersey License' => 'SMLNJ'; field 'SugarCRM Public License v1.1.3' => 'SugarCRM-1.1.3'; field 'Sun Industry Standards Source License v1.1' => 'SISSL'; field 'Sun Industry Standards Source License v1.2' => 'SISSL-1.2'; field 'Sun Public License v1.0' => 'SPL-1.0'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; # TODO field 'TCL/TK License' => 'TCL'; field 'The Unlicense' => 'Unlicense'; # TODO field 'TMate Open Source License' => 'TMate'; # TODO field 'TORQUE v2.5+ Software License v1.1' => 'TORQUE-1.1'; field 'Trusster Open Source License' => 'TOSL'; field 'Unicode Terms of Use' => 'Unicode-TOU'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; # TODO field 'Vim License' => 'Vim'; # TODO field 'VOSTROM Public License for Open Source' => 'VOSTROM'; field 'Vovida Software License v1.0' => 'VSL-1.0'; field 'W3C Software Notice and License (2002-12-31)' => 'W3C'; field 'W3C Software Notice and License (1998-07-20)' => 'W3C-19980720'; # TODO field 'Wsuipa License' => 'Wsuipa'; field 'X.Net License' => 'Xnet'; field 'X11 License' => 'X11'; # TODO field 'Xerox License' => 'Xerox'; field 'XFree86 License 1.1' => 'XFree86-1.1'; # TODO field 'xinetd License' => 'xinetd'; # TODO field 'XPP License' => 'xpp'; # TODO field 'XSkat License' => 'XSkat'; field 'Yahoo! Public License v1.0' => 'YPL-1.0'; field 'Yahoo! Public License v1.1' => 'YPL-1.1'; field 'Zed License' => 'Zed'; field 'Zend License v2.0' => 'Zend-2.0'; field 'Zimbra Public License v1.3' => 'Zimbra-1.3'; field 'Zimbra Public License v1.4' => 'Zimbra-1.4'; field 'zlib License' => 'Zlib'; field 'zlib/libpng License with Acknowledgement' => 'zlib-acknowledgement'; field 'Zope Public License 1.1' => 'ZPL-1.1'; field 'Zope Public License 2.0' => 'ZPL-2.0'; field 'Zope Public License 2.1' => 'ZPL-2.1'; field 'ICU License' => 'ICU'; # quirks: duplicate names field 'Nunit' => 'zlib-acknowledgement'; field 'Nunit License' => 'zlib-acknowledgement'; # exceptions field 'Autoconf exception 2.0' => 'Autoconf-exception-2.0'; field 'Autoconf exception 3.0' => 'Autoconf-exception-3.0'; field 'Bison exception 2.2' => 'Bison-exception-2.2'; field 'Classpath exception 2.0' => 'Classpath-exception-2.0'; field 'eCos exception 2.0' => 'eCos-exception-2.0'; field 'Font exception 2.0' => 'Font-exception-2.0'; field 'GCC Runtime Library exception 2.0' => 'GCC-exception-2.0'; field 'GCC Runtime Library exception 3.1' => 'GCC-exception-3.1'; field 'WxWindows Library Exception 3.1' => 'WxWindows-exception-3.1'; end(); }, 'coverage of SPDX 2.0, announced 2015-05-13' ); done_testing; coverage-spdx-2.1.t000644001750001750 5227414107233261 21356 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data sources: # # like( license_org_metadata( 'spdx', { date => '20150730', rev => '2_1' } ), hash { field '3dfx Glide License' => 'Glide'; field 'Abstyles License' => 'Abstyles'; field 'Academic Free License v1.1' => 'AFL-1.1'; field 'Academic Free License v1.2' => 'AFL-1.2'; field 'Academic Free License v2.0' => 'AFL-2.0'; field 'Academic Free License v2.1' => 'AFL-2.1'; field 'Academic Free License v3.0' => 'AFL-3.0'; field 'Academy of Motion Picture Arts and Sciences BSD' => 'AMPAS'; field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'Adobe Glyph List License' => 'Adobe-Glyph'; field 'Adobe Postscript AFM License' => 'APAFML'; field 'Adobe Systems Incorporated Source Code License Agreement' => 'Adobe-2006'; field 'Affero General Public License v1.0' => 'AGPL-1.0'; field 'Afmparse License' => 'Afmparse'; field 'Aladdin Free Public License' => 'Aladdin'; field 'Amazon Digital Services License' => 'ADSL'; field 'AMD\'s plpa_map.c License' => 'AMDPLPA'; field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'Apache License 1.0' => 'Apache-1.0'; field 'Apache License 1.1' => 'Apache-1.1'; field 'Apache License 2.0' => 'Apache-2.0'; field 'Apple MIT License' => 'AML'; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic License 1.0 (Perl)' => 'Artistic-1.0-Perl'; field 'Artistic License 1.0 w/clause 8' => 'Artistic-1.0-cl8'; field 'Artistic License 2.0' => 'Artistic-2.0'; field 'Attribution Assurance License' => 'AAL'; field 'Bahyph License' => 'Bahyph'; field 'Barr License' => 'Barr'; field 'Beerware License' => 'Beerware'; field 'BitTorrent Open Source License v1.0' => 'BitTorrent-1.0'; field 'BitTorrent Open Source License v1.1' => 'BitTorrent-1.1'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'Borceux license' => 'Borceux'; field 'BSD 2-clause "Simplified" License' => 'BSD-2-Clause'; field 'BSD 2-clause FreeBSD License' => 'BSD-2-Clause-FreeBSD'; field 'BSD 2-clause NetBSD License' => 'BSD-2-Clause-NetBSD'; field 'BSD 3-clause "New" or "Revised" License' => 'BSD-3-Clause'; field 'BSD 3-clause Clear License' => 'BSD-3-Clause-Clear'; field 'BSD 4-clause "Original" or "Old" License' => 'BSD-4-Clause'; field 'BSD Protection License' => 'BSD-Protection'; field 'BSD with attribution' => 'BSD-3-Clause-Attribution'; field 'BSD-4-Clause (University of California-Specific)' => 'BSD-4-Clause-UC'; field 'bzip2 and libbzip2 License v1.0.5' => 'bzip2-1.0.5'; field 'bzip2 and libbzip2 License v1.0.6' => 'bzip2-1.0.6'; field 'Caldera License' => 'Caldera'; field 'CeCILL Free Software License Agreement v1.0' => 'CECILL-1.0'; field 'CeCILL Free Software License Agreement v1.1' => 'CECILL-1.1'; field 'CeCILL Free Software License Agreement v2.0' => 'CECILL-2.0'; field 'CeCILL-B Free Software License Agreement' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement' => 'CECILL-C'; field 'Clarified Artistic License' => 'ClArtistic'; field 'CMU License' => 'MIT-CMU'; field 'CNRI Jython License' => 'CNRI-Jython'; field 'CNRI Python License' => 'CNRI-Python'; field 'CNRI Python Open Source GPL Compatible License Agreement' => 'CNRI-Python-GPL-Compatible'; field 'Code Project Open License 1.02' => 'CPOL-1.02'; field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Development and Distribution License 1.1' => 'CDDL-1.1'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; field 'Common Public License 1.0' => 'CPL-1.0'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Condor Public License v1.1' => 'Condor-1.1'; field 'Creative Commons Attribution 1.0' => 'CC-BY-1.0'; field 'Creative Commons Attribution 2.0' => 'CC-BY-2.0'; field 'Creative Commons Attribution 2.5' => 'CC-BY-2.5'; field 'Creative Commons Attribution 3.0' => 'CC-BY-3.0'; field 'Creative Commons Attribution 4.0' => 'CC-BY-4.0'; field 'Creative Commons Attribution No Derivatives 1.0' => 'CC-BY-ND-1.0'; field 'Creative Commons Attribution No Derivatives 2.0' => 'CC-BY-ND-2.0'; field 'Creative Commons Attribution No Derivatives 2.5' => 'CC-BY-ND-2.5'; field 'Creative Commons Attribution No Derivatives 3.0' => 'CC-BY-ND-3.0'; field 'Creative Commons Attribution No Derivatives 4.0' => 'CC-BY-ND-4.0'; field 'Creative Commons Attribution Non Commercial 1.0' => 'CC-BY-NC-1.0'; field 'Creative Commons Attribution Non Commercial 2.0' => 'CC-BY-NC-2.0'; field 'Creative Commons Attribution Non Commercial 2.5' => 'CC-BY-NC-2.5'; field 'Creative Commons Attribution Non Commercial 3.0' => 'CC-BY-NC-3.0'; field 'Creative Commons Attribution Non Commercial 4.0' => 'CC-BY-NC-4.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 1.0' => 'CC-BY-NC-ND-1.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.0' => 'CC-BY-NC-ND-2.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.5' => 'CC-BY-NC-ND-2.5'; field 'Creative Commons Attribution Non Commercial No Derivatives 3.0' => 'CC-BY-NC-ND-3.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 4.0' => 'CC-BY-NC-ND-4.0'; field 'Creative Commons Attribution Non Commercial Share Alike 1.0' => 'CC-BY-NC-SA-1.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.0' => 'CC-BY-NC-SA-2.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.5' => 'CC-BY-NC-SA-2.5'; field 'Creative Commons Attribution Non Commercial Share Alike 3.0' => 'CC-BY-NC-SA-3.0'; field 'Creative Commons Attribution Non Commercial Share Alike 4.0' => 'CC-BY-NC-SA-4.0'; field 'Creative Commons Attribution Share Alike 1.0' => 'CC-BY-SA-1.0'; field 'Creative Commons Attribution Share Alike 2.0' => 'CC-BY-SA-2.0'; field 'Creative Commons Attribution Share Alike 2.5' => 'CC-BY-SA-2.5'; field 'Creative Commons Attribution Share Alike 3.0' => 'CC-BY-SA-3.0'; field 'Creative Commons Attribution Share Alike 4.0' => 'CC-BY-SA-4.0'; field 'Creative Commons Zero v1.0 Universal' => 'CC0-1.0'; field 'Crossword License' => 'Crossword'; field 'CUA Office Public License v1.0' => 'CUA-OPL-1.0'; field 'Cube License' => 'Cube'; field 'Deutsche Freie Software Lizenz' => 'D-FSL-1.0'; # TODO field 'diffmark license' => 'diffmark'; field 'Do What The F*ck You Want To Public License' => 'WTFPL'; # TODO field 'DOC License' => 'DOC'; # TODO field 'Dotseqn License' => 'Dotseqn'; field 'DSDP License' => 'DSDP'; # TODO field 'dvipdfm License' => 'dvipdfm'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'Educational Community License v1.0' => 'ECL-1.0'; field 'Educational Community License v2.0' => 'ECL-2.0'; # TODO field 'eGenix.com Public License 1.1.0' => 'eGenix'; field 'Eiffel Forum License v1.0' => 'EFL-1.0'; field 'Eiffel Forum License v2.0' => 'EFL-2.0'; field 'Enlightenment License (e16)' => 'MIT-advertising'; field 'enna License' => 'MIT-enna'; field 'Entessa Public License v1.0' => 'Entessa'; field 'Erlang Public License v1.1' => 'ErlPL-1.1'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License 1.0' => 'EUPL-1.0'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'Eurosym License' => 'Eurosym'; field 'Fair License' => 'Fair'; field 'feh License' => 'MIT-feh'; field 'Frameworx Open License 1.0' => 'Frameworx-1.0'; # TODO field 'FreeImage Public License v1.0' => 'FreeImage'; field 'Freetype Project License' => 'FTL'; field 'FSF Unlimited License' => 'FSFUL'; field 'FSF Unlimited License (with License Retention)' => 'FSFULLR'; # TODO field 'Giftware License' => 'Giftware'; # TODO field 'GL2PS License' => 'GL2PS'; # TODO field 'Glulxe License' => 'Glulxe'; field 'GNU Affero General Public License v3.0' => 'AGPL-3.0'; field 'GNU Free Documentation License v1.1' => 'GFDL-1.1'; field 'GNU Free Documentation License v1.2' => 'GFDL-1.2'; field 'GNU Free Documentation License v1.3' => 'GFDL-1.3'; field 'GNU General Public License v1.0 only' => 'GPL-1.0'; field 'GNU General Public License v2.0 only' => 'GPL-2.0'; field 'GNU General Public License v3.0 only' => 'GPL-3.0'; field 'GNU Lesser General Public License v2.1 only' => 'LGPL-2.1'; field 'GNU Lesser General Public License v3.0 only' => 'LGPL-3.0'; field 'GNU Library General Public License v2 only' => 'LGPL-2.0'; # TODO field 'gnuplot License' => 'gnuplot'; field 'gSOAP Public License v1.3b' => 'gSOAP-1.3b'; # TODO field 'Haskell Language Report License' => 'HaskellReport'; field 'Historic Permission Notice and Disclaimer' => 'HPND'; field 'IBM PowerPC Initialization and Boot Software' => 'IBM-pibs'; field 'IBM Public License v1.0' => 'IPL-1.0'; field 'ICU License' => 'ICU'; # TODO field 'ImageMagick License' => 'ImageMagick'; # TODO field 'iMatix Standard Function Library Agreement' => 'iMatix'; field 'Imlib2 License' => 'Imlib2'; field 'Independent JPEG Group License' => 'IJG'; # TODO field 'Intel ACPI Software License Agreement' => 'Intel-ACPI'; field 'Intel Open Source License' => 'Intel'; field 'IPA Font License' => 'IPA'; field 'ISC License' => 'ISC'; # TODO field 'JasPer License' => 'JasPer-2.0'; field 'JSON License' => 'JSON'; field 'LaTeX Project Public License 1.3a' => 'LPPL-1.3a'; field 'LaTeX Project Public License v1.0' => 'LPPL-1.0'; field 'LaTeX Project Public License v1.1' => 'LPPL-1.1'; field 'LaTeX Project Public License v1.2' => 'LPPL-1.2'; field 'LaTeX Project Public License v1.3c' => 'LPPL-1.3c'; # TODO field 'Latex2e License' => 'Latex2e'; field 'Lawrence Berkeley National Labs BSD variant license' => 'BSD-3-Clause-LBNL'; field 'Leptonica License' => 'Leptonica'; # TODO field 'Lesser General Public License For Linguistic Resources' => # 'LGPLLR'; field 'libpng License' => 'Libpng'; field 'libtiff License' => 'libtiff'; field 'Lucent Public License v1.02' => 'LPL-1.02'; field 'Lucent Public License Version 1.0' => 'LPL-1.0'; # TODO field 'MakeIndex License' => 'MakeIndex'; # TODO field 'Matrix Template Library License' => 'MTLL'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; field 'MirOS Licence' => 'MirOS'; # TODO field 'MIT +no-false-attribs license' => 'MITNFA'; field 'MIT License' => 'MIT'; field 'Motosoto License' => 'Motosoto'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0' => 'MPL-2.0'; field 'Mozilla Public License 2.0 (no copyleft exception)' => 'MPL-2.0-no-copyleft-exception'; field 'mpich2 License' => 'mpich2'; field 'Multics License' => 'Multics'; # TODO field 'Mup License' => 'Mup'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; field 'Naumen Public License' => 'Naumen'; field 'Net Boolean Public License v1' => 'NBPL-1.0'; # TODO field 'NetCDF license' => 'NetCDF'; field 'Nethack General Public License' => 'NGPL'; field 'Netizen Open Source License' => 'NOSL'; field 'Netscape Public License v1.0' => 'NPL-1.0'; field 'Netscape Public License v1.1' => 'NPL-1.1'; # TODO field 'Newsletr License' => 'Newsletr'; # TODO field 'No Limit Public License' => 'NLPL'; field 'Nokia Open Source License' => 'Nokia'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; # TODO field 'Noweb License' => 'Noweb'; # TODO field 'NRL License' => 'NRL'; field 'NTP License' => 'NTP'; # quirk field 'Nunit License' => 'Nunit'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; field 'ODC Open Database License v1.0' => 'ODbL-1.0'; field 'ODC Public Domain Dedication & License 1.0' => 'PDDL-1.0'; field 'Open Group Test Suite License' => 'OGTSL'; field 'Open LDAP Public License 2.2.2' => 'OLDAP-2.2.2'; field 'Open LDAP Public License v1.1' => 'OLDAP-1.1'; field 'Open LDAP Public License v1.2' => 'OLDAP-1.2'; field 'Open LDAP Public License v1.3' => 'OLDAP-1.3'; field 'Open LDAP Public License v1.4' => 'OLDAP-1.4'; field 'Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)' => 'OLDAP-2.0'; field 'Open LDAP Public License v2.0.1' => 'OLDAP-2.0.1'; field 'Open LDAP Public License v2.1' => 'OLDAP-2.1'; field 'Open LDAP Public License v2.2' => 'OLDAP-2.2'; field 'Open LDAP Public License v2.2.1' => 'OLDAP-2.2.1'; field 'Open LDAP Public License v2.3' => 'OLDAP-2.3'; field 'Open LDAP Public License v2.4' => 'OLDAP-2.4'; field 'Open LDAP Public License v2.5' => 'OLDAP-2.5'; field 'Open LDAP Public License v2.6' => 'OLDAP-2.6'; field 'Open LDAP Public License v2.7' => 'OLDAP-2.7'; field 'Open LDAP Public License v2.8' => 'OLDAP-2.8'; # TODO field 'Open Market License' => 'OML'; field 'Open Public License v1.0' => 'OPL-1.0'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'Open Software License 1.1' => 'OSL-1.1'; field 'Open Software License 2.0' => 'OSL-2.0'; field 'Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 3.0' => 'OSL-3.0'; field 'OpenSSL License' => 'OpenSSL'; field 'PHP License v3.0' => 'PHP-3.0'; field 'PHP License v3.01' => 'PHP-3.01'; # TODO field 'Plexus Classworlds License' => 'Plexus'; field 'PostgreSQL License' => 'PostgreSQL'; # TODO field 'psfrag License' => 'psfrag'; # TODO field 'psutils License' => 'psutils'; field 'Python License 2.0' => 'Python-2.0'; field 'Q Public License 1.0' => 'QPL-1.0'; # TODO field 'Qhull License' => 'Qhull'; # TODO field 'Rdisc License' => 'Rdisc'; field 'RealNetworks Public Source License v1.0' => 'RPSL-1.0'; field 'Reciprocal Public License 1.1' => 'RPL-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'Red Hat eCos Public License v1.1' => 'RHeCos-1.1'; field 'Ricoh Source Code Public License' => 'RSCPL'; # TODO field 'RSA Message-Digest License' => 'RSA-MD'; field 'Ruby License' => 'Ruby'; field 'Sax Public Domain Notice' => 'SAX-PD'; # TODO field 'Saxpath License' => 'Saxpath'; # TODO field 'SCEA Shared Source License' => 'SCEA'; # TODO field 'Scheme Widget Library (SWL) Software License Agreement' => # 'SWL'; field 'SGI Free Software License B v1.0' => 'SGI-B-1.0'; field 'SGI Free Software License B v1.1' => 'SGI-B-1.1'; field 'SGI Free Software License B v2.0' => 'SGI-B-2.0'; field 'SIL Open Font License 1.0' => 'OFL-1.0'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; field 'Simple Public License 2.0' => 'SimPL-2.0'; field 'Sleepycat License' => 'Sleepycat'; # TODO field 'SNIA Public License 1.1' => 'SNIA'; # TODO field 'Spencer License 86' => 'Spencer-86'; # TODO field 'Spencer License 94' => 'Spencer-94'; # TODO field 'Spencer License 99' => 'Spencer-99'; field 'Standard ML of New Jersey License' => 'SMLNJ'; field 'SugarCRM Public License v1.1.3' => 'SugarCRM-1.1.3'; field 'Sun Industry Standards Source License v1.1' => 'SISSL'; field 'Sun Industry Standards Source License v1.2' => 'SISSL-1.2'; field 'Sun Public License v1.0' => 'SPL-1.0'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; # TODO field 'TCL/TK License' => 'TCL'; field 'The Unlicense' => 'Unlicense'; # TODO field 'TMate Open Source License' => 'TMate'; # TODO field 'TORQUE v2.5+ Software License v1.1' => 'TORQUE-1.1'; field 'Trusster Open Source License' => 'TOSL'; field 'Unicode Terms of Use' => 'Unicode-TOU'; field 'Universal Permissive License v1.0' => 'UPL-1.0'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; # TODO field 'Vim License' => 'Vim'; # TODO field 'VOSTROM Public License for Open Source' => 'VOSTROM'; field 'Vovida Software License v1.0' => 'VSL-1.0'; field 'W3C Software Notice and License (1998-07-20)' => 'W3C-19980720'; field 'W3C Software Notice and License (2002-12-31)' => 'W3C'; # TODO field 'Wsuipa License' => 'Wsuipa'; field 'X.Net License' => 'Xnet'; field 'X11 License' => 'X11'; # TODO field 'Xerox License' => 'Xerox'; field 'XFree86 License 1.1' => 'XFree86-1.1'; # TODO field 'xinetd License' => 'xinetd'; # TODO field 'XPP License' => 'xpp'; # TODO field 'XSkat License' => 'XSkat'; field 'Yahoo! Public License v1.0' => 'YPL-1.0'; field 'Yahoo! Public License v1.1' => 'YPL-1.1'; field 'Zed License' => 'Zed'; field 'Zend License v2.0' => 'Zend-2.0'; field 'Zimbra Public License v1.3' => 'Zimbra-1.3'; field 'Zimbra Public License v1.4' => 'Zimbra-1.4'; field 'zlib License' => 'Zlib'; field 'zlib/libpng License with Acknowledgement' => 'zlib-acknowledgement'; field 'Zope Public License 1.1' => 'ZPL-1.1'; field 'Zope Public License 2.0' => 'ZPL-2.0'; field 'Zope Public License 2.1' => 'ZPL-2.1'; # quirks: duplicate names field 'Nunit' => 'zlib-acknowledgement'; field 'Nunit License' => 'zlib-acknowledgement'; # exceptions field '389 Directory Server Exception' => '389-exception'; field 'Autoconf exception 2.0' => 'Autoconf-exception-2.0'; field 'Autoconf exception 3.0' => 'Autoconf-exception-3.0'; field 'Bison exception 2.2' => 'Bison-exception-2.2'; field 'Classpath exception 2.0' => 'Classpath-exception-2.0'; # TODO field 'CLISP exception 2.0' => 'CLISP-exception-2.0'; field 'eCos exception 2.0' => 'eCos-exception-2.0'; # TODO field 'FLTK exception' => 'FLTK-exception'; # TODO field 'FLTK exception 2.0' => 'FLTK-exception-2.0'; field 'Font exception 2.0' => 'Font-exception-2.0'; # TODO field 'FreeRTOS Exception 2.0' => 'freertos-exception-2.0'; field 'GCC Runtime Library exception 2.0' => 'GCC-exception-2.0'; field 'GCC Runtime Library exception 3.1' => 'GCC-exception-3.1'; # TODO field 'GNU JavaMail exception' => 'gnu-javamail-exception'; # TODO field 'i2p GPL+Java Exception' => 'i2p-gpl-java-exception'; field 'Libtool Exception' => 'Libtool-exception'; # TODO field 'LZMA exception' => 'LZMA-exception'; field 'Macros and Inline Functions Exception' => 'mif-exception'; # TODO field 'Nokia Qt LGPL exception 1.1' => 'Nokia-Qt-exception-1.1'; # TODO field 'Qwt exception 1.0' => 'Qwt-exception-1.0'; # TODO field 'U-Boot exception 2.0' => 'u-boot-exception-2.0'; field 'WxWindows Library Exception 3.1' => 'WxWindows-exception-3.1'; end(); }, 'coverage of SPDX 2.1, released 2015-07-30' ); done_testing; coverage-spdx-2.2.t000644001750001750 5272714107233261 21362 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data sources: # # like( license_org_metadata( 'spdx', { date => '20150930', rev => '2_2' } ), hash { field '3dfx Glide License' => 'Glide'; field 'Abstyles License' => 'Abstyles'; field 'Academic Free License v1.1' => 'AFL-1.1'; field 'Academic Free License v1.2' => 'AFL-1.2'; field 'Academic Free License v2.0' => 'AFL-2.0'; field 'Academic Free License v2.1' => 'AFL-2.1'; field 'Academic Free License v3.0' => 'AFL-3.0'; field 'Academy of Motion Picture Arts and Sciences BSD' => 'AMPAS'; field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'Adobe Glyph List License' => 'Adobe-Glyph'; field 'Adobe Postscript AFM License' => 'APAFML'; field 'Adobe Systems Incorporated Source Code License Agreement' => 'Adobe-2006'; field 'Affero General Public License v1.0' => 'AGPL-1.0'; field 'Afmparse License' => 'Afmparse'; field 'Aladdin Free Public License' => 'Aladdin'; field 'Amazon Digital Services License' => 'ADSL'; field 'AMD\'s plpa_map.c License' => 'AMDPLPA'; field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'Apache License 1.0' => 'Apache-1.0'; field 'Apache License 1.1' => 'Apache-1.1'; field 'Apache License 2.0' => 'Apache-2.0'; field 'Apple MIT License' => 'AML'; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic License 1.0 (Perl)' => 'Artistic-1.0-Perl'; field 'Artistic License 1.0 w/clause 8' => 'Artistic-1.0-cl8'; field 'Artistic License 2.0' => 'Artistic-2.0'; field 'Attribution Assurance License' => 'AAL'; field 'Bahyph License' => 'Bahyph'; field 'Barr License' => 'Barr'; field 'Beerware License' => 'Beerware'; field 'BitTorrent Open Source License v1.0' => 'BitTorrent-1.0'; field 'BitTorrent Open Source License v1.1' => 'BitTorrent-1.1'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'Borceux license' => 'Borceux'; field 'BSD 2-clause "Simplified" License' => 'BSD-2-Clause'; field 'BSD 2-clause FreeBSD License' => 'BSD-2-Clause-FreeBSD'; field 'BSD 2-clause NetBSD License' => 'BSD-2-Clause-NetBSD'; field 'BSD 3-clause "New" or "Revised" License' => 'BSD-3-Clause'; field 'BSD 3-clause Clear License' => 'BSD-3-Clause-Clear'; field 'BSD 4-clause "Original" or "Old" License' => 'BSD-4-Clause'; field 'BSD Protection License' => 'BSD-Protection'; field 'BSD with attribution' => 'BSD-3-Clause-Attribution'; field 'BSD Zero Clause License' => '0BSD'; field 'BSD-4-Clause (University of California-Specific)' => 'BSD-4-Clause-UC'; field 'bzip2 and libbzip2 License v1.0.5' => 'bzip2-1.0.5'; field 'bzip2 and libbzip2 License v1.0.6' => 'bzip2-1.0.6'; field 'Caldera License' => 'Caldera'; field 'CeCILL Free Software License Agreement v1.0' => 'CECILL-1.0'; field 'CeCILL Free Software License Agreement v1.1' => 'CECILL-1.1'; field 'CeCILL Free Software License Agreement v2.0' => 'CECILL-2.0'; field 'CeCILL Free Software License Agreement v2.1' => 'CECILL-2.1'; field 'CeCILL-B Free Software License Agreement' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement' => 'CECILL-C'; field 'Clarified Artistic License' => 'ClArtistic'; field 'CMU License' => 'MIT-CMU'; field 'CNRI Jython License' => 'CNRI-Jython'; field 'CNRI Python License' => 'CNRI-Python'; field 'CNRI Python Open Source GPL Compatible License Agreement' => 'CNRI-Python-GPL-Compatible'; field 'Code Project Open License 1.02' => 'CPOL-1.02'; field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Development and Distribution License 1.1' => 'CDDL-1.1'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; field 'Common Public License 1.0' => 'CPL-1.0'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Condor Public License v1.1' => 'Condor-1.1'; field 'Creative Commons Attribution 1.0' => 'CC-BY-1.0'; field 'Creative Commons Attribution 2.0' => 'CC-BY-2.0'; field 'Creative Commons Attribution 2.5' => 'CC-BY-2.5'; field 'Creative Commons Attribution 3.0' => 'CC-BY-3.0'; field 'Creative Commons Attribution 4.0' => 'CC-BY-4.0'; field 'Creative Commons Attribution No Derivatives 1.0' => 'CC-BY-ND-1.0'; field 'Creative Commons Attribution No Derivatives 2.0' => 'CC-BY-ND-2.0'; field 'Creative Commons Attribution No Derivatives 2.5' => 'CC-BY-ND-2.5'; field 'Creative Commons Attribution No Derivatives 3.0' => 'CC-BY-ND-3.0'; field 'Creative Commons Attribution No Derivatives 4.0' => 'CC-BY-ND-4.0'; field 'Creative Commons Attribution Non Commercial 1.0' => 'CC-BY-NC-1.0'; field 'Creative Commons Attribution Non Commercial 2.0' => 'CC-BY-NC-2.0'; field 'Creative Commons Attribution Non Commercial 2.5' => 'CC-BY-NC-2.5'; field 'Creative Commons Attribution Non Commercial 3.0' => 'CC-BY-NC-3.0'; field 'Creative Commons Attribution Non Commercial 4.0' => 'CC-BY-NC-4.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 1.0' => 'CC-BY-NC-ND-1.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.0' => 'CC-BY-NC-ND-2.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.5' => 'CC-BY-NC-ND-2.5'; field 'Creative Commons Attribution Non Commercial No Derivatives 3.0' => 'CC-BY-NC-ND-3.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 4.0' => 'CC-BY-NC-ND-4.0'; field 'Creative Commons Attribution Non Commercial Share Alike 1.0' => 'CC-BY-NC-SA-1.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.0' => 'CC-BY-NC-SA-2.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.5' => 'CC-BY-NC-SA-2.5'; field 'Creative Commons Attribution Non Commercial Share Alike 3.0' => 'CC-BY-NC-SA-3.0'; field 'Creative Commons Attribution Non Commercial Share Alike 4.0' => 'CC-BY-NC-SA-4.0'; field 'Creative Commons Attribution Share Alike 1.0' => 'CC-BY-SA-1.0'; field 'Creative Commons Attribution Share Alike 2.0' => 'CC-BY-SA-2.0'; field 'Creative Commons Attribution Share Alike 2.5' => 'CC-BY-SA-2.5'; field 'Creative Commons Attribution Share Alike 3.0' => 'CC-BY-SA-3.0'; field 'Creative Commons Attribution Share Alike 4.0' => 'CC-BY-SA-4.0'; field 'Creative Commons Zero v1.0 Universal' => 'CC0-1.0'; field 'Crossword License' => 'Crossword'; # TODO field 'CrystalStacker License' => 'CrystalStacker'; field 'CUA Office Public License v1.0' => 'CUA-OPL-1.0'; field 'Cube License' => 'Cube'; field 'Deutsche Freie Software Lizenz' => 'D-FSL-1.0'; # TODO field 'diffmark license' => 'diffmark'; field 'Do What The F*ck You Want To Public License' => 'WTFPL'; # TODO field 'DOC License' => 'DOC'; # TODO field 'Dotseqn License' => 'Dotseqn'; field 'DSDP License' => 'DSDP'; # TODO field 'dvipdfm License' => 'dvipdfm'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'Educational Community License v1.0' => 'ECL-1.0'; field 'Educational Community License v2.0' => 'ECL-2.0'; # TODO field 'eGenix.com Public License 1.1.0' => 'eGenix'; field 'Eiffel Forum License v1.0' => 'EFL-1.0'; field 'Eiffel Forum License v2.0' => 'EFL-2.0'; field 'Enlightenment License (e16)' => 'MIT-advertising'; field 'enna License' => 'MIT-enna'; field 'Entessa Public License v1.0' => 'Entessa'; field 'Erlang Public License v1.1' => 'ErlPL-1.1'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License 1.0' => 'EUPL-1.0'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'Eurosym License' => 'Eurosym'; field 'Fair License' => 'Fair'; field 'feh License' => 'MIT-feh'; field 'Frameworx Open License 1.0' => 'Frameworx-1.0'; # TODO field 'FreeImage Public License v1.0' => 'FreeImage'; field 'Freetype Project License' => 'FTL'; field 'FSF Unlimited License' => 'FSFUL'; field 'FSF Unlimited License (with License Retention)' => 'FSFULLR'; # TODO field 'Giftware License' => 'Giftware'; # TODO field 'GL2PS License' => 'GL2PS'; # TODO field 'Glulxe License' => 'Glulxe'; field 'GNU Affero General Public License v3.0' => 'AGPL-3.0'; field 'GNU Free Documentation License v1.1' => 'GFDL-1.1'; field 'GNU Free Documentation License v1.2' => 'GFDL-1.2'; field 'GNU Free Documentation License v1.3' => 'GFDL-1.3'; field 'GNU General Public License v1.0 only' => 'GPL-1.0'; field 'GNU General Public License v2.0 only' => 'GPL-2.0'; field 'GNU General Public License v3.0 only' => 'GPL-3.0'; field 'GNU Lesser General Public License v2.1 only' => 'LGPL-2.1'; field 'GNU Lesser General Public License v3.0 only' => 'LGPL-3.0'; field 'GNU Library General Public License v2 only' => 'LGPL-2.0'; # TODO field 'gnuplot License' => 'gnuplot'; field 'gSOAP Public License v1.3b' => 'gSOAP-1.3b'; # TODO field 'Haskell Language Report License' => 'HaskellReport'; field 'Historic Permission Notice and Disclaimer' => 'HPND'; field 'IBM PowerPC Initialization and Boot Software' => 'IBM-pibs'; field 'IBM Public License v1.0' => 'IPL-1.0'; field 'ICU License' => 'ICU'; # TODO field 'ImageMagick License' => 'ImageMagick'; # TODO field 'iMatix Standard Function Library Agreement' => 'iMatix'; field 'Imlib2 License' => 'Imlib2'; field 'Independent JPEG Group License' => 'IJG'; # TODO field 'Intel ACPI Software License Agreement' => 'Intel-ACPI'; field 'Intel Open Source License' => 'Intel'; # TODO field 'Interbase Public License v1.0' => 'Interbase-1.0'; field 'IPA Font License' => 'IPA'; field 'ISC License' => 'ISC'; # TODO field 'JasPer License' => 'JasPer-2.0'; field 'JSON License' => 'JSON'; field 'LaTeX Project Public License 1.3a' => 'LPPL-1.3a'; field 'LaTeX Project Public License v1.0' => 'LPPL-1.0'; field 'LaTeX Project Public License v1.1' => 'LPPL-1.1'; field 'LaTeX Project Public License v1.2' => 'LPPL-1.2'; field 'LaTeX Project Public License v1.3c' => 'LPPL-1.3c'; # TODO field 'Latex2e License' => 'Latex2e'; field 'Lawrence Berkeley National Labs BSD variant license' => 'BSD-3-Clause-LBNL'; field 'Leptonica License' => 'Leptonica'; # TODO field 'Lesser General Public License For Linguistic Resources' => # 'LGPLLR'; field 'libpng License' => 'Libpng'; field 'libtiff License' => 'libtiff'; field 'Lucent Public License v1.02' => 'LPL-1.02'; field 'Lucent Public License Version 1.0' => 'LPL-1.0'; # TODO field 'MakeIndex License' => 'MakeIndex'; # TODO field 'Matrix Template Library License' => 'MTLL'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; field 'MirOS Licence' => 'MirOS'; # TODO field 'MIT +no-false-attribs license' => 'MITNFA'; field 'MIT License' => 'MIT'; field 'Motosoto License' => 'Motosoto'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0' => 'MPL-2.0'; field 'Mozilla Public License 2.0 (no copyleft exception)' => 'MPL-2.0-no-copyleft-exception'; field 'mpich2 License' => 'mpich2'; field 'Multics License' => 'Multics'; # TODO field 'Mup License' => 'Mup'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; field 'Naumen Public License' => 'Naumen'; field 'Net Boolean Public License v1' => 'NBPL-1.0'; # TODO field 'NetCDF license' => 'NetCDF'; field 'Nethack General Public License' => 'NGPL'; field 'Netizen Open Source License' => 'NOSL'; field 'Netscape Public License v1.0' => 'NPL-1.0'; field 'Netscape Public License v1.1' => 'NPL-1.1'; # TODO field 'Newsletr License' => 'Newsletr'; # TODO field 'No Limit Public License' => 'NLPL'; field 'Nokia Open Source License' => 'Nokia'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; # TODO field 'Noweb License' => 'Noweb'; # TODO field 'NRL License' => 'NRL'; field 'NTP License' => 'NTP'; # quirk field 'Nunit License' => 'Nunit'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; field 'ODC Open Database License v1.0' => 'ODbL-1.0'; field 'ODC Public Domain Dedication & License 1.0' => 'PDDL-1.0'; field 'Open Group Test Suite License' => 'OGTSL'; field 'Open LDAP Public License 2.2.2' => 'OLDAP-2.2.2'; field 'Open LDAP Public License v1.1' => 'OLDAP-1.1'; field 'Open LDAP Public License v1.2' => 'OLDAP-1.2'; field 'Open LDAP Public License v1.3' => 'OLDAP-1.3'; field 'Open LDAP Public License v1.4' => 'OLDAP-1.4'; field 'Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)' => 'OLDAP-2.0'; field 'Open LDAP Public License v2.0.1' => 'OLDAP-2.0.1'; field 'Open LDAP Public License v2.1' => 'OLDAP-2.1'; field 'Open LDAP Public License v2.2' => 'OLDAP-2.2'; field 'Open LDAP Public License v2.2.1' => 'OLDAP-2.2.1'; field 'Open LDAP Public License v2.3' => 'OLDAP-2.3'; field 'Open LDAP Public License v2.4' => 'OLDAP-2.4'; field 'Open LDAP Public License v2.5' => 'OLDAP-2.5'; field 'Open LDAP Public License v2.6' => 'OLDAP-2.6'; field 'Open LDAP Public License v2.7' => 'OLDAP-2.7'; field 'Open LDAP Public License v2.8' => 'OLDAP-2.8'; # TODO field 'Open Market License' => 'OML'; field 'Open Public License v1.0' => 'OPL-1.0'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'Open Software License 1.1' => 'OSL-1.1'; field 'Open Software License 2.0' => 'OSL-2.0'; field 'Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 3.0' => 'OSL-3.0'; field 'OpenSSL License' => 'OpenSSL'; field 'PHP License v3.0' => 'PHP-3.0'; field 'PHP License v3.01' => 'PHP-3.01'; # TODO field 'Plexus Classworlds License' => 'Plexus'; field 'PostgreSQL License' => 'PostgreSQL'; # TODO field 'psfrag License' => 'psfrag'; # TODO field 'psutils License' => 'psutils'; field 'Python License 2.0' => 'Python-2.0'; field 'Q Public License 1.0' => 'QPL-1.0'; # TODO field 'Qhull License' => 'Qhull'; # TODO field 'Rdisc License' => 'Rdisc'; field 'RealNetworks Public Source License v1.0' => 'RPSL-1.0'; field 'Reciprocal Public License 1.1' => 'RPL-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'Red Hat eCos Public License v1.1' => 'RHeCos-1.1'; field 'Ricoh Source Code Public License' => 'RSCPL'; # TODO field 'RSA Message-Digest License' => 'RSA-MD'; field 'Ruby License' => 'Ruby'; field 'Sax Public Domain Notice' => 'SAX-PD'; # TODO field 'Saxpath License' => 'Saxpath'; # TODO field 'SCEA Shared Source License' => 'SCEA'; # TODO field 'Scheme Widget Library (SWL) Software License Agreement' => # 'SWL'; # TODO field 'Sendmail License' => 'Sendmail'; field 'SGI Free Software License B v1.0' => 'SGI-B-1.0'; field 'SGI Free Software License B v1.1' => 'SGI-B-1.1'; field 'SGI Free Software License B v2.0' => 'SGI-B-2.0'; field 'SIL Open Font License 1.0' => 'OFL-1.0'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; field 'Simple Public License 2.0' => 'SimPL-2.0'; field 'Sleepycat License' => 'Sleepycat'; # TODO field 'SNIA Public License 1.1' => 'SNIA'; # TODO field 'Spencer License 86' => 'Spencer-86'; # TODO field 'Spencer License 94' => 'Spencer-94'; # TODO field 'Spencer License 99' => 'Spencer-99'; field 'Standard ML of New Jersey License' => 'SMLNJ'; field 'SugarCRM Public License v1.1.3' => 'SugarCRM-1.1.3'; field 'Sun Industry Standards Source License v1.1' => 'SISSL'; field 'Sun Industry Standards Source License v1.2' => 'SISSL-1.2'; field 'Sun Public License v1.0' => 'SPL-1.0'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; # TODO field 'TCL/TK License' => 'TCL'; field 'The Unlicense' => 'Unlicense'; # TODO field 'TMate Open Source License' => 'TMate'; # TODO field 'TORQUE v2.5+ Software License v1.1' => 'TORQUE-1.1'; field 'Trusster Open Source License' => 'TOSL'; field 'Unicode Terms of Use' => 'Unicode-TOU'; field 'Universal Permissive License v1.0' => 'UPL-1.0'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; # TODO field 'Vim License' => 'Vim'; # TODO field 'VOSTROM Public License for Open Source' => 'VOSTROM'; field 'Vovida Software License v1.0' => 'VSL-1.0'; field 'W3C Software Notice and License (1998-07-20)' => 'W3C-19980720'; field 'W3C Software Notice and License (2002-12-31)' => 'W3C'; # TODO field 'Wsuipa License' => 'Wsuipa'; field 'X.Net License' => 'Xnet'; field 'X11 License' => 'X11'; # TODO field 'Xerox License' => 'Xerox'; field 'XFree86 License 1.1' => 'XFree86-1.1'; # TODO field 'xinetd License' => 'xinetd'; # TODO field 'XPP License' => 'xpp'; # TODO field 'XSkat License' => 'XSkat'; field 'Yahoo! Public License v1.0' => 'YPL-1.0'; field 'Yahoo! Public License v1.1' => 'YPL-1.1'; field 'Zed License' => 'Zed'; field 'Zend License v2.0' => 'Zend-2.0'; field 'Zimbra Public License v1.3' => 'Zimbra-1.3'; field 'Zimbra Public License v1.4' => 'Zimbra-1.4'; field 'zlib License' => 'Zlib'; field 'zlib/libpng License with Acknowledgement' => 'zlib-acknowledgement'; field 'Zope Public License 1.1' => 'ZPL-1.1'; field 'Zope Public License 2.0' => 'ZPL-2.0'; field 'Zope Public License 2.1' => 'ZPL-2.1'; # quirks: duplicate names field 'Nunit' => 'zlib-acknowledgement'; field 'Nunit License' => 'zlib-acknowledgement'; # exceptions field '389 Directory Server Exception' => '389-exception'; field 'Autoconf exception 2.0' => 'Autoconf-exception-2.0'; field 'Autoconf exception 3.0' => 'Autoconf-exception-3.0'; field 'Bison exception 2.2' => 'Bison-exception-2.2'; field 'Classpath exception 2.0' => 'Classpath-exception-2.0'; # TODO field 'CLISP exception 2.0' => 'CLISP-exception-2.0'; # TODO field 'DigiRule FOSS License Exception' => 'DigiRule-FOSS-exception'; field 'eCos exception 2.0' => 'eCos-exception-2.0'; # TODO field 'Fawkes Runtime Exception' => 'Fawkes-Runtime-exception'; # TODO field 'FLTK exception' => 'FLTK-exception'; field 'Font exception 2.0' => 'Font-exception-2.0'; # TODO field 'FreeRTOS Exception 2.0' => 'freertos-exception-2.0'; field 'GCC Runtime Library exception 2.0' => 'GCC-exception-2.0'; field 'GCC Runtime Library exception 3.1' => 'GCC-exception-3.1'; # TODO field 'GNU JavaMail exception' => 'gnu-javamail-exception'; # TODO field 'i2p GPL+Java Exception' => 'i2p-gpl-java-exception'; field 'Libtool Exception' => 'Libtool-exception'; # TODO field 'LZMA exception' => 'LZMA-exception'; field 'Macros and Inline Functions Exception' => 'mif-exception'; # TODO field 'Nokia Qt LGPL exception 1.1' => 'Nokia-Qt-exception-1.1'; # TODO field 'OpenVPN OpenSSL Exception' => 'openvpn-openssl-exception'; # TODO field 'Qwt exception 1.0' => 'Qwt-exception-1.0'; # TODO field 'U-Boot exception 2.0' => 'u-boot-exception-2.0'; field 'WxWindows Library Exception 3.1' => 'WxWindows-exception-3.1'; end(); }, 'coverage of SPDX 2.2, released 2015-09-30' ); done_testing; coverage-spdx-2.3.t000644001750001750 5324514107233261 21357 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data sources: # # like( license_org_metadata( 'spdx', { date => '20160103', rev => '2_3' } ), hash { field '3dfx Glide License' => 'Glide'; field 'Abstyles License' => 'Abstyles'; field 'Academic Free License v1.1' => 'AFL-1.1'; field 'Academic Free License v1.2' => 'AFL-1.2'; field 'Academic Free License v2.0' => 'AFL-2.0'; field 'Academic Free License v2.1' => 'AFL-2.1'; field 'Academic Free License v3.0' => 'AFL-3.0'; field 'Academy of Motion Picture Arts and Sciences BSD' => 'AMPAS'; field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'Adobe Glyph List License' => 'Adobe-Glyph'; field 'Adobe Postscript AFM License' => 'APAFML'; field 'Adobe Systems Incorporated Source Code License Agreement' => 'Adobe-2006'; field 'Affero General Public License v1.0' => 'AGPL-1.0'; field 'Afmparse License' => 'Afmparse'; field 'Aladdin Free Public License' => 'Aladdin'; field 'Amazon Digital Services License' => 'ADSL'; field 'AMD\'s plpa_map.c License' => 'AMDPLPA'; field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'Apache License 1.0' => 'Apache-1.0'; field 'Apache License 1.1' => 'Apache-1.1'; field 'Apache License 2.0' => 'Apache-2.0'; field 'Apple MIT License' => 'AML'; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic License 1.0 (Perl)' => 'Artistic-1.0-Perl'; field 'Artistic License 1.0 w/clause 8' => 'Artistic-1.0-cl8'; field 'Artistic License 2.0' => 'Artistic-2.0'; field 'Attribution Assurance License' => 'AAL'; field 'Bahyph License' => 'Bahyph'; field 'Barr License' => 'Barr'; field 'Beerware License' => 'Beerware'; field 'BitTorrent Open Source License v1.0' => 'BitTorrent-1.0'; field 'BitTorrent Open Source License v1.1' => 'BitTorrent-1.1'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'Borceux license' => 'Borceux'; field 'BSD 2-clause "Simplified" License' => 'BSD-2-Clause'; field 'BSD 2-clause FreeBSD License' => 'BSD-2-Clause-FreeBSD'; field 'BSD 2-clause NetBSD License' => 'BSD-2-Clause-NetBSD'; field 'BSD 3-clause "New" or "Revised" License' => 'BSD-3-Clause'; field 'BSD 3-clause Clear License' => 'BSD-3-Clause-Clear'; field 'BSD 4-clause "Original" or "Old" License' => 'BSD-4-Clause'; field 'BSD Protection License' => 'BSD-Protection'; field 'BSD with attribution' => 'BSD-3-Clause-Attribution'; field 'BSD Zero Clause License' => '0BSD'; field 'BSD-4-Clause (University of California-Specific)' => 'BSD-4-Clause-UC'; field 'bzip2 and libbzip2 License v1.0.5' => 'bzip2-1.0.5'; field 'bzip2 and libbzip2 License v1.0.6' => 'bzip2-1.0.6'; field 'Caldera License' => 'Caldera'; field 'CeCILL Free Software License Agreement v1.0' => 'CECILL-1.0'; field 'CeCILL Free Software License Agreement v1.1' => 'CECILL-1.1'; field 'CeCILL Free Software License Agreement v2.0' => 'CECILL-2.0'; field 'CeCILL Free Software License Agreement v2.1' => 'CECILL-2.1'; field 'CeCILL-B Free Software License Agreement' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement' => 'CECILL-C'; field 'Clarified Artistic License' => 'ClArtistic'; field 'CMU License' => 'MIT-CMU'; field 'CNRI Jython License' => 'CNRI-Jython'; field 'CNRI Python License' => 'CNRI-Python'; field 'CNRI Python Open Source GPL Compatible License Agreement' => 'CNRI-Python-GPL-Compatible'; field 'Code Project Open License 1.02' => 'CPOL-1.02'; field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Development and Distribution License 1.1' => 'CDDL-1.1'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; field 'Common Public License 1.0' => 'CPL-1.0'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Condor Public License v1.1' => 'Condor-1.1'; field 'Creative Commons Attribution 1.0' => 'CC-BY-1.0'; field 'Creative Commons Attribution 2.0' => 'CC-BY-2.0'; field 'Creative Commons Attribution 2.5' => 'CC-BY-2.5'; field 'Creative Commons Attribution 3.0' => 'CC-BY-3.0'; field 'Creative Commons Attribution 4.0' => 'CC-BY-4.0'; field 'Creative Commons Attribution No Derivatives 1.0' => 'CC-BY-ND-1.0'; field 'Creative Commons Attribution No Derivatives 2.0' => 'CC-BY-ND-2.0'; field 'Creative Commons Attribution No Derivatives 2.5' => 'CC-BY-ND-2.5'; field 'Creative Commons Attribution No Derivatives 3.0' => 'CC-BY-ND-3.0'; field 'Creative Commons Attribution No Derivatives 4.0' => 'CC-BY-ND-4.0'; field 'Creative Commons Attribution Non Commercial 1.0' => 'CC-BY-NC-1.0'; field 'Creative Commons Attribution Non Commercial 2.0' => 'CC-BY-NC-2.0'; field 'Creative Commons Attribution Non Commercial 2.5' => 'CC-BY-NC-2.5'; field 'Creative Commons Attribution Non Commercial 3.0' => 'CC-BY-NC-3.0'; field 'Creative Commons Attribution Non Commercial 4.0' => 'CC-BY-NC-4.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 1.0' => 'CC-BY-NC-ND-1.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.0' => 'CC-BY-NC-ND-2.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.5' => 'CC-BY-NC-ND-2.5'; field 'Creative Commons Attribution Non Commercial No Derivatives 3.0' => 'CC-BY-NC-ND-3.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 4.0' => 'CC-BY-NC-ND-4.0'; field 'Creative Commons Attribution Non Commercial Share Alike 1.0' => 'CC-BY-NC-SA-1.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.0' => 'CC-BY-NC-SA-2.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.5' => 'CC-BY-NC-SA-2.5'; field 'Creative Commons Attribution Non Commercial Share Alike 3.0' => 'CC-BY-NC-SA-3.0'; field 'Creative Commons Attribution Non Commercial Share Alike 4.0' => 'CC-BY-NC-SA-4.0'; field 'Creative Commons Attribution Share Alike 1.0' => 'CC-BY-SA-1.0'; field 'Creative Commons Attribution Share Alike 2.0' => 'CC-BY-SA-2.0'; field 'Creative Commons Attribution Share Alike 2.5' => 'CC-BY-SA-2.5'; field 'Creative Commons Attribution Share Alike 3.0' => 'CC-BY-SA-3.0'; field 'Creative Commons Attribution Share Alike 4.0' => 'CC-BY-SA-4.0'; field 'Creative Commons Zero v1.0 Universal' => 'CC0-1.0'; field 'Crossword License' => 'Crossword'; # TODO field 'CrystalStacker License' => 'CrystalStacker'; field 'CUA Office Public License v1.0' => 'CUA-OPL-1.0'; field 'Cube License' => 'Cube'; field 'curl License' => 'curl'; field 'Deutsche Freie Software Lizenz' => 'D-FSL-1.0'; # TODO field 'diffmark license' => 'diffmark'; field 'Do What The F*ck You Want To Public License' => 'WTFPL'; # TODO field 'DOC License' => 'DOC'; # TODO field 'Dotseqn License' => 'Dotseqn'; field 'DSDP License' => 'DSDP'; # TODO field 'dvipdfm License' => 'dvipdfm'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'Educational Community License v1.0' => 'ECL-1.0'; field 'Educational Community License v2.0' => 'ECL-2.0'; # TODO field 'eGenix.com Public License 1.1.0' => 'eGenix'; field 'Eiffel Forum License v1.0' => 'EFL-1.0'; field 'Eiffel Forum License v2.0' => 'EFL-2.0'; field 'Enlightenment License (e16)' => 'MIT-advertising'; field 'enna License' => 'MIT-enna'; field 'Entessa Public License v1.0' => 'Entessa'; field 'Erlang Public License v1.1' => 'ErlPL-1.1'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License 1.0' => 'EUPL-1.0'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'Eurosym License' => 'Eurosym'; field 'Fair License' => 'Fair'; field 'feh License' => 'MIT-feh'; field 'Frameworx Open License 1.0' => 'Frameworx-1.0'; # TODO field 'FreeImage Public License v1.0' => 'FreeImage'; field 'Freetype Project License' => 'FTL'; field 'FSF Unlimited License' => 'FSFUL'; field 'FSF Unlimited License (with License Retention)' => 'FSFULLR'; # TODO field 'Giftware License' => 'Giftware'; # TODO field 'GL2PS License' => 'GL2PS'; # TODO field 'Glulxe License' => 'Glulxe'; field 'GNU Affero General Public License v3.0' => 'AGPL-3.0'; field 'GNU Free Documentation License v1.1' => 'GFDL-1.1'; field 'GNU Free Documentation License v1.2' => 'GFDL-1.2'; field 'GNU Free Documentation License v1.3' => 'GFDL-1.3'; field 'GNU General Public License v1.0 only' => 'GPL-1.0'; field 'GNU General Public License v2.0 only' => 'GPL-2.0'; field 'GNU General Public License v3.0 only' => 'GPL-3.0'; field 'GNU Lesser General Public License v2.1 only' => 'LGPL-2.1'; field 'GNU Lesser General Public License v3.0 only' => 'LGPL-3.0'; field 'GNU Library General Public License v2 only' => 'LGPL-2.0'; # TODO field 'gnuplot License' => 'gnuplot'; field 'gSOAP Public License v1.3b' => 'gSOAP-1.3b'; # TODO field 'Haskell Language Report License' => 'HaskellReport'; field 'Historic Permission Notice and Disclaimer' => 'HPND'; field 'IBM PowerPC Initialization and Boot Software' => 'IBM-pibs'; field 'IBM Public License v1.0' => 'IPL-1.0'; field 'ICU License' => 'ICU'; # TODO field 'ImageMagick License' => 'ImageMagick'; # TODO field 'iMatix Standard Function Library Agreement' => 'iMatix'; field 'Imlib2 License' => 'Imlib2'; field 'Independent JPEG Group License' => 'IJG'; # TODO field 'Info-ZIP License' => 'Info-ZIP'; # TODO field 'Intel ACPI Software License Agreement' => 'Intel-ACPI'; field 'Intel Open Source License' => 'Intel'; # TODO field 'Interbase Public License v1.0' => 'Interbase-1.0'; field 'IPA Font License' => 'IPA'; field 'ISC License' => 'ISC'; # TODO field 'JasPer License' => 'JasPer-2.0'; field 'JSON License' => 'JSON'; field 'LaTeX Project Public License v1.0' => 'LPPL-1.0'; field 'LaTeX Project Public License v1.1' => 'LPPL-1.1'; field 'LaTeX Project Public License v1.2' => 'LPPL-1.2'; field 'LaTeX Project Public License v1.3a' => 'LPPL-1.3a'; field 'LaTeX Project Public License v1.3c' => 'LPPL-1.3c'; # TODO field 'Latex2e License' => 'Latex2e'; field 'Lawrence Berkeley National Labs BSD variant license' => 'BSD-3-Clause-LBNL'; field 'Leptonica License' => 'Leptonica'; # TODO field 'Lesser General Public License For Linguistic Resources' => # 'LGPLLR'; field 'libpng License' => 'Libpng'; field 'libtiff License' => 'libtiff'; field 'Lucent Public License v1.02' => 'LPL-1.02'; field 'Lucent Public License Version 1.0' => 'LPL-1.0'; # TODO field 'MakeIndex License' => 'MakeIndex'; # TODO field 'Matrix Template Library License' => 'MTLL'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; field 'MirOS Licence' => 'MirOS'; # TODO field 'MIT +no-false-attribs license' => 'MITNFA'; field 'MIT License' => 'MIT'; field 'Motosoto License' => 'Motosoto'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0' => 'MPL-2.0'; field 'Mozilla Public License 2.0 (no copyleft exception)' => 'MPL-2.0-no-copyleft-exception'; field 'mpich2 License' => 'mpich2'; field 'Multics License' => 'Multics'; # TODO field 'Mup License' => 'Mup'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; field 'Naumen Public License' => 'Naumen'; field 'Net Boolean Public License v1' => 'NBPL-1.0'; # TODO field 'NetCDF license' => 'NetCDF'; field 'Nethack General Public License' => 'NGPL'; field 'Netizen Open Source License' => 'NOSL'; field 'Netscape Public License v1.0' => 'NPL-1.0'; field 'Netscape Public License v1.1' => 'NPL-1.1'; # TODO field 'Newsletr License' => 'Newsletr'; # TODO field 'No Limit Public License' => 'NLPL'; field 'Nokia Open Source License' => 'Nokia'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; # TODO field 'Noweb License' => 'Noweb'; # TODO field 'NRL License' => 'NRL'; field 'NTP License' => 'NTP'; # quirk field 'Nunit License' => 'Nunit'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; field 'ODC Open Database License v1.0' => 'ODbL-1.0'; field 'ODC Public Domain Dedication & License 1.0' => 'PDDL-1.0'; # TODO field 'Open CASCADE Technology Public License' => 'OCCT-PL'; field 'Open Group Test Suite License' => 'OGTSL'; field 'Open LDAP Public License 2.2.2' => 'OLDAP-2.2.2'; field 'Open LDAP Public License v1.1' => 'OLDAP-1.1'; field 'Open LDAP Public License v1.2' => 'OLDAP-1.2'; field 'Open LDAP Public License v1.3' => 'OLDAP-1.3'; field 'Open LDAP Public License v1.4' => 'OLDAP-1.4'; field 'Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)' => 'OLDAP-2.0'; field 'Open LDAP Public License v2.0.1' => 'OLDAP-2.0.1'; field 'Open LDAP Public License v2.1' => 'OLDAP-2.1'; field 'Open LDAP Public License v2.2' => 'OLDAP-2.2'; field 'Open LDAP Public License v2.2.1' => 'OLDAP-2.2.1'; field 'Open LDAP Public License v2.3' => 'OLDAP-2.3'; field 'Open LDAP Public License v2.4' => 'OLDAP-2.4'; field 'Open LDAP Public License v2.5' => 'OLDAP-2.5'; field 'Open LDAP Public License v2.6' => 'OLDAP-2.6'; field 'Open LDAP Public License v2.7' => 'OLDAP-2.7'; field 'Open LDAP Public License v2.8' => 'OLDAP-2.8'; # TODO field 'Open Market License' => 'OML'; field 'Open Public License v1.0' => 'OPL-1.0'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'Open Software License 1.1' => 'OSL-1.1'; field 'Open Software License 2.0' => 'OSL-2.0'; field 'Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 3.0' => 'OSL-3.0'; field 'OpenSSL License' => 'OpenSSL'; field 'PHP License v3.0' => 'PHP-3.0'; field 'PHP License v3.01' => 'PHP-3.01'; # TODO field 'Plexus Classworlds License' => 'Plexus'; field 'PostgreSQL License' => 'PostgreSQL'; # TODO field 'psfrag License' => 'psfrag'; # TODO field 'psutils License' => 'psutils'; field 'Python License 2.0' => 'Python-2.0'; field 'Q Public License 1.0' => 'QPL-1.0'; # TODO field 'Qhull License' => 'Qhull'; # TODO field 'Rdisc License' => 'Rdisc'; field 'RealNetworks Public Source License v1.0' => 'RPSL-1.0'; field 'Reciprocal Public License 1.1' => 'RPL-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'Red Hat eCos Public License v1.1' => 'RHeCos-1.1'; field 'Ricoh Source Code Public License' => 'RSCPL'; # TODO field 'RSA Message-Digest License' => 'RSA-MD'; field 'Ruby License' => 'Ruby'; field 'Sax Public Domain Notice' => 'SAX-PD'; # TODO field 'Saxpath License' => 'Saxpath'; # TODO field 'SCEA Shared Source License' => 'SCEA'; # TODO field 'Scheme Widget Library (SWL) Software License Agreement' => # 'SWL'; # TODO field 'Sendmail License' => 'Sendmail'; field 'SGI Free Software License B v1.0' => 'SGI-B-1.0'; field 'SGI Free Software License B v1.1' => 'SGI-B-1.1'; field 'SGI Free Software License B v2.0' => 'SGI-B-2.0'; field 'SIL Open Font License 1.0' => 'OFL-1.0'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; field 'Simple Public License 2.0' => 'SimPL-2.0'; field 'Sleepycat License' => 'Sleepycat'; # TODO field 'SNIA Public License 1.1' => 'SNIA'; # TODO field 'Spencer License 86' => 'Spencer-86'; # TODO field 'Spencer License 94' => 'Spencer-94'; # TODO field 'Spencer License 99' => 'Spencer-99'; field 'Standard ML of New Jersey License' => 'SMLNJ'; field 'SugarCRM Public License v1.1.3' => 'SugarCRM-1.1.3'; field 'Sun Industry Standards Source License v1.1' => 'SISSL'; field 'Sun Industry Standards Source License v1.2' => 'SISSL-1.2'; field 'Sun Public License v1.0' => 'SPL-1.0'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; # TODO field 'TCL/TK License' => 'TCL'; field 'The Unlicense' => 'Unlicense'; # TODO field 'TMate Open Source License' => 'TMate'; # TODO field 'TORQUE v2.5+ Software License v1.1' => 'TORQUE-1.1'; field 'Trusster Open Source License' => 'TOSL'; field 'Unicode Terms of Use' => 'Unicode-TOU'; field 'Universal Permissive License v1.0' => 'UPL-1.0'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; # TODO field 'Vim License' => 'Vim'; # TODO field 'VOSTROM Public License for Open Source' => 'VOSTROM'; field 'Vovida Software License v1.0' => 'VSL-1.0'; field 'W3C Software Notice and License (1998-07-20)' => 'W3C-19980720'; field 'W3C Software Notice and License (2002-12-31)' => 'W3C'; # TODO field 'Wsuipa License' => 'Wsuipa'; field 'X.Net License' => 'Xnet'; field 'X11 License' => 'X11'; # TODO field 'Xerox License' => 'Xerox'; field 'XFree86 License 1.1' => 'XFree86-1.1'; # TODO field 'xinetd License' => 'xinetd'; # TODO field 'XPP License' => 'xpp'; # TODO field 'XSkat License' => 'XSkat'; field 'Yahoo! Public License v1.0' => 'YPL-1.0'; field 'Yahoo! Public License v1.1' => 'YPL-1.1'; field 'Zed License' => 'Zed'; field 'Zend License v2.0' => 'Zend-2.0'; field 'Zimbra Public License v1.3' => 'Zimbra-1.3'; field 'Zimbra Public License v1.4' => 'Zimbra-1.4'; field 'zlib License' => 'Zlib'; field 'zlib/libpng License with Acknowledgement' => 'zlib-acknowledgement'; field 'Zope Public License 1.1' => 'ZPL-1.1'; field 'Zope Public License 2.0' => 'ZPL-2.0'; field 'Zope Public License 2.1' => 'ZPL-2.1'; # quirks: duplicate names field 'Nunit' => 'zlib-acknowledgement'; field 'Nunit License' => 'zlib-acknowledgement'; # exceptions field '389 Directory Server Exception' => '389-exception'; field 'Autoconf exception 2.0' => 'Autoconf-exception-2.0'; field 'Autoconf exception 3.0' => 'Autoconf-exception-3.0'; field 'Bison exception 2.2' => 'Bison-exception-2.2'; field 'Classpath exception 2.0' => 'Classpath-exception-2.0'; # TODO field 'CLISP exception 2.0' => 'CLISP-exception-2.0'; # TODO field 'DigiRule FOSS License Exception' => 'DigiRule-FOSS-exception'; field 'eCos exception 2.0' => 'eCos-exception-2.0'; # TODO field 'Fawkes Runtime Exception' => 'Fawkes-Runtime-exception'; # TODO field 'FLTK exception' => 'FLTK-exception'; field 'Font exception 2.0' => 'Font-exception-2.0'; # TODO field 'FreeRTOS Exception 2.0' => 'freertos-exception-2.0'; field 'GCC Runtime Library exception 2.0' => 'GCC-exception-2.0'; field 'GCC Runtime Library exception 3.1' => 'GCC-exception-3.1'; # TODO field 'GNU JavaMail exception' => 'gnu-javamail-exception'; # TODO field 'i2p GPL+Java Exception' => 'i2p-gpl-java-exception'; field 'Libtool Exception' => 'Libtool-exception'; # TODO field 'LZMA exception' => 'LZMA-exception'; field 'Macros and Inline Functions Exception' => 'mif-exception'; # TODO field 'Nokia Qt LGPL exception 1.1' => 'Nokia-Qt-exception-1.1'; # TODO field 'OpenVPN OpenSSL Exception' => 'openvpn-openssl-exception'; # TODO field 'Qwt exception 1.0' => 'Qwt-exception-1.0'; # TODO field 'U-Boot exception 2.0' => 'u-boot-exception-2.0'; field 'WxWindows Library Exception 3.1' => 'WxWindows-exception-3.1'; # TODO field 'Open CASCADE Exception 1.0' => 'OCCT-exception-1.0'; end(); }, 'coverage of SPDX 2.3, released 2016-01-03' ); done_testing; coverage-spdx-2.4.t000644001750001750 5460514107233261 21361 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data sources: # # like( license_org_metadata( 'spdx', { date => '20160323', rev => '2_4' } ), hash { field '3dfx Glide License' => 'Glide'; field 'Abstyles License' => 'Abstyles'; field 'Academic Free License v1.1' => 'AFL-1.1'; field 'Academic Free License v1.2' => 'AFL-1.2'; field 'Academic Free License v2.0' => 'AFL-2.0'; field 'Academic Free License v2.1' => 'AFL-2.1'; field 'Academic Free License v3.0' => 'AFL-3.0'; field 'Academy of Motion Picture Arts and Sciences BSD' => 'AMPAS'; field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'Adobe Glyph List License' => 'Adobe-Glyph'; field 'Adobe Postscript AFM License' => 'APAFML'; field 'Adobe Systems Incorporated Source Code License Agreement' => 'Adobe-2006'; field 'Affero General Public License v1.0' => 'AGPL-1.0'; field 'Afmparse License' => 'Afmparse'; field 'Aladdin Free Public License' => 'Aladdin'; field 'Amazon Digital Services License' => 'ADSL'; field 'AMD\'s plpa_map.c License' => 'AMDPLPA'; field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'Apache License 1.0' => 'Apache-1.0'; field 'Apache License 1.1' => 'Apache-1.1'; field 'Apache License 2.0' => 'Apache-2.0'; field 'Apple MIT License' => 'AML'; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic License 1.0 (Perl)' => 'Artistic-1.0-Perl'; field 'Artistic License 1.0 w/clause 8' => 'Artistic-1.0-cl8'; field 'Artistic License 2.0' => 'Artistic-2.0'; field 'Attribution Assurance License' => 'AAL'; field 'Bahyph License' => 'Bahyph'; field 'Barr License' => 'Barr'; field 'Beerware License' => 'Beerware'; field 'BitTorrent Open Source License v1.0' => 'BitTorrent-1.0'; field 'BitTorrent Open Source License v1.1' => 'BitTorrent-1.1'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'Borceux license' => 'Borceux'; field 'BSD 2-clause "Simplified" License' => 'BSD-2-Clause'; field 'BSD 2-clause FreeBSD License' => 'BSD-2-Clause-FreeBSD'; field 'BSD 2-clause NetBSD License' => 'BSD-2-Clause-NetBSD'; field 'BSD 3-clause "New" or "Revised" License' => 'BSD-3-Clause'; field 'BSD 3-clause Clear License' => 'BSD-3-Clause-Clear'; field 'BSD 4-clause "Original" or "Old" License' => 'BSD-4-Clause'; field 'BSD Protection License' => 'BSD-Protection'; field 'BSD with attribution' => 'BSD-3-Clause-Attribution'; field 'BSD Zero Clause License' => '0BSD'; field 'BSD-4-Clause (University of California-Specific)' => 'BSD-4-Clause-UC'; field 'bzip2 and libbzip2 License v1.0.5' => 'bzip2-1.0.5'; field 'bzip2 and libbzip2 License v1.0.6' => 'bzip2-1.0.6'; field 'Caldera License' => 'Caldera'; field 'CeCILL Free Software License Agreement v1.0' => 'CECILL-1.0'; field 'CeCILL Free Software License Agreement v1.1' => 'CECILL-1.1'; field 'CeCILL Free Software License Agreement v2.0' => 'CECILL-2.0'; field 'CeCILL Free Software License Agreement v2.1' => 'CECILL-2.1'; field 'CeCILL-B Free Software License Agreement' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement' => 'CECILL-C'; field 'Clarified Artistic License' => 'ClArtistic'; field 'CMU License' => 'MIT-CMU'; field 'CNRI Jython License' => 'CNRI-Jython'; field 'CNRI Python License' => 'CNRI-Python'; field 'CNRI Python Open Source GPL Compatible License Agreement' => 'CNRI-Python-GPL-Compatible'; field 'Code Project Open License 1.02' => 'CPOL-1.02'; field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Development and Distribution License 1.1' => 'CDDL-1.1'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; field 'Common Public License 1.0' => 'CPL-1.0'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Condor Public License v1.1' => 'Condor-1.1'; field 'Creative Commons Attribution 1.0' => 'CC-BY-1.0'; field 'Creative Commons Attribution 2.0' => 'CC-BY-2.0'; field 'Creative Commons Attribution 2.5' => 'CC-BY-2.5'; field 'Creative Commons Attribution 3.0' => 'CC-BY-3.0'; field 'Creative Commons Attribution 4.0' => 'CC-BY-4.0'; field 'Creative Commons Attribution No Derivatives 1.0' => 'CC-BY-ND-1.0'; field 'Creative Commons Attribution No Derivatives 2.0' => 'CC-BY-ND-2.0'; field 'Creative Commons Attribution No Derivatives 2.5' => 'CC-BY-ND-2.5'; field 'Creative Commons Attribution No Derivatives 3.0' => 'CC-BY-ND-3.0'; field 'Creative Commons Attribution No Derivatives 4.0' => 'CC-BY-ND-4.0'; field 'Creative Commons Attribution Non Commercial 1.0' => 'CC-BY-NC-1.0'; field 'Creative Commons Attribution Non Commercial 2.0' => 'CC-BY-NC-2.0'; field 'Creative Commons Attribution Non Commercial 2.5' => 'CC-BY-NC-2.5'; field 'Creative Commons Attribution Non Commercial 3.0' => 'CC-BY-NC-3.0'; field 'Creative Commons Attribution Non Commercial 4.0' => 'CC-BY-NC-4.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 1.0' => 'CC-BY-NC-ND-1.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.0' => 'CC-BY-NC-ND-2.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.5' => 'CC-BY-NC-ND-2.5'; field 'Creative Commons Attribution Non Commercial No Derivatives 3.0' => 'CC-BY-NC-ND-3.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 4.0' => 'CC-BY-NC-ND-4.0'; field 'Creative Commons Attribution Non Commercial Share Alike 1.0' => 'CC-BY-NC-SA-1.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.0' => 'CC-BY-NC-SA-2.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.5' => 'CC-BY-NC-SA-2.5'; field 'Creative Commons Attribution Non Commercial Share Alike 3.0' => 'CC-BY-NC-SA-3.0'; field 'Creative Commons Attribution Non Commercial Share Alike 4.0' => 'CC-BY-NC-SA-4.0'; field 'Creative Commons Attribution Share Alike 1.0' => 'CC-BY-SA-1.0'; field 'Creative Commons Attribution Share Alike 2.0' => 'CC-BY-SA-2.0'; field 'Creative Commons Attribution Share Alike 2.5' => 'CC-BY-SA-2.5'; field 'Creative Commons Attribution Share Alike 3.0' => 'CC-BY-SA-3.0'; field 'Creative Commons Attribution Share Alike 4.0' => 'CC-BY-SA-4.0'; field 'Creative Commons Zero v1.0 Universal' => 'CC0-1.0'; field 'Crossword License' => 'Crossword'; # TODO field 'CrystalStacker License' => 'CrystalStacker'; field 'CUA Office Public License v1.0' => 'CUA-OPL-1.0'; field 'Cube License' => 'Cube'; field 'curl License' => 'curl'; field 'Deutsche Freie Software Lizenz' => 'D-FSL-1.0'; # TODO field 'diffmark license' => 'diffmark'; field 'Do What The F*ck You Want To Public License' => 'WTFPL'; # TODO field 'DOC License' => 'DOC'; # TODO field 'Dotseqn License' => 'Dotseqn'; field 'DSDP License' => 'DSDP'; # TODO field 'dvipdfm License' => 'dvipdfm'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'Educational Community License v1.0' => 'ECL-1.0'; field 'Educational Community License v2.0' => 'ECL-2.0'; # TODO field 'eGenix.com Public License 1.1.0' => 'eGenix'; field 'Eiffel Forum License v1.0' => 'EFL-1.0'; field 'Eiffel Forum License v2.0' => 'EFL-2.0'; field 'Enlightenment License (e16)' => 'MIT-advertising'; field 'enna License' => 'MIT-enna'; field 'Entessa Public License v1.0' => 'Entessa'; field 'Erlang Public License v1.1' => 'ErlPL-1.1'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License 1.0' => 'EUPL-1.0'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'Eurosym License' => 'Eurosym'; field 'Fair License' => 'Fair'; field 'feh License' => 'MIT-feh'; field 'Frameworx Open License 1.0' => 'Frameworx-1.0'; # TODO field 'FreeImage Public License v1.0' => 'FreeImage'; field 'Freetype Project License' => 'FTL'; field 'FSF All Permissive License' => 'FSFAP'; field 'FSF Unlimited License' => 'FSFUL'; field 'FSF Unlimited License (with License Retention)' => 'FSFULLR'; # TODO field 'Giftware License' => 'Giftware'; # TODO field 'GL2PS License' => 'GL2PS'; # TODO field 'Glulxe License' => 'Glulxe'; field 'GNU Affero General Public License v3.0' => 'AGPL-3.0'; field 'GNU Free Documentation License v1.1' => 'GFDL-1.1'; field 'GNU Free Documentation License v1.2' => 'GFDL-1.2'; field 'GNU Free Documentation License v1.3' => 'GFDL-1.3'; field 'GNU General Public License v1.0 only' => 'GPL-1.0'; field 'GNU General Public License v2.0 only' => 'GPL-2.0'; field 'GNU General Public License v3.0 only' => 'GPL-3.0'; field 'GNU Lesser General Public License v2.1 only' => 'LGPL-2.1'; field 'GNU Lesser General Public License v3.0 only' => 'LGPL-3.0'; field 'GNU Library General Public License v2 only' => 'LGPL-2.0'; # TODO field 'gnuplot License' => 'gnuplot'; field 'gSOAP Public License v1.3b' => 'gSOAP-1.3b'; # TODO field 'Haskell Language Report License' => 'HaskellReport'; field 'Historic Permission Notice and Disclaimer' => 'HPND'; field 'IBM PowerPC Initialization and Boot Software' => 'IBM-pibs'; field 'IBM Public License v1.0' => 'IPL-1.0'; field 'ICU License' => 'ICU'; # TODO field 'ImageMagick License' => 'ImageMagick'; # TODO field 'iMatix Standard Function Library Agreement' => 'iMatix'; field 'Imlib2 License' => 'Imlib2'; field 'Independent JPEG Group License' => 'IJG'; # TODO field 'Info-ZIP License' => 'Info-ZIP'; # TODO field 'Intel ACPI Software License Agreement' => 'Intel-ACPI'; field 'Intel Open Source License' => 'Intel'; # TODO field 'Interbase Public License v1.0' => 'Interbase-1.0'; field 'IPA Font License' => 'IPA'; field 'ISC License' => 'ISC'; # TODO field 'JasPer License' => 'JasPer-2.0'; field 'JSON License' => 'JSON'; field 'LaTeX Project Public License v1.0' => 'LPPL-1.0'; field 'LaTeX Project Public License v1.1' => 'LPPL-1.1'; field 'LaTeX Project Public License v1.2' => 'LPPL-1.2'; field 'LaTeX Project Public License v1.3a' => 'LPPL-1.3a'; field 'LaTeX Project Public License v1.3c' => 'LPPL-1.3c'; # TODO field 'Latex2e License' => 'Latex2e'; field 'Lawrence Berkeley National Labs BSD variant license' => 'BSD-3-Clause-LBNL'; field 'Leptonica License' => 'Leptonica'; # TODO field 'Lesser General Public License For Linguistic Resources' => # 'LGPLLR'; field 'libpng License' => 'Libpng'; field 'libtiff License' => 'libtiff'; # TODO field 'Licence Art Libre 1.2' => 'LAL-1.2'; # TODO field 'Licence Art Libre 1.3' => 'LAL-1.3'; field 'Licence Libre du Québec – Permissive version 1.1' => 'LiLiQ-P-1.1'; field 'Licence Libre du Québec – Réciprocité forte version 1.1' => 'LiLiQ-Rplus-1.1'; field 'Licence Libre du Québec – Réciprocité version 1.1' => 'LiLiQ-R-1.1'; field 'Lucent Public License v1.02' => 'LPL-1.02'; field 'Lucent Public License Version 1.0' => 'LPL-1.0'; # TODO field 'MakeIndex License' => 'MakeIndex'; # TODO field 'Matrix Template Library License' => 'MTLL'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; field 'MirOS Licence' => 'MirOS'; # TODO field 'MIT +no-false-attribs license' => 'MITNFA'; field 'MIT License' => 'MIT'; field 'Motosoto License' => 'Motosoto'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0' => 'MPL-2.0'; field 'Mozilla Public License 2.0 (no copyleft exception)' => 'MPL-2.0-no-copyleft-exception'; field 'mpich2 License' => 'mpich2'; field 'Multics License' => 'Multics'; # TODO field 'Mup License' => 'Mup'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; field 'Naumen Public License' => 'Naumen'; field 'Net Boolean Public License v1' => 'NBPL-1.0'; # TODO field 'NetCDF license' => 'NetCDF'; field 'Nethack General Public License' => 'NGPL'; field 'Netizen Open Source License' => 'NOSL'; field 'Netscape Public License v1.0' => 'NPL-1.0'; field 'Netscape Public License v1.1' => 'NPL-1.1'; # TODO field 'Newsletr License' => 'Newsletr'; # TODO field 'No Limit Public License' => 'NLPL'; field 'Nokia Open Source License' => 'Nokia'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; # TODO field 'Norwegian Licence for Open Government Data' => 'NLOD-1.0'; # TODO field 'Noweb License' => 'Noweb'; # TODO field 'NRL License' => 'NRL'; field 'NTP License' => 'NTP'; # quirk field 'Nunit License' => 'Nunit'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; field 'ODC Open Database License v1.0' => 'ODbL-1.0'; field 'ODC Public Domain Dedication & License 1.0' => 'PDDL-1.0'; # TODO field 'Open CASCADE Technology Public License' => 'OCCT-PL'; field 'Open Group Test Suite License' => 'OGTSL'; field 'Open LDAP Public License 2.2.2' => 'OLDAP-2.2.2'; field 'Open LDAP Public License v1.1' => 'OLDAP-1.1'; field 'Open LDAP Public License v1.2' => 'OLDAP-1.2'; field 'Open LDAP Public License v1.3' => 'OLDAP-1.3'; field 'Open LDAP Public License v1.4' => 'OLDAP-1.4'; field 'Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)' => 'OLDAP-2.0'; field 'Open LDAP Public License v2.0.1' => 'OLDAP-2.0.1'; field 'Open LDAP Public License v2.1' => 'OLDAP-2.1'; field 'Open LDAP Public License v2.2' => 'OLDAP-2.2'; field 'Open LDAP Public License v2.2.1' => 'OLDAP-2.2.1'; field 'Open LDAP Public License v2.3' => 'OLDAP-2.3'; field 'Open LDAP Public License v2.4' => 'OLDAP-2.4'; field 'Open LDAP Public License v2.5' => 'OLDAP-2.5'; field 'Open LDAP Public License v2.6' => 'OLDAP-2.6'; field 'Open LDAP Public License v2.7' => 'OLDAP-2.7'; field 'Open LDAP Public License v2.8' => 'OLDAP-2.8'; # TODO field 'Open Market License' => 'OML'; field 'Open Public License v1.0' => 'OPL-1.0'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'Open Software License 1.1' => 'OSL-1.1'; field 'Open Software License 2.0' => 'OSL-2.0'; field 'Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 3.0' => 'OSL-3.0'; field 'OpenSSL License' => 'OpenSSL'; field 'OSET Public License version 2.1' => 'OSET-PL-2.1'; field 'PHP License v3.0' => 'PHP-3.0'; field 'PHP License v3.01' => 'PHP-3.01'; # TODO field 'Plexus Classworlds License' => 'Plexus'; field 'PostgreSQL License' => 'PostgreSQL'; # TODO field 'psfrag License' => 'psfrag'; # TODO field 'psutils License' => 'psutils'; field 'Python License 2.0' => 'Python-2.0'; field 'Q Public License 1.0' => 'QPL-1.0'; # TODO field 'Qhull License' => 'Qhull'; # TODO field 'Rdisc License' => 'Rdisc'; field 'RealNetworks Public Source License v1.0' => 'RPSL-1.0'; field 'Reciprocal Public License 1.1' => 'RPL-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'Red Hat eCos Public License v1.1' => 'RHeCos-1.1'; field 'Ricoh Source Code Public License' => 'RSCPL'; # TODO field 'RSA Message-Digest License' => 'RSA-MD'; field 'Ruby License' => 'Ruby'; field 'Sax Public Domain Notice' => 'SAX-PD'; # TODO field 'Saxpath License' => 'Saxpath'; # TODO field 'SCEA Shared Source License' => 'SCEA'; # TODO field 'Scheme Widget Library (SWL) Software License Agreement' => # 'SWL'; # TODO field 'Secure Messaging Protocol Public License' => 'SMPPL'; # TODO field 'Sendmail License' => 'Sendmail'; field 'SGI Free Software License B v1.0' => 'SGI-B-1.0'; field 'SGI Free Software License B v1.1' => 'SGI-B-1.1'; field 'SGI Free Software License B v2.0' => 'SGI-B-2.0'; field 'SIL Open Font License 1.0' => 'OFL-1.0'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; field 'Simple Public License 2.0' => 'SimPL-2.0'; field 'Sleepycat License' => 'Sleepycat'; # TODO field 'SNIA Public License 1.1' => 'SNIA'; # TODO field 'Spencer License 86' => 'Spencer-86'; # TODO field 'Spencer License 94' => 'Spencer-94'; # TODO field 'Spencer License 99' => 'Spencer-99'; field 'Standard ML of New Jersey License' => 'SMLNJ'; field 'SugarCRM Public License v1.1.3' => 'SugarCRM-1.1.3'; field 'Sun Industry Standards Source License v1.1' => 'SISSL'; field 'Sun Industry Standards Source License v1.2' => 'SISSL-1.2'; field 'Sun Public License v1.0' => 'SPL-1.0'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; # TODO field 'TCL/TK License' => 'TCL'; field 'The Unlicense' => 'Unlicense'; # TODO field 'TMate Open Source License' => 'TMate'; # TODO field 'TORQUE v2.5+ Software License v1.1' => 'TORQUE-1.1'; field 'Trusster Open Source License' => 'TOSL'; field 'Unicode Terms of Use' => 'Unicode-TOU'; field 'Universal Permissive License v1.0' => 'UPL-1.0'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; # TODO field 'Vim License' => 'Vim'; # TODO field 'VOSTROM Public License for Open Source' => 'VOSTROM'; field 'Vovida Software License v1.0' => 'VSL-1.0'; field 'W3C Software Notice and License (1998-07-20)' => 'W3C-19980720'; field 'W3C Software Notice and License (2002-12-31)' => 'W3C'; # TODO field 'Wsuipa License' => 'Wsuipa'; field 'X.Net License' => 'Xnet'; field 'X11 License' => 'X11'; # TODO field 'Xerox License' => 'Xerox'; field 'XFree86 License 1.1' => 'XFree86-1.1'; # TODO field 'xinetd License' => 'xinetd'; # TODO field 'XPP License' => 'xpp'; # TODO field 'XSkat License' => 'XSkat'; field 'Yahoo! Public License v1.0' => 'YPL-1.0'; field 'Yahoo! Public License v1.1' => 'YPL-1.1'; field 'Zed License' => 'Zed'; field 'Zend License v2.0' => 'Zend-2.0'; field 'Zimbra Public License v1.3' => 'Zimbra-1.3'; field 'Zimbra Public License v1.4' => 'Zimbra-1.4'; field 'zlib License' => 'Zlib'; field 'zlib/libpng License with Acknowledgement' => 'zlib-acknowledgement'; field 'Zope Public License 1.1' => 'ZPL-1.1'; field 'Zope Public License 2.0' => 'ZPL-2.0'; field 'Zope Public License 2.1' => 'ZPL-2.1'; # quirks: duplicate names field 'Nunit' => 'zlib-acknowledgement'; field 'Nunit License' => 'zlib-acknowledgement'; # exceptions field '389 Directory Server Exception' => '389-exception'; field 'Autoconf exception 2.0' => 'Autoconf-exception-2.0'; field 'Autoconf exception 3.0' => 'Autoconf-exception-3.0'; field 'Bison exception 2.2' => 'Bison-exception-2.2'; field 'Classpath exception 2.0' => 'Classpath-exception-2.0'; # TODO field 'CLISP exception 2.0' => 'CLISP-exception-2.0'; # TODO field 'DigiRule FOSS License Exception' => 'DigiRule-FOSS-exception'; field 'eCos exception 2.0' => 'eCos-exception-2.0'; # TODO field 'Fawkes Runtime Exception' => 'Fawkes-Runtime-exception'; # TODO field 'FLTK exception' => 'FLTK-exception'; field 'Font exception 2.0' => 'Font-exception-2.0'; # TODO field 'FreeRTOS Exception 2.0' => 'freertos-exception-2.0'; field 'GCC Runtime Library exception 2.0' => 'GCC-exception-2.0'; field 'GCC Runtime Library exception 3.1' => 'GCC-exception-3.1'; # TODO field 'GNU JavaMail exception' => 'gnu-javamail-exception'; # TODO field 'i2p GPL+Java Exception' => 'i2p-gpl-java-exception'; field 'Libtool Exception' => 'Libtool-exception'; # TODO field 'LZMA exception' => 'LZMA-exception'; field 'Macros and Inline Functions Exception' => 'mif-exception'; # TODO field 'Nokia Qt LGPL exception 1.1' => 'Nokia-Qt-exception-1.1'; # TODO field 'OpenVPN OpenSSL Exception' => 'openvpn-openssl-exception'; # TODO field 'Qwt exception 1.0' => 'Qwt-exception-1.0'; # TODO field 'U-Boot exception 2.0' => 'u-boot-exception-2.0'; field 'WxWindows Library Exception 3.1' => 'WxWindows-exception-3.1'; # TODO field 'Open CASCADE Exception 1.0' => 'OCCT-exception-1.0'; end(); }, 'coverage of SPDX 2.4, git tagged 2016-03-23' ); done_testing; coverage-spdx-2.5.t000644001750001750 5514414107233261 21361 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data sources: # # like( license_org_metadata( 'spdx', { date => '20160721', rev => '2_5' } ), hash { field 'BSD Zero Clause License' => '0BSD'; field 'Attribution Assurance License' => 'AAL'; field 'Abstyles License' => 'Abstyles'; field 'Adobe Systems Incorporated Source Code License Agreement' => 'Adobe-2006'; field 'Adobe Glyph List License' => 'Adobe-Glyph'; field 'Amazon Digital Services License' => 'ADSL'; field 'Academic Free License v1.1' => 'AFL-1.1'; field 'Academic Free License v1.2' => 'AFL-1.2'; field 'Academic Free License v2.0' => 'AFL-2.0'; field 'Academic Free License v2.1' => 'AFL-2.1'; field 'Academic Free License v3.0' => 'AFL-3.0'; field 'Afmparse License' => 'Afmparse'; field 'Affero General Public License v1.0' => 'AGPL-1.0'; field 'GNU Affero General Public License v3.0' => 'AGPL-3.0'; field 'Aladdin Free Public License' => 'Aladdin'; field 'AMD\'s plpa_map.c License' => 'AMDPLPA'; field 'Apple MIT License' => 'AML'; field 'Academy of Motion Picture Arts and Sciences BSD' => 'AMPAS'; field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'Apache License 1.0' => 'Apache-1.0'; field 'Apache License 1.1' => 'Apache-1.1'; field 'Apache License 2.0' => 'Apache-2.0'; field 'Adobe Postscript AFM License' => 'APAFML'; field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic License 1.0 w/clause 8' => 'Artistic-1.0-cl8'; field 'Artistic License 1.0 (Perl)' => 'Artistic-1.0-Perl'; field 'Artistic License 2.0' => 'Artistic-2.0'; field 'Bahyph License' => 'Bahyph'; field 'Barr License' => 'Barr'; field 'Beerware License' => 'Beerware'; field 'BitTorrent Open Source License v1.0' => 'BitTorrent-1.0'; field 'BitTorrent Open Source License v1.1' => 'BitTorrent-1.1'; field 'Borceux license' => 'Borceux'; field 'BSD 2-clause "Simplified" License' => 'BSD-2-Clause'; field 'BSD 2-clause FreeBSD License' => 'BSD-2-Clause-FreeBSD'; field 'BSD 2-clause NetBSD License' => 'BSD-2-Clause-NetBSD'; field 'BSD 3-clause "New" or "Revised" License' => 'BSD-3-Clause'; field 'BSD with attribution' => 'BSD-3-Clause-Attribution'; field 'BSD 3-clause Clear License' => 'BSD-3-Clause-Clear'; field 'BSD 3-Clause No Nuclear License' => 'BSD-3-Clause-No-Nuclear-License'; field 'BSD 3-Clause No Nuclear License 2014' => 'BSD-3-Clause-No-Nuclear-License-2014'; field 'BSD 3-Clause No Nuclear Warranty' => 'BSD-3-Clause-No-Nuclear-Warranty'; field 'BSD 4-clause "Original" or "Old" License' => 'BSD-4-Clause'; field 'BSD-4-Clause (University of California-Specific)' => 'BSD-4-Clause-UC'; field 'BSD Protection License' => 'BSD-Protection'; # TODO field 'BSD Source Code Attribution' => 'BSD-Source-Code'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'bzip2 and libbzip2 License v1.0.5' => 'bzip2-1.0.5'; field 'bzip2 and libbzip2 License v1.0.6' => 'bzip2-1.0.6'; field 'Caldera License' => 'Caldera'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Creative Commons Attribution 1.0' => 'CC-BY-1.0'; field 'Creative Commons Attribution 2.0' => 'CC-BY-2.0'; field 'Creative Commons Attribution 2.5' => 'CC-BY-2.5'; field 'Creative Commons Attribution 3.0' => 'CC-BY-3.0'; field 'Creative Commons Attribution 4.0' => 'CC-BY-4.0'; field 'Creative Commons Attribution Non Commercial 1.0' => 'CC-BY-NC-1.0'; field 'Creative Commons Attribution Non Commercial 2.0' => 'CC-BY-NC-2.0'; field 'Creative Commons Attribution Non Commercial 2.5' => 'CC-BY-NC-2.5'; field 'Creative Commons Attribution Non Commercial 3.0' => 'CC-BY-NC-3.0'; field 'Creative Commons Attribution Non Commercial 4.0' => 'CC-BY-NC-4.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 1.0' => 'CC-BY-NC-ND-1.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.0' => 'CC-BY-NC-ND-2.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.5' => 'CC-BY-NC-ND-2.5'; field 'Creative Commons Attribution Non Commercial No Derivatives 3.0' => 'CC-BY-NC-ND-3.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 4.0' => 'CC-BY-NC-ND-4.0'; field 'Creative Commons Attribution Non Commercial Share Alike 1.0' => 'CC-BY-NC-SA-1.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.0' => 'CC-BY-NC-SA-2.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.5' => 'CC-BY-NC-SA-2.5'; field 'Creative Commons Attribution Non Commercial Share Alike 3.0' => 'CC-BY-NC-SA-3.0'; field 'Creative Commons Attribution Non Commercial Share Alike 4.0' => 'CC-BY-NC-SA-4.0'; field 'Creative Commons Attribution No Derivatives 1.0' => 'CC-BY-ND-1.0'; field 'Creative Commons Attribution No Derivatives 2.0' => 'CC-BY-ND-2.0'; field 'Creative Commons Attribution No Derivatives 2.5' => 'CC-BY-ND-2.5'; field 'Creative Commons Attribution No Derivatives 3.0' => 'CC-BY-ND-3.0'; field 'Creative Commons Attribution No Derivatives 4.0' => 'CC-BY-ND-4.0'; field 'Creative Commons Attribution Share Alike 1.0' => 'CC-BY-SA-1.0'; field 'Creative Commons Attribution Share Alike 2.0' => 'CC-BY-SA-2.0'; field 'Creative Commons Attribution Share Alike 2.5' => 'CC-BY-SA-2.5'; field 'Creative Commons Attribution Share Alike 3.0' => 'CC-BY-SA-3.0'; field 'Creative Commons Attribution Share Alike 4.0' => 'CC-BY-SA-4.0'; field 'Creative Commons Zero v1.0 Universal' => 'CC0-1.0'; field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Development and Distribution License 1.1' => 'CDDL-1.1'; field 'CeCILL Free Software License Agreement v1.0' => 'CECILL-1.0'; field 'CeCILL Free Software License Agreement v1.1' => 'CECILL-1.1'; field 'CeCILL Free Software License Agreement v2.0' => 'CECILL-2.0'; field 'CeCILL Free Software License Agreement v2.1' => 'CECILL-2.1'; field 'CeCILL-B Free Software License Agreement' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement' => 'CECILL-C'; field 'Clarified Artistic License' => 'ClArtistic'; field 'CNRI Jython License' => 'CNRI-Jython'; field 'CNRI Python License' => 'CNRI-Python'; field 'CNRI Python Open Source GPL Compatible License Agreement' => 'CNRI-Python-GPL-Compatible'; field 'Condor Public License v1.1' => 'Condor-1.1'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; field 'Common Public License 1.0' => 'CPL-1.0'; field 'Code Project Open License 1.02' => 'CPOL-1.02'; field 'Crossword License' => 'Crossword'; # TODO field 'CrystalStacker License' => 'CrystalStacker'; field 'CUA Office Public License v1.0' => 'CUA-OPL-1.0'; field 'Cube License' => 'Cube'; field 'curl License' => 'curl'; field 'Deutsche Freie Software Lizenz' => 'D-FSL-1.0'; # TODO field 'diffmark license' => 'diffmark'; field 'Do What The F*ck You Want To Public License' => 'WTFPL'; # TODO field 'DOC License' => 'DOC'; # TODO field 'Dotseqn License' => 'Dotseqn'; field 'DSDP License' => 'DSDP'; # TODO field 'dvipdfm License' => 'dvipdfm'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'Educational Community License v1.0' => 'ECL-1.0'; field 'Educational Community License v2.0' => 'ECL-2.0'; # TODO field 'eGenix.com Public License 1.1.0' => 'eGenix'; field 'Eiffel Forum License v1.0' => 'EFL-1.0'; field 'Eiffel Forum License v2.0' => 'EFL-2.0'; field 'Enlightenment License (e16)' => 'MIT-advertising'; field 'enna License' => 'MIT-enna'; field 'Entessa Public License v1.0' => 'Entessa'; field 'Erlang Public License v1.1' => 'ErlPL-1.1'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License 1.0' => 'EUPL-1.0'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'Eurosym License' => 'Eurosym'; field 'Fair License' => 'Fair'; field 'feh License' => 'MIT-feh'; field 'Frameworx Open License 1.0' => 'Frameworx-1.0'; # TODO field 'FreeImage Public License v1.0' => 'FreeImage'; field 'Freetype Project License' => 'FTL'; field 'FSF All Permissive License' => 'FSFAP'; field 'FSF Unlimited License' => 'FSFUL'; field 'FSF Unlimited License (with License Retention)' => 'FSFULLR'; # TODO field 'Giftware License' => 'Giftware'; # TODO field 'GL2PS License' => 'GL2PS'; field '3dfx Glide License' => 'Glide'; # TODO field 'Glulxe License' => 'Glulxe'; field 'GNU Free Documentation License v1.1' => 'GFDL-1.1'; field 'GNU Free Documentation License v1.2' => 'GFDL-1.2'; field 'GNU Free Documentation License v1.3' => 'GFDL-1.3'; field 'GNU General Public License v1.0 only' => 'GPL-1.0'; field 'GNU General Public License v2.0 only' => 'GPL-2.0'; field 'GNU General Public License v3.0 only' => 'GPL-3.0'; field 'GNU Lesser General Public License v2.1 only' => 'LGPL-2.1'; field 'GNU Lesser General Public License v3.0 only' => 'LGPL-3.0'; field 'GNU Library General Public License v2 only' => 'LGPL-2.0'; # TODO field 'gnuplot License' => 'gnuplot'; field 'gSOAP Public License v1.3b' => 'gSOAP-1.3b'; # TODO field 'Haskell Language Report License' => 'HaskellReport'; field 'Historic Permission Notice and Disclaimer' => 'HPND'; field 'IBM PowerPC Initialization and Boot Software' => 'IBM-pibs'; field 'IBM Public License v1.0' => 'IPL-1.0'; field 'ICU License' => 'ICU'; # TODO field 'ImageMagick License' => 'ImageMagick'; # TODO field 'iMatix Standard Function Library Agreement' => 'iMatix'; field 'Imlib2 License' => 'Imlib2'; field 'Independent JPEG Group License' => 'IJG'; # TODO field 'Info-ZIP License' => 'Info-ZIP'; # TODO field 'Intel ACPI Software License Agreement' => 'Intel-ACPI'; field 'Intel Open Source License' => 'Intel'; # TODO field 'Interbase Public License v1.0' => 'Interbase-1.0'; field 'IPA Font License' => 'IPA'; field 'ISC License' => 'ISC'; # TODO field 'JasPer License' => 'JasPer-2.0'; field 'JSON License' => 'JSON'; field 'LaTeX Project Public License v1.0' => 'LPPL-1.0'; field 'LaTeX Project Public License v1.1' => 'LPPL-1.1'; field 'LaTeX Project Public License v1.2' => 'LPPL-1.2'; field 'LaTeX Project Public License v1.3a' => 'LPPL-1.3a'; field 'LaTeX Project Public License v1.3c' => 'LPPL-1.3c'; # TODO field 'Latex2e License' => 'Latex2e'; field 'Lawrence Berkeley National Labs BSD variant license' => 'BSD-3-Clause-LBNL'; field 'Leptonica License' => 'Leptonica'; # TODO field 'Lesser General Public License For Linguistic Resources' => # 'LGPLLR'; field 'libpng License' => 'Libpng'; field 'libtiff License' => 'libtiff'; # TODO field 'Licence Art Libre 1.2' => 'LAL-1.2'; # TODO field 'Licence Art Libre 1.3' => 'LAL-1.3'; field 'Licence Libre du Québec – Permissive version 1.1' => 'LiLiQ-P-1.1'; field 'Licence Libre du Québec – Réciprocité forte version 1.1' => 'LiLiQ-Rplus-1.1'; field 'Licence Libre du Québec – Réciprocité version 1.1' => 'LiLiQ-R-1.1'; field 'Lucent Public License v1.02' => 'LPL-1.02'; field 'Lucent Public License Version 1.0' => 'LPL-1.0'; # TODO field 'MakeIndex License' => 'MakeIndex'; field 'MirOS Licence' => 'MirOS'; # TODO field 'MIT +no-false-attribs license' => 'MITNFA'; field 'MIT License' => 'MIT'; field 'CMU License' => 'MIT-CMU'; field 'Motosoto License' => 'Motosoto'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0' => 'MPL-2.0'; field 'Mozilla Public License 2.0 (no copyleft exception)' => 'MPL-2.0-no-copyleft-exception'; field 'mpich2 License' => 'mpich2'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; # TODO field 'Matrix Template Library License' => 'MTLL'; field 'Multics License' => 'Multics'; # TODO field 'Mup License' => 'Mup'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; field 'Naumen Public License' => 'Naumen'; field 'Net Boolean Public License v1' => 'NBPL-1.0'; # TODO field 'NetCDF license' => 'NetCDF'; field 'Nethack General Public License' => 'NGPL'; field 'Netizen Open Source License' => 'NOSL'; field 'Netscape Public License v1.0' => 'NPL-1.0'; field 'Netscape Public License v1.1' => 'NPL-1.1'; # TODO field 'Newsletr License' => 'Newsletr'; # TODO field 'No Limit Public License' => 'NLPL'; field 'Nokia Open Source License' => 'Nokia'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; # TODO field 'Norwegian Licence for Open Government Data' => 'NLOD-1.0'; # TODO field 'Noweb License' => 'Noweb'; # TODO field 'NRL License' => 'NRL'; field 'NTP License' => 'NTP'; # quirk field 'Nunit License' => 'Nunit'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; field 'ODC Open Database License v1.0' => 'ODbL-1.0'; field 'ODC Public Domain Dedication & License 1.0' => 'PDDL-1.0'; # TODO field 'Open CASCADE Technology Public License' => 'OCCT-PL'; field 'Open Group Test Suite License' => 'OGTSL'; field 'Open LDAP Public License 2.2.2' => 'OLDAP-2.2.2'; field 'Open LDAP Public License v1.1' => 'OLDAP-1.1'; field 'Open LDAP Public License v1.2' => 'OLDAP-1.2'; field 'Open LDAP Public License v1.3' => 'OLDAP-1.3'; field 'Open LDAP Public License v1.4' => 'OLDAP-1.4'; field 'Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)' => 'OLDAP-2.0'; field 'Open LDAP Public License v2.0.1' => 'OLDAP-2.0.1'; field 'Open LDAP Public License v2.1' => 'OLDAP-2.1'; field 'Open LDAP Public License v2.2' => 'OLDAP-2.2'; field 'Open LDAP Public License v2.2.1' => 'OLDAP-2.2.1'; field 'Open LDAP Public License v2.3' => 'OLDAP-2.3'; field 'Open LDAP Public License v2.4' => 'OLDAP-2.4'; field 'Open LDAP Public License v2.5' => 'OLDAP-2.5'; field 'Open LDAP Public License v2.6' => 'OLDAP-2.6'; field 'Open LDAP Public License v2.7' => 'OLDAP-2.7'; field 'Open LDAP Public License v2.8' => 'OLDAP-2.8'; # TODO field 'Open Market License' => 'OML'; field 'Open Public License v1.0' => 'OPL-1.0'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'Open Software License 1.1' => 'OSL-1.1'; field 'Open Software License 2.0' => 'OSL-2.0'; field 'Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 3.0' => 'OSL-3.0'; field 'OpenSSL License' => 'OpenSSL'; field 'OSET Public License version 2.1' => 'OSET-PL-2.1'; field 'PHP License v3.0' => 'PHP-3.0'; field 'PHP License v3.01' => 'PHP-3.01'; # TODO field 'Plexus Classworlds License' => 'Plexus'; field 'PostgreSQL License' => 'PostgreSQL'; # TODO field 'psfrag License' => 'psfrag'; # TODO field 'psutils License' => 'psutils'; field 'Python License 2.0' => 'Python-2.0'; field 'Q Public License 1.0' => 'QPL-1.0'; # TODO field 'Qhull License' => 'Qhull'; # TODO field 'Rdisc License' => 'Rdisc'; field 'RealNetworks Public Source License v1.0' => 'RPSL-1.0'; field 'Reciprocal Public License 1.1' => 'RPL-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'Red Hat eCos Public License v1.1' => 'RHeCos-1.1'; field 'Ricoh Source Code Public License' => 'RSCPL'; # TODO field 'RSA Message-Digest License' => 'RSA-MD'; field 'Ruby License' => 'Ruby'; field 'Sax Public Domain Notice' => 'SAX-PD'; # TODO field 'Saxpath License' => 'Saxpath'; # TODO field 'SCEA Shared Source License' => 'SCEA'; # TODO field 'Scheme Widget Library (SWL) Software License Agreement' => # 'SWL'; # TODO field 'Secure Messaging Protocol Public License' => 'SMPPL'; # TODO field 'Sendmail License' => 'Sendmail'; field 'SGI Free Software License B v1.0' => 'SGI-B-1.0'; field 'SGI Free Software License B v1.1' => 'SGI-B-1.1'; field 'SGI Free Software License B v2.0' => 'SGI-B-2.0'; field 'SIL Open Font License 1.0' => 'OFL-1.0'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; field 'Simple Public License 2.0' => 'SimPL-2.0'; field 'Sleepycat License' => 'Sleepycat'; # TODO field 'SNIA Public License 1.1' => 'SNIA'; # TODO field 'Spencer License 86' => 'Spencer-86'; # TODO field 'Spencer License 94' => 'Spencer-94'; # TODO field 'Spencer License 99' => 'Spencer-99'; field 'Standard ML of New Jersey License' => 'SMLNJ'; field 'SugarCRM Public License v1.1.3' => 'SugarCRM-1.1.3'; field 'Sun Industry Standards Source License v1.1' => 'SISSL'; field 'Sun Industry Standards Source License v1.2' => 'SISSL-1.2'; field 'Sun Public License v1.0' => 'SPL-1.0'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; # TODO field 'TCL/TK License' => 'TCL'; field 'The Unlicense' => 'Unlicense'; # TODO field 'TMate Open Source License' => 'TMate'; # TODO field 'TORQUE v2.5+ Software License v1.1' => 'TORQUE-1.1'; field 'Trusster Open Source License' => 'TOSL'; field 'Unicode Terms of Use' => 'Unicode-TOU'; field 'Universal Permissive License v1.0' => 'UPL-1.0'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; # TODO field 'Vim License' => 'Vim'; # TODO field 'VOSTROM Public License for Open Source' => 'VOSTROM'; field 'Vovida Software License v1.0' => 'VSL-1.0'; field 'W3C Software Notice and License (1998-07-20)' => 'W3C-19980720'; field 'W3C Software Notice and License (2002-12-31)' => 'W3C'; # TODO field 'Wsuipa License' => 'Wsuipa'; field 'X.Net License' => 'Xnet'; field 'X11 License' => 'X11'; # TODO field 'Xerox License' => 'Xerox'; field 'XFree86 License 1.1' => 'XFree86-1.1'; # TODO field 'xinetd License' => 'xinetd'; # TODO field 'XPP License' => 'xpp'; # TODO field 'XSkat License' => 'XSkat'; field 'Yahoo! Public License v1.0' => 'YPL-1.0'; field 'Yahoo! Public License v1.1' => 'YPL-1.1'; field 'Zed License' => 'Zed'; field 'Zend License v2.0' => 'Zend-2.0'; field 'Zimbra Public License v1.3' => 'Zimbra-1.3'; field 'Zimbra Public License v1.4' => 'Zimbra-1.4'; field 'zlib License' => 'Zlib'; field 'zlib/libpng License with Acknowledgement' => 'zlib-acknowledgement'; field 'Zope Public License 1.1' => 'ZPL-1.1'; field 'Zope Public License 2.0' => 'ZPL-2.0'; field 'Zope Public License 2.1' => 'ZPL-2.1'; # quirks: duplicate names field 'Nunit' => 'zlib-acknowledgement'; field 'Nunit License' => 'zlib-acknowledgement'; # exceptions field '389 Directory Server Exception' => '389-exception'; field 'Autoconf exception 2.0' => 'Autoconf-exception-2.0'; field 'Autoconf exception 3.0' => 'Autoconf-exception-3.0'; field 'Bison exception 2.2' => 'Bison-exception-2.2'; field 'Classpath exception 2.0' => 'Classpath-exception-2.0'; # TODO field 'CLISP exception 2.0' => 'CLISP-exception-2.0'; # TODO field 'DigiRule FOSS License Exception' => 'DigiRule-FOSS-exception'; field 'eCos exception 2.0' => 'eCos-exception-2.0'; # TODO field 'Fawkes Runtime Exception' => 'Fawkes-Runtime-exception'; # TODO field 'FLTK exception' => 'FLTK-exception'; field 'Font exception 2.0' => 'Font-exception-2.0'; # TODO field 'FreeRTOS Exception 2.0' => 'freertos-exception-2.0'; field 'GCC Runtime Library exception 2.0' => 'GCC-exception-2.0'; field 'GCC Runtime Library exception 3.1' => 'GCC-exception-3.1'; # TODO field 'GNU JavaMail exception' => 'gnu-javamail-exception'; # TODO field 'i2p GPL+Java Exception' => 'i2p-gpl-java-exception'; field 'Libtool Exception' => 'Libtool-exception'; # TODO field 'LZMA exception' => 'LZMA-exception'; field 'Macros and Inline Functions Exception' => 'mif-exception'; # TODO field 'Nokia Qt LGPL exception 1.1' => 'Nokia-Qt-exception-1.1'; # TODO field 'OpenVPN OpenSSL Exception' => 'openvpn-openssl-exception'; # TODO field 'Qwt exception 1.0' => 'Qwt-exception-1.0'; # TODO field 'U-Boot exception 2.0' => 'u-boot-exception-2.0'; field 'WxWindows Library Exception 3.1' => 'WxWindows-exception-3.1'; # TODO field 'Open CASCADE Exception 1.0' => 'OCCT-exception-1.0'; end(); }, 'coverage of SPDX 2.5, released 2016-07-21' ); done_testing; coverage-spdx-2.6.t000644001750001750 5650614107233261 21365 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data sources: # # like( license_org_metadata( 'spdx', { date => '20170106', rev => '2_6' } ), hash { field 'BSD Zero Clause License' => '0BSD'; field 'Attribution Assurance License' => 'AAL'; field 'Abstyles License' => 'Abstyles'; field 'Adobe Systems Incorporated Source Code License Agreement' => 'Adobe-2006'; field 'Adobe Glyph List License' => 'Adobe-Glyph'; field 'Amazon Digital Services License' => 'ADSL'; field 'Academic Free License v1.1' => 'AFL-1.1'; field 'Academic Free License v1.2' => 'AFL-1.2'; field 'Academic Free License v2.0' => 'AFL-2.0'; field 'Academic Free License v2.1' => 'AFL-2.1'; field 'Academic Free License v3.0' => 'AFL-3.0'; field 'Afmparse License' => 'Afmparse'; field 'Affero General Public License v1.0' => 'AGPL-1.0'; field 'GNU Affero General Public License v3.0' => 'AGPL-3.0'; field 'Aladdin Free Public License' => 'Aladdin'; field 'AMD\'s plpa_map.c License' => 'AMDPLPA'; field 'Apple MIT License' => 'AML'; field 'Academy of Motion Picture Arts and Sciences BSD' => 'AMPAS'; field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'Apache License 1.0' => 'Apache-1.0'; field 'Apache License 1.1' => 'Apache-1.1'; field 'Apache License 2.0' => 'Apache-2.0'; field 'Adobe Postscript AFM License' => 'APAFML'; field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic License 1.0 w/clause 8' => 'Artistic-1.0-cl8'; field 'Artistic License 1.0 (Perl)' => 'Artistic-1.0-Perl'; field 'Artistic License 2.0' => 'Artistic-2.0'; field 'Bahyph License' => 'Bahyph'; field 'Barr License' => 'Barr'; field 'Beerware License' => 'Beerware'; field 'BitTorrent Open Source License v1.0' => 'BitTorrent-1.0'; field 'BitTorrent Open Source License v1.1' => 'BitTorrent-1.1'; field 'Borceux license' => 'Borceux'; field 'BSD 2-clause "Simplified" License' => 'BSD-2-Clause'; field 'BSD 2-clause FreeBSD License' => 'BSD-2-Clause-FreeBSD'; field 'BSD 2-clause NetBSD License' => 'BSD-2-Clause-NetBSD'; field 'BSD 3-clause "New" or "Revised" License' => 'BSD-3-Clause'; field 'BSD with attribution' => 'BSD-3-Clause-Attribution'; field 'BSD 3-clause Clear License' => 'BSD-3-Clause-Clear'; field 'Lawrence Berkeley National Labs BSD variant license' => 'BSD-3-Clause-LBNL'; field 'BSD 3-Clause No Nuclear License' => 'BSD-3-Clause-No-Nuclear-License'; field 'BSD 3-Clause No Nuclear License 2014' => 'BSD-3-Clause-No-Nuclear-License-2014'; field 'BSD 3-Clause No Nuclear Warranty' => 'BSD-3-Clause-No-Nuclear-Warranty'; field 'BSD 4-clause "Original" or "Old" License' => 'BSD-4-Clause'; field 'BSD-4-Clause (University of California-Specific)' => 'BSD-4-Clause-UC'; field 'BSD Protection License' => 'BSD-Protection'; # TODO field 'BSD Source Code Attribution' => 'BSD-Source-Code'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'bzip2 and libbzip2 License v1.0.5' => 'bzip2-1.0.5'; field 'bzip2 and libbzip2 License v1.0.6' => 'bzip2-1.0.6'; field 'Caldera License' => 'Caldera'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Creative Commons Attribution 1.0' => 'CC-BY-1.0'; field 'Creative Commons Attribution 2.0' => 'CC-BY-2.0'; field 'Creative Commons Attribution 2.5' => 'CC-BY-2.5'; field 'Creative Commons Attribution 3.0' => 'CC-BY-3.0'; field 'Creative Commons Attribution 4.0' => 'CC-BY-4.0'; field 'Creative Commons Attribution Non Commercial 1.0' => 'CC-BY-NC-1.0'; field 'Creative Commons Attribution Non Commercial 2.0' => 'CC-BY-NC-2.0'; field 'Creative Commons Attribution Non Commercial 2.5' => 'CC-BY-NC-2.5'; field 'Creative Commons Attribution Non Commercial 3.0' => 'CC-BY-NC-3.0'; field 'Creative Commons Attribution Non Commercial 4.0' => 'CC-BY-NC-4.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 1.0' => 'CC-BY-NC-ND-1.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.0' => 'CC-BY-NC-ND-2.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.5' => 'CC-BY-NC-ND-2.5'; field 'Creative Commons Attribution Non Commercial No Derivatives 3.0' => 'CC-BY-NC-ND-3.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 4.0' => 'CC-BY-NC-ND-4.0'; field 'Creative Commons Attribution Non Commercial Share Alike 1.0' => 'CC-BY-NC-SA-1.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.0' => 'CC-BY-NC-SA-2.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.5' => 'CC-BY-NC-SA-2.5'; field 'Creative Commons Attribution Non Commercial Share Alike 3.0' => 'CC-BY-NC-SA-3.0'; field 'Creative Commons Attribution Non Commercial Share Alike 4.0' => 'CC-BY-NC-SA-4.0'; field 'Creative Commons Attribution No Derivatives 1.0' => 'CC-BY-ND-1.0'; field 'Creative Commons Attribution No Derivatives 2.0' => 'CC-BY-ND-2.0'; field 'Creative Commons Attribution No Derivatives 2.5' => 'CC-BY-ND-2.5'; field 'Creative Commons Attribution No Derivatives 3.0' => 'CC-BY-ND-3.0'; field 'Creative Commons Attribution No Derivatives 4.0' => 'CC-BY-ND-4.0'; field 'Creative Commons Attribution Share Alike 1.0' => 'CC-BY-SA-1.0'; field 'Creative Commons Attribution Share Alike 2.0' => 'CC-BY-SA-2.0'; field 'Creative Commons Attribution Share Alike 2.5' => 'CC-BY-SA-2.5'; field 'Creative Commons Attribution Share Alike 3.0' => 'CC-BY-SA-3.0'; field 'Creative Commons Attribution Share Alike 4.0' => 'CC-BY-SA-4.0'; field 'Creative Commons Zero v1.0 Universal' => 'CC0-1.0'; field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Development and Distribution License 1.1' => 'CDDL-1.1'; field 'CeCILL Free Software License Agreement v1.0' => 'CECILL-1.0'; field 'CeCILL Free Software License Agreement v1.1' => 'CECILL-1.1'; field 'CeCILL Free Software License Agreement v2.0' => 'CECILL-2.0'; field 'CeCILL Free Software License Agreement v2.1' => 'CECILL-2.1'; field 'CeCILL-B Free Software License Agreement' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement' => 'CECILL-C'; field 'Clarified Artistic License' => 'ClArtistic'; field 'CNRI Jython License' => 'CNRI-Jython'; field 'CNRI Python License' => 'CNRI-Python'; field 'CNRI Python Open Source GPL Compatible License Agreement' => 'CNRI-Python-GPL-Compatible'; field 'Condor Public License v1.1' => 'Condor-1.1'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; field 'Common Public License 1.0' => 'CPL-1.0'; field 'Code Project Open License 1.02' => 'CPOL-1.02'; field 'Crossword License' => 'Crossword'; # TODO field 'CrystalStacker License' => 'CrystalStacker'; field 'CUA Office Public License v1.0' => 'CUA-OPL-1.0'; field 'Cube License' => 'Cube'; field 'curl License' => 'curl'; field 'Deutsche Freie Software Lizenz' => 'D-FSL-1.0'; # TODO field 'diffmark license' => 'diffmark'; # TODO field 'DOC License' => 'DOC'; # TODO field 'Dotseqn License' => 'Dotseqn'; field 'DSDP License' => 'DSDP'; # TODO field 'dvipdfm License' => 'dvipdfm'; field 'Educational Community License v1.0' => 'ECL-1.0'; field 'Educational Community License v2.0' => 'ECL-2.0'; field 'Eiffel Forum License v1.0' => 'EFL-1.0'; field 'Eiffel Forum License v2.0' => 'EFL-2.0'; # TODO field 'eGenix.com Public License 1.1.0' => 'eGenix'; field 'Entessa Public License v1.0' => 'Entessa'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'Erlang Public License v1.1' => 'ErlPL-1.1'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License 1.0' => 'EUPL-1.0'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'Eurosym License' => 'Eurosym'; field 'Fair License' => 'Fair'; field 'Frameworx Open License 1.0' => 'Frameworx-1.0'; # TODO field 'FreeImage Public License v1.0' => 'FreeImage'; field 'FSF All Permissive License' => 'FSFAP'; field 'FSF Unlimited License' => 'FSFUL'; field 'FSF Unlimited License (with License Retention)' => 'FSFULLR'; field 'Freetype Project License' => 'FTL'; field 'GNU Free Documentation License v1.1' => 'GFDL-1.1'; field 'GNU Free Documentation License v1.2' => 'GFDL-1.2'; field 'GNU Free Documentation License v1.3' => 'GFDL-1.3'; # TODO field 'Giftware License' => 'Giftware'; field '3dfx Glide License' => 'Glide'; # TODO field 'GL2PS License' => 'GL2PS'; # TODO field 'Glulxe License' => 'Glulxe'; # TODO field 'gnuplot License' => 'gnuplot'; field 'GNU General Public License v1.0 only' => 'GPL-1.0'; field 'GNU General Public License v2.0 only' => 'GPL-2.0'; field 'GNU General Public License v3.0 only' => 'GPL-3.0'; field 'gSOAP Public License v1.3b' => 'gSOAP-1.3b'; # TODO field 'Haskell Language Report License' => 'HaskellReport'; field 'Historic Permission Notice and Disclaimer' => 'HPND'; field 'IBM PowerPC Initialization and Boot Software' => 'IBM-pibs'; field 'ICU License' => 'ICU'; field 'Independent JPEG Group License' => 'IJG'; # TODO field 'ImageMagick License' => 'ImageMagick'; # TODO field 'iMatix Standard Function Library Agreement' => 'iMatix'; field 'Imlib2 License' => 'Imlib2'; # TODO field 'Info-ZIP License' => 'Info-ZIP'; field 'Intel Open Source License' => 'Intel'; # TODO field 'Intel ACPI Software License Agreement' => 'Intel-ACPI'; # TODO field 'Interbase Public License v1.0' => 'Interbase-1.0'; field 'IPA Font License' => 'IPA'; field 'IBM Public License v1.0' => 'IPL-1.0'; field 'ISC License' => 'ISC'; # TODO field 'JasPer License' => 'JasPer-2.0'; field 'JSON License' => 'JSON'; # TODO field 'Licence Art Libre 1.2' => 'LAL-1.2'; # TODO field 'Licence Art Libre 1.3' => 'LAL-1.3'; # TODO field 'Latex2e License' => 'Latex2e'; field 'Leptonica License' => 'Leptonica'; field 'GNU Library General Public License v2 only' => 'LGPL-2.0'; field 'GNU Lesser General Public License v2.1 only' => 'LGPL-2.1'; field 'GNU Lesser General Public License v3.0 only' => 'LGPL-3.0'; # TODO field 'Lesser General Public License For Linguistic Resources' => # 'LGPLLR'; field 'libpng License' => 'Libpng'; field 'libtiff License' => 'libtiff'; field 'Licence Libre du Québec – Permissive version 1.1' => 'LiLiQ-P-1.1'; field 'Licence Libre du Québec – Réciprocité version 1.1' => 'LiLiQ-R-1.1'; field 'Licence Libre du Québec – Réciprocité forte version 1.1' => 'LiLiQ-Rplus-1.1'; field 'Lucent Public License Version 1.0' => 'LPL-1.0'; field 'Lucent Public License v1.02' => 'LPL-1.02'; field 'LaTeX Project Public License v1.0' => 'LPPL-1.0'; field 'LaTeX Project Public License v1.1' => 'LPPL-1.1'; field 'LaTeX Project Public License v1.2' => 'LPPL-1.2'; field 'LaTeX Project Public License v1.3a' => 'LPPL-1.3a'; field 'LaTeX Project Public License v1.3c' => 'LPPL-1.3c'; # TODO field 'MakeIndex License' => 'MakeIndex'; field 'MirOS Licence' => 'MirOS'; field 'MIT License' => 'MIT'; field 'Enlightenment License (e16)' => 'MIT-advertising'; field 'CMU License' => 'MIT-CMU'; field 'enna License' => 'MIT-enna'; field 'feh License' => 'MIT-feh'; # TODO field 'MIT +no-false-attribs license' => 'MITNFA'; field 'Motosoto License' => 'Motosoto'; field 'mpich2 License' => 'mpich2'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0' => 'MPL-2.0'; field 'Mozilla Public License 2.0 (no copyleft exception)' => 'MPL-2.0-no-copyleft-exception'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; # TODO field 'Matrix Template Library License' => 'MTLL'; field 'Multics License' => 'Multics'; # TODO field 'Mup License' => 'Mup'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; field 'Naumen Public License' => 'Naumen'; field 'Net Boolean Public License v1' => 'NBPL-1.0'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; field 'Net-SNMP License' => 'Net-SNMP'; # TODO field 'NetCDF license' => 'NetCDF'; # TODO field 'Newsletr License' => 'Newsletr'; field 'Nethack General Public License' => 'NGPL'; # TODO field 'Norwegian Licence for Open Government Data' => 'NLOD-1.0'; # TODO field 'No Limit Public License' => 'NLPL'; field 'Nokia Open Source License' => 'Nokia'; field 'Netizen Open Source License' => 'NOSL'; # TODO field 'Noweb License' => 'Noweb'; field 'Netscape Public License v1.0' => 'NPL-1.0'; field 'Netscape Public License v1.1' => 'NPL-1.1'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; # TODO field 'NRL License' => 'NRL'; field 'NTP License' => 'NTP'; # quirk field 'Nunit License' => 'Nunit'; # TODO field 'Open CASCADE Technology Public License' => 'OCCT-PL'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; field 'ODC Open Database License v1.0' => 'ODbL-1.0'; field 'SIL Open Font License 1.0' => 'OFL-1.0'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; field 'Open Group Test Suite License' => 'OGTSL'; field 'Open LDAP Public License v1.1' => 'OLDAP-1.1'; field 'Open LDAP Public License v1.2' => 'OLDAP-1.2'; field 'Open LDAP Public License v1.3' => 'OLDAP-1.3'; field 'Open LDAP Public License v1.4' => 'OLDAP-1.4'; field 'Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)' => 'OLDAP-2.0'; field 'Open LDAP Public License v2.0.1' => 'OLDAP-2.0.1'; field 'Open LDAP Public License v2.1' => 'OLDAP-2.1'; field 'Open LDAP Public License v2.2' => 'OLDAP-2.2'; field 'Open LDAP Public License v2.2.1' => 'OLDAP-2.2.1'; field 'Open LDAP Public License 2.2.2' => 'OLDAP-2.2.2'; field 'Open LDAP Public License v2.3' => 'OLDAP-2.3'; field 'Open LDAP Public License v2.4' => 'OLDAP-2.4'; field 'Open LDAP Public License v2.5' => 'OLDAP-2.5'; field 'Open LDAP Public License v2.6' => 'OLDAP-2.6'; field 'Open LDAP Public License v2.7' => 'OLDAP-2.7'; field 'Open LDAP Public License v2.8' => 'OLDAP-2.8'; # TODO field 'Open Market License' => 'OML'; field 'OpenSSL License' => 'OpenSSL'; field 'Open Public License v1.0' => 'OPL-1.0'; field 'OSET Public License version 2.1' => 'OSET-PL-2.1'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'Open Software License 1.1' => 'OSL-1.1'; field 'Open Software License 2.0' => 'OSL-2.0'; field 'Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 3.0' => 'OSL-3.0'; field 'ODC Public Domain Dedication & License 1.0' => 'PDDL-1.0'; field 'PHP License v3.0' => 'PHP-3.0'; field 'PHP License v3.01' => 'PHP-3.01'; # TODO field 'Plexus Classworlds License' => 'Plexus'; field 'PostgreSQL License' => 'PostgreSQL'; # TODO field 'psfrag License' => 'psfrag'; # TODO field 'psutils License' => 'psutils'; field 'Python License 2.0' => 'Python-2.0'; # TODO field 'Qhull License' => 'Qhull'; field 'Q Public License 1.0' => 'QPL-1.0'; # TODO field 'Rdisc License' => 'Rdisc'; field 'Red Hat eCos Public License v1.1' => 'RHeCos-1.1'; field 'Reciprocal Public License 1.1' => 'RPL-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'RealNetworks Public Source License v1.0' => 'RPSL-1.0'; # TODO field 'RSA Message-Digest License' => 'RSA-MD'; field 'Ricoh Source Code Public License' => 'RSCPL'; field 'Ruby License' => 'Ruby'; field 'Sax Public Domain Notice' => 'SAX-PD'; # TODO field 'Saxpath License' => 'Saxpath'; # TODO field 'SCEA Shared Source License' => 'SCEA'; # TODO field 'Sendmail License' => 'Sendmail'; field 'SGI Free Software License B v1.0' => 'SGI-B-1.0'; field 'SGI Free Software License B v1.1' => 'SGI-B-1.1'; field 'SGI Free Software License B v2.0' => 'SGI-B-2.0'; field 'Simple Public License 2.0' => 'SimPL-2.0'; field 'Sun Industry Standards Source License v1.1' => 'SISSL'; field 'Sun Industry Standards Source License v1.2' => 'SISSL-1.2'; field 'Sleepycat License' => 'Sleepycat'; field 'Standard ML of New Jersey License' => 'SMLNJ'; # TODO field 'Secure Messaging Protocol Public License' => 'SMPPL'; # TODO field 'SNIA Public License 1.1' => 'SNIA'; # TODO field 'Spencer License 86' => 'Spencer-86'; # TODO field 'Spencer License 94' => 'Spencer-94'; # TODO field 'Spencer License 99' => 'Spencer-99'; field 'Sun Public License v1.0' => 'SPL-1.0'; field 'SugarCRM Public License v1.1.3' => 'SugarCRM-1.1.3'; # TODO field 'Scheme Widget Library (SWL) Software License Agreement' => # 'SWL'; # TODO field 'TCL/TK License' => 'TCL'; # TODO field 'TCP Wrappers License' => 'TCP-wrappers'; # TODO field 'TMate Open Source License' => 'TMate'; # TODO field 'TORQUE v2.5+ Software License v1.1' => 'TORQUE-1.1'; field 'Trusster Open Source License' => 'TOSL'; field 'Unicode License Agreement - Data Files and Software (2015)' => 'Unicode-DFS-2015'; field 'Unicode License Agreement - Data Files and Software (2016)' => 'Unicode-DFS-2016'; field 'Unicode Terms of Use' => 'Unicode-TOU'; field 'The Unlicense' => 'Unlicense'; field 'Universal Permissive License v1.0' => 'UPL-1.0'; # TODO field 'Vim License' => 'Vim'; # TODO field 'VOSTROM Public License for Open Source' => 'VOSTROM'; field 'Vovida Software License v1.0' => 'VSL-1.0'; field 'W3C Software Notice and License (2002-12-31)' => 'W3C'; field 'W3C Software Notice and License (1998-07-20)' => 'W3C-19980720'; field 'W3C Software Notice and Document License (2015-05-13)' => 'W3C-20150513'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; # TODO field 'Wsuipa License' => 'Wsuipa'; field 'Do What The F*ck You Want To Public License' => 'WTFPL'; field 'X11 License' => 'X11'; # TODO field 'Xerox License' => 'Xerox'; field 'XFree86 License 1.1' => 'XFree86-1.1'; # TODO field 'xinetd License' => 'xinetd'; field 'X.Net License' => 'Xnet'; # TODO field 'XPP License' => 'xpp'; # TODO field 'XSkat License' => 'XSkat'; field 'Yahoo! Public License v1.0' => 'YPL-1.0'; field 'Yahoo! Public License v1.1' => 'YPL-1.1'; field 'Zed License' => 'Zed'; field 'Zend License v2.0' => 'Zend-2.0'; field 'Zimbra Public License v1.3' => 'Zimbra-1.3'; field 'Zimbra Public License v1.4' => 'Zimbra-1.4'; field 'zlib License' => 'Zlib'; field 'zlib/libpng License with Acknowledgement' => 'zlib-acknowledgement'; field 'Zope Public License 1.1' => 'ZPL-1.1'; field 'Zope Public License 2.0' => 'ZPL-2.0'; field 'Zope Public License 2.1' => 'ZPL-2.1'; # quirks: duplicate names field 'Nunit' => 'zlib-acknowledgement'; field 'Nunit License' => 'zlib-acknowledgement'; # exceptions field '389 Directory Server Exception' => '389-exception'; field 'Autoconf exception 2.0' => 'Autoconf-exception-2.0'; field 'Autoconf exception 3.0' => 'Autoconf-exception-3.0'; field 'Bison exception 2.2' => 'Bison-exception-2.2'; field 'Classpath exception 2.0' => 'Classpath-exception-2.0'; # TODO field 'CLISP exception 2.0' => 'CLISP-exception-2.0'; # TODO field 'DigiRule FOSS License Exception' => 'DigiRule-FOSS-exception'; field 'eCos exception 2.0' => 'eCos-exception-2.0'; # TODO field 'Fawkes Runtime Exception' => 'Fawkes-Runtime-exception'; # TODO field 'FLTK exception' => 'FLTK-exception'; field 'Font exception 2.0' => 'Font-exception-2.0'; # TODO field 'FreeRTOS Exception 2.0' => 'freertos-exception-2.0'; field 'GCC Runtime Library exception 2.0' => 'GCC-exception-2.0'; field 'GCC Runtime Library exception 3.1' => 'GCC-exception-3.1'; # TODO field 'GNU JavaMail exception' => 'gnu-javamail-exception'; # TODO field 'i2p GPL+Java Exception' => 'i2p-gpl-java-exception'; field 'Libtool Exception' => 'Libtool-exception'; # TODO field 'LZMA exception' => 'LZMA-exception'; field 'Macros and Inline Functions Exception' => 'mif-exception'; # TODO field 'Nokia Qt LGPL exception 1.1' => 'Nokia-Qt-exception-1.1'; # TODO field 'OpenVPN OpenSSL Exception' => 'openvpn-openssl-exception'; # TODO field 'Qwt exception 1.0' => 'Qwt-exception-1.0'; # TODO field 'U-Boot exception 2.0' => 'u-boot-exception-2.0'; field 'WxWindows Library Exception 3.1' => 'WxWindows-exception-3.1'; # TODO field 'Open CASCADE Exception 1.0' => 'OCCT-exception-1.0'; end(); }, 'coverage of SPDX 2.6, released 2017-01-06' ); done_testing; coverage-spdx-3.0.t000644001750001750 6004614107233261 21352 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Data source: like( license_org_metadata( 'spdx', { date => '20171228', rev => '3' } ), hash { field 'BSD Zero Clause License' => '0BSD'; field 'Attribution Assurance License' => 'AAL'; field 'Abstyles License' => 'Abstyles'; field 'Adobe Systems Incorporated Source Code License Agreement' => 'Adobe-2006'; field 'Adobe Glyph List License' => 'Adobe-Glyph'; field 'Amazon Digital Services License' => 'ADSL'; field 'Academic Free License v1.1' => 'AFL-1.1'; field 'Academic Free License v1.2' => 'AFL-1.2'; field 'Academic Free License v2.0' => 'AFL-2.0'; field 'Academic Free License v2.1' => 'AFL-2.1'; field 'Academic Free License v3.0' => 'AFL-3.0'; field 'Afmparse License' => 'Afmparse'; field 'Affero General Public License v1.0' => 'AGPL-1.0'; field 'GNU Affero General Public License v3.0 only' => 'AGPL-3.0-only'; field 'GNU Affero General Public License v3.0 or later' => 'AGPL-3.0-or-later'; field 'Aladdin Free Public License' => 'Aladdin'; field 'AMD\'s plpa_map.c License' => 'AMDPLPA'; field 'Apple MIT License' => 'AML'; field 'Academy of Motion Picture Arts and Sciences BSD' => 'AMPAS'; field 'ANTLR Software Rights Notice' => 'ANTLR-PD'; field 'Apache License 1.0' => 'Apache-1.0'; field 'Apache License 1.1' => 'Apache-1.1'; field 'Apache License 2.0' => 'Apache-2.0'; field 'Adobe Postscript AFM License' => 'APAFML'; field 'Adaptive Public License 1.0' => 'APL-1.0'; field 'Apple Public Source License 1.0' => 'APSL-1.0'; field 'Apple Public Source License 1.1' => 'APSL-1.1'; field 'Apple Public Source License 1.2' => 'APSL-1.2'; field 'Apple Public Source License 2.0' => 'APSL-2.0'; field 'Artistic License 1.0' => 'Artistic-1.0'; field 'Artistic License 1.0 w/clause 8' => 'Artistic-1.0-cl8'; field 'Artistic License 1.0 (Perl)' => 'Artistic-1.0-Perl'; field 'Artistic License 2.0' => 'Artistic-2.0'; field 'Bahyph License' => 'Bahyph'; field 'Barr License' => 'Barr'; field 'Beerware License' => 'Beerware'; field 'BitTorrent Open Source License v1.0' => 'BitTorrent-1.0'; field 'BitTorrent Open Source License v1.1' => 'BitTorrent-1.1'; field 'Borceux license' => 'Borceux'; field 'BSD 1-Clause License' => 'BSD-1-Clause'; field 'BSD 2-Clause "Simplified" License' => 'BSD-2-Clause'; field 'BSD 2-Clause FreeBSD License' => 'BSD-2-Clause-FreeBSD'; field 'BSD 2-Clause NetBSD License' => 'BSD-2-Clause-NetBSD'; field 'BSD-2-Clause Plus Patent License' => 'BSD-2-Clause-Patent'; field 'BSD 3-Clause "New" or "Revised" License' => 'BSD-3-Clause'; field 'BSD with attribution' => 'BSD-3-Clause-Attribution'; field 'BSD 3-Clause Clear License' => 'BSD-3-Clause-Clear'; field 'Lawrence Berkeley National Labs BSD variant license' => 'BSD-3-Clause-LBNL'; field 'BSD 3-Clause No Nuclear License' => 'BSD-3-Clause-No-Nuclear-License'; field 'BSD 3-Clause No Nuclear License 2014' => 'BSD-3-Clause-No-Nuclear-License-2014'; field 'BSD 3-Clause No Nuclear Warranty' => 'BSD-3-Clause-No-Nuclear-Warranty'; field 'BSD 4-Clause "Original" or "Old" License' => 'BSD-4-Clause'; field 'BSD-4-Clause (University of California-Specific)' => 'BSD-4-Clause-UC'; field 'BSD Protection License' => 'BSD-Protection'; # field 'BSD Source Code Attribution' => 'BSD-Source-Code'; field 'Boost Software License 1.0' => 'BSL-1.0'; field 'bzip2 and libbzip2 License v1.0.5' => 'bzip2-1.0.5'; field 'bzip2 and libbzip2 License v1.0.6' => 'bzip2-1.0.6'; field 'Caldera License' => 'Caldera'; field 'Computer Associates Trusted Open Source License 1.1' => 'CATOSL-1.1'; field 'Creative Commons Attribution 1.0' => 'CC-BY-1.0'; field 'Creative Commons Attribution 2.0' => 'CC-BY-2.0'; field 'Creative Commons Attribution 2.5' => 'CC-BY-2.5'; field 'Creative Commons Attribution 3.0' => 'CC-BY-3.0'; field 'Creative Commons Attribution 4.0' => 'CC-BY-4.0'; field 'Creative Commons Attribution Non Commercial 1.0' => 'CC-BY-NC-1.0'; field 'Creative Commons Attribution Non Commercial 2.0' => 'CC-BY-NC-2.0'; field 'Creative Commons Attribution Non Commercial 2.5' => 'CC-BY-NC-2.5'; field 'Creative Commons Attribution Non Commercial 3.0' => 'CC-BY-NC-3.0'; field 'Creative Commons Attribution Non Commercial 4.0' => 'CC-BY-NC-4.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 1.0' => 'CC-BY-NC-ND-1.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.0' => 'CC-BY-NC-ND-2.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 2.5' => 'CC-BY-NC-ND-2.5'; field 'Creative Commons Attribution Non Commercial No Derivatives 3.0' => 'CC-BY-NC-ND-3.0'; field 'Creative Commons Attribution Non Commercial No Derivatives 4.0' => 'CC-BY-NC-ND-4.0'; field 'Creative Commons Attribution Non Commercial Share Alike 1.0' => 'CC-BY-NC-SA-1.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.0' => 'CC-BY-NC-SA-2.0'; field 'Creative Commons Attribution Non Commercial Share Alike 2.5' => 'CC-BY-NC-SA-2.5'; field 'Creative Commons Attribution Non Commercial Share Alike 3.0' => 'CC-BY-NC-SA-3.0'; field 'Creative Commons Attribution Non Commercial Share Alike 4.0' => 'CC-BY-NC-SA-4.0'; field 'Creative Commons Attribution No Derivatives 1.0' => 'CC-BY-ND-1.0'; field 'Creative Commons Attribution No Derivatives 2.0' => 'CC-BY-ND-2.0'; field 'Creative Commons Attribution No Derivatives 2.5' => 'CC-BY-ND-2.5'; field 'Creative Commons Attribution No Derivatives 3.0' => 'CC-BY-ND-3.0'; field 'Creative Commons Attribution No Derivatives 4.0' => 'CC-BY-ND-4.0'; field 'Creative Commons Attribution Share Alike 1.0' => 'CC-BY-SA-1.0'; field 'Creative Commons Attribution Share Alike 2.0' => 'CC-BY-SA-2.0'; field 'Creative Commons Attribution Share Alike 2.5' => 'CC-BY-SA-2.5'; field 'Creative Commons Attribution Share Alike 3.0' => 'CC-BY-SA-3.0'; field 'Creative Commons Attribution Share Alike 4.0' => 'CC-BY-SA-4.0'; field 'Creative Commons Zero v1.0 Universal' => 'CC0-1.0'; field 'Common Development and Distribution License 1.0' => 'CDDL-1.0'; field 'Common Development and Distribution License 1.1' => 'CDDL-1.1'; # field 'Community Data License Agreement Permissive 1.0' => # 'CDLA-Permissive-1.0'; # field 'Community Data License Agreement Sharing 1.0' => # 'CDLA-Sharing-1.0'; field 'CeCILL Free Software License Agreement v1.0' => 'CECILL-1.0'; field 'CeCILL Free Software License Agreement v1.1' => 'CECILL-1.1'; field 'CeCILL Free Software License Agreement v2.0' => 'CECILL-2.0'; field 'CeCILL Free Software License Agreement v2.1' => 'CECILL-2.1'; field 'CeCILL-B Free Software License Agreement' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement' => 'CECILL-C'; field 'Clarified Artistic License' => 'ClArtistic'; field 'CNRI Jython License' => 'CNRI-Jython'; field 'CNRI Python License' => 'CNRI-Python'; field 'CNRI Python Open Source GPL Compatible License Agreement' => 'CNRI-Python-GPL-Compatible'; field 'Condor Public License v1.1' => 'Condor-1.1'; field 'Common Public Attribution License 1.0' => 'CPAL-1.0'; field 'Common Public License 1.0' => 'CPL-1.0'; field 'Code Project Open License 1.02' => 'CPOL-1.02'; field 'Crossword License' => 'Crossword'; # field 'CrystalStacker License' => 'CrystalStacker'; field 'CUA Office Public License v1.0' => 'CUA-OPL-1.0'; field 'Cube License' => 'Cube'; field 'curl License' => 'curl'; field 'Deutsche Freie Software Lizenz' => 'D-FSL-1.0'; # field 'diffmark license' => 'diffmark'; # field 'DOC License' => 'DOC'; # field 'Dotseqn License' => 'Dotseqn'; field 'DSDP License' => 'DSDP'; # field 'dvipdfm License' => 'dvipdfm'; field 'Educational Community License v1.0' => 'ECL-1.0'; field 'Educational Community License v2.0' => 'ECL-2.0'; field 'Eiffel Forum License v1.0' => 'EFL-1.0'; field 'Eiffel Forum License v2.0' => 'EFL-2.0'; # field 'eGenix.com Public License 1.1.0' => 'eGenix'; field 'Entessa Public License v1.0' => 'Entessa'; field 'Eclipse Public License 1.0' => 'EPL-1.0'; field 'Eclipse Public License 2.0' => 'EPL-2.0'; field 'Erlang Public License v1.1' => 'ErlPL-1.1'; field 'EU DataGrid Software License' => 'EUDatagrid'; field 'European Union Public License 1.0' => 'EUPL-1.0'; field 'European Union Public License 1.1' => 'EUPL-1.1'; field 'European Union Public License 1.2' => 'EUPL-1.2'; field 'Eurosym License' => 'Eurosym'; field 'Fair License' => 'Fair'; field 'Frameworx Open License 1.0' => 'Frameworx-1.0'; # field 'FreeImage Public License v1.0' => 'FreeImage'; field 'FSF All Permissive License' => 'FSFAP'; field 'FSF Unlimited License' => 'FSFUL'; field 'FSF Unlimited License (with License Retention)' => 'FSFULLR'; field 'Freetype Project License' => 'FTL'; field 'GNU Free Documentation License v1.1 only' => 'GFDL-1.1-only'; field 'GNU Free Documentation License v1.1 or later' => 'GFDL-1.1-or-later'; field 'GNU Free Documentation License v1.2 only' => 'GFDL-1.2-only'; field 'GNU Free Documentation License v1.2 or later' => 'GFDL-1.2-or-later'; field 'GNU Free Documentation License v1.3 only' => 'GFDL-1.3-only'; field 'GNU Free Documentation License v1.3 or later' => 'GFDL-1.3-or-later'; # field 'Giftware License' => 'Giftware'; field '3dfx Glide License' => 'Glide'; # field 'GL2PS License' => 'GL2PS'; # field 'Glulxe License' => 'Glulxe'; # field 'gnuplot License' => 'gnuplot'; field 'GNU General Public License v1.0 only' => 'GPL-1.0-only'; field 'GNU General Public License v1.0 or later' => 'GPL-1.0-or-later'; field 'GNU General Public License v2.0 only' => 'GPL-2.0-only'; field 'GNU General Public License v2.0 or later' => 'GPL-2.0-or-later'; field 'GNU General Public License v3.0 only' => 'GPL-3.0-only'; field 'GNU General Public License v3.0 or later' => 'GPL-3.0-or-later'; field 'gSOAP Public License v1.3b' => 'gSOAP-1.3b'; # field 'Haskell Language Report License' => 'HaskellReport'; field 'Historical Permission Notice and Disclaimer' => 'HPND'; field 'IBM PowerPC Initialization and Boot Software' => 'IBM-pibs'; field 'ICU License' => 'ICU'; field 'Independent JPEG Group License' => 'IJG'; # field 'ImageMagick License' => 'ImageMagick'; # field 'iMatix Standard Function Library Agreement' => 'iMatix'; field 'Imlib2 License' => 'Imlib2'; # field 'Info-ZIP License' => 'Info-ZIP'; field 'Intel Open Source License' => 'Intel'; # field 'Intel ACPI Software License Agreement' => 'Intel-ACPI'; # field 'Interbase Public License v1.0' => 'Interbase-1.0'; field 'IPA Font License' => 'IPA'; field 'IBM Public License v1.0' => 'IPL-1.0'; field 'ISC License' => 'ISC'; # field 'JasPer License' => 'JasPer-2.0'; field 'JSON License' => 'JSON'; # field 'Licence Art Libre 1.2' => 'LAL-1.2'; # field 'Licence Art Libre 1.3' => 'LAL-1.3'; # field 'Latex2e License' => 'Latex2e'; field 'Leptonica License' => 'Leptonica'; field 'GNU Library General Public License v2 only' => 'LGPL-2.0-only'; field 'GNU Library General Public License v2 or later' => 'LGPL-2.0-or-later'; field 'GNU Lesser General Public License v2.1 only' => 'LGPL-2.1-only'; field 'GNU Lesser General Public License v2.1 or later' => 'LGPL-2.1-or-later'; field 'GNU Lesser General Public License v3.0 only' => 'LGPL-3.0-only'; field 'GNU Lesser General Public License v3.0 or later' => 'LGPL-3.0-or-later'; # field 'Lesser General Public License For Linguistic Resources' => # 'LGPLLR'; field 'libpng License' => 'Libpng'; field 'libtiff License' => 'libtiff'; field 'Licence Libre du Québec – Permissive version 1.1' => 'LiLiQ-P-1.1'; field 'Licence Libre du Québec – Réciprocité version 1.1' => 'LiLiQ-R-1.1'; field 'Licence Libre du Québec – Réciprocité forte version 1.1' => 'LiLiQ-Rplus-1.1'; field 'Lucent Public License Version 1.0' => 'LPL-1.0'; field 'Lucent Public License v1.02' => 'LPL-1.02'; field 'LaTeX Project Public License v1.0' => 'LPPL-1.0'; field 'LaTeX Project Public License v1.1' => 'LPPL-1.1'; field 'LaTeX Project Public License v1.2' => 'LPPL-1.2'; field 'LaTeX Project Public License v1.3a' => 'LPPL-1.3a'; field 'LaTeX Project Public License v1.3c' => 'LPPL-1.3c'; # field 'MakeIndex License' => 'MakeIndex'; field 'MirOS License' => 'MirOS'; field 'MIT License' => 'MIT'; field 'Enlightenment License (e16)' => 'MIT-advertising'; field 'CMU License' => 'MIT-CMU'; field 'enna License' => 'MIT-enna'; field 'feh License' => 'MIT-feh'; # field 'MIT +no-false-attribs license' => 'MITNFA'; field 'Motosoto License' => 'Motosoto'; field 'mpich2 License' => 'mpich2'; field 'Mozilla Public License 1.0' => 'MPL-1.0'; field 'Mozilla Public License 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0' => 'MPL-2.0'; field 'Mozilla Public License 2.0 (no copyleft exception)' => 'MPL-2.0-no-copyleft-exception'; field 'Microsoft Public License' => 'MS-PL'; field 'Microsoft Reciprocal License' => 'MS-RL'; # field 'Matrix Template Library License' => 'MTLL'; field 'Multics License' => 'Multics'; # field 'Mup License' => 'Mup'; field 'NASA Open Source Agreement 1.3' => 'NASA-1.3'; field 'Naumen Public License' => 'Naumen'; field 'Net Boolean Public License v1' => 'NBPL-1.0'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; field 'Net-SNMP License' => 'Net-SNMP'; # field 'NetCDF license' => 'NetCDF'; # field 'Newsletr License' => 'Newsletr'; field 'Nethack General Public License' => 'NGPL'; # field 'Norwegian Licence for Open Government Data' => 'NLOD-1.0'; # field 'No Limit Public License' => 'NLPL'; field 'Nokia Open Source License' => 'Nokia'; field 'Netizen Open Source License' => 'NOSL'; # field 'Noweb License' => 'Noweb'; field 'Netscape Public License v1.0' => 'NPL-1.0'; field 'Netscape Public License v1.1' => 'NPL-1.1'; field 'Non-Profit Open Software License 3.0' => 'NPOSL-3.0'; # field 'NRL License' => 'NRL'; field 'NTP License' => 'NTP'; # field 'Open CASCADE Technology Public License' => 'OCCT-PL'; field 'OCLC Research Public License 2.0' => 'OCLC-2.0'; field 'ODC Open Database License v1.0' => 'ODbL-1.0'; field 'SIL Open Font License 1.0' => 'OFL-1.0'; field 'SIL Open Font License 1.1' => 'OFL-1.1'; field 'Open Group Test Suite License' => 'OGTSL'; field 'Open LDAP Public License v1.1' => 'OLDAP-1.1'; field 'Open LDAP Public License v1.2' => 'OLDAP-1.2'; field 'Open LDAP Public License v1.3' => 'OLDAP-1.3'; field 'Open LDAP Public License v1.4' => 'OLDAP-1.4'; field 'Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)' => 'OLDAP-2.0'; field 'Open LDAP Public License v2.0.1' => 'OLDAP-2.0.1'; field 'Open LDAP Public License v2.1' => 'OLDAP-2.1'; field 'Open LDAP Public License v2.2' => 'OLDAP-2.2'; field 'Open LDAP Public License v2.2.1' => 'OLDAP-2.2.1'; field 'Open LDAP Public License 2.2.2' => 'OLDAP-2.2.2'; field 'Open LDAP Public License v2.3' => 'OLDAP-2.3'; field 'Open LDAP Public License v2.4' => 'OLDAP-2.4'; field 'Open LDAP Public License v2.5' => 'OLDAP-2.5'; field 'Open LDAP Public License v2.6' => 'OLDAP-2.6'; field 'Open LDAP Public License v2.7' => 'OLDAP-2.7'; field 'Open LDAP Public License v2.8' => 'OLDAP-2.8'; # field 'Open Market License' => 'OML'; field 'OpenSSL License' => 'OpenSSL'; field 'Open Public License v1.0' => 'OPL-1.0'; field 'OSET Public License version 2.1' => 'OSET-PL-2.1'; field 'Open Software License 1.0' => 'OSL-1.0'; field 'Open Software License 1.1' => 'OSL-1.1'; field 'Open Software License 2.0' => 'OSL-2.0'; field 'Open Software License 2.1' => 'OSL-2.1'; field 'Open Software License 3.0' => 'OSL-3.0'; field 'ODC Public Domain Dedication & License 1.0' => 'PDDL-1.0'; field 'PHP License v3.0' => 'PHP-3.0'; field 'PHP License v3.01' => 'PHP-3.01'; # field 'Plexus Classworlds License' => 'Plexus'; field 'PostgreSQL License' => 'PostgreSQL'; # field 'psfrag License' => 'psfrag'; # field 'psutils License' => 'psutils'; field 'Python License 2.0' => 'Python-2.0'; # field 'Qhull License' => 'Qhull'; field 'Q Public License 1.0' => 'QPL-1.0'; # field 'Rdisc License' => 'Rdisc'; field 'Red Hat eCos Public License v1.1' => 'RHeCos-1.1'; field 'Reciprocal Public License 1.1' => 'RPL-1.1'; field 'Reciprocal Public License 1.5' => 'RPL-1.5'; field 'RealNetworks Public Source License v1.0' => 'RPSL-1.0'; # field 'RSA Message-Digest License' => 'RSA-MD'; field 'Ricoh Source Code Public License' => 'RSCPL'; field 'Ruby License' => 'Ruby'; field 'Sax Public Domain Notice' => 'SAX-PD'; # field 'Saxpath License' => 'Saxpath'; # field 'SCEA Shared Source License' => 'SCEA'; # field 'Sendmail License' => 'Sendmail'; field 'SGI Free Software License B v1.0' => 'SGI-B-1.0'; field 'SGI Free Software License B v1.1' => 'SGI-B-1.1'; field 'SGI Free Software License B v2.0' => 'SGI-B-2.0'; field 'Simple Public License 2.0' => 'SimPL-2.0'; field 'Sun Industry Standards Source License v1.1' => 'SISSL'; field 'Sun Industry Standards Source License v1.2' => 'SISSL-1.2'; field 'Sleepycat License' => 'Sleepycat'; field 'Standard ML of New Jersey License' => 'SMLNJ'; # field 'Secure Messaging Protocol Public License' => 'SMPPL'; # field 'SNIA Public License 1.1' => 'SNIA'; # field 'Spencer License 86' => 'Spencer-86'; # field 'Spencer License 94' => 'Spencer-94'; # field 'Spencer License 99' => 'Spencer-99'; field 'Sun Public License v1.0' => 'SPL-1.0'; field 'SugarCRM Public License v1.1.3' => 'SugarCRM-1.1.3'; # field 'Scheme Widget Library (SWL) Software License Agreement' => # 'SWL'; # field 'TCL/TK License' => 'TCL'; # field 'TCP Wrappers License' => 'TCP-wrappers'; # field 'TMate Open Source License' => 'TMate'; # field 'TORQUE v2.5+ Software License v1.1' => 'TORQUE-1.1'; field 'Trusster Open Source License' => 'TOSL'; field 'Unicode License Agreement - Data Files and Software (2015)' => 'Unicode-DFS-2015'; field 'Unicode License Agreement - Data Files and Software (2016)' => 'Unicode-DFS-2016'; field 'Unicode Terms of Use' => 'Unicode-TOU'; field 'The Unlicense' => 'Unlicense'; field 'Universal Permissive License v1.0' => 'UPL-1.0'; # field 'Vim License' => 'Vim'; # field 'VOSTROM Public License for Open Source' => 'VOSTROM'; field 'Vovida Software License v1.0' => 'VSL-1.0'; field 'W3C Software Notice and License (2002-12-31)' => 'W3C'; field 'W3C Software Notice and License (1998-07-20)' => 'W3C-19980720'; field 'W3C Software Notice and Document License (2015-05-13)' => 'W3C-20150513'; field 'Sybase Open Watcom Public License 1.0' => 'Watcom-1.0'; # field 'Wsuipa License' => 'Wsuipa'; field 'Do What The F*ck You Want To Public License' => 'WTFPL'; field 'X11 License' => 'X11'; # field 'Xerox License' => 'Xerox'; field 'XFree86 License 1.1' => 'XFree86-1.1'; # field 'xinetd License' => 'xinetd'; field 'X.Net License' => 'Xnet'; # field 'XPP License' => 'xpp'; # field 'XSkat License' => 'XSkat'; field 'Yahoo! Public License v1.0' => 'YPL-1.0'; field 'Yahoo! Public License v1.1' => 'YPL-1.1'; field 'Zed License' => 'Zed'; field 'Zend License v2.0' => 'Zend-2.0'; field 'Zimbra Public License v1.3' => 'Zimbra-1.3'; field 'Zimbra Public License v1.4' => 'Zimbra-1.4'; field 'zlib License' => 'Zlib'; field 'zlib/libpng License with Acknowledgement' => 'zlib-acknowledgement'; field 'Zope Public License 1.1' => 'ZPL-1.1'; field 'Zope Public License 2.0' => 'ZPL-2.0'; field 'Zope Public License 2.1' => 'ZPL-2.1'; # exceptions field '389 Directory Server Exception' => '389-exception'; field 'Autoconf exception 2.0' => 'Autoconf-exception-2.0'; field 'Autoconf exception 3.0' => 'Autoconf-exception-3.0'; field 'Bison exception 2.2' => 'Bison-exception-2.2'; # field 'Bootloader Distribution Exception' => 'Bootloader-exception'; field 'Classpath exception 2.0' => 'Classpath-exception-2.0'; # TODO field 'CLISP exception 2.0' => 'CLISP-exception-2.0'; # TODO field 'DigiRule FOSS License Exception' => 'DigiRule-FOSS-exception'; field 'eCos exception 2.0' => 'eCos-exception-2.0'; # TODO field 'Fawkes Runtime Exception' => 'Fawkes-Runtime-exception'; # TODO field 'FLTK exception' => 'FLTK-exception'; field 'Font exception 2.0' => 'Font-exception-2.0'; # TODO field 'FreeRTOS Exception 2.0' => 'freertos-exception-2.0'; field 'GCC Runtime Library exception 2.0' => 'GCC-exception-2.0'; field 'GCC Runtime Library exception 3.1' => 'GCC-exception-3.1'; # TODO field 'GNU JavaMail exception' => 'gnu-javamail-exception'; # TODO field 'i2p GPL+Java Exception' => 'i2p-gpl-java-exception'; field 'Libtool Exception' => 'Libtool-exception'; # field 'Linux Syscall Note' => 'Linux-syscall-note'; # TODO field 'LZMA exception' => 'LZMA-exception'; field 'Macros and Inline Functions Exception' => 'mif-exception'; # TODO field 'Nokia Qt LGPL exception 1.1' => 'Nokia-Qt-exception-1.1'; # TODO field 'Open CASCADE Exception 1.0' => 'OCCT-exception-1.0'; # TODO field 'OpenVPN OpenSSL Exception' => 'openvpn-openssl-exception'; # TODO field 'Qwt exception 1.0' => 'Qwt-exception-1.0'; # TODO field 'U-Boot exception 2.0' => 'u-boot-exception-2.0'; field 'WxWindows Library Exception 3.1' => 'WxWindows-exception-3.1'; end(); }, 'coverage of SPDX 3.0, released 2017-12-28' ); done_testing; coverage-tldr.t000644001750001750 5366714107233261 21056 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; plan 1; use Regexp::Pattern::License; my %RE = %Regexp::Pattern::License::RE; # dirty dump (needs manually stripping bogus entries): # curl 'https://tldrlegal.com/search?reverse=true' | perl -nE 'm{

([^<]+)

} and say '"\"\\t\\tfield '\$2' => '\$1'\"" | sort > tldr.t # Key is page title (including shortname). # Value is page name. my %names = map { my $key = $_; my $id = $RE{$key}{'iri.alt.org.tldr.synth.nogrant'} // $RE{$key}{'iri.alt.org.tldr'}; $id =~ s!https://tldrlegal.com/license/!!; my $maincaption = $RE{$key}{'caption.alt.org.tldr.synth.nogrant'} // $RE{$key}{'caption.alt.org.tldr'} // $RE{$key}{caption}; my @altcaptions = map { $RE{$key}{$_} } ( sort grep { /^(?:(?:name|caption)\.alt\.org\.tldr\.alt\.|summary\.alt\.org\.tldr)/ and !/\.version\./ } keys %{ $RE{$key} } ); map { $_ => $id } $maincaption, @altcaptions; } grep { grep {/^iri\.alt\.org\.tldr(?:\.synth\.nogrant)?$/} keys %{ $RE{$_} } } keys %RE; like( \%names, hash { field '3dfx Glide License' => '3dfx-glide-license'; field '4-Clause BSD' => '4-clause-bsd'; # field '4k Video Downloader EULA' => '4k-video-downloader'; field 'Abstyles License' => 'abstyles-license'; field 'Academic Free License 2.1 (AFL-2.1)' => 'academic-free-license-v.-2.1'; field 'Academic Free License 3.0 (AFL)' => 'academic-free-license-3.0-(afl)'; field 'Academy of Motion Picture Arts and Sciences BSD' => 'academy-of-motion-picture-arts-and-sciences-bsd'; field 'Adaptive Public License 1.0 (APL-1.0)' => 'adaptive-public-license-1.0-(apl-1.0)'; field 'Adobe Glyph List License' => 'adobe-glyph-list-license'; field 'Adobe Postscript AFM License' => 'adobe-postscript-afm-license'; field 'Adobe Systems Incorporated Source Code License Agreement' => 'adobe-systems-incorporated-source-code-license-agreement'; field 'Afmparse License' => 'afmparse-license'; # field 'Agate License' => 'agate-license'; # field 'Air Software EULA' => 'air-software-eula'; field 'Aladdin Free Public License' => 'aladdin-free-public-license'; # field 'All rights served' => 'all-rights-served'; # field 'Amazon Digital Services License' => 'amazon-digital-services-license'; field 'ANTLR Software Rights Notice (ANTLR-PD)' => 'antlr-software-rights-notice-(antlr-pd)'; field 'Apache License 1.0 (Apache-1.0)' => 'apache-license-1.0-(apache-1.0)'; field 'Apache License 1.1 (Apache-1.1)' => 'apache-license-1.1'; field 'Apache License 2.0 (Apache-2.0)' => 'apache-license-2.0-(apache-2.0)'; # field 'Apple Inc. Xcode and Apple SDKs Agreement' => 'apple-inc.-xcode-and-apple-sdks-agreement'; field 'Apple MIT License (AML)' => 'apple-mit-license-(aml)'; field 'Apple Public Source License 2.0 (APSL)' => 'apple-public-source-license-2.0-(apsl)'; field 'Artistic License 1.0' => 'artistic-license-1.0'; field 'Artistic License 2.0 (Artistic-2.0)' => 'artistic-license-2.0-(artistic)'; field 'Attribution Assurance License (AAL)' => 'attribution-assurance-license-(aal)'; field 'Bahyph License' => 'bahyph-license'; field 'Barr License' => 'barr-license'; # field 'Beer Recipe License (BRL)' => 'beer-recipe'; field 'Beerware License' => 'beerware-license'; field 'BitTorrent Open Source License v1.1 (BitTorrent-1.1)' => 'bittorrent-open-source-license-v1.1-(bittorrent-1.1)'; field 'Boost Software License 1.0 (BSL-1.0)' => 'boost-software-license-1.0-explained'; field 'Borceux license' => 'borceux-license'; field 'BSD 0-Clause License (0BSD)' => 'bsd-0-clause-license'; field 'BSD 2-Clause License (FreeBSD/Simplified)' => 'bsd-2-clause-license-(freebsd)'; field 'BSD 3-Clause License (Revised)' => 'bsd-3-clause-license-(revised)'; field 'bzip2 (original)' => 'bzip2'; field 'Caldera License' => 'caldera-license'; field 'CeCILL Free Software License Agreement v1.0 (CECILL-1.0)' => 'cecill-free-software-license-agreement-v1.0-(cecill-1.0)'; field 'CeCILL Free Software License Agreement v1.1 (CECILL-1.1)' => 'cecill-free-software-license-agreement-v1.1-(cecill-1.1)'; field 'CeCILL Free Software License Agreement v2.0 (CECILL-2.0)' => 'cecill-v2'; # field 'Charity Software License' => 'charity-software-license'; field 'Clarified Artistic License' => 'clarified-artistic-license'; field 'CMU License' => 'cmu-license'; field 'CNRI Jython License' => 'cnri-jython-license'; field 'CNRI Python License (CNRI-Python)' => 'cnri-python-license-(cnri-python)'; # field 'Code Energy Public License (CEPL-1.0)' => 'code-energy-public-license-(cepl-1.0)'; field 'Common Development and Distribution License (CDDL-1.0)' => 'common-development-and-distribution-license-(cddl-1.0)-explained'; field 'Common Public Attribution License Version 1.0 (CPAL-1.0)' => 'common-public-attribution-license-version-1.0-(cpal-1.0)'; field 'Common Public License 1.0 (CPL-1.0)' => 'common-public-license-1.0-(cpl-1.0)'; # field '“Commons Clause” License Condition v1.0' => 'commons-clause'; field 'Computer Associates Trusted Open Source License 1.1 (CATOSL-1.1)' => 'computer-associates-trusted-open-source-license-1.1-(catosl-1.1)'; field 'Condor Public License v1.1 (Condor-1.1)' => 'condor-public-license-v1.1-(condor-1.1)'; # field 'Copyfree Open Innovation License 0.3 (COIL-0.3)' => 'coil-v0.3'; field 'Creative Commons Attribution 3.0 Unported (CC-BY)' => 'creative-commons-attribution-(cc)'; field 'Creative Commons Attribution 4.0 International (CC BY 4.0)' => 'creative-commons-attribution-4.0-international-(cc-by-4)'; field 'Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0)' => 'creative-commons-attribution-noderivatives-4.0-international-(cc-by-nd-4.0)'; field 'Creative Commons Attribution NoDerivs (CC-ND)' => 'creative-commons-attribution-noderivs-(cc-nd)'; field 'Creative Commons Attribution-NonCommercial 2.0 Generic (CC BY-NC 2.0)' => 'creative-commons-public-license-(ccpl)'; field 'Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)' => 'creative-commons-attribution-noncommercial-4.0-international-(cc-by-nc-4.0)'; field 'Creative Commons Attribution NonCommercial (CC-BY-NC)' => 'creative-commons-attribution-noncommercial-(cc-nc)'; field 'Creative Commons Attribution NonCommercial NoDerivs (CC-NC-ND)' => 'creative-commons-attribution-noncommercial-noderivs-(cc-nc-nd)'; field 'Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)' => 'creative-commons-attribution-noncommercial-sharealike-4.0-international-(cc-by-nc-sa-4.0)'; field 'Creative Commons Attribution NonCommercial ShareAlike (CC-NC-SA)' => 'creative-commons-attribution-noncommercial-sharealike-(cc-nc-sa)'; field 'Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)' => 'creative-commons-attribution-sharealike-4.0-international-(cc-by-sa-4.0)'; field 'Creative Commons Attribution Share Alike (CC-SA)' => 'creative-commons-attribution-share-alike-(cc-sa)'; field 'Creative Commons CC0 1.0 Universal (CC-0)' => 'creative-commons-cc0-1.0-universal'; field 'Crossword License' => 'crossword-license'; # field 'CrystalStacker License' => 'crystalstacker-license'; field 'CUA Office Public License v1.0 (CUA-OPL-1.0)' => 'cua-office-public-license-v1.0-(cua-opl-1.0)'; field 'Cube License' => 'cube-license'; field 'curl License' => 'curl-license'; field 'DBAD Public License' => 'dbad-public-license'; # field 'DejaVu Fonts License v1.00' => 'dejavu-fonts-license-v1.00'; # field 'diffmark license' => 'diffmark-license'; # field 'DOC License' => 'doc-license'; field 'DON\'T BE A DICK PUBLIC LICENSE' => 'don\'t-be-a-dick-public-license'; # field 'Doom Source Licence' => 'doom-source-licence'; # field 'Dotseqn License' => 'dotseqn-license'; field 'Do What The F*ck You Want To Public License v2 (WTFPL-2.0)' => 'do-wtf-you-want-to-public-license-v2-(wtfpl-2.0)'; field 'Do What The F*ck You Want To Public License (WTFPL)' => 'do-what-the-f*ck-you-want-to-public-license-(wtfpl)'; field 'Do What The Fuck You Want To But It\'s Not My Fault Public License v1 (WTFNMFPL-1.0)' => 'do-what-the-fuck-you-want-to-but-it\'s-not-my-fault-public-license-v1-(wtfnmfpl-1.0)'; field 'DSDP License' => 'dsdp-license'; # field 'dvipdfm License' => 'dvipdfm-license'; field 'Eclipse Public License 1.0 (EPL-1.0)' => 'eclipse-public-license-1.0-(epl-1.0)'; field 'Educational Community License, Version 2.0 (ECL-2.0)' => 'educational-community-license,-version-2.0-(ecl-2.0)'; # field 'Egreen Open Source ' => 'egreen-open-source-'; field 'Eiffel Forum License v2.0 (EFL-2.0)' => 'eiffel-forum-license-v2.0-(efl-2.0)'; field 'enna License' => 'enna-license'; field 'Entessa Public License v1.0 (Entessa)' => 'entessa-public-license-v1.0-(entessa)'; field 'Erlang Public License v1.1 (ErlPL-1.1)' => 'erlang-public-license-v1.1-(erlpl-1.1)'; field 'EU DataGrid Software License (EUDatagrid)' => 'eu-datagrid-software-license-(eudatagrid)'; field 'European Union Public License 1.1 (EUPL-1.1)' => 'european-union-public-licence'; field 'Eurosym License' => 'eurosym-license'; field 'Fair License (Fair)' => 'fair-license'; field 'Fair Source License 0.9 (Fair-Source-0.9)' => 'fair-source-license-0.9-(fair-source-0.9)'; field 'feh License' => 'feh-license'; # field 'FlatStone Tech Custom License' => 'flatstone-tech-custom-license'; # field 'Foxit EULA' => 'foxit-reader-7'; field 'Frameworx Open License 1.0 (Frameworx-1.0)' => 'frameworx-open-license-1.0-(frameworx-1.0)'; field 'Free Art License (FAL)' => 'free-art-license-(fal)'; # TODO: have this test proprly handle alternate entries # field 'Free Public License 1.0.0' => 'free-public-license-1.0.0'; field 'Freetype Project License (FTL)' => 'freetype-project-license-(ftl)'; # field 'FusionLord Custom License' => 'fusionlord-customer-license'; # field 'Getindor Glee License [GGL]' => 'getindor-glee-license-[ggl]'; # field 'GG License 1.0 (GG1)' => 'gg-license-1.0-(gg1)'; # field 'Giftware License' => 'giftware-license'; # field 'Glulxe License' => 'glulxe-license'; field 'GNU Affero General Public License v3 (AGPL-3.0)' => 'gnu-affero-general-public-license-v3-(agpl-3.0)'; field 'GNU Free Documentation License v1.3 (FDL-1.3)' => 'gnu-free-documentation-license'; field 'GNU General Public License v2.0 (GPL-2.0)' => 'gnu-general-public-license-v2'; field 'GNU General Public License v3 (GPL-3)' => 'gnu-general-public-license-v3-(gpl-3)'; field 'GNU Lesser General Public License v2.1 (LGPL-2.1)' => 'gnu-lesser-general-public-license-v2.1-(lgpl-2.1)'; field 'GNU Lesser General Public License v3 (LGPL-3.0)' => 'gnu-lesser-general-public-license-v3-(lgpl-3)'; # field 'gSOAP Public License v1.3b (gSOAP-1.3b)' => 'gsoap-public-license-v1.3b-(gsoap-1.3b)'; # field 'Haskell Language Report License' => 'haskell-language-report-license'; field 'Historic Permission Notice and Disclaimer (HPND)' => 'historic-permission-notice-and-disclaimer-(hpnd)'; field 'IBM PowerPC Initialization and Boot Software (IBM-pibs)' => 'ibm-powerpc-initialization-and-boot-software-(ibm-pibs)'; field 'IBM Public License 1.0 (IPL)' => 'ibm-public-license-1.0-(ipl)'; # field 'IDGAF v1.0' => 'idgaf-v1.0'; field 'Imlib2 License (Imlib2)' => 'imlib2-license-(imlib2)'; field 'Independent JPEG Group License (IJG)' => 'independent-jpeg-group-license-(ijg)'; field 'Intel Open Source License (Intel)' => 'intel-open-source-license-(intel)'; field 'IPA Font License (IPA)' => 'ipa-font-license-(ipa)'; field 'ISC License' => '-isc-license'; # field 'itos systems ' => 'itos-systems-'; # field 'Jared M.F. Open Source Public License' => 'jared-m.f.-open-source-public-license'; # field 'Jared M.F. Public License' => 'jared-m.f.-public-license'; # field 'JAVA DISTRIBUTION LICENSE (JDL-1.1.X)' => 'java-advanced-imaging-distribution-license-(ver.-1.1.x)'; # field 'Jetbrains' => 'jetbrains'; # field 'JZLib' => 'jzlib'; # field 'Kingsoft Office 2013 License Agreement' => 'kingsoft-office-2013-license-agreement'; field 'LaTeX Project Public License v1.3c (LPPL-1.3c)' => 'latex-project-public-license-v1.3c-(lppl-1.3c)'; # field 'Liason License Agreement' => 'liason-license-agreement'; field 'libtiff License' => 'libtiff-license'; # field 'Licence for 6 box js' => 'licence-for-6-box-js'; field 'Lisp Lesser General Public License (LLGPL)' => 'lisp-lesser-general-public-license'; field 'Lucent Public License v1.02 (LPL-1.02)' => 'lucent-public-license-v1.02-(lpl-1.02)'; field 'Microsoft Public License (Ms-PL)' => 'microsoft-public-license-(ms-pl)'; field 'Microsoft Reciprocal License (Ms-RL)' => 'microsoft-reciprocal-license-(ms-rl)'; field 'Microsoft Shared Source Community License (MS-CL)' => 'microsoft-shared-source-community-license-(ms-cl)'; # field 'MinecraftForge License' => 'minecraftforge-license'; field 'MirOS License (MirOS)' => 'miros-license-(miros)'; field 'MIT License (Expat)' => 'mit-license'; # field 'MiTTY' => 'mitty'; # field 'Motif - New Modification Principle V1 (NMPV1) License' => 'motif---new-modification-principle-v1-(nmpv1)-license'; field 'Mozilla Public License 1.0 (MPL-1.0)' => 'mozilla-public-license-1.0-(mpl-1.0)'; field 'Mozilla Public License 1.1 (MPL-1.1)' => 'mozilla-public-license-1.1-(mpl-1.1)'; field 'Mozilla Public License 2.0 (MPL-2.0)' => 'mozilla-public-license-2.0-(mpl-2)'; # field 'Mug Foundation open formats license' => 'mug-foundation-open-formats-license'; field 'Multics License (Multics)' => 'multics-license-(multics)'; # field 'Mup License' => 'mup-license'; field 'NASA Open Source Agreement 1.3 (NASA-1.3)' => 'nasa-open-source-agreement-1.3-(nasa-1.3)'; field 'Naumen Public License (Naumen)' => 'naumen-public-license-(naumen)'; field 'Net Boolean Public License v1 (NBPL-1.0)' => 'net-boolean-public-license-v1-(nbpl-1.0)'; field 'Nethack General Public License (NGPL)' => 'nethack-general-public-license-(ngpl)'; field 'Netizen Open Source License (NOSL)' => 'netizen-open-source-license-(nosl)'; field 'Netscape Public License v1.1 (NPL-1.1)' => 'netscape-public-license-v1.1-(npl-1.1)'; # field 'New Relic Agent License' => 'new-relic-agent-license'; # field 'Newsletr License' => 'newsletr-license'; field 'Nokia Open Source License (Nokia Open Source License)' => 'nokia-open-source-license-(nokia-open-source-license)'; # field 'No Limit Public License' => 'no-limit-public-license'; field 'Non-Profit Open Software License 3.0 (NPOSL-3.0)' => 'non-profit-open-software-license-3.0-(nposl-3.0)'; # field 'Noweb License' => 'noweb-license'; field 'NTP License (NTP)' => 'ntp-license-(ntp)'; field 'OCLC Research Public License 2.0 (OCLC-2.0)' => 'oclc-research-public-license-2.0-(oclc-2.0)'; field 'ODC Open Database License (ODbL)' => 'odc-open-database-license-(odbl)'; field 'ODC Public Domain Dedication & License 1.0 (PDDL-1.0)' => 'odc-public-domain-dedication-&-license-1.0-(pddl-1.0)'; # field 'Open CASCADE Technology Public License v6.5' => 'open-cascade-technology-public-license-v6.5'; # field 'OPEN GAME LICENSE (OGL)' => 'open-game-license-(ogl)'; # field 'Open Government Licence v3 (UK)' => 'open-government-licence-v3-(uk)'; field 'Open Group Test Suite License (OGTSL)' => 'open-group-test-suite-license-(ogtsl)'; field 'OpenLDAP Public License v2.8 (OLDAP-2.8)' => 'openldap-public-license-v2.8-(oldap-2.8)'; # field 'OpenMRS Public License' => 'openmrs-public-license'; field 'Open Public License v1.0 (OPL-1.0)' => 'open-public-license-v1.0-(opl-1.0)'; field 'Open Software Licence 3.0' => 'open-software-licence-3.0'; field 'Open Software License 1.0 (OSL-1.0)' => 'open-software-license-1.0-(opl-1.0)'; field 'Open Software License 1.1 (OSL-1.1)' => 'open-software-license-1.1-(osl-1.1)'; field 'Open Software License 2.0 (OSL-2.0)' => 'open-software-license-2.0-(osl-2.0)'; field 'Open Software License 2.1 (OSL-2.1)' => 'open-software-license-2.1-(osl-2.1)'; field 'OpenSSL License (OpenSSL)' => 'openssl-license-(openssl)'; # field 'Oracle Binary Code License Agreement for the Java SE Platform Products and JavaFX' => 'oracle-binary-code-license-agreement-for-the-java-se-platform-products-and-javafx'; field 'Peer Production License' => 'peer-production-license'; field 'PHP License 3.0.1' => 'the-php-license-3.0.1'; field 'PHP License 3.0 (PHP)' => 'php-license-3.0-(php)'; field 'PostgreSQL License (PostgreSQL)' => 'postgresql-license-(postgresql)'; # field 'psfrag License' => 'psfrag-license'; # field 'psutils License' => 'psutils-license'; field 'Python License 2.0' => 'python-license-2.0'; # field 'Qhull License' => 'qhull-license'; field 'Q Public License 1.0 (QPL-1.0)' => 'q-public-license-1.0-(qpl-1.0)'; # field 'Rdisc License' => 'rdisc-license'; field 'RealNetworks Public Source License v1.0 (RPSL-1.0)' => 'realnetworks-public-source-license-v1.0-(rpsl-1.0)'; field 'Reciprocal Public License 1.5 (RPL-1.5)' => 'reciprocal-public-license-1.5-(rpl-1.5)'; field 'Red Hat eCos Public License v1.1 (RHeCos-1.1)' => 'red-hat-ecos-public-license-v1.1-(rhecos-1.1)'; field 'Ricoh Source Code Public License (RSCPL)' => 'ricoh-source-code-public-license-(rscpl)'; field 'Ruby License (Ruby)' => 'ruby-license-(ruby)'; field 'Sax Public Domain Notice (SAX-PD)' => 'sax-public-domain-notice-(sax-pd)'; # field 'ScheduALL Software License' => 'scheduall-software-license'; # field 'Sendmail License' => 'sendmail-license'; field 'SGI Free Software License B v2.0 (SGI-B-2.0)' => 'sgi-free-software-license-b-v2.0-(sgi-b-2.0)'; # field 'ShinobiControls license' => 'shinobicontrols-license'; field 'SIL Open Font License v1.1 (OFL-1.1)' => 'open-font-license-(ofl)-explained'; field 'Simple Non Code License (SNCL) 2.1.0' => 'simple-non-code-license-2.0.2'; field 'Simple non code license (SNCL)' => 'simple-non-code-license-(sncl)'; field 'Simple Public License 2.0 (SimPL)' => 'simple-public-license-2.0-(simpl)'; # field 'Skype Terms of Use' => 'skype-terms-of-use'; field 'Sleepycat License' => 'sleepycat-license'; # field 'SolidWorks EULA' => 'solidworks-eula'; # field 'Space Engineers End User License Agreement' => 'space-engineers-end-user-license-agreement'; field 'Standard ML of New Jersey License (SMLNJ)' => 'standard-ml-of-new-jersey-license-(smlnj)'; field 'SugarCRM Public License v1.1.3 (SugarCRM-1.1.3)' => 'sugarcrm-public-license-v1.1.3-(sugarcrm-1.1.3)'; field 'Sun Industry Standards Source License v1.2 (SISSL-1.2)' => 'sun-industry-standards-source-license-v1.2-(sissl-1.2)'; field 'Sun Public License v1.0 (SPL-1.0)' => 'sun-public-license-v1.0-(spl-1.0)'; field 'Sybase Open Watcom Public License 1.0 (Watcom-1.0)' => 'sybase-open-watcom-public-license-1.0-(watcom-1.0)'; # field 'Tcl' => 'tcl'; field 'The Code Project Open License (CPOL) 1.02' => 'the-code-project-open-license-(cpol)-1.02'; field 'The Don\'t Ask Me About It License' => 'the-don\'t-ask-me-about-it-license'; field 'The JSON License' => 'the-json-license'; # field 'Themeforest Regular License' => 'themeforest-regular-license'; # field 'The Spice Software License Version 1.1 (Spice-1.1)' => 'the-spice-software-license-version-1.1'; # field 'Tóca Operating System General License 2.0 (TOSG-2.00)' => 'tosg-2.00-(toca-operating-system-general-license)'; # field 'TORQUE v2.5+ Software License v1.1' => 'torque-v2.5+-software-license-v1.1'; # field 'TrackingTeam Licence' => 'trackingteam-licence'; field 'TrueCrypt License Version 3.0' => 'truecrypt-license-version-3.0'; # field 'Ubuntu Font License 1.0 (UFL-1.0)' => 'ubuntu-font-license,-1.0'; field 'Universal Permissive License 1.0 (UPL-1.0)' => 'universal-permissive-license-1.0-(upl-1.0)'; field 'University of Illinois - NCSA Open Source License (NCSA)' => 'university-of-illinois---ncsa-open-source-license-(ncsa)'; # TODO: have this test properly handle alternate entries # field 'Unlicence' => 'unlicence'; field 'Unlicense' => 'unlicense'; # field 'Unreal Engine End User License Agreement v9' => 'unreal-engine-end-user-license-agreement-version-9'; # field 'Use License' => 'use-license'; # field 'VatSpy EULA' => 'vatspy-eula'; field 'Very Simple Public License (VSPL)' => 'very-simple-public-license-(vspl)'; # field 'Vivaldi Browser EULA' => 'vivaldi-browser-eula'; # field 'VMware vSphere End User License Agreement' => 'vmware-vsphere-end-user-license-agreement'; field 'Vovida Software License v1.0 (VSL-1.0)' => 'vovida-software-license-v1.0-(vsl-1.0)'; field 'W3C Software Notice and License (W3C)' => 'w3c-software-notice-and-license-(w3c)'; # field 'Wizardry License' => 'wizardry-license'; field 'wxWindows Library License (WXwindows)' => 'wxwindows-library-license-(wxwindows)'; field 'X11 License' => 'x11-license'; # field 'Xerox License (Xerox)' => 'xerox-license-(xerox)'; field 'XFree86 License 1.1 (XFree86-1.1)' => 'xfree86-license-1.1-(xfree86-1.1)'; field 'X.Net License (Xnet)' => 'x.net-license-(xnet)'; # field 'XSkat License' => 'xskat-license'; field 'Yahoo! Public License v1.1 (YPL-1.1)' => 'yahoo!-public-license-v1.1-(ypl-1.1)'; # field 'Zebra SDK' => 'zebra-sdk'; field 'Zed License' => 'zed-license'; field 'Zimbra Public License v1.3 (Zimbra-1.3)' => 'zimbra-public-license-v1.3-(zimbra-1.3)'; field 'zimbra public license' => 'zimbra-public-license'; field 'Zlib-Libpng License (Zlib)' => 'zlib-libpng-license-(zlib)'; field 'Zope Public License 1.1 (ZPL-1.1)' => 'zope-public-license-1.1-(zpl-1.1)'; field 'Zope Public License 2.0 (ZPL-2.0)' => 'zope-public-license-2.0-(zpl-2.0)'; field 'Zope Public License 2.1 (ZPL-2.1)' => 'zope-public-license-2.1-(zpl-2.1)'; # field 'Zunga license' => 'zunga-license'; end(); }, 'coverage of (except bogus entries)' ); done_testing; coverage-trove.t000644001750001750 1444714107233261 21241 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Key is last segment of trove identifier, or multiword shortname # Key is singleword shortname, or default name # Data source (last checked 2021-08-10): # # dirty dumps (needs further work): # curl -s 'https://pypi.org/classifiers/' | perl -nE '/href.*License :: (?:[^:]+:: )*([^<()]+(?:\((?:([^<() ]+)|([^<()]+(?: [^<()]+)+))\))?)/ and do { say '"\"\\t\\tfield '\$1' => '\$2';\"; say \"\\t\\tfield '\$3' => '';\" if \$3 }" | sort like( license_org_metadata('trove'), hash { field 'Academic Free License (AFL)' => 'AFL'; field 'Aladdin Free Public License (AFPL)' => 'AFPL'; field 'Apache Software License' => 'Apache'; field 'Apple Public Source License' => 'APSL'; field 'Artistic License' => 'Artistic'; field 'Attribution Assurance License' => 'AAL'; field 'BSD License' => 'BSD'; field 'Boost Software License 1.0 (BSL-1.0)' => 'BSL-1.0'; field 'CC0 1.0 Universal (CC0 1.0)' => 'CC0-1.0'; field 'CC0 1.0' => 'CC0-1.0'; field 'CEA CNRS Inria Logiciel Libre License, version 2.1 (CeCILL-2.1)' => 'CeCILL-2.1'; field 'CeCILL-B Free Software License Agreement (CECILL-B)' => 'CECILL-B'; field 'CeCILL-C Free Software License Agreement (CECILL-C)' => 'CECILL-C'; field 'Common Development and Distribution License 1.0 (CDDL-1.0)' => 'CDDL-1.0'; field 'Common Public License' => 'CPL'; # field 'DFSG approved' => ''; field 'Eclipse Public License 1.0 (EPL-1.0)' => 'EPL-1.0'; field 'Eclipse Public License 2.0 (EPL-2.0)' => 'EPL-2.0'; field 'Eiffel Forum License (EFL)' => 'EFL'; field 'Eiffel Forum License' => 'EFL'; field 'European Union Public Licence 1.0 (EUPL 1.0)' => 'EUPL-1.0'; field 'EUPL 1.0' => 'EUPL-1.0'; field 'European Union Public Licence 1.1 (EUPL 1.1)' => 'EUPL-1.1'; field 'EUPL 1.1' => 'EUPL-1.1'; field 'European Union Public Licence 1.2 (EUPL 1.2)' => 'EUPL-1.2'; field 'EUPL 1.2' => 'EUPL-1.2'; # field 'Free For Educational Use' => ''; # field 'Free For Home Use' => ''; # field 'Free To Use But Restricted' => ''; # field 'Free for non-commercial use' => ''; # field 'Freely Distributable' => ''; # field 'Freeware' => ''; field 'GNU Affero General Public License v3' => 'AGPLv3'; field 'GNU Affero General Public License v3 or later (AGPLv3+)' => 'AGPLv3+'; field 'GNU Free Documentation License (FDL)' => 'FDL'; field 'GNU General Public License (GPL)' => 'GPL'; field 'GNU General Public License v2 (GPLv2)' => 'GPLv2'; field 'GNU General Public License v2 or later (GPLv2+)' => 'GPLv2+'; field 'GNU General Public License v3 (GPLv3)' => 'GPLv3'; field 'GNU General Public License v3 or later (GPLv3+)' => 'GPLv3+'; field 'GNU Lesser General Public License v2 (LGPLv2)' => 'LGPLv2'; field 'GNU Lesser General Public License v2 or later (LGPLv2+)' => 'LGPLv2+'; field 'GNU Lesser General Public License v3 (LGPLv3)' => 'LGPLv3'; field 'GNU Lesser General Public License v3 or later (LGPLv3+)' => 'LGPLv3+'; field 'GNU Library or Lesser General Public License (LGPL)' => 'LGPL'; # field 'GUST Font License 1.0' => ''; # field 'GUST Font License 2006-09-30' => ''; field 'Historical Permission Notice and Disclaimer (HPND)' => 'HPND'; field 'IBM Public License' => 'IPL'; field 'ISC License (ISCL)' => 'ISCL'; field 'Intel Open Source License' => 'Intel'; field 'Jabber Open Source License' => 'jabberpl'; field 'MIT License' => 'MIT'; field 'MIT No Attribution License (MIT-0)' => 'MIT-0'; field 'MITRE Collaborative Virtual Workspace License (CVW)' => 'CVW'; field 'MirOS License (MirOS)' => 'MirOS'; field 'Motosoto License' => 'Motosoto'; field 'Mozilla Public License 1.0 (MPL)' => 'MPL-1.0'; field 'Mozilla Public License 1.1 (MPL 1.1)' => 'MPL-1.1'; field 'MPL 1.1' => 'MPL-1.1'; field 'Mozilla Public License 2.0 (MPL 2.0)' => 'MPL-2.0'; field 'MPL 2.0' => 'MPL-2.0'; field 'Nethack General Public License' => 'NGPL'; field 'Netscape Public License (NPL)' => 'NPL'; field 'Nokia Open Source License (NOKOS)' => 'NOKOS'; field 'Nokia Open Source License' => 'NOKOS'; field 'Open Group Test Suite License' => 'OGTSL'; field 'Open Software License 3.0 (OSL-3.0)' => 'OSL-3.0'; # field 'OSI Approved' => ''; # field 'Other/Proprietary License' => ''; field 'PostgreSQL License' => 'PostgreSQL'; field 'Public Domain' => 'public-domain'; field 'Python License (CNRI Python License)' => 'Python-2.0'; field 'CNRI Python License' => 'Python-2.0'; field 'Python Software Foundation License' => 'PSF-2.0'; field 'Qt Public License (QPL)' => 'QPL'; # field 'Repoze Public License' => ''; field 'Ricoh Source Code Public License' => 'RSCPL'; field 'SIL Open Font License 1.1 (OFL-1.1)' => 'OFL-1.1'; field 'Sleepycat License' => 'Sleepycat'; field 'Sun Industry Standards Source License (SISSL)' => 'SISSL'; field 'Sun Public License' => 'SPL'; field 'The Unlicense (Unlicense)' => 'Unlicense'; field 'Universal Permissive License (UPL)' => 'UPL'; field 'University of Illinois/NCSA Open Source License' => 'NCSA'; field 'Vovida Software License 1.0' => 'VSL-1.0'; field 'W3C License' => 'W3C'; field 'X.Net License' => 'Xnet'; field 'Zope Public License' => 'ZPL'; field 'zlib/libpng License' => 'Zlib'; # default summaries field 'a BSD-style license' => 'BSD'; field 'an MIT-style license' => 'MIT'; end(); }, 'coverage of PyPA/PyPI trove classifiers' ); done_testing; coverage-wikidata.t000644001750001750 11146514107233261 21715 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/tuse Test2::V0; use lib 't/lib'; use Test2::Regexp::Pattern::License; plan 1; # Key is wikibase.label # Value is WikiData identifier. # Data sources (last checked 2021-08-09): # # # TODO: explore if possible (and relevant) to include other kinds of licenses # (filtering on all 13000 licensing exhausts the wikidata SPARQL endpoint) like( license_org_metadata('wikidata'), hash { # software licenses (excluding software) field '1-clause BSD License' => 'Q19292556'; field '2-clause BSD License' => 'Q18517294'; field '3-clause BSD License' => 'Q18491847'; field '4-clause BSD License' => 'Q21503790'; # field 'AROS Public License' => 'Q4653881'; field 'Academic Free License' => 'Q337279'; field 'Adaptive Public License' => 'Q4680711'; # field 'Affero General Public License' => 'Q28130012'; field 'Affero General Public License, version 1.0' => 'Q27017230'; field 'Affero General Public License, version 1.0 or later' => 'Q54571707'; field 'Affero General Public License, version 2.0' => 'Q54365943'; # field 'Against DRM license' => 'Q1905513'; field 'Aladdin Free Public License' => 'Q979794'; # field 'Angband licence' => 'Q26701938'; # field 'Anti 996 License' => 'Q63020872'; field 'Apache License' => 'Q616526'; field 'Apache Software License, Version 1.0' => 'Q26897902'; field 'Apache Software License, Version 1.1' => 'Q17817999'; field 'Apache Software License, Version 2.0' => 'Q13785927'; field 'Apple Public Source License' => 'Q621330'; field 'Artistic License' => 'Q713244'; field 'Artistic License 2.0' => 'Q14624826'; field 'Attribution Assurance License' => 'Q38364310'; # field 'Avira Free AntiVirus' => 'Q53679891'; field 'BSD licenses' => 'Q191307'; field 'Beerware' => 'Q10249'; field 'BitTorrent Open Source License' => 'Q4918693'; field 'Boost Software License' => 'Q2353141'; field 'CC0' => 'Q6938433'; field 'CNRI portion of the multi-part Python License' => 'Q38365646'; field 'CUA Office Public License' => 'Q38365770'; field 'Carnegie Mellon University License' => 'Q2939745'; field 'CeCILL' => 'Q1052189'; # field 'Client access license' => 'Q1100998'; field 'Code Project Open License' => 'Q5140041'; field 'Common Development and Distribution License' => 'Q304628'; field 'Common Development and Distribution License version 1.0' => 'Q26996811'; field 'Common Development and Distribution License version 1.1' => 'Q26996804'; field 'Common Public Attribution License' => 'Q1116195'; field 'Common Public License' => 'Q2477807'; field 'Computer Associates Trusted Open Source License, Version 1.1' => 'Q38365570'; field 'Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Generic' => 'Q28050835'; # field 'Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Korea' => 'Q58041147'; field 'Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Generic' => 'Q19068212'; # field 'Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany' => 'Q105295756'; # field 'Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Ireland' => 'Q105658155'; # field 'Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States' => 'Q107464247'; field 'Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported' => 'Q15643954'; field 'Creative Commons Attribution-ShareAlike' => 'Q6905942'; field 'Creative Commons Attribution-NonCommercial-ShareAlike' => 'Q6998997'; # WRONG field 'Creative Commons Public Domain Mark' => 'Q7257361'; field 'Cryptix General License' => 'Q5190781'; # field 'Design Science License' => 'Q2352806'; # field 'EPICS Open License' => 'Q27096218'; field 'EU DataGrid Software License' => 'Q38365944'; field 'Eclipse Distribution License' => 'Q26245522'; field 'Eclipse Public License' => 'Q1281977'; field 'Eclipse Public License 1.0' => 'Q55633170'; field 'Eclipse Public License 2.0' => 'Q55633295'; field 'Educational Community License' => 'Q5341236'; field 'Eiffel Forum License' => 'Q17011832'; # field 'Elastic License' => 'Q104835286'; field 'Entessa Public License' => 'Q38366115'; field 'Erlang Public License' => 'Q3731857'; field 'European Union Public Licence' => 'Q1376919'; field 'Expat license' => 'Q18526198'; field 'Fair License' => 'Q22682017'; # field 'Flora License' => 'Q5460320'; field 'Frameworx License' => 'Q5477987'; # field 'Fraunhofer FDK AAC Codec Library for Android license' => 'Q47524122'; # field 'FreeBSD Documentation License' => 'Q2033808'; field 'FreeBSD license' => 'Q90408476'; # field 'GNAT Modified General Public License' => 'Q1486114'; field 'GNU Affero General Public License' => 'Q1131681'; field 'GNU Affero General Public License, version 3.0' => 'Q27017232'; field 'GNU Affero General Public License, version 3.0 or later' => 'Q27020062'; field 'GNU Free Documentation License' => 'Q22169'; field 'GNU General Public License' => 'Q7603'; field 'GNU General Public License, version 1.0' => 'Q10513452'; field 'GNU General Public License, version 1.0 or later' => 'Q27016750'; field 'GNU General Public License, version 2.0' => 'Q10513450'; field 'GNU General Public License, version 2.0 or later' => 'Q27016752'; field 'GNU General Public License, version 2.0 or later with library exception' => 'Q89706542'; field 'GNU General Public License, version 3.0' => 'Q10513445'; field 'GNU General Public License, version 3.0 or later' => 'Q27016754'; field 'GNU Lesser General Public License' => 'Q192897'; field 'GNU Lesser General Public License, version 2.1' => 'Q18534390'; field 'GNU Lesser General Public License, version 2.1 or later' => 'Q27016757'; field 'GNU Lesser General Public License, version 3.0' => 'Q18534393'; field 'GNU Lesser General Public License, version 3.0 or later' => 'Q27016762'; field 'GNU Library General Public License, version 2.0' => 'Q23035974'; field 'GNU Library General Public License, version 2.0 or later' => 'Q27016756'; field 'GPL font exception' => 'Q5514182'; field 'GPL linking exception' => 'Q1486447'; # field 'German Free Software License' => 'Q5551105'; # field 'Hacktivismo Enhanced-Source Software License Agreement' => 'Q5637395'; # field 'Hamilton Laboratories software license' => 'Q65463196'; field 'Historical Permission Notice and Disclaimer' => 'Q5773924'; # field 'Honest Public License' => 'Q3139999'; field 'IBM Public License' => 'Q288745'; field 'IPA Font License' => 'Q38366264'; field 'ISC license' => 'Q386474'; # field 'ImageMagick License' => 'Q27676327'; field 'Independent JPEG Group License' => 'Q106186423'; # field 'Info-ZIP License' => 'Q105235524'; # field 'Initial Developer\'s Public License' => 'Q11712557'; field 'Intel Open Source License' => 'Q6043507'; # field 'Interbase Public License' => 'Q3153096'; field 'Jabber Open Source License' => 'Q1149006'; # field 'JasPer License Version 2.0' => 'Q47524112'; # field 'Java Research License' => 'Q6165015'; # field 'Kopimi' => 'Q98341313'; # field 'LPO' => 'Q5961707'; field 'LaTeX Project Public License' => 'Q1050635'; field 'Libpng License' => 'Q6542418'; field 'Licence Libre du Québec – Permissive' => 'Q38493399'; field 'Licence Libre du Québec – Réciprocité' => 'Q38490890'; field 'Licence Libre du Québec – Réciprocité forte' => 'Q38493724'; field 'Lucent Public License' => 'Q6696468'; field 'MIT No Attribution License' => 'Q67538600'; field 'MIT license' => 'Q334661'; field 'Microsoft Public License' => 'Q15477153'; field 'Microsoft Reciprocal License' => 'Q1772828'; # field 'Minecraft Mod Public License' => 'Q93043822'; field 'MirOS Licence' => 'Q1951343'; field 'Motosoto Open Source License' => 'Q38494497'; field 'Mozilla Public License' => 'Q308915'; field 'Mozilla Public License, version 1.0' => 'Q26737738'; field 'Mozilla Public License, version 1.1' => 'Q26737735'; field 'Mozilla Public License, version 2.0' => 'Q25428413'; field 'Mulan Permissive Software License, Version 1' => 'Q66563953'; field 'Mulan Permissive Software License, Version 2' => 'Q99634430'; field 'Multics License' => 'Q38494754'; field 'NASA Open Source Agreement' => 'Q6952418'; field 'NAUMEN Public License' => 'Q38495690'; field 'NTP License' => 'Q38495487'; field 'Nethack General Public License' => 'Q20764732'; field 'Netscape Public License' => 'Q2306611'; field 'Nokia Open Source License' => 'Q38495954'; field 'Non-Profit Open Software License' => 'Q38495282'; # field 'Norwegian Licence for Open Government Data' => 'Q106835859'; field 'OCLC Research Public License' => 'Q38496210'; field 'OSET Foundation Public License' => 'Q38496558'; # field 'OSI-approved license' => 'Q1156659'; # field 'Open Content License' => 'Q4398755'; field 'Open Database License' => 'Q1224853'; field 'Open Group Test Suite License' => 'Q38686558'; field 'Open Software License' => 'Q777520'; field 'OpenLDAP Public License Version 2.8' => 'Q25273268'; field 'OpenSSL License' => 'Q89948816'; field 'PHP License' => 'Q376841'; field 'PostgreSQL License' => 'Q18563589'; # field 'Public Documentation License' => 'Q492916'; field 'Public Domain Dedication and License v1.0' => 'Q24273512'; field 'Python License 2.0' => 'Q5975028'; field 'Python Software Foundation License 2.0' => 'Q2600299'; field 'Q Public License' => 'Q1396282'; field 'RealNetworks Public Source License' => 'Q7300815'; field 'Reciprocal Public License' => 'Q7302458'; field 'Ricoh Source Code Public License' => 'Q7332330'; field 'Ruby License' => 'Q3066722'; # field 'SLUC' => 'Q7391010'; # field 'Server Side Public License' => 'Q58531884'; field 'Simple Public License' => 'Q38351460'; field 'Sleepycat License' => 'Q2294050'; # field 'Spencer License 86' => 'Q97463778'; field 'Standard ML of New Jersey License' => 'Q99635287'; field 'SugarCRM Public License' => 'Q3976707'; # field 'Sun Community Source License' => 'Q7638252'; field 'Sun Industry Standards Source License' => 'Q635577'; field 'Sun Public License' => 'Q648252'; field 'Sybase Open Watcom Public License' => 'Q7659488'; # field 'TAPR Open Hardware License' => 'Q7669334'; field 'The MITRE Collaborative Virtual Workspace License' => 'Q38365796'; field 'Unicode, Inc. License Agreement' => 'Q67145209'; field 'Universal Permissive License' => 'Q38685700'; field 'University of Illinois/NCSA Open Source License' => 'Q2495855'; field 'Unlicense' => 'Q21659044'; # field 'Upstream Compatibility License' => 'Q48795302'; # field 'Vim license' => 'Q43338605'; field 'Vovida Software License Version 1.0' => 'Q38349857'; field 'W3C Software Notice and License' => 'Q3564577'; field 'WTFPL' => 'Q152481'; field 'X.Net, Inc. License' => 'Q38346089'; field 'X11 license' => 'Q18526202'; # field 'XCore Open Source License' => 'Q8041726'; field 'XFree86 License' => 'Q100375790'; field 'Yahoo! Public License' => 'Q16948289'; field 'Zend license' => 'Q85269786'; field 'Zero-clause BSD License' => 'Q48271011'; field 'Zope Public License' => 'Q3780982'; # field 'adware' => 'Q193345'; # field 'commercial open-source software' => 'Q4229799'; # field 'commercial software' => 'Q1340793'; # field 'copyleft free software license' => 'Q5975031'; # field 'copyleft license' => 'Q1139274'; field 'curl license' => 'Q33042394'; # field 'donationware' => 'Q10267'; # field 'doujin-mark' => 'Q17229293'; field 'eCos-2.0' => 'Q26904555'; # field 'free software license' => 'Q3943414'; # field 'freemium' => 'Q1444631'; # field 'freeware' => 'Q178285'; field 'gSOAP Public License' => 'Q3756289'; # field 'gnuplot license' => 'Q103979882'; field 'libtiff License' => 'Q105688056'; # field 'license-free software' => 'Q6543028'; # field 'nagware' => 'Q1195197'; # field 'non-Copyfree software license' => 'Q27529879'; # field 'open source license' => 'Q97044024'; # field 'permissive free software license' => 'Q1437937'; # field 'proprietary software' => 'Q218616'; # field 'public domain equivalent license' => 'Q25047642'; # field 'released into the public domain by the copyright holder' => 'Q98592850'; # field 'retail software' => 'Q7316614'; # field 'shareware' => 'Q185534'; # field 'software license' => 'Q207621'; # field 'source available license' => 'Q94920209'; # field 'trial' => 'Q9361521'; # field 'volume licensing' => 'Q4016359'; field 'wxWindows Library License' => 'Q38347878'; field 'zlib License' => 'Q207243'; # public licenses (excluding software licenses) # field 'UVM-Lizenz für freie Inhalte' => 'Q2471941'; field 'Artistic License 1.0' => 'Q14624823'; # field 'Attribution-NonCommercial-NoDerivs 2.5 Australia' => 'Q84436292'; # field 'Attribution-NonCommercial-NoDerivs 3.0 Costa Rica' => 'Q102768546'; # field 'Attribution-NonCommercial-NoDerivs 3.0 Spain' => 'Q77554954'; # field 'CERN Open Hardware Licence' => 'Q1023365'; # field 'Copyheart' => 'Q5169203'; field 'Creative Commons Attribution' => 'Q6905323'; # field 'Creative Commons Attribution 3.0 IGO' => 'Q26259495'; # field 'Creative Commons Attribution 1.0 Finland' => 'Q75446635'; field 'Creative Commons Attribution 1.0 Generic' => 'Q30942811'; # field 'Creative Commons Attribution 1.0 Israel' => 'Q75446609'; # field 'Creative Commons Attribution 1.0 Netherlands' => 'Q75445499'; # field 'Creative Commons Attribution 2.0 Australia' => 'Q75452310'; # field 'Creative Commons Attribution 2.0 Austria' => 'Q75450165'; # field 'Creative Commons Attribution 2.0 Belgium' => 'Q75457467'; # field 'Creative Commons Attribution 2.0 Brazil' => 'Q75457506'; # field 'Creative Commons Attribution 2.0 Canada' => 'Q75460106'; # field 'Creative Commons Attribution 2.0 Chile' => 'Q75460149'; # field 'Creative Commons Attribution 2.0 Croatia' => 'Q75474094'; # field 'Creative Commons Attribution 2.0 France' => 'Q75470422'; field 'Creative Commons Attribution 2.0 Generic' => 'Q19125117'; # field 'Creative Commons Attribution 2.0 Germany' => 'Q75466259'; # field 'Creative Commons Attribution 2.0 Italy' => 'Q75475677'; # field 'Creative Commons Attribution 2.0 Japan' => 'Q75477775'; # field 'Creative Commons Attribution 2.0 Netherlands' => 'Q75476747'; # field 'Creative Commons Attribution 2.0 Poland' => 'Q75486069'; # field 'Creative Commons Attribution 2.0 South Africa' => 'Q75488238'; # field 'Creative Commons Attribution 2.0 South Korea' => 'Q44282633'; # field 'Creative Commons Attribution 2.0 Spain' => 'Q75470365'; # field 'Creative Commons Attribution 2.0 Taiwan' => 'Q75487055'; # field 'Creative Commons Attribution 2.0 UK: England & Wales' => 'Q63241773'; # field 'Creative Commons Attribution 2.1 Australia' => 'Q75894680'; # field 'Creative Commons Attribution 2.1 Japan' => 'Q26116436'; # field 'Creative Commons Attribution 2.1 Spain' => 'Q75894644'; # field 'Creative Commons Attribution 2.5 Argentina' => 'Q75491630'; # field 'Creative Commons Attribution 2.5 Australia' => 'Q75494411'; # field 'Creative Commons Attribution 2.5 Brazil' => 'Q75501683'; # field 'Creative Commons Attribution 2.5 Bulgaria' => 'Q75500112'; # field 'Creative Commons Attribution 2.5 Canada' => 'Q75504835'; # field 'Creative Commons Attribution 2.5 China Mainland' => 'Q75434631'; # field 'Creative Commons Attribution 2.5 Columbia' => 'Q75663969'; # field 'Creative Commons Attribution 2.5 Croatia' => 'Q75706881'; # field 'Creative Commons Attribution 2.5 Denmark' => 'Q75665696'; field 'Creative Commons Attribution 2.5 Generic' => 'Q18810333'; # field 'Creative Commons Attribution 2.5 Hungary' => 'Q75759387'; # field 'Creative Commons Attribution 2.5 India' => 'Q75443434'; # field 'Creative Commons Attribution 2.5 Israel' => 'Q75759731'; # field 'Creative Commons Attribution 2.5 Italy' => 'Q75760479'; # field 'Creative Commons Attribution 2.5 Macedonia' => 'Q75761383'; # field 'Creative Commons Attribution 2.5 Malaysia' => 'Q75762784'; # field 'Creative Commons Attribution 2.5 Malta' => 'Q75761779'; # field 'Creative Commons Attribution 2.5 Mexico' => 'Q75762418'; # field 'Creative Commons Attribution 2.5 Netherlands' => 'Q75763101'; # field 'Creative Commons Attribution 2.5 Peru' => 'Q75764151'; # field 'Creative Commons Attribution 2.5 Poland' => 'Q75764470'; # field 'Creative Commons Attribution 2.5 Portugal' => 'Q75764895'; # field 'Creative Commons Attribution 2.5 Slovenia' => 'Q75766316'; # field 'Creative Commons Attribution 2.5 South Africa' => 'Q75767606'; # field 'Creative Commons Attribution 2.5 Spain' => 'Q75705948'; # field 'Creative Commons Attribution 2.5 Sweden' => 'Q27940776'; # field 'Creative Commons Attribution 2.5 Switzerland' => 'Q75506669'; # field 'Creative Commons Attribution 2.5 Taiwan' => 'Q75767185'; # field 'Creative Commons Attribution 2.5 UK: Scotland' => 'Q75765287'; # field 'Creative Commons Attribution 3.0 Australia' => 'Q52555753'; # field 'Creative Commons Attribution 3.0 Austria' => 'Q75768706'; # field 'Creative Commons Attribution 3.0 Brazil' => 'Q75770766'; # field 'Creative Commons Attribution 3.0 Chile' => 'Q75771874'; # field 'Creative Commons Attribution 3.0 China Mainland' => 'Q75779562'; # field 'Creative Commons Attribution 3.0 Costa Rica' => 'Q75789929'; # field 'Creative Commons Attribution 3.0 Croatia' => 'Q75776014'; # field 'Creative Commons Attribution 3.0 Czech Republic' => 'Q67918154'; # field 'Creative Commons Attribution 3.0 Ecuador' => 'Q75850366'; # field 'Creative Commons Attribution 3.0 Egypt' => 'Q75850832'; # field 'Creative Commons Attribution 3.0 Estonia' => 'Q75850813'; # field 'Creative Commons Attribution 3.0 France' => 'Q75775714'; # field 'Creative Commons Attribution 3.0 Germany' => 'Q62619894'; # field 'Creative Commons Attribution 3.0 Greece' => 'Q75851799'; # field 'Creative Commons Attribution 3.0 Guatemala' => 'Q75852313'; # field 'Creative Commons Attribution 3.0 Hong Kong' => 'Q75779905'; # field 'Creative Commons Attribution 3.0 Ireland' => 'Q75852938'; # field 'Creative Commons Attribution 3.0 Italy' => 'Q75776487'; # field 'Creative Commons Attribution 3.0 Luxembourg' => 'Q75853187'; # field 'Creative Commons Attribution 3.0 Netherlands' => 'Q53859967'; # field 'Creative Commons Attribution 3.0 New Zealand' => 'Q75853514'; # field 'Creative Commons Attribution 3.0 Norway' => 'Q75853549'; # field 'Creative Commons Attribution 3.0 Philippines' => 'Q75856699'; # field 'Creative Commons Attribution 3.0 Poland' => 'Q75777688'; # field 'Creative Commons Attribution 3.0 Portugal' => 'Q75854323'; # field 'Creative Commons Attribution 3.0 Puerto Rico' => 'Q75857518'; # field 'Creative Commons Attribution 3.0 Romania' => 'Q75858169'; # field 'Creative Commons Attribution 3.0 Serbia' => 'Q75859019'; # field 'Creative Commons Attribution 3.0 Singapore' => 'Q75859751'; # field 'Creative Commons Attribution 3.0 South Africa' => 'Q76631753'; # field 'Creative Commons Attribution 3.0 Spain' => 'Q75775133'; # field 'Creative Commons Attribution 3.0 Switzerland' => 'Q75771320'; # field 'Creative Commons Attribution 3.0 Taiwan' => 'Q75778801'; # field 'Creative Commons Attribution 3.0 Thailand' => 'Q75866892'; # field 'Creative Commons Attribution 3.0 Uganda' => 'Q75882470'; # field 'Creative Commons Attribution 3.0 United States' => 'Q18810143'; field 'Creative Commons Attribution 3.0 Unported' => 'Q14947546'; # field 'Creative Commons Attribution 3.0 Vietnam' => 'Q75889409'; field 'Creative Commons Attribution 4.0 International' => 'Q20007257'; field 'Creative Commons Attribution-NoDerivatives' => 'Q6999319'; field 'Creative Commons Attribution-NoDerivs 1.0 Generic' => 'Q47008966'; field 'Creative Commons Attribution-NoDerivs 2.0 Generic' => 'Q35254645'; # field 'Creative Commons Attribution-NoDerivs 2.0 UK: England & Wales' => 'Q63241854'; field 'Creative Commons Attribution-NoDerivs 2.5 Generic' => 'Q18810338'; # field 'Creative Commons Attribution-NoDerivs 3.0 Germany' => 'Q108002236'; # field 'Creative Commons Attribution-NoDerivs 3.0 Taiwan' => 'Q105699164'; field 'Creative Commons Attribution-NoDerivs 3.0 Unported' => 'Q18810160'; field 'Creative Commons Attribution-NoDerivs 4.0 International' => 'Q36795408'; field 'Creative Commons Attribution-NonCommercial' => 'Q6936496'; field 'Creative Commons Attribution-NonCommercial 1.0 Generic' => 'Q44283370'; field 'Creative Commons Attribution-NonCommercial 2.0 Generic' => 'Q44128984'; # field 'Creative Commons Attribution-NonCommercial 2.1 Japan' => 'Q107673639'; field 'Creative Commons Attribution-NonCommercial 2.5 Generic' => 'Q19113746'; # field 'Creative Commons Attribution-NonCommercial 3.0 Germany' => 'Q108002180'; # field 'Creative Commons Attribution-NonCommercial 3.0 Spain' => 'Q80230469'; field 'Creative Commons Attribution-NonCommercial 3.0 Unported' => 'Q18810331'; field 'Creative Commons Attribution-NonCommercial 4.0 International' => 'Q34179348'; field 'Creative Commons Attribution-NonCommercial-NoDerivatives' => 'Q6937225'; # field 'Creative Commons Attribution-NonCommercial-NoDerivatives 3.0 United States' => 'Q96200688'; field 'Creative Commons Attribution-NonCommercial-NoDerivs 1.0 Generic' => 'Q47008926'; # field 'Creative Commons Attribution-NonCommercial-NoDerivs 2.0 France' => 'Q104708274'; field 'Creative Commons Attribution-NonCommercial-NoDerivs 2.0 Generic' => 'Q47008927'; # field 'Creative Commons Attribution-NonCommercial-NoDerivs 2.0 UK: England & Wales' => 'Q56299316'; field 'Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Generic' => 'Q19068204'; # field 'Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Portugal' => 'Q42172282'; # field 'Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Spain' => 'Q77660706'; # field 'Creative Commons Attribution-NonCommercial-NoDerivs 3.0 France' => 'Q23006354'; # field 'Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Germany' => 'Q108002189'; # field 'Creative Commons Attribution-NonCommercial-NoDerivs 3.0 IGO' => 'Q76448905'; field 'Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported' => 'Q19125045'; field 'Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International' => 'Q24082749'; field 'Creative Commons Attribution-NonCommercial-ShareAlike 1.0 Generic' => 'Q47008954'; # field 'Creative Commons Attribution-NonCommercial-ShareAlike 2.0 France' => 'Q94507369'; # field 'Creative Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales' => 'Q63241094'; # field 'Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Italy' => 'Q65096132'; # field 'Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Switzerland' => 'Q96473808'; field 'Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International' => 'Q42553662'; # field 'Creative Commons Attribution-NonCommercial-ShareAlive 3.0 IGO' => 'Q106453388'; # field 'Creative Commons Attribution-Share Alike 2.5 Argentina' => 'Q99239269'; # field 'Creative Commons Attribution-Share Alike 2.5 Australia' => 'Q99239530'; # field 'Creative Commons Attribution-Share Alike 2.5 Brazil' => 'Q99239977'; # field 'Creative Commons Attribution-Share Alike 2.5 Bulgaria' => 'Q99239903'; # field 'Creative Commons Attribution-Share Alike 2.5 China Mainland' => 'Q99240158'; # field 'Creative Commons Attribution-Share Alike 2.5 Colombia' => 'Q99240246'; # field 'Creative Commons Attribution-Share Alike 2.5 Croatia' => 'Q99240535'; # field 'Creative Commons Attribution-Share Alike 2.5 Denmark' => 'Q99240336'; # field 'Creative Commons Attribution-Share Alike 2.5 India' => 'Q99240684'; # field 'Creative Commons Attribution-Share Alike 2.5 Israel' => 'Q99240616'; # field 'Creative Commons Attribution-Share Alike 2.5 Macedonia' => 'Q99437988'; # field 'Creative Commons Attribution-Share Alike 2.5 Malaysia' => 'Q99438269'; # field 'Creative Commons Attribution-Share Alike 2.5 Malta' => 'Q99438077'; # field 'Creative Commons Attribution-Share Alike 2.5 Mexico' => 'Q99438138'; # field 'Creative Commons Attribution-Share Alike 2.5 Peru' => 'Q99438515'; # field 'Creative Commons Attribution-Share Alike 2.5 Portugal' => 'Q99438743'; # field 'Creative Commons Attribution-Share Alike 2.5 Slovenia' => 'Q99438751'; # field 'Creative Commons Attribution-Share Alike 2.5 South Africa' => 'Q99438757'; # field 'Creative Commons Attribution-Share Alike 2.5 Spain' => 'Q99240437'; # field 'Creative Commons Attribution-Share Alike 2.5 Switzerland' => 'Q99240068'; # field 'Creative Commons Attribution-Share Alike 2.5 Taiwan' => 'Q99438755'; # field 'Creative Commons Attribution-Share Alike 2.5 UK: Scotland' => 'Q99438747'; # field 'Creative Commons Attribution-Share Alike 3.0 Brazil' => 'Q98755369'; # field 'Creative Commons Attribution-Share Alike 3.0 China Mainland' => 'Q99458406'; # field 'Creative Commons Attribution-Share Alike 3.0 Croatia' => 'Q99459365'; # field 'Creative Commons Attribution-Share Alike 3.0 Ecuador' => 'Q99458819'; # field 'Creative Commons Attribution-Share Alike 3.0 Greece' => 'Q99457707'; # field 'Creative Commons Attribution-Share Alike 3.0 Guatemala' => 'Q99459010'; # field 'Creative Commons Attribution-Share Alike 3.0 Hong Kong' => 'Q99459076'; # field 'Creative Commons Attribution-Share Alike 3.0 New Zealand' => 'Q99438798'; # field 'Creative Commons Attribution-Share Alike 3.0 Philippines' => 'Q99460006'; # field 'Creative Commons Attribution-Share Alike 3.0 Portugal' => 'Q99460272'; # field 'Creative Commons Attribution-Share Alike 3.0 Puerto Rico' => 'Q99460154'; # field 'Creative Commons Attribution-Share Alike 3.0 Serbia' => 'Q98755344'; # field 'Creative Commons Attribution-Share Alike 3.0 Singapore' => 'Q99460356'; # field 'Creative Commons Attribution-Share Alike 3.0 Switzerland' => 'Q99457378'; # field 'Creative Commons Attribution-Share Alike 3.0 Taiwan' => 'Q98960995'; # field 'Creative Commons Attribution-Share Alike 3.0 Thailand' => 'Q99460411'; # field 'Creative Commons Attribution-ShareAlike 1.0 Finland' => 'Q76767348'; field 'Creative Commons Attribution-ShareAlike 1.0 Generic' => 'Q47001652'; # field 'Creative Commons Attribution-ShareAlike 1.0 Israel' => 'Q76769447'; # field 'Creative Commons Attribution-ShareAlike 1.0 Netherlands' => 'Q77014037'; # field 'Creative Commons Attribution-ShareAlike 2.0 Australia' => 'Q77131257'; # field 'Creative Commons Attribution-ShareAlike 2.0 Austria' => 'Q77021108'; # field 'Creative Commons Attribution-ShareAlike 2.0 Belgium' => 'Q77132386'; # field 'Creative Commons Attribution-ShareAlike 2.0 Brazil' => 'Q77133402'; # field 'Creative Commons Attribution-ShareAlike 2.0 Canada' => 'Q77135172'; # field 'Creative Commons Attribution-ShareAlike 2.0 Chile' => 'Q77136299'; # field 'Creative Commons Attribution-ShareAlike 2.0 Croatia' => 'Q77361415'; # field 'Creative Commons Attribution-ShareAlike 2.0 France' => 'Q77355872'; field 'Creative Commons Attribution-ShareAlike 2.0 Generic' => 'Q19068220'; # field 'Creative Commons Attribution-ShareAlike 2.0 Germany' => 'Q77143083'; # field 'Creative Commons Attribution-ShareAlike 2.0 Italy' => 'Q77362254'; # field 'Creative Commons Attribution-ShareAlike 2.0 Japan' => 'Q77363039'; # field 'Creative Commons Attribution-ShareAlike 2.0 Netherlands' => 'Q77363856'; # field 'Creative Commons Attribution-ShareAlike 2.0 Poland' => 'Q77364488'; # field 'Creative Commons Attribution-ShareAlike 2.0 South Africa' => 'Q77365530'; # field 'Creative Commons Attribution-ShareAlike 2.0 South Korea' => 'Q44282641'; # field 'Creative Commons Attribution-ShareAlike 2.0 Spain' => 'Q77352646'; # field 'Creative Commons Attribution-ShareAlike 2.0 Taiwan' => 'Q77364872'; # field 'Creative Commons Attribution-ShareAlike 2.0 UK: England & Wales' => 'Q77365183'; # field 'Creative Commons Attribution-ShareAlike 2.1 Australia' => 'Q77366066'; # field 'Creative Commons Attribution-ShareAlike 2.1 Japan' => 'Q77367349'; # field 'Creative Commons Attribution-ShareAlike 2.1 Spain' => 'Q77366576'; # field 'Creative Commons Attribution-ShareAlike 2.5 Canada' => 'Q24331618'; field 'Creative Commons Attribution-ShareAlike 2.5 Generic' => 'Q19113751'; # field 'Creative Commons Attribution-ShareAlike 2.5 Hungary' => 'Q98755330'; # field 'Creative Commons Attribution-ShareAlike 2.5 Italy' => 'Q98929925'; # field 'Creative Commons Attribution-ShareAlike 2.5 Netherlands' => 'Q18199175'; # field 'Creative Commons Attribution-ShareAlike 2.5 Poland' => 'Q98755337'; # field 'Creative Commons Attribution-ShareAlike 2.5 Sweden' => 'Q15914252'; # field 'Creative Commons Attribution-ShareAlike 3.0 Australia' => 'Q86239208'; # field 'Creative Commons Attribution-ShareAlike 3.0 Austria' => 'Q80837139'; # field 'Creative Commons Attribution-ShareAlike 3.0 Chile' => 'Q99457535'; # field 'Creative Commons Attribution-ShareAlike 3.0 Costa Rica' => 'Q99458659'; # field 'Creative Commons Attribution-ShareAlike 3.0 Czech Republic' => 'Q98755321'; # field 'Creative Commons Attribution-ShareAlike 3.0 Estonia' => 'Q86239559'; # field 'Creative Commons Attribution-ShareAlike 3.0 France' => 'Q86240326'; # field 'Creative Commons Attribution-ShareAlike 3.0 Germany' => 'Q42716613'; # field 'Creative Commons Attribution-ShareAlike 3.0 IGO' => 'Q56292840'; # field 'Creative Commons Attribution-ShareAlike 3.0 Ireland' => 'Q99459488'; # field 'Creative Commons Attribution-ShareAlike 3.0 Italy' => 'Q98755364'; # field 'Creative Commons Attribution-ShareAlike 3.0 Luxembourg' => 'Q86240624'; # field 'Creative Commons Attribution-ShareAlike 3.0 Netherlands' => 'Q18195572'; # field 'Creative Commons Attribution-ShareAlike 3.0 Norway' => 'Q63340742'; # field 'Creative Commons Attribution-ShareAlike 3.0 Poland' => 'Q80837607'; # field 'Creative Commons Attribution-ShareAlike 3.0 Romania' => 'Q86241082'; # field 'Creative Commons Attribution-ShareAlike 3.0 South Africa' => 'Q99460515'; # field 'Creative Commons Attribution-ShareAlike 3.0 Spain' => 'Q86239991'; # field 'Creative Commons Attribution-ShareAlike 3.0 Uganda' => 'Q99460475'; # field 'Creative Commons Attribution-ShareAlike 3.0 United States' => 'Q18810341'; field 'Creative Commons Attribution-ShareAlike 3.0 Unported' => 'Q14946043'; # field 'Creative Commons Attribution-ShareAlike 3.0 Vietnam' => 'Q99460484'; field 'Creative Commons Attribution-ShareAlike 4.0 International' => 'Q18199165'; field 'Creative Commons NonCommercial' => 'Q65071627'; field 'Creative Commons Sampling Plus 1.0' => 'Q26913038'; field 'Creative Commons ShareAlike 1.0' => 'Q75209430'; # field 'Creative Commons jurisdiction port' => 'Q5183504'; field 'Creative Commons license' => 'Q284742'; # field 'Data licence Germany - Zero - Version 2.0' => 'Q56064789'; # field 'Database Contents License' => 'Q96393884'; # field 'Dominion Rules Licence' => 'Q5291073'; # field 'FSF-approved license' => 'Q106916980'; # field 'Free Art License' => 'Q152332'; field 'GNU Free Documentation License, version 1.1' => 'Q26921685'; field 'GNU Free Documentation License, version 1.1 or later' => 'Q50829096'; # field 'GNU Free Documentation License, version 1.1 or later with invariants' => 'Q103979227'; # field 'GNU Free Documentation License, version 1.1 or later with no invariants' => 'Q103979229'; # field 'GNU Free Documentation License, version 1.1 with invariants' => 'Q103979163'; # field 'GNU Free Documentation License, version 1.1 with no invariants' => 'Q103979171'; field 'GNU Free Documentation License, version 1.2' => 'Q26921686'; field 'GNU Free Documentation License, version 1.2 or later' => 'Q50829104'; # field 'GNU Free Documentation License, version 1.2 or later with invariants' => 'Q103891130'; # field 'GNU Free Documentation License, version 1.2 with invariants' => 'Q103891106'; # field 'GNU Free Documentation License, version 1.2 with no invariants' => 'Q103979695'; field 'GNU Free Documentation License, version 1.3' => 'Q26921691'; field 'GNU Free Documentation License, version 1.3 or later' => 'Q27019786'; # field 'GNU Free Documentation License, version 1.3 or later with invariants' => 'Q103979768'; # field 'GNU Free Documentation License, version 1.3 or later with no invariants' => 'Q103891115'; # field 'GNU Free Documentation License, version 1.3 with invariants' => 'Q103891111'; # field 'GNU Free Documentation License, version 1.3 with no invariants' => 'Q103979743'; # field 'GUST Font License' => 'Q99675272'; # field 'Game System License' => 'Q5519899'; # field 'Giftware' => 'Q10289473'; # field 'Government Open Data License - India' => 'Q99891295'; # field 'Government Website Open Information Announcement' => 'Q99659043'; # field 'Government of Japan Standard Terms of Use' => 'Q22131381'; # field 'Government of Japan Standard Terms of Use (Version 1.0)' => 'Q104709222'; # field 'Government of Japan Standard Terms of Use (Version 1.1)' => 'Q104709242'; # field 'Government of Japan Standard Terms of Use (Version 2.0)' => 'Q104709225'; # field 'Italian Open Data License' => 'Q16566743'; # field 'Italian Open Data License 1.0' => 'Q26805816'; # field 'Italian Open Data License 2.0' => 'Q26805818'; field 'MPICH2 license' => 'Q17070027'; # field 'Matplotlib license' => 'Q30222888'; # field 'Mexico City Open Government License' => 'Q57487793'; # field 'Non-Commercial Government Licence 2.0' => 'Q58337120'; # field 'Norwegian Licence for Open Government Data 1.0' => 'Q18632926'; # field 'Norwegian Licence for Open Government Data 2.0' => 'Q106835855'; # field 'Oireachtas (Open Data) PSI Licence' => 'Q100534948'; # field 'Open Audio License' => 'Q627693'; # field 'Open Data Commons Attribution License' => 'Q30940585'; # field 'Open Directory License' => 'Q4045888'; # field 'Open Game License v1.0' => 'Q1752744'; # field 'Open Game License v1.0a' => 'Q100878500'; # field 'Open Government Data License' => 'Q47001673'; # field 'Open Government Licence' => 'Q17016921'; # field 'Open Government Licence - Canada' => 'Q56419952'; # field 'Open Government Licence v1.0' => 'Q99891660'; # field 'Open Government Licence v2.0' => 'Q99891692'; # field 'Open Government Licence v3.0' => 'Q99891702'; # field 'Open Hardware License' => 'Q7096068'; # field 'Open Licence 1.0' => 'Q80938815'; # field 'Open Licence 2.0' => 'Q80939351'; # field 'Open License' => 'Q3238028'; # field 'Open Parliament Licence' => 'Q82682924'; # field 'Open Publication License' => 'Q1412537'; # field 'Open Web Foundation Agreement, Version 0.9' => 'Q28554579'; field 'SIL Open Font License' => 'Q1150837'; field 'Sampling 1.0' => 'Q100509915'; # field 'Simputer General Public License' => 'Q7521185'; # field 'data copyright license' => 'Q51754273'; # field 'deprecated Creative Commons license' => 'Q100508534'; # field 'free license' => 'Q196294'; # field 'public license' => 'Q7257461'; # default summaries field 'a BSD-style license' => 'Q191307'; field 'an MIT-style license' => 'Q334661'; # historical caption until 2021-08-09 (em-dash instead of dash) # field 'Creative Commons Attribution–NonCommercial-ShareAlike' => 'Q6998997'; end(); }, 'coverage of Creative Commons Public licenses' ); done_testing; MyTest.pm000644001750001750 1311314107233261 20442 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/t/libpackage MyTest; my $CLASS = __PACKAGE__; use open ':std', ':encoding(utf8)'; use parent qw(Test::Builder::Module); @EXPORT = qw(license_is license_isnt TODO_license_is TODO_license_isnt license_covered done_testing); use strict; use warnings; use Try::Tiny; use Regexp::Pattern::License; use Regexp::Pattern; my %coverage = ( name => { hit => [qw(name)], miss => [qw(iri)] }, iri => { hit => [qw(iri)], miss => [qw(grant license)] }, grant => { hit => [qw(grant)], miss => [qw(iri name)] }, license => { hit => [qw(text)], miss => [qw(iri name)] }, ); my @subjects = sort keys %coverage; # main pattern is the "best" available, according to this custom priority list my @subjectstack = qw(license grant name iri trait); my @scopestack = qw(line sentence paragraph); #my $defaultsubject = 'anydistinct'; sub license_covered (@) { my ( $id, %data ) = @_; my $tb = $CLASS->builder; # $tb->todo_start( join ' ', @{ $data{TODO} } ) # if ( $data{TODO} and @{ $data{TODO} } ); $tb->subtest( "license $id; check coverage", \&_license_covered, @_ ); # $tb->todo_end # if ( $data{TODO} and @{ $data{TODO} } ); } sub _license_covered (@) { my ( $id, %data ) = @_; my $tb = $CLASS->builder; my %todo; for ( @{ $data{TODO} } ) { $todo{$_} = 1; } my $pat = $Regexp::Pattern::License::RE{$id}; $tb->ok( $pat, 'pattern object exists' ) or return; $tb->is_eq( ref($pat), 'HASH', 'pattern object is a hash' ) or return; my @pat = grep {/^pat(?:\.alt\.|[(])?/} keys %{$pat}; $tb->isnt_num( scalar @pat, 0, "license $id: pattern(s) exist" ) or return; my @pat_subject = grep { $$pat{"pat.alt.subject.$_"} } @subjectstack; $tb->ok( scalar @pat_subject, "license $id; subject pattern(s) exist" ) or return; my $gen_subjects = $$pat{gen_args}{subject}{schema}[2]; $tb->ok( scalar @{$gen_subjects}, 'dynamic pattern list exists' ) or return; # TODO: check for uncovered subjects my $re = try { re("License::$id") }; unless ( $tb->ok( $re, "license $id; use" ) ) { return; } $tb->is_eq( ref($re), 'Regexp', "license $id; pattern is a Regexp" ) or $re = qr/$re/; for my $subject (@subjects) { unless ( $coverage{$subject} ) { if ( $todo{"subject_$subject"} ) { $tb->todo_skip( "license $id; subject $subject not yet supported"); } else { $tb->ok( 0, "dynamic pattern $subject is supported" ); } next; } my $re_subject = try { re( "License::$id", subject => $subject ) }; $tb->todo_start if ( $todo{"subject_$subject"} ); unless ( $tb->ok( $re_subject, "license $id; use subject_$subject" ) ) { $tb->todo_end if ( $todo{"subject_$subject"} ); next; } $tb->todo_end if ( $todo{"subject_$subject"} ); $tb->is_eq( ref($re_subject), 'Regexp', "license $id; pattern is a Regexp" ) or $re_subject = qr/$re_subject/; _covered( $id, 'subject', $re_subject, $subject, \%data, \%todo ); } } sub _covered (@) { my ( $id, $type, $re, $subject, $dataref, $todoref ) = @_; my %data = %{$dataref}; my %todo = %{$todoref}; my $tb = $CLASS->builder; for ( @{ $coverage{$subject}{hit} } ) { unless ( $data{$_} ) { $tb->todo_skip("license $id; dataset $_ missing"); next; } $tb->todo_start if ( $type eq 'main' ? $todo{$_} : $todo{"${_}_$subject"} ); $tb->like( $data{$_}, $re, $type eq 'main' ? "license $id; matches pattern $_" : "license $id; matches pattern ${_}_$subject" ); $tb->todo_end if ( $type eq 'main' ? $todo{$_} : $todo{"${_}_$subject"} ); } for ( @{ $coverage{$subject}{miss} } ) { unless ( $data{$_} ) { $tb->todo_skip("license $id; dataset $_ missing"); next; } $tb->todo_start if ( $type eq 'main' ? $todo{"not_$_"} : $todo{"not_${_}_$subject"} ); $tb->unlike( $data{$_}, $re, $type eq 'main' ? "license $id; misses pattern not_$_" : "license $id; misses pattern not_${_}_$subject" ); $tb->todo_end if ( $type eq 'main' ? $todo{"not_$_"} : $todo{"not_${_}_$subject"} ); } } sub license_is ($$;@) { my ( $corpus, $expected, %args ) = @_; for ( ref($expected) eq 'ARRAY' ? @{$expected} : $expected ) { _license( $corpus, $_, %args ); } } sub license_isnt ($$;@) { my ( $corpus, $expected, %args ) = @_; for ( ref($expected) eq 'ARRAY' ? @{$expected} : $expected ) { _license( $corpus, undef, $_, %args ); } } sub TODO_license_is ($$;@) { my ( $corpus, $expected, %args ) = @_; my $tb = $CLASS->builder; $tb->todo_start; for ( ref($expected) eq 'ARRAY' ? @{$expected} : $expected ) { _license( $corpus, $_, %args ); } $tb->todo_end; } sub TODO_license_isnt ($$;@) { my ( $corpus, $expected, %args ) = @_; my $tb = $CLASS->builder; $tb->todo_start; for ( ref($expected) eq 'ARRAY' ? @{$expected} : $expected ) { _license( $corpus, undef, $_, %args ); } $tb->todo_end; } sub _license ($$;@) { my ( $corpus, $expected, $unexpected, %args ) = @_; my $tb = $CLASS->builder; # corpus is either scalar (string), array (list of strings) for ( ref($corpus) eq 'ARRAY' ? @{$corpus} : $corpus ) { $tb->croak($expected) if !$_ and $expected; $tb->like( $_, _re( $expected, %args ), "match for licensepattern $expected" ) if $expected; $tb->unlike( $_, _re( $unexpected, %args ), "no match for licensepattern $unexpected" ) if ($unexpected); } } sub _re ($;$) { # my ( $id, %args ) = @_; # my $re = re( "License::$id", %args ); my ( $id, $subject ) = @_; # my $re = re( "License::$id", $subject ? { subject => $subject } : () ); my $re = re( "License::$id", subject => $subject ); return '' unless $re; return ( ref($re) eq 'Regexp' ) ? $re : qr/$re/; } sub done_testing () { my $tb = $CLASS->builder; $tb->done_testing; } 1; License.pm000644001750001750 176077014107233261 23266 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/lib/Regexp/Patternpackage Regexp::Pattern::License; use utf8; use strict; use warnings; my $CAN_RE2; BEGIN { eval { require re::engine::RE2 }; $CAN_RE2 = $@ ? '' : 1; } use Regexp::Pattern::License::Parts; =head1 NAME Regexp::Pattern::License - Regular expressions for legal licenses =head1 VERSION Version v3.9.3 =cut our $VERSION = version->declare("v3.9.3"); =head1 SYNOPSIS use Regexp::Pattern::License; use Regexp::Pattern; my $string = 'GNU General Public License version 3 or later'; print "Found!\n" if $string =~ re( 'License::gpl_3' ); # prints "Found!" =head1 DESCRIPTION L provides a hash of regular expression patterns related to legal software licenses. L is a convention for organizing reusable regex patterns. =cut # internal patterns compiled into patterns # * must be unique, to not collide at their final use in gen_pat sub # * must be a unit, so that e.g. suffix "?" applies to whole chunk # [ ] end-of-paragraph space # [ ] end-of-sentence space # [.] full stop # [. ] full stop and either one or two spaces or newline # [, ] comma and space (space optional for wide comma) # [:] colon # [:"] colon and maybe one or two quotes # [;] semicolon or colon or comma # ['] apostrophe # ["] quote # [". ] full stop and either one or two spaces or newline, maybe quote before # ["*] quote or bullet # [*] bullet # [*)] start-of-sentence bullet or count # [/] slash or space or none # [ / ] slash, maybe space around # [-] dash, maybe space after, or none # [--] dash or two dashes # [-#] dash or number # [- ] dash or space # [ - ] dash with space around # [+] plus # [(] parens-open # [)] parens-close # [<] less-than # [>] greater-than # [> ] greater-than, maybe space after, or none # [#.] digits and maybe one infix dot # [#-,] digits, infix maybe one dash, suffix maybe comma maybe space # [c] copyright mark, maybe space before # [as is] as is, maybe quote around # [eg] exempli gratia, abbreviated # [http://] http or https protocol, or none # [ie] id est, abbreviated # [r] registered trademark, maybe space before # [tm] trademark, maybe space before # [word] word # [ word] space and word my %_ANNOTATIONS = ( '[. ]' => '(?:\.\s{1,3})', '[, ]' => '(?:, |[、,] ?)', '[*)]' => '(?:\W{0,5}\S{0,2}\W{0,3})', '[:]' => ':', '[:"]' => '(?::\W{0,2})', '[-]' => '(?:(?:[-–]\s{0,3})?)', '[--]' => '(?:[-–—][-–]?)', '[-#]' => '[-–\d]', '[- ]' => '[-– ]', '[ - ]' => '(?: [-–—]{1,2} )', '[(]' => '[((]', '[)]' => '[))]', '[> ]' => '(?:> ?|)', '[#.]' => '(?:\d+(?:\.\d+)?)', '[#-,]' => '(?:\d+(?: ?[-–] ?\d+)?,? ?)', '[ ]' => '(?:\s{1,3})', '[ ]' => '(?:\s{1,3})', '["]' => '(?:["«»˝̏“”„]|[\'<>`´‘’‹›‚]{0,2})', '[. ]' => '(?:(?:["«»˝̏“”„]|[\'<>`´‘’‹›‚]{0,2})?\.\s{1,3})', '[\']' => '(?:[\'`´‘’]?)', '["*]' => '(?:\W{0,2})', '[;]' => '[;:,、,]', '[/]' => '(?:[ /]?)', '[ / ]' => '(?: ?[/] ?)', '[à]' => '(?:[àa]?)', '[è]' => '(?:[èe]?)', '[é]' => '(?:[ée]?)', '[ê]' => '(?:[êe]?)', '[l-]' => '(?:[łl]?)', '[c]' => '(?: ?©| ?\([Cc]\))', '[as is]' => '(?:\W{0,2}[Aa][Ss][- ][Ii][Ss]\W{0,2})', '[eg]' => '(?:ex?\.? ?gr?\.?)', '[http://]' => '(?:https?://)?', '[ie]' => '(?:i\.? ?e\.?)', '[r]' => '(?: ?®| ?\([Rr]\))', '[tm]' => '(?: ?™| ?\([Tt][Mm]\))', '[word]' => '(?:\S+)', '[ word]' => '(?: \S+)', ); my %P; while ( my ( $key, $val ) = each %Regexp::Pattern::License::Parts::RE ) { $P{$key} = $val->{pat}; } my $the = '(?:[Tt]he )'; my $cc_no_law_firm = 'CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL SERVICES[. ]'; my $cc_dist_no_rel = 'DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN ATTORNEY[-]CLIENT RELATIONSHIP[. ]'; my $cc_dist_no_rel_draft = 'DISTRIBUTION OF THIS DRAFT LICENSE DOES NOT CREATE AN ATTORNEY[-]CLIENT RELATIONSHIP[. ]'; my $cc_dist_no_rel_doc = 'DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN ATTORNEY[-]CLIENT RELATIONSHIP[. ]'; my $cc_info_asis_discl = '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[.]'; my $cc_info_asis_discl_doc = 'CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN [as is] BASIS[. ]' . 'CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, ' . 'AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER[.]'; my $cc_work_protected = '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[. ]'; my $cc_auth_lic_prohib = 'ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE IS PROHIBITED[.][ ]?'; my $cc_auth_lic_copylaw_prohib = 'ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED[.][ ]?'; my $laws_confer = 'The laws of most jurisdictions throughout the world automatically confer'; my $cc_intro_1 = '(?:(?:\S+ )?' . $cc_no_law_firm . $cc_dist_no_rel_draft . $cc_info_asis_discl . '(?: \S+)?[ ])?License[ ]' . $cc_work_protected . $cc_auth_lic_prohib; my $cc_intro = '(?:(?:\S+ )?' . $cc_no_law_firm . $cc_dist_no_rel . $cc_info_asis_discl . '(?: \S+)?[ ])?License[ ]' . $cc_work_protected . $cc_auth_lic_copylaw_prohib; my $cc_intro_cc0 = '(?:(?:\S+ )?' . $cc_no_law_firm . $cc_dist_no_rel_doc . $cc_info_asis_discl_doc . '(?: \S+)?[ ])?Statement of Purpose[ ]' . $laws_confer; my $cc_by_exercising_you_accept_this = '(?:By exercising the Licensed Rights [(]?defined below[)]?, You accept and agree to be bound by the terms and conditions of this ' . '|BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS )'; my $clisp_they_only_ref_clisp = 'They only reference external symbols in CLISP[\']s public packages ' . 'that define API also provided by many other Common Lisp implementations ' . '[(]namely the packages ' . 'COMMON[-]LISP, COMMON[-]LISP[-]USER, KEYWORD, CLOS, GRAY, EXT[)] '; my $gnu = '(?:GNU )'; my $gpl = '(?:General Public [Ll]icen[cs]e|GENERAL PUBLIC LICEN[CS]E)'; my $fsf = "(?:$the?Free Software Foundation)"; my $niv = 'with no Invariant Sections(?:, with no Front[-]Cover Texts, and with no Back[-]Cover Texts)?'; my $fsf_ul = "$fsf gives unlimited permission to copy, distribute and modify it"; my $fsf_ullr = "$fsf gives unlimited permission to copy and[/]or distribute it, " . 'with or without modifications, as long as this notice is preserved'; # internal-only patterns my $_prop = '(?:[A-Za-z][A-Za-z0-9_]*)'; my $_any = '[A-Za-z0-9_.]'; our %RE; =head1 PATTERNS =head2 Licensing traits Patterns each covering a single trait occuring in licenses. Each of these patterns has the tag B< type:trait >. =over =item * addr_fsf I =item * addr_fsf_franklin I =item * addr_fsf_franklin_steet I =item * addr_fsf_mass I =item * addr_fsf_temple I =cut $RE{addr_fsf} = { caption => 'FSF postal address', tags => [ 'type:trait:address:gnu', ], }; $RE{addr_fsf_franklin} = { caption => 'FSF postal address (Franklin Street)', tags => [ 'type:trait:address:gnu', ], 'pat.alt.subject.trait' => '(?P<_addr_fsf_franklin>51 Franklin [Ss]t(?:reet|(?P<_addr_fsf_franklin_steet>eet)|\.)?, ' . '(?:Fifth|5th) [Ff]loor(?:[;]? |[ - ])' . 'Boston,? MA 02110[-]1301,? USA[.]?)', }; $RE{addr_fsf_franklin_steet} = { caption => 'mis-spelled FSF postal address (Franklin Steet)', tags => [ 'type:trait:address:gnu', 'type:trait:flaw:gnu', ], 'pat.alt.subject.trait' => '(?P<_addr_fsf_franklin_steet>51 Franklin [Ss]teet, ' . '(?:Fifth|5th) [Ff]loor(?:[;]? |[ - ])' . 'Boston,? MA 02110[-]1301,? USA[.]?)', }; $RE{addr_fsf_mass} = { caption => 'obsolete FSF postal address (Mass Ave)', tags => [ 'type:trait:address:gnu', 'type:trait:flaw:gnu', ], 'pat.alt.subject.trait' => '(?P<_addr_fsf_mass>675 [Mm]ass(?:achusett?ss?|\.)? [Aa]ve(?:nue|\.)?(?:(?:[;]? |[ - ])' . '[Cc]ambridge,? (?:MA|ma) 02139,? (?:USA|usa))?[.]?)', }; $RE{addr_fsf_temple} = { caption => 'obsolete FSF postal address (Temple Place)', tags => [ 'type:trait:address:gnu', 'type:trait:flaw:gnu', ], 'pat.alt.subject.trait' => '(?P<_addr_fsf_temple>5[39] Temple Place,? S(?:ui)?te 330(?:[;]? |[ - ])' . 'Boston,? MA 02111[-]1307,? USA[.]?)', }; $RE{addr_fsf}{'pat.alt.subject.trait'} = _join_pats( { label => '_addr_fsf' }, $RE{addr_fsf_franklin}{'pat.alt.subject.trait'}, $RE{addr_fsf_temple}{'pat.alt.subject.trait'}, $RE{addr_fsf_mass}{'pat.alt.subject.trait'}, ); =item * any_of I =cut $RE{any_of} = { caption => 'license grant "any of the following" phrase', tags => [ 'type:trait', ], 'pat.alt.subject.trait' => '(?P<_any_of>(?:any|one or more) of the following(?: licen[cs]es(?: at your choice)?)?)[.:]? ?', }; =item * by I =item * by_apache I =item * by_fsf I =item * by_james_clark I =item * by_psf I =item * by_sam_hocevar I =cut $RE{by} = { caption => 'license grant " as published by ..." phrase', tags => [ 'type:trait:publisher', ], 'pat.alt.subject.trait' => '(?P<_by> ?(?:as )?published by[ word]{1,6})', }; $RE{by_apache} = { caption => 'license grant "as published by the Apache Software Foundation" phrase', tags => [ 'type:trait:publisher:apache', ], 'pat.alt.subject.trait' => '(?P<_by_apache> ?(?:as )?published by the Apache Software Foundation)', }; $RE{by_fsf} = { caption => 'license grant "as published by the Free Software Foundation" phrase', tags => [ 'type:trait:publisher:gnu', ], 'pat.alt.subject.trait' => '(?P<_by_fsf> ?(?:as )?published by ' . $fsf . '(?: [(]' . $P{fsf_url} . '[)])?(?:,? Inc\.?)?' . '(?:,? ?' . $RE{addr_fsf}{'pat.alt.subject.trait'} . ')?)', }; $RE{by_james_clark} = { caption => 'license grant "as published by James Clark" phrase', tags => [ 'type:trait:publisher:mit_new', ], 'pat.alt.subject.trait' => '(?P<_by_hames_clark> ?(?:as )?published by James Clark)', }; $RE{by_psf} = { caption => 'license grant "as published by the Python Software Foundation" phrase', tags => [ 'type:trait:publisher:python', ], 'pat.alt.subject.trait' => '(?P<_by_psf> ?(?:as )?published by the Python Software Foundation)', }; $RE{by_sam_hocevar} = { caption => 'license grant "as published by Sam Hocevar" phrase', tags => [ 'type:trait:publisher:wtfpl', ], 'pat.alt.subject.trait' => '(?P<_by_sam_hocevar> ?(?:as )?published by Sam Hocevar)', }; =item * clause_retention =cut $RE{clause_retention} = { caption => 'retention clause', tags => [ 'type:trait', ], 'pat.alt.subject.trait.scope.sentence' => $P{retain_notice_cond_discl}, }; =item * clause_reproduction =cut $RE{clause_reproduction} = { caption => 'reproduction clause', tags => [ 'type:trait', ], 'pat.alt.subject.trait.scope.sentence' => $P{repro_copr_cond_discl}, }; =item * clause_advertising =item * clause_advertising_always =cut $RE{clause_advertising} = { caption => 'advertising clause', tags => [ 'type:trait', ], 'pat.alt.subject.trait.scope.sentence' => $P{ad_mat_ack_this}, }; $RE{clause_advertising_always} = { caption => 'advertising clause (always)', tags => [ 'type:trait', ], 'pat.alt.subject.trait.scope.sentence' => $P{redist_ack_this}, }; =item * clause_non_endorsement =cut $RE{clause_non_endorsement} = { caption => 'non-endorsement clause', tags => [ 'type:trait', ], 'pat.alt.subject.trait.scope.sentence' => $P{nopromo_neither}, }; =item * except_389 =cut $RE{except_389} = { name => '389-exception', 'name.alt.org.debian' => '389', 'name.alt.org.spdx.since.date_20150730' => '389-exception', caption => '389 Directory Server Exception', 'caption.alt.org.fedora' => 'Fedora Directory Server License', 'iri.alt.org.fedora.archive.time_20140723121431' => 'http://directory.fedoraproject.org/wiki/GPL_Exception_License_Text', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'Red Hat, Inc\. gives You the additional right ' . 'to link the code of this Program ' . 'with code not covered under the GNU General Public License ' . '[(]["]Non-GPL Code["][)] ' . 'and to distribute linked combinations including the two, ' . 'subject to the limitations in this paragraph[. ]' . 'Non[-]GPL Code permitted under this exception ' . 'must only link to the code of this Program ' . 'through those well defined interfaces identified ' . 'in the file named EXCEPTION found in the source code files ' . '[(]the ["]Approved Interfaces["][)][.]', }; =item * except_autoconf_data I =item * except_autoconf_2 I =item * except_autoconf_2_archive I =item * except_autoconf_2_autotroll I =item * except_autoconf_2_g10 I =item * except_autoconf_3 I =cut $RE{except_autoconf_data} = { name => 'Autoconf-data', caption => 'Autoconf data exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'if you distribute this file as part of a program ' . 'that contains a configuration script generated by Autoconf, ' . 'you may include it under the same distribution terms ' . 'that you use for the rest of that program', }; $RE{except_autoconf_2} = { name => 'Autoconf-exception-2.0', 'name.alt.org.debian' => 'Autoconf-2.0', 'name.alt.org.spdx.until.date_20150513' => 'GPL-2.0-with-autoconf-exception', 'name.alt.org.spdx.since.date_20150513' => 'Autoconf-exception-2.0', caption => 'Autoconf exception 2.0', 'caption.alt.org.spdx.until.date_20150513' => 'GNU General Public License v2.0 w/Autoconf exception', 'caption.alt.org.spdx.since.date_20150513' => 'Autoconf exception 2.0', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence.part.part1' => 'the Free Software Foundation gives unlimited permission ' . 'to copy, distribute and modify configure scripts ', 'pat.alt.subject.trait.part.part2' => 'This special exception to the GPL applies ' . 'to versions of Autoconf', }; $RE{except_autoconf_2_archive} = { name => 'Autoconf-exception-2.0~Archive', 'name.alt.org.debian' => 'Autoconf-2.0~Archive', caption => 'Autoconf exception 2.0 (Autoconf Archive)', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence.part.part1' => 'the respective Autoconf Macro[\']s copyright owner ' . 'gives unlimited permission ', 'pat.alt.subject.trait.part.part2' => 'This special exception to the GPL applies ' . 'to versions of the Autoconf', }; $RE{except_autoconf_2_autotroll} = { name => 'Autoconf-exception-2.0~AutoTroll', 'name.alt.org.debian' => 'Autoconf-2.0~AutoTroll', caption => 'Autoconf exception 2.0 (AutoTroll)', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence.part.part1' => 'the copyright holders of AutoTroll ' . 'give you unlimited permission ', 'pat.alt.subject.trait.part.part2' => 'This special exception to the GPL applies ' . 'to versions of AutoTroll', }; $RE{except_autoconf_2_g10} = { name => 'Autoconf-exception-2.0~g10', 'name.alt.org.debian' => 'Autoconf-2.0~g10', caption => 'Autoconf exception 2.0 (g10 Code)', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.part.part1' => 'g10 Code GmbH gives unlimited permission', 'pat.alt.subject.trait.part.part2' => 'Certain portions of the mk[word]\.awk source text are designed', 'pat.alt.subject.trait.part.part3' => 'If your modification has such potential, you must delete', }; $RE{except_autoconf_3} = { name => 'Autoconf-exception-3.0', 'name.alt.org.debian' => 'Autoconf-3.0', 'name.alt.org.spdx.until.date_20150513' => 'GPL-3.0-with-autoconf-exception', 'name.alt.org.spdx.since.date_20150513' => 'Autoconf-exception-3.0', caption => 'Autoconf exception 3.0', 'caption.alt.org.spdx.until.date_20150513' => 'GNU General Public License v3.0 w/Autoconf exception', 'caption.alt.org.spdx.since.date_20150513' => 'Autoconf exception 3.0', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence.part.part1' => "The purpose of this Exception is to allow distribution of Autoconf[']s", }; =item * except_bison_1_24 I =item * except_bison_2_2 I =cut $RE{except_bison_1_24} = { name => 'Bison-1.24', caption => 'Bison exception 1.24', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'when this file is copied by Bison into a Bison output file', 'pat.alt.subject.trait.scope.multisection.part.part1' => 'when this file is copied by Bison into a Bison output file, ' . 'you may use that output file without restriction[. ]', 'pat.alt.subject.trait.scope.multisection.part.part2' => 'This special exception was added by the Free Software Foundation' . 'in version 1\.24 of Bison[.]' }; $RE{except_bison_2_2} = { name => 'Bison-exception-2.2', 'name.alt.org.debian' => 'Bison-2.2', 'name.alt.org.spdx.until.date_20150513' => 'GPL-2.0-with-bison-exception', 'name.alt.org.spdx.since.date_20150513' => 'Bison-exception-2.2', caption => 'Bison exception 2.2', 'caption.alt.org.spdx.until.date_20150513' => 'GNU General Public License v2.0 w/Bison exception', 'caption.alt.org.spdx.since.date_20150513' => 'Bison exception 2.2', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'you may create a larger work that contains ' . 'part or all of the Bison parser skeleton', 'pat.alt.subject.trait.scope.multisection.part.part1' => 'you may create a larger work that contains ' . 'part or all of the Bison parser skeleton' . 'and distribute that work under terms of your choice, ' . 'so long as that work isn[\']t itself a parser generator' . 'using the skeleton or a modified version thereof ' . 'as a parser skeleton[.]' . 'Alternatively, if you modify or redistribute the parser skeleton itself, ' . 'yoy may [(]at your option[)] remove this special exception, ' . 'which will cause the skeleton and the resulting Bison output files ' . 'to be licensed under the GNU General Public License ' . 'without this special exception[.][ ]', 'pat.alt.subject.trait.scope.multisection.part.part2' => 'This special exception was added by the Free Software Foundation' . 'in version 2\.2 of Bison[.]' }; =item * except_classpath_2 =cut $RE{except_classpath_2} = { name => 'Classpath-exception-2.0', 'name.alt.org.debian' => 'Classpath-2.0', 'name.alt.org.spdx.until.date_20150513' => 'GPL-2.0-with-classpath-exception', 'name.alt.org.spdx.since.date_20150513' => 'Classpath-exception-2.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q1486447', caption => 'Classpath exception 2.0', 'caption.alt.org.fedora' => 'Classpath exception', 'caption.alt.org.spdx.until.date_20150513' => 'GNU General Public License v2.0 w/Classpath exception', 'caption.alt.org.spdx.since.date_20150513' => 'Classpath exception 2.0', 'caption.alt.org.wikidata' => 'GPL linking exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'link this library with independent modules', 'pat.alt.subject.trait.scope.multisection.part.intro' => 'Linking this library statically or dynamically with other modules ' . 'is making a combined work based on this library[. ]' . 'Thus, the terms and conditions of the GNU General Public License ' . 'cover the whole combination[.][ ]', 'pat.alt.subject.trait.scope.multisection.part.part1' => 'the copyright holders of this library give you permission ' . 'to link this library with independent modules to produce an executable, ' . 'regardless of the license terms of these independent modules, ' . 'and to copy and distribute the resulting executable ' . 'under terms of your choice, ' . 'provided that you also meet, ' . 'for each linked independent module, ' . 'the terms and conditions of the license of that module[. ]?', 'pat.alt.subject.trait.scope.multisection.part.part2' => 'An independent module is a module ' . 'which is not derived from or based on this library[. ]' . 'If you modify this library, ' . 'you may extend this exception to your version of the library, ' . 'but you are not obligated to do so[. ]' . 'If you do not wish to do so, ' . 'delete this exception statement from your version[.]', }; =item * except_ecos_2 I =cut $RE{except_ecos_2} = { name => 'eCos-exception-2.0', 'name.alt.org.spdx.since.date_20150513' => 'eCos-exception-2.0', caption => 'eCos exception 2.0', description => <<'END', Identical to Macros and Inline Functions Exception, except... * drop explicit permission to use without restriction * replace "files" and "excecutable" with "works" * add reference to GPL section 3 END iri => 'http://sources.redhat.com/ecos/ecos-license/', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence.part.part1' => 'if other files instantiate templates or use macros or inline functions from this file, ' . 'or you compile this file and link it with other works', 'pat.alt.subject.trait.scope.line.scope.sentence.part.part2' => 'However the source code for this file must still be made available', 'pat.alt.subject.trait.scope.line.scope.sentence.part.part3' => 'This exception does not invalidate any other reasons why', }; =item * except_epl =cut $RE{except_epl} = { name => 'EPL-library', caption => 'EPL-library exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'you have the permission to link the code of this program ' . 'with any library released under the EPL license ' . 'and distribute linked combinations including the two[.]', 'pat.alt.subject.trait.scope.paragraph.part.all' => 'you have the permission to link the code of this program ' . 'with any library released under the EPL license ' . 'and distribute linked combinations including the two[. ]' . 'If you modify this file, ' . 'you may extend this exception to your version of the file, ' . 'but you are not obligated to do so[. ]' . 'If you do not wish to do so, ' . 'delete this exception statement from your version[.]', }; =item * except_epl_mpl =cut $RE{except_epl_mpl} = { name => 'EPL-MPL-library', caption => 'EPL-MPL-library exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'you have the permission to link the code of this program ' . 'with any library released under the EPL license ' . 'and distribute linked combinations including the two[;] ' . 'the MPL [(]Mozilla Public License[)], ' . 'which EPL [(]Erlang Public License[)] is based on, ' . 'is included in this exception.', }; =item * except_faust I =cut $RE{except_faust} = { name => 'FAUST', caption => 'FAUST exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'you may create a larger work that contains ' . 'this FAUST architecture section', 'pat.alt.subject.trait.scope.multisection.part.all' => 'you may create a larger work that contains ' . 'this FAUST architecture section ' . 'and distribute that work under terms of your choice, ' . 'so long as this FAUST architecture section is not modified[.]', }; =item * except_font_2 I =cut $RE{except_font_2} = { name => 'Font-exception-2.0', 'name.alt.org.spdx.until.date_20150513' => 'GPL-2.0-with-font-exception', 'name.alt.org.spdx.since.date_20150513' => 'Font-exception-2.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q5514182', caption => 'Font exception 2.0', 'caption.alt.org.fedora' => 'font embedding exception', 'caption.alt.org.spdx.until.date_20150513' => 'GNU General Public License v2.0 w/Font exception', 'caption.alt.org.spdx.since.date_20150513' => 'Font exception 2.0', 'caption.alt.org.wikidata' => 'GPL font exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'if you create a document which uses this font, ', 'pat.alt.subject.trait.scope.multisection.part.all' => 'if you create a document which uses this font, ' . 'and embed this font or unaltered portions of this font into the document, ' . 'this font does not by itself cause the resulting document ' . 'to be covered by the GNU General Public License' . '[. ]' . 'This exception does not however invalidate any other reasons why ' . 'the document might be covered by the GNU General Public License' . '[. ]' . 'If you modify this font, ' . 'you may extend this exception to your version of the font, ' . 'but you are not obligated to do so' . '[. ]' . 'If you do not wish to do so, delete this exception statement from your version[.]', }; =item * except_gcc_2 I =item * except_gcc_3_1 I =cut $RE{except_gcc_2} = { name => 'GCC-exception-2.0', 'name.alt.org.spdx.until.date_20150513' => 'GPL-2.0-with-GCC-exception', 'name.alt.org.spdx.since.date_20150513' => 'GCC-exception-2.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q89706542', caption => 'GCC Runtime Library exception 2.0', 'caption.alt.org.spdx.until.date_20150513' => 'GNU General Public License v2.0 w/GCC Runtime Library exception', 'caption.alt.org.spdx.since.date_20150513' => 'GCC Runtime Library exception 2.0', 'caption.alt.org.wikidata' => 'GNU General Public License, version 2.0 or later with library exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'the Free Software Foundation gives you unlimited permission ' . 'to link the compiled version of this file into combinations with other programs', }; $RE{except_gcc_3_1} = { name => 'GCC-exception-3.1', 'name.alt.org.spdx.until.date_20150513' => 'GPL-3.0-with-GCC-exception', 'name.alt.org.spdx.since.date_20150513' => 'GCC-exception-3.1', caption => 'GCC Runtime Library exception 3.1', 'caption.alt.org.spdx.until.date_20150513' => 'GNU General Public License v3.0 w/GCC Runtime Library exception', 'caption.alt.org.spdx.since.date_20150513' => 'GCC Runtime Library exception 3.1', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'You have permission to propagate a work of Target Code formed', }; =item * except_gstreamer =cut $RE{except_gstreamer} = { name => 'GStreamer', caption => 'GStreamer exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.multisection.part.all' => 'The[ word]{1,3} project hereby grant permission ' . 'for non-gpl compatible GStreamer plugins ' . 'to be used and distributed together with GStreamer and[ word]{1,3}[. ]' . 'This permission are above and beyond ' . 'the permissions granted by the GPL license[ word]{1,3} is covered by[.]', }; =item * except_libtool =cut $RE{except_libtool} = { name => 'Libtool-exception', 'name.alt.org.debian' => 'Libtool', 'name.alt.org.spdx.since.date_20150730' => 'Libtool-exception', caption => 'Libtool Exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'if you distribute this file as part of a program or library ' . 'that is built using GNU Libtool, ' . 'you may include this file under the same distribution terms ' . 'that you use for the rest of that program[.]', }; =item * except_mif =cut $RE{except_mif} = { name => 'mif-exception', 'name.alt.org.debian' => 'mif', 'name.alt.org.spdx.since.date_20150730' => 'mif-exception', caption => 'Macros and Inline Functions Exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.multisection.part.first' => 'you may use this file ' . 'as part of a free software library without restriction[. ]' . 'Specifically, if other files instantiate templates ', 'pat.alt.subject.trait.scope.multisection.part.all' => 'you may use this file ' . 'as part of a free software library without restriction[. ]' . 'Specifically, if other files instantiate templates ' . 'or use macros or inline functions from this file, ' . 'or you compile this file and link it with other files ' . 'to produce an executable, ' . 'this file does not by itself cause the resulting executable ' . 'to be covered by the GNU General Public License[. ]' . 'This exception does not however invalidate any other reasons ' . 'why the executable file might be covered ' . 'by the GNU General Public License[.]', }; =item * except_openssl I =cut $RE{except_openssl} = { name => 'OpenSSL-exception', 'name.alt.org.debian' => 'OpenSSL', caption => 'OpenSSL exception', tags => [ 'family:gnu', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'SSLeay licenses, (?:the (?:author|copyright holder|licensors|Free Software)|you are granted)', 'pat.alt.subject.trait.scope.multisection.part.all' => 'If you modify (?:the|this) program, or any covered work, ' . 'by linking or combining it ' . 'with the OpenSSL project[\']s ["]OpenSSL["] library ' . '[(]or a modified version of that library[)], ' . 'containing parts covered ' . 'by the terms of the OpenSSL or SSLeay licenses, ' . '(?:the authors of[ word]{1,8} grant you' . '|the (?:copyright holder|licensors|Free Software Foundation) grants? you' . '|you are granted) ' . 'additional permission to convey the resulting work[. ]' . 'Corresponding Source for a non-source form ' . 'of such a combination ' . 'shall include the source code for the parts of OpenSSL used ' . 'as well as that of the covered work[.]' }; =item * except_ocaml-lgpl =cut $RE{except_ocaml_lgpl} = { name => 'OCaml-LGPL-linking-exception', 'name.alt.org.debian' => 'OCaml-LGPL-linking', caption => 'OCaml LGPL Linking Exception', tags => [ 'family:gnu:lgpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.multisection.part.all' => 'you may link, statically or dynamically, ' . 'a ["]work that uses the Library["] ' . 'with a publicly distributed version of the Library ' . 'to produce an executable file ' . 'containing portions of the Library, ' . 'and distribute that executable file ' . 'under terms of your choice, ' . 'without any of the additional requirements ' . 'listed in clause 6 of the GNU Library General Public License[.]', }; =item * except_openssl-lgpl I =item * except_openssl_s3 I =cut $RE{except_openssl_lgpl} = { name => 'OpenSSL~LGPL-exception', 'name.alt.org.debian' => 'OpenSSL~LGPL', caption => 'OpenSSL~LGPL exception', tags => [ 'family:gnu:lgpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.multisection.part.all' => 'the copyright holders give permission ' . 'to link the code of portions of this program ' . 'with the OpenSSL library ' . 'under certain conditions as described ' . 'in each individual source file, ' . 'and distribute linked combinations including the two[.][ ]' . 'You must obey the GNU Lesser General Public License ' . 'in all respects ' . 'for all of the code used other than OpenSSL[.]' }; $RE{except_openssl_s3} = { name => 'OpenSSL~s3-exception', 'name.alt.org.debian' => 'OpenSSL~s3', caption => 'OpenSSL~s3 exception', tags => [ 'family:gnu', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'link the code of this library and its programs with the OpenSSL library', 'pat.alt.subject.trait.scope.multisection.part.all' => 'the copyright holders give permission ' . 'to link the code of portions of this program ' . 'with the OpenSSL project[\']s ["]OpenSSL["] library ' . '[(]or with modified versions of it ' . 'that use the same license as the ["]OpenSSL["] library' . '[ - ]see [http://]www.openssl.org/[)], ' . 'and distribute linked combinations including the two[.]' }; =item * except_prefix_agpl I =item * except_prefix_generic I =item * except_prefix_gpl I =item * except_prefix_gpl_clisp I =item * except_prefix_lgpl I =cut $RE{except_prefix_agpl} = { caption => 'AGPL exception prefix', tags => [ 'family:gnu:agpl', 'type:trait:exception:prefix', ], 'pat.alt.subject.trait.target.generic' => 'In addition to the permissions in the GNU General Public License, ', 'pat.alt.subject.trait.target.agpl_3' => 'Additional permissions? under ' . "$the?(?:GNU )?A(?:ffero )?GPL(?: version 3|v3) section 7" }; $RE{except_prefix_generic} = { caption => 'generic exception prefix', tags => [ 'type:trait:exception:prefix', ], 'pat.alt.subject.trait.scope.sentence' => '(?:In addition, as a special exception, ' . '|As a special exception, )', 'pat.alt.subject.trait.scope.paragraph' => '(?:In addition, as a special exception, ' . '|(?:Exception [*)]FIXME[ ])?' . 'As a special exception, ' . '|Grant of Additional Permission[. ])', }; $RE{except_prefix_gpl} = { caption => 'GPL exception prefix', tags => [ 'family:gnu:gpl', 'type:trait:exception:prefix', ], 'pat.alt.subject.trait.target.generic' => 'In addition to the permissions in the GNU General Public License, ', 'pat.alt.subject.trait.target.gpl_3' => '(?:the file is governed by GPLv3 along with this Exception' . '|Additional permissions? under ' . "$the?(?:GNU )?GPL(?: version 3|v3) section 7)" }; $RE{except_prefix_gpl_clisp} = { caption => 'CLISP exception prefix', tags => [ 'family:gnu:gpl', 'type:trait:exception:prefix', ], 'pat.alt.subject.trait.scope.sentence' => 'Note[:"][ ]' . 'This copyright does NOT cover user programs ' . 'that run in CLISP and third-party packages not part of CLISP, ' . "if [*)]$clisp_they_only_ref_clisp, " . '[ie] if they don[\']t rely on CLISP internals ' . 'and would as well run in any other Common Lisp implementation[. ]' . "Or [*)]$clisp_they_only_ref_clisp " . 'and some external, not CLISP specific, symbols ' . 'in third[-]party packages ' . 'that are released with source code under a GPL compatible license ' . 'and that run in a great number of Common Lisp implementations, ' . '[ie] if they rely on CLISP internals only to the extent needed ' . 'for gaining some functionality also available ' . 'in a great number of Common Lisp implementations[. ]' . 'Such user programs are not covered ' . 'by the term ["]derived work["] used in the GNU GPL[. ]' . 'Neither is their compiled code, ' . '[ie] the result of compiling them ' . 'by use of the function COMPILE-FILE[. ]' . 'We refer to such user programs ' . 'as ["]independent work["][.][ ]', }; $RE{except_prefix_lgpl} = { caption => 'LGPL exception prefix', tags => [ 'family:gnu:lgpl', 'type:trait:exception:prefix', ], 'pat.alt.subject.trait.scope.sentence' => 'In addition to the permissions in ' . 'the GNU (?:Lesser|Library) General Public License, ' }; =item * except_proguard I =cut $RE{except_proguard} = { name => 'Proguard', caption => 'Proguard exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'this program with the following stand-alone applications', 'pat.alt.subject.trait.scope.multisection.part.part1' => '(?:Eric Lafortune|Guardsquare NV) gives permission ' . 'to link the code of this program ' . 'with the following stand[-]alone applications[:]?' }; =item * except_qt_gpl_1 I =item * except_qt_gpl_eclipse I =item * except_qt_gpl_openssl I =cut $RE{except_qt_gpl_1} = { name => 'Qt-GPL-exception-1.0', 'name.alt.org.debian' => 'Qt-GPL-1.0', caption => 'Qt GPL exception 1.0', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence.part.part1' => 'you may create a larger work which contains ' . 'the output of this application ' . 'and distribute that work under terms of your choice, ' . 'so long as the work is not otherwise derived from or based on this application ' . 'and so long as the work does not in itself generate output ' . 'that contains the output from this application in its original or modified form', 'pat.alt.subject.trait.scope.paragraph.part.part2' => 'you have permission to combine this application with Plugins ' . 'licensed under the terms of your choice, ' . 'to produce an executable, and to copy and distribute the resulting executable ' . 'under the terms of your choice[. ]' . 'However, the executable must be accompanied by a prominent notice ' . 'offering all users of the executable the entire source code to this application, ' . 'excluding the source code of the independent modules, ' . 'but including any changes you have made to this application, ' . 'under the terms of this license[.]', }; $RE{except_qt_gpl_eclipse} = { name => 'Qt-GPL-Eclipse', caption => 'Qt GPL Eclipse exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'Qt Designer, grants users of the Qt/Eclipse', 'pat.alt.subject.trait.scope.paragraph.part.part1' => 'Trolltech, as the sole copyright holder for Qt Designer, ' . 'grants users of the Qt[/]Eclipse Integration plug-in ' . 'the right for the Qt[/]Eclipse Integration to link ' . 'to functionality provided by Qt Designer ' . 'and its related libraries[.][ ]' }; $RE{except_qt_gpl_openssl} = { name => 'Qt-GPL-OpenSSL', caption => 'Qt GPL OpenSSL exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'its release of Qt with the OpenSSL', 'pat.alt.subject.trait.scope.paragraph.part.part1' => 'Nokia gives permission to link the code of its release of Qt ' . 'with the OpenSSL project[\']s ["]OpenSSL["] library ' . '[(]or modified versions of the ["]OpenSSL["] library ' . 'that use the same license as the original version[)], ' . 'and distribute the linked executables[.][ ]', 'pat.alt.subject.trait.scope.paragraph.part.part2' => ' You must comply with the GNU General Public License version 2 ' . 'in all respects for all of the code used ' . 'other than the ["]OpenSSL["] code[. ]' . 'If you modify this file, ' . 'you may extend this exception to your version of the file, ' . 'but you are not obligated to do so[. ]' . 'If you do not wish to do so, ' . 'delete this exception statement ' . 'from your version of this file[.]' }; =item * except_qt_kernel I =cut $RE{except_qt_kernel} = { name => 'Qt-kernel', caption => 'Qt-kernel exception', tags => [ 'family:gnu', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'Permission is also granted to link this program with the Qt library, ' . 'treating Qt like a library that normally accompanies the operating system kernel, ' . 'whether or not that is in fact the case', }; =item * except_qt_lgpl_1_1 I =cut $RE{except_qt_lgpl_1_1} = { name => 'Qt-LGPL-exception-1.1', 'name.alt.org.debian' => 'Qt-LGPL-1.1', caption => 'Qt LGPL exception 1.1', tags => [ 'family:gnu:lgpl', 'type:trait:exception', ], 'pat.alt.subject.trait.type.reference' => '(?:Digia|Nokia|The Qt Company) gives you certain', 'pat.alt.subject.trait.scope.sentence.type.reference' => '(?:Digia|Nokia|The Qt Company) gives you certain additional rights[. ]' . 'These rights are described ' . 'in The (?:Digia Qt|Nokia Qt|Qt Company) LGPL Exception version 1\.1, ' . 'included in the file [word] in this package' }; =item * except_qt_nosource I =cut $RE{except_qt_nosource} = { name => 'Qt-no-source', caption => 'Qt-no-source exception', tags => [ 'family:gnu', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'permission is given to link this program with any edition of Qt, ' . 'and distribute the resulting executable, ' . 'without including the source code for Qt in the source distribution', }; =item * except_sdc I =cut $RE{except_sdc} = { name => 'SDC', caption => 'SDC exception', tags => [ 'family:gnu:lgpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'you may create a larger work that contains ' . 'code generated by the Shared Data Compiler', 'pat.alt.subject.trait.scope.multisection.part.part1' => 'you may create a larger work that contains ' . 'code generated by the Shared Data Compiler' . 'and distribute that work under terms of ' . 'the GNU Lesser General Public License [(]LGPL[)]' . 'by the Free Software Foundation; ' . 'either version 2\.1 of the License, ' . 'or [(]at your option[)] any later version ' . 'or under terms that are fully compatible with these licenses[.][ ]', 'pat.alt.subject.trait.scope.multisection.part.part2' => 'Alternatively, if you modify or redistribute ' . 'the Shared Data Compiler tool itself, ' . 'you may [(]at your option[)] remove this special exception, ' . 'which will cause the resulting generted source code files ' . 'to be licensed under the GNU General Public License ' . '[(]either version 2 of the License, ' . 'or at your option under any later version[)] ' . 'without this special exception[.][ ]', 'pat.alt.subject.trait.scope.multisection.part.part3' => 'This special exception was added by Jaros[l-]aw Staniek[. ]' . 'Contact him for more licensing options, ' . '[eg] using in non-Open Source projects[.]', }; =item * except_sollya_4_1 I =cut $RE{except_sollya_4_1} = { name => 'Sollya-exception-4.1', 'name.alt.org.debian' => 'Sollya-4.1', caption => 'Sollya exception 4.1', tags => [ 'family:cecill', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'you may create a larger work that contains ' . 'part or all of this software generated using Sollya', 'pat.alt.subject.trait.scope.multisection.part.part1' => 'you may create a larger work that contains ' . 'part or all of this software generated using Sollya' . 'and distribute that work under terms of your choice, ' . 'so long as that work isn[\']t itself a numerical code generator ' . 'using the skeleton of this code or a modified version thereof ' . 'as a code skeleton[.]' . 'Alternatively, if you modify or redistribute this code itself, ' . 'or its skeleton, ' . 'you may [(]at your option[)] remove this special exception, ' . 'which will cause this generated code and its skeleton ' . 'and the resulting Sollya output files' . 'to be licensed under the CeCILL-C License ' . 'without this special exception[.][ ]', 'pat.alt.subject.trait.scope.multisection.part.part2' => 'This special exception was added by the Sollya copyright holders ' . 'in version 4\.1 of Sollya[.]' }; =item * except_warzone I =cut $RE{except_warzone} = { name => 'Warzone', caption => 'Warzone exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'the copyright holders of Warzone 2100 ' . 'give you permission to combine', 'pat.alt.subject.trait.scope.multisection.part.part1' => 'the copyright holders of Warzone 2100 ' . 'give you permission to combine Warzone 2100 ' . 'with code included in the standard release of libraries ' . 'that are accessible, redistributable and linkable ' . 'free of charge[. ]' . 'You may copy and distribute such a system ' . 'following the terms of the GNU GPL ' . 'for Warzone 2100 ' . 'and the licenses of the other code concerned[.][ ]', 'pat.alt.subject.trait.scope.multisection.part.part2' => 'Note that people who make modified versions of Warzone 2100 ' . 'are not obligated to grant this special exception ' . 'for their modified versions; ' . 'it is their choice whether to do so[. ]' . 'The GNU General Public License gives permission ' . 'to release a modified version without this exception; ' . 'this exception also makes it possible ' . 'to release a modified version ' . 'which carries forward this exception[.]' }; =item * except_wxwindows I =cut $RE{except_wxwindows} = { name => 'WxWindows-exception-3.1', 'name.alt.org.debian' => 'WxWindows-3.1', 'name.alt.org.osi' => 'WXwindows', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'wxwindows', 'name.alt.org.spdx.until.date_20150513' => 'WXwindows', 'name.alt.org.spdx.since.date_20150513' => 'WxWindows-exception-3.1', 'name.alt.org.wikidata.synth.nogrant' => 'Q38347878', caption => 'WxWindows Library Exception 3.1', 'caption.alt.org.osi' => 'The wxWindows Library Licence', 'caption.alt.org.osi.misc.list' => 'wxWindows Library License', 'caption.alt.org.spdx.until.date_20150513' => 'wxWindows Library License', 'caption.alt.org.spdx.since.date_20150513' => 'WxWindows Library Exception 3.1', 'caption.alt.org.tldr' => 'wxWindows Library License (WXwindows)', 'caption.alt.org.wikidata' => 'wxWindows Library License', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'the copyright holders of this library give permission ' . 'for additional uses of the text ' . 'contained in this release of the library ' . 'as licenced under the wxWindows Library Licence', 'pat.alt.subject.trait.scope.multisection.part.part1' => 'the copyright holders of this library give permission ' . 'for additional uses of the text ' . 'contained in this release of the library ' . 'as licenced under the wxWindows Library Licence, ' . 'applying either version 3\.1 of the Licence, ' . 'or [(]at your option[)] any later version of the Licence ' . 'as published by the copyright holders ' . 'of version 3\.1 of the Licence document[.][ ]', 'pat.alt.subject.trait.scope.multisection.part.part2' => '[*)]The exception is that you may use, copy, link, modify and distribute ' . 'under your own terms, ' . 'binary object code versions of works based on the Library[.][ ]', 'pat.alt.subject.trait.scope.multisection.part.part3' => '[*)]If you copy code from files ' . 'distributed under the terms of the GNU General Public Licence ' . 'or the GNU Library General Public Licence ' . 'into a copy of this library, as this licence permits, ' . 'the exception does not apply to the code that you add in this way[. ]' . 'To avoid misleading anyone as to the status of such modified files, ' . 'you must delete this exception notice from such code ' . 'and[/]or adjust the licensing conditions notice accordingly[.][ ]', 'pat.alt.subject.trait.scope.multisection.part.part4' => '[*)]If you write modifications of your own for this library, ' . 'it is your choice whether to permit this exception ' . 'to apply to your modifications[. ]' . 'If you do not wish that, ' . 'you must delete the exception notice from such code ' . 'and[/]or adjust the licensing conditions notice accordingly[.]', }; =item * except_xerces I =cut $RE{except_xerces} = { name => 'Xerces-exception', 'name.alt.org.debian' => 'Xerces', caption => 'Xerces exception', tags => [ 'family:gnu:gpl', 'type:trait:exception', ], 'pat.alt.subject.trait.scope.sentence' => 'Code Synthesis Tools CC gives permission ' . 'to link this program with the Xerces-C\+\+ library ', 'pat.alt.subject.trait.scope.multisection.part.part1' => 'Code Synthesis Tools CC gives permission ' . 'to link this program with the Xerces-C\+\+ library ' . '[(]or with modified versions of Xerces-C\+\+ ' . 'that use the same license as Xerces-C\+\+[)], ' . 'and distribute linked combinations including the two[. ]' . 'You must obey the GNU General Public License version 2 ' . 'in all respects ' . 'for all of the code used other than Xerces-C\+\+[. ]' . 'If you modify this copy of the program, ' . 'you may extend this exception ' . 'to your version of the program, ' . 'but you are not obligated to do so[. ]' . 'If you do not wish to do so, ' . 'delete this exception statement from your version[.][ ]', 'pat.alt.subject.trait.scope.multisection.part.part2' => 'Furthermore, Code Synthesis Tools CC makes a special exception ' . 'for the Free[/]Libre and Open Source Software [(]FLOSS[)] ' . 'which is described in the accompanying FLOSSE file[. ]' }; =item * fsf_unlimited =item * fsf_unlimited_retention =cut $RE{fsf_unlimited} = { tags => [ 'type:trait', ], 'pat.alt.subject.trait.scope.sentence' => $fsf_ul, }; $RE{fsf_unlimited_retention} = { tags => [ 'type:trait', ], 'pat.alt.subject.trait.scope.sentence' => $fsf_ullr, }; =item * generated I =cut $RE{generated} = { name => 'generated', caption => 'generated file', tags => [ 'type:trait:flaw', ], '_pat.alt.subject.trait.scope.sentence' => [ 'this is (?:a )?generated (?:file|manifest)', 'This file (?:has been|is|was) (?:[*]{1,3})?(?:auto(?:matically |[-])|tool[-])?generated(?:[*]{1,3})?', 'All changes made in this file will be lost', 'generated file(?:[.] |[ - ])do not (?:edit|modify)[!.]', 'DO NOT (?:EDIT|MODIFY) THIS FILE', 'generated by[ word](?: [(][word][ word]{0,2}[)])?[ ]' . '(?:Please )?DO NOT delete this file[!]', # weak, but seems to catch no false positives at end of line 'Generated by running[:]$', # too weak: does not mention file explicitly, so may reflect only a subset # 'Generated (?:automatically|by|from|data|with)', # 'generated (?:by|from|using)(?: the)?[ word]{1,2}(?: compiler)?[. ]' # . '(please )?Do not (edit|modify)', # 'Machine generated[. ](please )?Do not (edit|modify)', # 'Do not (edit|modify)[. ]Generated (?:by|from|using)', # '(?:created with|trained by)[ word][. ](please )?Do not edit', ], '_pat.alt.subject.trait.scope.sentence.target.autotools' => [ 'Makefile\.in generated by automake [#.]+ from Makefile\.am[.]', 'generated automatically by aclocal [#.]+ -\*?- Autoconf', 'Generated(?: from[ word])? by GNU Autoconf', '(?:Attempt to guess a canonical system name|Configuration validation subroutine script)[. ]' . 'Copyright[c] [#-,]+Free Software Foundation', 'Calling this script install[-]sh is preferred over install[.]sh, to prevent', 'depcomp - compile a program generating dependencies as side-effects[ ]' . 'scriptversion', 'Common wrapper for a few potentially missing GNU programs[.][ ]' . 'scriptversion', 'DO NOT EDIT[!] GENERATED AUTOMATICALLY[!][ ]' . 'Process this file with automake to produce Makefile\.in', 'This file is maintained in Automake, ', ], }; =item * license_label =item * license_label_spdx I =item * license_label_trove I =cut $RE{license_label} = { caption => 'license grant "License:" phrase', tags => [ 'type:trait:grant:prefix', ], 'pat.alt.subject.trait' => '(?P<_license_label>[Ll]i[cz]en[scz]e) ?[:"]', }; $RE{license_label_spdx} = { caption => 'license grant "SPDX-License-Identifier:" phrase', tags => [ 'type:trait:grant:prefix', ], 'pat.alt.subject.trait' => '(?P<_license_label_spdx>SPDX[-]License[-]Identifier[:] )', }; $RE{license_label_trove} = { caption => 'license grant "License:" phrase', tags => [ 'type:trait:grant:prefix', ], 'pat.alt.subject.trait' => '(?P<_license_label_trove>License(?: ::)? OSI Approved(?: ::)? )', }; =item * licensed_under I =cut $RE{licensed_under} = { caption => 'license grant "licensed under" phrase', tags => [ 'type:trait:grant:prefix', ], 'pat.alt.subject.trait' => '(?P<_licensed_under>' . '(?:(?:[Ll]icen[sc]ed(?: for use)?|available|[Dd]istribut(?:able|ed)|[Ff]or distribution|permitted|provided|[Pp]ublished|[Rr]eleased) under' . '|[Ll]icen[sc]ed using' . '|(?:in form of source code|may be copied|placed their code|to [Yy]ou) under' . '|(?:[Tt]his|[Mm]y) (?:software|file|work) is under' # vague preposition prepended by object . '|(?:are|is) release under' # vague preposition prepended by verb and vague object/action . '|which I release under' # vague preposition prepended by actor and vague action . '|distribute(?: it)?(?: and[/]or modify)? it under' # vague preposition prepended by action and vague object . '|(?:according|[Ss]ubject) to|in accordance with' . '|[Ss]ubject to' . '|(?:[Cc]overed|governed) by)' . '(?: (?:either )?(?:the )?(?:conditions|terms(?: and conditions)?|provisions) (?:described in|of))?' # terms optionally appended . '|[Uu]nder (?:either )?(?:the )?(?:terms|(?:terms and )?conditions) (?:described in|of)(?: either)?' # vague preposition + terms . ')[:]? ', }; =item * or_at_option I =cut $RE{or_at_option} = { caption => 'license grant "or at your option" phrase', tags => [ 'type:trait', ], 'pat.alt.subject.trait' => '(?P<_or_at_option>(?:and|or)(?: ?[(]?at your (?:option|choice)[)]?)?)', }; =item * usage_rfn I =cut $RE{usage_rfn} = { caption => 'license usage "with Reserved Font Name" phrase', tags => [ 'type:trait:usage:rfn', ], 'pat.alt.subject.trait' => '(?P<_usage_rfn>with Reserved Font Name)', }; =item * version I =cut $RE{version} = { tags => [ 'type:trait', ], }; =item * version_later =item * version_later_paragraph =item * version_later_postfix =cut $RE{version_later} = { caption => 'version "or later"', tags => [ 'type:trait', ], }; $RE{version_later_paragraph} = { caption => 'version "or later" postfix (paragraphs)', tags => [ 'type:trait', ], 'pat.alt.subject.trait.scope.paragraph' => '(?P<_version_later_paragraph>Later versions are permitted)', }; $RE{version_later_postfix} = { caption => 'version "or later" (postfix)', tags => [ 'type:trait', ], 'pat.alt.subject.trait' => '[(]?(?P<_version_later_postfix>' . $RE{or_at_option}{'pat.alt.subject.trait'} . '(?: any)? (?:later|above|newer)(?: version)?' . '|or any later at your option)[)]?', }; $RE{version_later}{'pat.alt.subject.trait.scope.line.scope.sentence'} = '(?:,? )?(?P' . $RE{version_later_postfix}{'pat.alt.subject.trait'} . ')'; $RE{version_later}{'pat.alt.subject.trait.scope.paragraph'} = '(?:[.]?[ ])?(?P' . $RE{version_later_paragraph}{'pat.alt.subject.trait.scope.paragraph'} . ')'; $RE{version_later}{'pat.alt.subject.trait'} = _join_pats( { label => 'version_later', prefix => '(?:[.]?[ ]|,? )?' }, $RE{version_later_paragraph}{'pat.alt.subject.trait.scope.paragraph'}, $RE{version_later_postfix}{'pat.alt.subject.trait'}, ); =item * version_number =item * version_number_suffix =cut $RE{version_number} = { caption => 'version number', tags => [ 'type:trait', ], 'pat.alt.subject.trait' => '(?P\d(?:\.\d+)*\b)', }; $RE{version_number_suffix} = { caption => 'version "of the License" suffix', tags => [ 'type:trait', ], 'pat.alt.subject.trait' => ' ?(?:(?:of the )?Licen[cs]e)?', }; =item * version_only =cut $RE{version_only} = { caption => 'version "only"', tags => [ 'type:trait', ], 'pat.alt.subject.trait' => ' ?(?P<_version_only>(?:only|[(]no other versions[)]))', }; =item * version_prefix =cut $RE{version_prefix} = { caption => 'version prefix', tags => [ 'type:trait', ], 'pat.alt.subject.trait.scope.line.scope.sentence' => '(?:[-]|[;]? ?(?:(?:only |either )?)?|[ - ])?[(]?(?:[Vv]ersion [Vv]?|VERSION |rev(?:ision)? |[Vv]\.? ?)?', 'pat.alt.subject.trait.scope.paragraph' => '[:]?[ ][(]?(?:Version [Vv]?|VERSION )?', 'pat.alt.subject.trait' => '(?:[-]|[;](?: (?:either )?)?|[ - ]|[:]?[ ])?[(]?(?:[Vv]ersion [Vv]?|VERSION |[Vv]\.? ?)?', }; =item * version_numberstring I =cut $RE{version_numberstring} = { caption => 'version numberstring', tags => [ 'type:trait', ], 'pat.alt.subject.trait.scope.line.scope.sentence' => $RE{version_prefix}{'pat.alt.subject.trait.scope.line.scope.sentence'} . $RE{version_number}{'pat.alt.subject.trait'} . $RE{version_number_suffix}{'pat.alt.subject.trait'}, 'pat.alt.subject.trait.scope.paragraph' => $RE{version_prefix}{'pat.alt.subject.trait.scope.paragraph'} . $RE{version_number}{'pat.alt.subject.trait'} . $RE{version_number_suffix}{'pat.alt.subject.trait'}, 'pat.alt.subject.trait' => $RE{version_prefix}{'pat.alt.subject.trait'} . $RE{version_number}{'pat.alt.subject.trait'} . $RE{version_number_suffix}{'pat.alt.subject.trait'}, }; $RE{version}{'pat.alt.subject.trait.scope.line.scope.sentence'} = '(?P<_version>' . $RE{version_numberstring} {'pat.alt.subject.trait.scope.line.scope.sentence'} . '(?:' . $RE{version_later}{'pat.alt.subject.trait.scope.line.scope.sentence'} . ')?)[)]?(?: of)? ?'; $RE{version}{'pat.alt.subject.trait.scope.paragraph'} = '(?P<_version>' . $RE{version_numberstring}{'pat.alt.subject.trait.scope.paragraph'} . '(?:' . $RE{version_later}{'pat.alt.subject.trait.scope.paragraph'} . ')?)[)]?'; $RE{version}{'pat.alt.subject.trait'} = '(?P<_version>' . $RE{version_numberstring}{'pat.alt.subject.trait'} . '(?:' . $RE{version_later}{'pat.alt.subject.trait'} . ')?)[)]?(?: of)? ?'; =back =head2 Single licenses Patterns each covering a single license. Each of these patterns has exactly one of these tags: B< type:unversioned > B< type:versioned:decimal > B< type:singleversion:* > B< type:usage:*:* > . =over =item * aal =cut $RE{aal} = { name => 'AAL', 'name.alt.org.fedora' => 'AAL', 'name.alt.org.osi' => 'AAL', 'name.alt.org.osi.iri.stem.until.date_20110430.synth.nogrant' => 'attribution', 'name.alt.org.spdx' => 'AAL', 'name.alt.org.wikidata.synth.nogrant' => 'Q38364310', caption => 'Attribution Assurance License', 'caption.alt.org.tldr' => 'Attribution Assurance License (AAL)', 'caption.alt.org.trove' => 'Attribution Assurance License', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'must prominently display this GPG-signed text', }; =item * abstyles =cut $RE{abstyles} = { name => 'Abstyles', 'name.alt.org.fedora.iri.self' => 'Abstyles', 'name.alt.org.spdx.since.date_20140807' => 'Abstyles', caption => 'Abstyles License', 'caption.alt.org.tldr' => 'Abstyles License', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'Permission is granted to copy and distribute ' . 'modified versions of this document ' . 'under the conditions for verbatim copying, ' . 'provided that the entire resulting derived work ' . 'is distributed under the terms of a permission notice ' . 'identical to this one[.]', }; =item * adobe_2006 =cut $RE{adobe_2006} = { name => 'Adobe-2006', 'name.alt.misc.scancode' => 'adobe-scl', 'name.alt.org.fedora.synth.nogrant' => 'Adobe', 'name.alt.org.fedora.iri.self' => 'AdobeLicense', 'name.alt.org.spdx.since.date_20140807' => 'Adobe-2006', 'name.alt.org.tldr' => 'adobe-systems-incorporated-source-code-license-agreement', caption => 'Adobe Systems Incorporated Source Code License Agreement', 'caption.alt.org.fedora.misc.web.synth.nogrant' => 'Adobe License', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'You agree to indemnify, hold harmless and defend', }; =item * adobe_glyph =cut $RE{adobe_glyph} = { name => 'Adobe-Glyph', 'name.alt.org.fedora.iri.mit_short' => 'AdobeGlyph', 'name.alt.org.spdx.since.date_20140807' => 'Adobe-Glyph', caption => 'Adobe Glyph List License', 'caption.alt.org.tldr' => 'Adobe Glyph List License', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Adobe Glyph List Variant', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => 'and to permit others to do the same, provided that the derived work is not represented as being a copy', }; =item * adsl =cut $RE{adsl} = { name => 'ADSL', 'name.alt.org.fedora' => 'ADSL', 'name.alt.org.fedora.iri.self' => 'AmazonDigitalServicesLicense', 'name.alt.org.spdx.since.date_20140807' => 'ADSL', caption => 'Amazon Digital Services License', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => 'Your use of this software code is at your own risk ' . 'and you waive any claim against Amazon Digital Services, Inc[.]', }; =item * afl =item * afl_1_1 I =item * afl_1_2 I =item * afl_2 I =item * afl_2_1 I =item * afl_3 I =cut my $termination_for_patent_including_counterclaim = '[*)]Termination for Patent Action[. ]' . 'This License shall terminate automatically ' . 'and You may no longer exercise any of the rights ' . 'granted to You by this License ' . 'as of the date You commence an action, ' . 'including a cross-claim or counterclaim,'; $RE{afl} = { name => 'AFL', 'name.alt.org.osi.iri.stem.until.date_20021204' => 'academic', 'name.alt.org.wikidata.synth.nogrant' => 'Q337279', caption => 'Academic Free License', 'caption.alt.org.trove' => 'Academic Free License (AFL)', 'caption.alt.org.wikipedia' => 'Academic Free License', tags => [ 'type:versioned:decimal', ], # TODO: readd when children cover same region # 'pat.alt.subject.license.scope.line.scope.paragraph' => # 'Exclusions [Ff]rom License Grant[. ]Neither', }; $RE{afl_1_1} = { name => 'AFL-1.1', 'name.alt.org.spdx' => 'AFL-1.1', 'name.alt.misc.fossology_old' => 'AFL_v1.1', caption => 'Academic Free License v1.1', 'caption.alt.misc.fossology_old' => 'AFL 1.1', tags => [ 'license:contains:grant', 'type:singleversion:afl', ], licenseversion => '1.1', 'pat.alt.subject.license' => 'The Academic Free License applies to', }; $RE{afl_1_2} = { name => 'AFL-1.2', 'name.alt.org.spdx' => 'AFL-1.2', 'name.alt.misc.fossology_old' => 'AFL_v1.2', caption => 'Academic Free License v1.2', 'caption.alt.misc.fossology_old' => 'AFL 1.2', tags => [ 'license:contains:grant', 'type:singleversion:afl', ], licenseversion => '1.2', 'pat.alt.subject.license' => 'This Academic Free License applies to', }; $RE{afl_2} = { name => 'AFL-2.0', 'name.alt.org.spdx' => 'AFL-2.0', 'name.alt.misc.fossology_old' => 'AFL_v2.0', caption => 'Academic Free License v2.0', 'caption.alt.misc.fossology_old' => 'AFL 2.0', tags => [ 'license:contains:grant', 'type:singleversion:afl', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.multisection' => 'its terms and conditions[.][ ]' . $termination_for_patent_including_counterclaim . ' for patent infringement', }; $RE{afl_2_1} = { name => 'AFL-2.1', 'name.alt.org.spdx' => 'AFL-2.1', 'name.alt.org.tldr.synth.nogrant' => 'academic-free-license-v.-2.1', 'name.alt.misc.fossology_old' => 'AFL_v2.1', caption => 'Academic Free License v2.1', 'caption.alt.misc.fossology_old' => 'AFL 2.1', 'caption.alt.org.tldr' => 'Academic Free License 2.1 (AFL-2.1)', tags => [ 'license:contains:grant', 'type:singleversion:afl', ], licenseversion => '2.1', 'pat.alt.subject.license.scope.multisection' => 'its terms and conditions[.][ ]' . $termination_for_patent_including_counterclaim . ' against Licensor or any licensee', }; $RE{afl_3} = { name => 'AFL-3.0', 'name.alt.org.fedora.synth.nogrant' => 'AFL', 'name.alt.org.osi' => 'AFL-3.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'afl-3.0', 'name.alt.org.spdx' => 'AFL-3.0', 'name.alt.org.tldr.path.short' => 'afl3', 'name.alt.misc.fossology_old' => 'AFL_v3.0', caption => 'Academic Free License v3.0', 'caption.alt.org.fedora.synth.nogrant' => 'Academic Free License', 'caption.alt.org.fsf' => 'Academic Free License 3.0', 'caption.alt.org.osi' => 'Academic Free License ("AFL") v. 3.0', 'caption.alt.org.osi.misc.list' => 'Academic Free License 3.0', 'caption.alt.org.tldr' => 'Academic Free License 3.0 (AFL)', 'caption.alt.misc.fossology_old' => 'AFL 3.0', tags => [ 'license:contains:grant', 'type:singleversion:afl', ], licenseversion => '3.0', 'pat.alt.subject.license.scope.multisection.part.part1' => 'Licensed under the Academic Free License version 3\.0[ ]' . '[*)]Grant of Copyright License[.]', }; =item * afmparse =cut $RE{afmparse} = { name => 'Afmparse', 'name.alt.org.fedora.iri.self' => 'Afmparse', 'name.alt.org.spdx.since.date_20140807' => 'Afmparse', caption => 'Afmparse License', 'caption.alt.org.tldr' => 'Afmparse License', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => 'If the file has been modified in any way, ' . 'a notice of such modification is conspicuously indicated[.]', }; =item * agpl =item * agpl_1 I =item * agpl_1_only =item * agpl_1_or_later =item * agpl_2 =item * agpl_3 =item * agpl_3_only =item * agpl_3_or_later =cut $RE{agpl} = { name => 'AGPL', 'name.alt.org.fsf' => 'AGPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q1131681', 'name.alt.misc.fossology_old' => 'Affero', caption => 'GNU Affero General Public License', 'caption.alt.misc.short' => 'Affero GPL', 'caption.alt.misc.informal' => 'Affero License', 'caption.alt.org.fsf' => 'GNU Affero General Public License (AGPL)', 'caption.alt.org.wikipedia' => 'GNU Affero General Public License', tags => [ 'family:gpl', 'license:contains:grant', 'type:versioned:decimal', ], }; $RE{agpl_1} = { name => 'AGPLv1', 'name.alt.org.debian' => 'AGPL-1', 'name.alt.org.fedora' => 'AGPLv1', 'name.alt.org.spdx.since.date_20130410' => 'AGPL-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q27017230', 'name.alt.misc.fossology_old' => 'Affero_v1', caption => 'Affero General Public License v1.0', 'caption.alt.org.fedora' => 'Affero General Public License 1.0', 'caption.alt.org.spdx.until.date_20140807' => 'GNU Affero General Public License v1.0', 'caption.alt.org.spdx.since.date_20140807' => 'Affero General Public License v1.0', 'caption.alt.misc.fossology_old' => 'AGPL 1.0', 'caption.alt.org.wikidata' => 'Affero General Public License, version 1.0', iri => 'http://www.affero.org/oagpl.html', tags => [ 'family:gpl', 'type:singleversion:agpl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection.part.title' => 'AFFERO GENERAL PUBLIC LICENSE[ ]Version 1', 'pat.alt.subject.license.part.intro' => 'This license is a modified version of the GNU General Public License', 'pat.alt.subject.license.scope.sentence.part.preamble' => 'Some other Affero software is covered ' . 'by the GNU Library General Public License instead[.]', 'pat.alt.subject.license.part.part2_d' => '[*)]If the Program as you received it is intended to interact', }; $RE{agpl_1_only} = { name => 'AGPL-1.0-only', caption => 'Affero General Public License v1.0 only', tags => [ 'family:gpl', 'type:usage:agpl_1:only' ], }; $RE{agpl_1_or_later} = { name => 'AGPL-1.0-or-later', 'name.alt.org.debian' => 'AGPL-1+', 'name.alt.org.spdx.since.date_20180414' => 'AGPL-1-or-later', 'name.alt.org.wikidata.synth.nogrant' => 'Q54571707', caption => 'Affero General Public License v1.0 or later', 'caption.alt.org.wikidata' => 'Affero General Public License, version 1.0 or later', tags => [ 'family:gpl', 'type:usage:agpl_1:or_later' ], }; $RE{agpl_2} = { name => 'AGPLv2', 'name.alt.org.debian' => 'AGPL-2', 'name.alt.org.wikidata.synth.nogrant' => 'Q54365943', caption => 'Affero General Public License, Version 2', 'caption.alt.org.wikidata' => 'Affero General Public License, version 2.0', iri => 'http://www.affero.org/agpl2.html', tags => [ 'family:gpl', 'type:singleversion:agpl' ], licenseversion => '2.0', 'pat.alt.subject.license.part.part1' => 'This is version 2 of the Affero General Public License[.]', 'pat.alt.subject.license.part.part2' => 'If the Program was licensed under version 1 of the Affero GPL', }; $RE{agpl_3} = { name => 'AGPLv3', 'name.alt.org.debian' => 'AGPL-3', 'name.alt.org.fsf' => 'AGPLv3.0', 'name.alt.org.fedora' => 'AGPLv3', 'name.alt.org.osi' => 'AGPL-3.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'agpl-v3', 'name.alt.org.perl' => 'agpl_3', 'name.alt.org.spdx.until.date_20171228' => 'AGPL-3.0', 'name.alt.org.tldr.path.short' => 'agpl3', 'name.alt.org.wikidata.synth.nogrant' => 'Q27017232', 'name.alt.misc.fossology_old' => 'Affero_v3', caption => 'GNU Affero General Public License v3.0', 'caption.alt.org.fedora' => 'Affero General Public License 3.0', 'caption.alt.org.fsf' => 'GNU Affero General Public License (AGPL) version 3', 'caption.alt.org.osi' => 'GNU Affero General Public License version 3', 'caption.alt.org.perl' => 'GNU Affero General Public License, Version 3', 'caption.alt.org.trove' => 'GNU Affero General Public License v3', 'caption.alt.org.tldr' => 'GNU Affero General Public License v3 (AGPL-3.0)', 'caption.alt.org.wikidata' => 'GNU Affero General Public License, version 3.0', 'caption.alt.misc.fossology_old' => 'AGPL 3.0', iri => 'https://www.gnu.org/licenses/agpl', 'iri.alt.format.txt' => 'https://www.gnu.org/licenses/agpl.txt', 'iri.alt.path.fragmented' => 'https://www.gnu.org/licenses/licenses.html#AGPL', 'iri.alt.path.versioned' => 'http://www.gnu.org/licenses/agpl-3.0.html', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:singleversion:agpl' ], licenseversion => '3.0', 'pat.alt.subject.license.scope.multisection.part.title' => 'GNU AFFERO GENERAL PUBLIC LICENSE[ ]Version 3', 'pat.alt.subject.license.part.intro' => '["]This License["] refers to version 3 of the GNU Affero', 'pat.alt.subject.license.scope.sentence.part.part13_1' => 'This Corresponding Source shall include ' . 'the Corresponding Source for any work ' . 'covered by ' . 'version 3 of the GNU General Public License', 'pat.alt.subject.license.scope.sentence.part.part13_2_1' => 'Notwithstanding any other provision of this License, ' . 'you have permission to link or combine any covered work ' . 'with a work licensed under ' . 'version 3 of the GNU General', 'pat.alt.subject.license.scope.sentence.part.part13_2_2' => 'The terms of this License will continue to apply ' . 'to the part which is the covered work, ' . 'but the work with which it is combined ' . 'will remain governed by ' . 'version 3 of the GNU General', 'pat.alt.subject.license.scope.multisection.part.tail_sample' => '[<]?name of author[>]?[ ]' . 'This program is free software[;]? ' . 'you can redistribute it and[/]or modify it ' . 'under the terms of the GNU Affero General Public License ' . 'as published by the Free Software Foundation[;]? ' . 'either version 3 of the License, or', }; #FIXME $RE{agpl_3}{_pat_word} = '(?:AGPL|agpl)[-]?3'; $RE{agpl_3_only} = { name => 'AGPL-3.0-only', 'name.alt.org.spdx.since.date_20171228' => 'AGPL-3.0-only', caption => 'GNU Affero General Public License v3.0 only', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:agpl_3:only', ], }; $RE{agpl_3_or_later} = { name => 'AGPL-3.0-or-later', 'name.alt.org.debian' => 'AGPL-3+', 'name.alt.org.fedora' => 'AGPLv3+', 'name.alt.org.spdx.since.date_20171228' => 'AGPL-3.0-or-later', 'name.alt.org.trove' => 'AGPLv3+', 'name.alt.org.wikidata.synth.nogrant' => 'Q27020062', 'name.alt.misc.fossology_old' => 'Affero_v3+', caption => 'GNU Affero General Public License v3.0 or later', 'caption.alt.org.fedora' => 'Affero General Public License 3.0 or later', 'caption.alt.org.trove' => 'GNU Affero General Public License v3 or later (AGPLv3+)', 'caption.alt.org.wikidata' => 'GNU Affero General Public License, version 3.0 or later', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:agpl_3:or_later', ], }; =item * aladdin =item * aladdin_8 I =item * aladdin_9 I =cut $RE{aladdin} = { name => 'Aladdin', 'name.alt.org.trove' => 'AFPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q979794', caption => 'Aladdin Free Public License', 'caption.alt.org.fedora' => 'Aladdin Free Public License', 'caption.alt.org.trove' => 'Aladdin Free Public License (AFPL)', tags => [ 'type:versioned:decimal', ], }; $RE{aladdin_8} = { name => 'Aladdin-8', 'name.alt.org.scancode' => 'afpl-8', 'name.alt.org.spdx.since.date_20130117.synth.nogrant' => 'Aladdin', 'name.alt.org.debian' => 'Aladdin-8', caption => 'Aladdin Free Public License, Version 8', 'caption.alt.org.spdx.synth.nogrant' => 'Aladdin Free Public License', tags => [ 'type:singleversion:aladdin', ], licenseversion => '8.0', 'pat.alt.subject.license.scope.multisection' => 'laws of the appropriate country[.][ ]0[. ]Subject Matter', }; $RE{aladdin_9} = { name => 'Aladdin-9', 'name.alt.org.scancode' => 'afpl-9', 'name.alt.org.tldr.path.short' => 'aladdin', caption => 'Aladdin Free Public License, Version 9', 'caption.alt.org.tldr' => 'Aladdin Free Public License', 'iri.alt.archive.time_20130804020135' => 'http://www.artifex.com/downloads/doc/Public.htm', tags => [ 'type:singleversion:aladdin', ], licenseversion => '9.0', 'pat.alt.subject.license' => 'This License is not an Open Source license[:][ ]among other things', }; =item * amdplpa =cut $RE{amdplpa} = { name => 'AMDPLPA', 'name.alt.org.fedora' => 'AMDPLPA', 'name.alt.org.spdx.since.date_20140807' => 'AMDPLPA', caption => 'AMD\'s plpa_map.c License', 'caption.alt.org.fedora.iri.self' => 'AMD plpa map License', 'caption.alt.org.spdx.since.date_20140807.until.date_20201125' => 'AMD\'s plpa_map.c License', 'caption.alt.org.spdx.since.date_20201125.until.date_20210307' => 'AMDs plpa_map.c License', 'caption.alt.org.spdx.since.date_20210307' => 'AMD\'s plpa_map.c License', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'Neither the names nor trademarks of Advanced Micro Devices, Inc\.', }; =item * aml =cut $RE{aml} = { name => 'AML', 'name.alt.org.fedora' => 'AML', 'name.alt.org.spdx.since.date_20140807' => 'AML', caption => 'Apple MIT License', 'caption.alt.org.fedora.iri.self' => 'Apple MIT License', 'caption.alt.org.tldr' => 'Apple MIT License (AML)', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'Apple grants you a personal, non-exclusive license', }; =item * ampas =cut $RE{ampas} = { name => 'AMPAS', 'name.alt.org.fedora.iri.bsd' => 'AMPASBSD', 'name.alt.org.spdx.since.date_20140807' => 'AMPAS', caption => 'Academy of Motion Picture Arts and Sciences BSD', 'caption.alt.org.fedora.misc.short' => 'AMPAS BSD', 'caption.alt.org.tldr' => 'Academy of Motion Picture Arts and Sciences BSD', 'summary.alt.org.fedora' => 'Academy of Motion Picture Arts and Sciences BSD Variant', tags => [ 'family:bsd', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{retain_notice_cond_discl_warr} . '[.][ ]' . $P{repro_copr_cond_discl_warr} . '[.][ ]' . $P{nopromo_nothing_deemed}, }; =item * antlr_pd =cut $RE{antlr_pd} = { name => 'ANTLR-PD', 'name.alt.org.fedora.iri.self' => 'ANTLR-PD', 'name.alt.org.spdx' => 'ANTLR-PD', caption => 'ANTLR Software Rights Notice', 'caption.alt.org.tldr' => 'ANTLR Software Rights Notice (ANTLR-PD)', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'We reserve no legal rights to the ANTLR[--]?it is fully in the public domain[.]', }; =item * apache =item * apache_1 I =item * apache_1_1 I =item * apache_2 I =cut $RE{apache} = { name => 'Apache', 'name.alt.org.osi.iri.stem_only.until.date_20080202' => 'apachepl', 'name.alt.org.wikidata.synth.nogrant' => 'Q616526', caption => 'Apache License', 'caption.alt.org.trove' => 'Apache Software License', 'caption.alt.org.wikipedia' => 'Apache License', 'caption.alt.misc.public' => 'Apache Public License', iri => 'https://www.apache.org/licenses/LICENSE-2.0', tags => [ 'type:versioned:decimal', ], }; $RE{apache_1} = { name => 'Apache-1.0', 'name.alt.org.fedora' => 'Apache-1.0', 'name.alt.org.spdx' => 'Apache-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q26897902', 'name.alt.misc.fossology_old' => 'Apache_v1.0', caption => 'Apache License 1.0', 'caption.alt.org.fedora' => 'Apache Software License 1.0', 'caption.alt.org.fedora.misc.short' => 'ASL 1.0', 'caption.alt.org.tldr' => 'Apache License 1.0 (Apache-1.0)', 'caption.alt.org.wikidata' => 'Apache Software License, Version 1.0', description => <<'END', Identical to BSD (4 clause), except... * extend advertising clause to also require advertising purpose * extend non-endorsement clause to include contact info * add derivatives-must-rename clause * add redistribution-acknowledgement clause END iri => 'https://www.apache.org/licenses/LICENSE-1.0', tags => [ 'license:contains:license:bsd_4_clause', 'license:is:grant', 'type:singleversion:apache', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.sentence' => $P{redist_ack_this}, 'pat.alt.subject.license.scope.multisection.part.head' => $P{repro_copr_cond_discl} . '[.][ ]' . '[*)]?' . $P{ad_mat_ack_this} . '[word][ word]{0,14}' . '[.][ ][*)]?' . $P{nopromo_neither} . '[. ]For written permission, please contact [word]' . '[.][ ]' . '[*)]?' . 'Products derived from this software may not be called' }; $RE{apache_1_1} = { name => 'Apache-1.1', 'name.alt.org.osi' => 'Apache-1.1', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'apachepl-1.1', 'name.alt.org.perl' => 'apache_1_1', 'name.alt.org.spdx' => 'Apache-1.1', 'name.alt.org.tldr' => 'apache-license-1.1', 'name.alt.org.wikidata.synth.nogrant' => 'Q17817999', 'name.alt.misc.fossology_old' => 'Apache_v1.1', caption => 'Apache License 1.1', 'caption.alt.org.fedora' => 'Apache Software License 1.1', 'caption.alt.org.fedora.misc.short' => 'ASL 1.1', 'caption.alt.org.osi' => 'Apache Software License, version 1.1', 'caption.alt.org.osi.misc.list' => 'Apache Software License 1.1', 'caption.alt.org.perl' => 'Apache Software License, Version 1.1', 'caption.alt.org.tldr' => 'Apache License 1.1 (Apache-1.1)', 'caption.alt.org.wikidata' => 'Apache Software License, Version 1.1', 'caption.alt.misc.fossology_old' => 'Apache 1.1', 'caption.alt.misc.software' => 'Apache Software License 1.1', description => <<'END', Identical to BSD (3 clause), except... * add documentation-acknowledgement clause (as 3rd clause similar to BSD-4-clause advertising clause) * extend non-endorsement clause to include contact info * add derivatives-must-rename clause END iri => 'https://www.apache.org/licenses/LICENSE-1.1', 'iri.alt.org.wikipedia' => 'https://en.wikipedia.org/wiki/Apache_License#Version_1.1', tags => [ 'license:contains:license:bsd_3_clause', 'license:is:grant', 'license:published:by_apache', 'type:singleversion:apache', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.multisection' => 'without prior written permission of[ word]{1,5}[.][ ]' . 'THIS SOFTWARE IS PROVIDED', 'pat.alt.subject.license.scope.multisection.part.head' => '(?:Apache License 1\.1[ ]' . 'Copyright[c] 2000 The Apache Software Foundation[.]' . ' All rights reserved[.][ ])?' . $P{repro_copr_cond_discl} . '[.][ ]' . '[*)]?The end-user documentation included', }; $RE{apache_2} = { name => 'Apache-2.0', 'name.alt.org.osi' => 'Apache-2.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'apache2.0', 'name.alt.org.perl' => 'apache_2_0', 'name.alt.org.spdx' => 'Apache-2.0', 'name.alt.org.tldr.path.short' => 'apache2', 'name.alt.org.wikidata.synth.nogrant' => 'Q13785927', 'name.alt.misc.fossology_old' => 'Apache_v2.0', 'name.alt.misc.fossology_old_short' => 'Apache2.0', caption => 'Apache License 2.0', 'caption.alt.org.fedora' => 'Apache Software License 2.0', 'caption.alt.org.fedora.misc.short' => 'ASL 2.0', 'caption.alt.org.osi' => 'Apache License, Version 2.0', 'caption.alt.org.osi.misc.list' => 'Apache License 2.0', 'caption.alt.org.perl' => 'Apache License, Version 2.0', 'caption.alt.org.tldr' => 'Apache License 2.0 (Apache-2.0)', 'caption.alt.org.wikidata' => 'Apache Software License, Version 2.0', 'caption.alt.misc.public' => 'Apache Public License 2.0', 'caption.alt.misc.software' => 'Apache Software License 2.0', iri => 'https://www.apache.org/licenses/LICENSE-2.0', 'iri.alt.org.wikipedia' => 'https://en.wikipedia.org/wiki/Apache_License#Version_2.0', tags => [ 'license:contains:grant', 'license:published:by_apache', 'type:singleversion:apache', ], licenseversion => '2.0', 'pat.alt.subject.grant.misc.extra' => 'Apache Software License, Version 2\.0', 'pat.alt.subject.license.part.appendix' => 'How to apply the Apache License to your work', 'pat.alt.subject.license.scope.multisection' => 'Apache License[ ]' . 'Version 2\.0, January 2004[ ]', }; =item * apafml =cut $RE{apafml} = { name => 'APAFML', 'name.alt.org.fedora' => 'APAFML', 'name.alt.org.fedora.iri.self' => 'AdobePostscriptAFM', 'name.alt.org.spdx.since.date_20140807' => 'APAFML', 'name.alt.misc.fossology' => 'AdobeAFM', 'name.alt.misc.fossology_old' => 'Adobe-AFM', caption => 'Adobe Postscript AFM License', 'caption.alt.org.tldr' => 'Adobe Postscript AFM License', tags => [ 'type:unversioned', ], '_pat.alt.subject.license' => [ 'AFM files it accompanies may be used', 'that the AFM files are not distributed', ], }; =item * apl =item * apl_1 =cut $RE{apl} = { name => 'APL', 'name.alt.org.wikidata.synth.nogrant' => 'Q4680711', 'name.alt.misc.fossology_old' => 'Adaptive', caption => 'Adaptive Public License', tags => [ 'type:versioned:decimal', ], }; $RE{apl_1} = { name => 'APL-1.0', 'name.alt.org.osi' => 'APL-1.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'apl-1.0', 'name.alt.org.spdx' => 'APL-1.0', caption => 'Adaptive Public License 1.0', 'caption.alt.org.osi.misc.list.synth.nogrant' => 'Adaptive Public License', 'caption.alt.org.tldr' => 'Adaptive Public License 1.0 (APL-1.0)', 'caption.alt.misc.fossology_old' => 'Adaptive v1.0', tags => [ 'type:singleversion:apl', ], licenseversion => '1.0', 'pat.alt.subject.license' => 'THE LICENSED WORK IS PROVIDED UNDER THE TERMS OF THIS ADAPTIVE PUBLIC LICENSE', }; =item * apsl =item * apsl_1 =item * apsl_1_1 =item * apsl_1_2 =item * apsl_2 =cut $RE{apsl} = { name => 'APSL', 'name.alt.org.wikidata.synth.nogrant' => 'Q621330', caption => 'Apple Public Source License', 'caption.alt.org.trove' => 'Apple Public Source License', 'caption.alt.org.wikipedia' => 'Apple Public Source License', tags => [ 'type:versioned:decimal', ], }; $RE{apsl_1} = { name => 'APSL-1.0', 'name.alt.org.spdx' => 'APSL-1.0', 'name.alt.misc.fossology_old' => 'APSL_v1.0', 'name.alt.misc.fossology_old_short' => 'APSL1.0', 'name.alt.misc.fossology_old_vague.synth.nogrant' => 'Apple', caption => 'Apple Public Source License 1.0', 'caption.alt.org.fedora.iri.self' => 'Apple Public Source License 1.0', tags => [ 'type:singleversion:apsl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection.part.header' => '(?:APPLE PUBLIC SOURCE LICENSE|Apple Public Source License)[ ]' . 'Ver(?:sion|\.) 1\.0(?:[ - ]March 16, ?1999)?[ ]' . '(?:Please read this License carefully|[*)]General[;] Definitions[.])', 'pat.alt.subject.license.scope.sentence.part.part1' => 'subject to the terms of this Apple Public Source License version 1\.0 ', }; $RE{apsl_1_1} = { name => 'APSL-1.1', 'name.alt.org.spdx' => 'APSL-1.1', 'name.alt.misc.fossology_old' => 'APSL_v1.', 'name.alt.misc.fossology_old_short' => 'APSL1.1', caption => 'Apple Public Source License 1.1', 'caption.alt.org.fedora.iri.self' => 'Apple Public Source License 1.1', tags => [ 'type:singleversion:apsl', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.multisection.part.header' => '(?:APPLE PUBLIC SOURCE LICENSE|Apple Public Source License)[ ]' . 'Ver(?:sion|\.) 1\.1(?:[ - ]April 19, ?1999)?[ ]' . '(?:Please read this License carefully|[*)]General[;] Definitions[.])', 'pat.alt.subject.license.scope.sentence.part.part1' => 'subject to the terms of this Apple Public Source License version 1\.1 ', }; $RE{apsl_1_2} = { name => 'APSL-1.2', 'name.alt.org.spdx' => 'APSL-1.2', 'name.alt.misc.fossology_old' => 'APSL_v1.2', 'name.alt.misc.fossology_old_short' => 'APSL1.2', caption => 'Apple Public Source License 1.2', 'caption.alt.org.fedora.iri.self' => 'Apple Public Source License 1.2', tags => [ 'type:singleversion:apsl', ], licenseversion => '1.2', 'pat.alt.subject.license.scope.multisection.part.header' => '(?:APPLE PUBLIC SOURCE LICENSE|Apple Public Source License)[ ]' . ' Ver(?:sion|\.) 1\.2(?:[ - ]January 4, ?2001)?[ ]' . '(?:Please read this License carefully|[*)]General[;] Definitions[.])', 'pat.alt.subject.license.scope.sentence.part.part1' => 'subject to the terms of this Apple Public Source License version 1\.2 ', }; $RE{apsl_2} = { name => 'APSL-2.0', 'name.alt.org.osi' => 'APSL-2.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'apsl-2.0', 'name.alt.org.spdx' => 'APSL-2.0', 'name.alt.org.tldr.path.short.synth.nogrant' => 'aspl2', 'name.alt.misc.fossology_old' => 'APSL_v2.0', caption => 'Apple Public Source License 2.0', 'caption.alt.org.fedora' => 'Apple Public Source License 2.0', 'caption.alt.org.fedora.misc.short' => 'APSL 2.0', 'caption.alt.org.tldr' => 'Apple Public Source License 2.0 (APSL)', 'caption.alt.org.osi.misc.cat_list.synth.nogrant' => 'Apple Public Source License', tags => [ 'type:singleversion:apsl', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.multisection.part.header' => '(?:APPLE PUBLIC SOURCE LICENSE|Apple Public Source License)[ ]' . 'Ver(?:sion|\.) 2\.0(?:[ - ]August 6, ?2003)?[ ]' . '(?:Please read this License carefully|[*)]General[;] Definitions[.])', 'pat.alt.subject.license.scope.sentence.part.part1' => 'subject to the terms of this Apple Public Source License version 2\.0 ', }; =item * artistic =item * artistic_1 I =item * artistic_1_cl8 I =item * artistic_1_perl I =item * artistic_2 =cut $RE{artistic} = { name => 'Artistic', 'name.alt.org.osi.iri.stem.until.date_20080202' => 'artistic-license', 'name.alt.org.wikidata.synth.nogrant' => 'Q713244', caption => 'Artistic License', 'caption.alt.org.trove' => 'Artistic License', 'caption.alt.org.wikipedia' => 'Artistic License', tags => [ 'type:versioned:complex', ], }; $RE{artistic_1} = { name => 'Artistic-1.0', 'name.alt.org.osi' => 'Artistic-1.0', 'name.alt.org.osi.iri.stem.until.date_20090218' => 'artistic-license-1.0', 'name.alt.org.spdx' => 'Artistic-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q14624823', 'name.alt.misc.fossology_old' => 'Artistic1.0', caption => 'Artistic License 1.0', 'caption.alt.org.osi.misc.list' => 'Artistic license 1.0', 'caption.alt.org.osi.misc.do_not_use_list' => 'Artistic license, version 1.0', 'caption.alt.org.wikipedia' => 'Artistic License 1.0', 'iri.alt.old.osi' => 'https://opensource.org/licenses/artistic-license-1.0', 'iri.alt.org.wikipedia' => 'https://en.wikipedia.org/wiki/Artistic_License#Artistic_License_1.0', tags => [ 'type:singleversion:artistic', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection' => '[*)]C or perl subroutines supplied by you and linked into this Package shall not be considered part of this Package[.][ ]' . '[*)]The name of the Copyright Holder', }; $RE{artistic_1_cl8} = { name => 'Artistic-1.0-cl8', 'name.alt.org.spdx.since.date_20130912' => 'Artistic-1.0-cl8', summary => 'Artistic License 1.0 w/clause 8', 'caption.alt.org.tldr.synth.nogrant' => 'Artistic License 1.0', tags => [ 'type:singleversion:artistic', ], licenseversion => '1.0-cl8', 'pat.alt.subject.license.scope.multisection' => 'this Package[.][ ]' . '[*)]Aggregation of this Package', }; $RE{artistic_1_clarified} = { name => 'Artistic-1.0-clarified', 'name.alt.org.fedora.iri.self' => 'ArtisticClarified', 'name.alt.org.spdx' => 'ClArtistic', caption => 'Clarified Artistic License', 'caption.alt.org.fedora' => 'Artistic (clarified)', 'caption.alt.org.fedora.misc.short' => 'Artistic clarified', 'caption.alt.org.spdx' => 'Clarified Artistic License', 'caption.alt.org.tldr' => 'Clarified Artistic License', iri => 'http://gianluca.dellavedova.org/2011/01/03/clarified-artistic-license/', tags => [ 'type:singleversion:artistic', ], licenseversion => '1.0-clarified', 'pat.alt.subject.license' => 'Aggregation of the Standard Version of the Package', }; $RE{artistic_1_perl} = { name => 'Artistic-1.0-Perl', 'name.alt.org.perl.synth.nogrant' => 'artistic_1', 'name.alt.org.osi' => 'Artistic-1.0-Perl', 'name.alt.org.spdx.since.date_20130912' => 'Artistic-1.0-Perl', caption => 'Artistic License 1.0 (Perl)', 'caption.alt.org.fedora' => 'Artistic 1.0 (original)', 'caption.alt.org.osi' => 'Artistic License 1.0 (Perl)', 'caption.alt.org.perl.synth.nogrant' => 'Artistic License, (Version 1)', 'caption.alt.org.spdx' => 'Artistic License 1.0 (Perl)', iri => 'http://dev.perl.org/licenses/artistic.html', 'iri.alt.old.perl' => 'http://www.perl.com/pub/a/language/misc/Artistic.html', tags => [ 'type:singleversion:artistic', ], licenseversion => '1.0-Perl', 'pat.alt.subject.license.scope.multisection' => 'the language[.][ ]' . '[*)]Aggregation of this Package', }; $RE{artistic_2} = { name => 'Artistic-2.0', 'name.alt.org.osi' => 'Artistic-2.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'artistic-license-2.0', 'name.alt.org.perl' => 'artistic_2', 'name.alt.org.spdx' => 'Artistic-2.0', 'name.alt.org.tldr' => 'artistic-license-2.0-(artistic)', 'name.alt.org.tldr.path.short.synth.nogrant' => 'artistic', 'name.alt.org.wikidata.synth.nogrant' => 'Q14624826', 'name.alt.misc.fossology_old' => 'Artistic_v2.0', 'name.alt.misc.fossology_old_short' => 'Artistic2.0', caption => 'Artistic License 2.0', 'caption.alt.org.fedora' => 'Artistic 2.0', 'caption.alt.org.osi.misc.cat_list' => 'Artistic license 2.0', 'caption.alt.org.perl' => 'Artistic License, Version 2.0', 'caption.alt.org.tldr' => 'Artistic License 2.0 (Artistic-2.0)', 'caption.alt.org.wikipedia' => 'Artistic License 2.0', iri => 'http://www.perlfoundation.org/artistic_license_2_0', 'iri.alt.org.wikipedia' => 'https://en.wikipedia.org/wiki/Artistic_License#Artistic_License_2.0', tags => [ 'type:singleversion:artistic', ], licenseversion => '2.0', 'pat.alt.subject.license' => 'is governed by this Artistic License[.]', }; =item * bahyph =cut $RE{bahyph} = { name => 'Bahyph', 'name.alt.org.fedora.iri.self' => 'Bahyph', 'name.alt.org.spdx.since.date_20140807' => 'Bahyph', caption => 'Bahyph License', 'caption.alt.org.tldr' => 'Bahyph License', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'These patterns were developed for internal GMV use and are made public', }; =item * barr =cut $RE{barr} = { name => 'Barr', 'name.alt.org.fedora.iri.self' => 'Barr', 'name.alt.org.spdx.since.date_20140807' => 'Barr', caption => 'Barr License', 'caption.alt.org.tldr' => 'Barr License', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'This is a package of commutative diagram macros built on top of Xy[-]pic', }; =item * bdwgc I =cut $RE{bdwgc} = { 'name.alt.org.debian' => 'MIT~Boehm', caption => 'Boehm GC License', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Another Minimal variant (found in libatomic_ops)', description => <<'END', Origin: Possibly Boehm-Demers-Weiser conservative C/C++ Garbage Collector (libgc, bdwgc, boehm-gc). END iri => 'http://www.hboehm.info/gc/license.txt', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.paragraph' => $P{perm_granted} . $P{to_copy_prg} . $P{any_purpose} . $P{retain_notices_all} . '[. ]' . $P{perm_dist_mod} . $P{granted} . $P{retain_notices} . $P{note_mod_inc_with_copr} . '[.]', }; =item * bdwgc_matlab I =cut $RE{bdwgc_matlab} = { name => 'bdwgc-matlab', description => <<'END', Origin: Possibly Boehm-Demers-Weiser conservative C/C++ Garbage Collector (libgc, bdwgc, boehm-gc). END tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.paragraph' => $P{perm_granted} . $P{to_copy_prg} . $P{any_purpose} . $P{retain_notices_all} . '[. ]' . $P{repro_code_cite_authors_copr} . $P{and_used_by_perm} . '[". ]' . $P{repro_matlab_cite_authors} . '[. ]' . $P{perm_dist_mod} . $P{granted} . $P{retain_notices} . $P{note_mod_inc_with_copr} . '[. ]' . $P{retain_you_avail_orig} . '[.]', 'pat.alt.subject.license.part.credit' => 'must cite the Authors', }; =item * beerware =cut $RE{beerware} = { name => 'Beerware', 'name.alt.misc.dash' => 'Beer-ware', 'name.alt.org.fedora.iri.self' => 'Beerware', 'name.alt.org.spdx.since.date_20140807' => 'Beerware', 'name.alt.org.tldr.path.short' => 'beerware', 'name.alt.org.wikidata.synth.nogrant' => 'Q10249', caption => 'Beerware License', 'caption.alt.org.tldr' => 'Beerware License', 'caption.alt.org.wikidata' => 'Beerware', 'caption.alt.org.wikipedia' => 'Beerware', iri => 'https://people.freebsd.org/~phk/', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'you can buy me a beer in return', #<<< do not let perltidy touch this (keep long regex on one line) examples => [ { summary => 'pattern with subject "license" matches canonical license', gen_args => { subject => 'license' }, str => 'As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.', matches => 1, }, { summary => 'pattern with subject "grant" doesn\'t match canonical license', gen_args => { subject => 'grant' }, str => 'As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.', matches => 0, }, { summary => 'pattern with subject "grant" matches a license grant', gen_args => { subject => 'grant' }, str => 'Licensed under the Beerware License.', matches => 1, }, { summary => 'pattern with subject "name" matches canonical license', gen_args => { subject => 'name' }, str => 'Beerware License', matches => 1, }, { summary => 'pattern with subject "name" doesn\'t match canonical license', gen_args => { subject => 'name' }, str => 'As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.', matches => 0, }, { summary => 'pattern with subject "name" matches a license grant', gen_args => { subject => 'name' }, str => 'Licensed under the Beerware License.', matches => 1, }, { summary => 'pattern with subject "name" doesn\'t match canonical license IRI', gen_args => { subject => 'name' }, str => 'https://people.freebsd.org/~phk/', matches => 0, }, { summary => 'pattern with subject "iri" doesn\'t match original license', gen_args => { subject => 'iri' }, str => 'As long as you retain this notice you can do whatever you want with this stuff. If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.', matches => 0, }, { summary => 'pattern with subject "iri" doesn\'t match canonical license name', gen_args => { subject => 'iri' }, str => 'Beerware License', matches => 0, }, { summary => 'pattern with subject "iri" doesn\'t match a license shortname', gen_args => { subject => 'iri' }, str => 'Beerware', matches => 0, }, ], #>>> }; =item * bittorrent =item * bittorrent_1 =item * bittorrent_1_1 =cut $RE{bittorrent} = { name => 'BitTorrent', 'name.alt.misc.fossology_old' => 'Bittorrent', 'name.alt.org.wikidata.synth.nogrant' => 'Q4918693', caption => 'BitTorrent Open Source License', 'caption.alt.org.fedora' => 'BitTorrent License', 'caption.alt.org.fedora.iri.self' => 'BitTorrent Open Source License', tags => [ 'type:versioned:decimal', ], }; $RE{bittorrent_1} = { name => 'BitTorrent-1.0', 'name.alt.org.spdx.since.date_20130117' => 'BitTorrent-1.0', 'name.alt.misc.fossology_old' => 'Bittorrent1.0', caption => 'BitTorrent Open Source License v1.0', description => <<'END', Identical to Jabber Open Source License, except... * drop description-of-modifications clause * drop retain-copyright-notices clause * replace references, e.g. "Jabber Server" -> "BitTorrent client" * document that license is derived from Jabber Open Source License END tags => [ 'license:contains:grant', 'type:singleversion:bittorrent', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection.part.header' => 'BitTorrent Open Source License[ ]' . 'Version 1\.0[ ]' . 'This BitTorrent Open Source License', 'pat.alt.subject.license.scope.multisection.part.part4' => ' has been made available' . '[. ]You are responsible for ensuring' . ' that the Source Code version remains available' . ' even if the Electronic Distribution Mechanism is maintained by a third party' . '[.][ ][*)]' . 'Intellectual Property Matters[.]', }; $RE{bittorrent_1_1} = { name => 'BitTorrent-1.1', 'name.alt.org.spdx.since.date_20130117' => 'BitTorrent-1.1', 'name.alt.misc.fossology_old' => 'Bittorrent_v1.1', caption => 'BitTorrent Open Source License v1.1', 'caption.alt.org.tldr' => 'BitTorrent Open Source License v1.1 (BitTorrent-1.1)', tags => [ 'license:contains:grant:bittorrent_1', 'type:singleversion:bittorrent', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.multisection.part.header' => 'BitTorrent Open Source License[ ]' . 'Version 1\.1[ ]' . 'This BitTorrent Open Source License', 'pat.alt.subject.license.scope.multisection.part.part4' => ' is distributed by you' . '[. ]You are responsible for ensuring' . ' that the Source Code version remains available' . ' even if the Electronic Distribution Mechanism is maintained by a third party' . '[.][ ][*)]' . 'Intellectual Property Matters[.]', }; =item * borceux =cut $RE{borceux} = { name => 'Borceux', 'name.alt.org.fedora.iri.self' => 'Borceux', 'name.alt.org.spdx.since.date_20140807' => 'Borceux', caption => 'Borceux license', 'caption.alt.org.tldr' => 'Borceux license', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'distribute each of the files in this package', }; =item * bsd_0_clause I =cut $RE{bsd_0_clause} = { name => '0BSD', 'name.alt.org.fedora' => '0BSD', 'name.alt.org.fedora.iri.self' => 'ZeroClauseBSD', 'name.alt.org.osi' => '0BSD', 'name.alt.org.osi.misc.free' => 'FPL-1.0.0', 'name.alt.org.spdx.since.date_20150930' => '0BSD', 'name.alt.org.tldr' => 'bsd-0-clause-license', 'name.alt.org.wikidata.synth.nogrant' => 'Q48271011', caption => 'BSD 0-Clause License', 'caption.alt.org.fedora' => 'Zero-Clause BSD', 'caption.alt.org.osi' => 'Zero-Clause BSD', 'caption.alt.org.osi.misc.old' => 'Zero-Clause BSD / Free Public License 1.0.0', 'caption.alt.org.osi.misc.list' => '0-clause BSD License', 'caption.alt.org.osi.misc.list_bsd' => '0-clause BSD license', 'caption.alt.org.osi.misc.list_free' => 'Free Public License 1.0.0', 'caption.alt.org.spdx' => 'BSD Zero Clause License', 'caption.alt.org.tldr' => 'BSD 0-Clause License (0BSD)', 'caption.alt.org.wikidata' => 'Zero-clause BSD License', 'caption.alt.misc.parens' => 'BSD (0 clause)', description => <<'END', Identical to ISC, except... * Redistribution of source need not retain any legal text * omit requirement of notices appearing in copies Origin: By Rob Landley in 2013 for toybox. Details at . END 'iri.alt.misc.origin' => 'https://github.com/landley/toybox/blob/master/LICENSE', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.name.misc.free' => '(?:Free Public License|FPL)' . '(?:' . $RE{version_prefix} {'pat.alt.subject.trait.scope.line.scope.sentence'} . '1(?:\.0){0,2})?', 'pat.alt.subject.license.scope.multisection' => $P{granted} . '[.][ ]' . $P{asis_sw_name_discl}, }; =item * bsd_1_clause I =cut $RE{bsd_1_clause} = { name => 'BSD-1-Clause', 'name.alt.org.osi' => 'BSD-1-Clause', 'name.alt.org.spdx.since.date_20171228' => 'BSD-1-Clause', 'name.alt.org.wikidata.synth.nogrant' => 'Q19292556', caption => 'BSD 1-Clause License', 'caption.alt.org.osi' => '1-clause BSD License', 'caption.alt.org.wikidata' => '1-clause BSD License', 'caption.alt.misc.parens' => 'BSD (1 clause)', tags => [ 'family:bsd', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{retain_notice_cond_discl} . '[.][ ]' . $P{asis_sw_by}, }; =item * bsd_2_clause =cut $RE{bsd_2_clause} = { name => 'BSD-2-Clause', 'name.alt.org.debian' => 'BSD-2-clause', 'name.alt.org.osi' => 'BSD-2-Clause', 'name.alt.org.perl' => 'freebsd', 'name.alt.org.spdx' => 'BSD-2-Clause', 'name.alt.org.tldr' => 'bsd-2-clause-license-(freebsd)', 'name.alt.org.tldr.path.short' => 'freebsd', 'name.alt.org.wikidata.synth.nogrant' => 'Q18517294', 'name.alt.misc.clauses' => '2-clause-BSD', 'name.alt.misc.freebsd' => 'FreeBSD', 'name.alt.misc.simplified' => 'Simplified-BSD', caption => 'BSD 2-Clause License', 'caption.alt.org.fedora.misc.cc' => 'Creative Commons BSD', 'caption.alt.org.osi' => 'The 2-Clause BSD License', 'caption.alt.org.osi.misc.list' => '2-clause BSD License', 'caption.alt.org.osi.misc.cat_list' => '2-clause BSD license', 'caption.alt.org.perl' => 'FreeBSD License (two-clause)', 'caption.alt.org.spdx.until.date_20171228' => 'BSD 2-clause "Simplified" License', 'caption.alt.org.spdx.since.date_20171228' => 'BSD 2-Clause "Simplified" License', 'caption.alt.org.tldr' => 'BSD 2-Clause License (FreeBSD/Simplified)', 'caption.alt.org.wikidata' => '2-clause BSD License', 'caption.alt.org.wikipedia.iri.bsd' => '2-clause license ("Simplified BSD License" or "FreeBSD License")', 'caption.alt.misc.parens' => 'BSD (2 clause)', 'caption.alt.misc.simplified' => 'Simplified BSD License', 'caption.alt.misc.qemu' => 'BSD Licence (without advertising or endorsement clauses)', 'iri.alt.org.cc.archive.time_20110401183132.until.date_20110401' => 'http://creativecommons.org/licenses/BSD/', # TODO: find official date tags => [ 'family:bsd', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{retain_notice_cond_discl} . '[.][ ]' . $P{repro_copr_cond_discl} . '[.][ ]' . $P{asis_sw_by}, }; =item * bsd_2_clause_freebsd I =cut $RE{bsd_2_clause_freebsd} = { name => 'BSD-2-Clause-FreeBSD', 'name.alt.org.fedora.iri.bsd_short' => '2ClauseBSD', 'name.alt.org.spdx.until.date_20200803' => 'BSD-2-Clause-FreeBSD', 'name.alt.org.wikidata.synth.nogrant' => 'Q90408476', caption => 'BSD 2-clause FreeBSD License', 'caption.alt.org.fedora' => 'BSD License (two clause)', 'caption.alt.org.steward' => 'FreeBSD License', 'caption.alt.org.spdx.until.date_20130117' => 'BSD 2-clause "FreeBSD" License', 'caption.alt.org.spdx.since.date_20130117.until.date_20171228' => 'BSD 2-clause FreeBSD License', 'caption.alt.org.spdx.since.date_20171228' => 'BSD 2-Clause FreeBSD License', 'caption.alt.org.wikidata' => 'FreeBSD license', 'summary.alt.org.fedora.iri.bsd' => 'FreeBSD BSD Variant (2 clause BSD)', tags => [ 'family:bsd', 'license:contains:license:bsd_2_clause_views', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{retain_notice_cond_discl} . '[.][ ]' . $P{repro_copr_cond_discl} . '[.][ ]' . $P{discl_warranties} . '[. ]' . $P{discl_liability} . '[.][ ]' . 'The views and conclusions contained in the software and documentation ' . 'are those of the authors and should not be interpreted ' . 'as representing official policies, either expressed or implied, ' . 'of the FreeBSD Project[.]', 'pat.alt.subject.license.scope.line.scope.sentence.part.last' => 'expressed or implied, of the FreeBSD Project', }; =item * bsd_2_clause_netbsd I =cut $RE{bsd_2_clause_netbsd} = { name => 'BSD-2-Clause-NetBSD', 'name.alt.org.spdx.until.date_20200515' => 'BSD-2-Clause-NetBSD', caption => 'BSD 2-clause NetBSD License', 'caption.alt.org.spdx.until.date_20130117' => 'BSD 2-clause "NetBSD" License', 'caption.alt.org.spdx.since.date_20130117.until.date_20171228' => 'BSD 2-clause NetBSD License', 'caption.alt.org.spdx.since.date_20171228' => 'BSD 2-Clause NetBSD License', tags => [ 'family:bsd', 'license:contains:license:bsd_2_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence.part.first' => 'This code is derived from software contributed to The NetBSD Foundation by', 'pat.alt.subject.license.scope.multisection' => 'This code is derived from software contributed to The NetBSD Foundation by[ word]{0,15}' . '[ ]' . $P{retain_notice_cond_discl} . '[.][ ]' . $P{repro_copr_cond_discl}, }; =item * bsd_2_clause_patent I =cut $RE{bsd_2_clause_patent} = { name => 'BSD+Patent', 'name.alt.org.fedora' => 'BSD-2-Clause-Patent', 'name.alt.org.fedora.iri.self' => 'BSD-2-Clause-Patent', 'name.alt.org.osi' => 'BSDplusPatent', 'name.alt.org.osi.misc.shortname' => 'BSD-2-Clause-Patent', 'name.alt.org.spdx.since.date_20171228' => 'BSD-2-Clause-Patent', caption => 'BSD 2-Clause Plus Patent License', 'caption.alt.org.fedora' => 'BSD + Patent', 'caption.alt.org.spdx.since.date_20171228' => 'BSD 2-Clause Plus Patent License', 'caption.alt.org.spdx.since.date_20171228' => 'BSD-2-Clause Plus Patent License', 'caption.alt.org.osi' => 'BSD+Patent', tags => [ 'family:bsd', 'license:contains:license:bsd_2_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence.part.last_but_disclaimers' => 'Except as expressly stated above, no rights or licenses', 'pat.alt.subject.license.scope.multisection' => $P{retain_notice_cond_discl} . '[.][ ]' . $P{repro_copr_cond_discl} . '[.][ ]' . 'Subject to the terms and conditions of this license, ' . 'each copyright holder and contributor hereby grants', }; =item * bsd_2_clause_views =cut $RE{bsd_2_clause_views} = { name => 'BSD-2-Clause-Views', 'iri.alt.org.spdx.since.date_20200803' => 'BSD-2-Clause-Views', caption => 'BSD 2-Clause with views sentence', 'caption.alt.misc.freebsd' => 'FreeBSD License', tags => [ 'family:bsd', 'license:contains:license:bsd_2_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{retain_notice_cond_discl} . '[.][ ]' . $P{repro_copr_cond_discl} . '[.][ ]' . $P{discl_warranties} . '[. ]' . $P{discl_liability} . '[.][ ]' . 'The views and conclusions contained in the software and documentation ' . 'are those of the authors and should not be interpreted ' . 'as representing official policies, either expressed or implied, ' . 'of', }; =item * bsd_3_clause =cut $RE{bsd_3_clause} = { name => 'BSD-3-Clause', 'name.alt.org.debian' => 'BSD-3-clause', 'name.alt.org.fedora.iri.bsd' => '3ClauseBSD', 'name.alt.org.osi' => 'BSD-3-Clause', 'name.alt.org.perl.synth.nogrant' => 'bsd', 'name.alt.org.spdx' => 'BSD-3-Clause', 'name.alt.org.tldr.path.short' => 'bsd3', 'name.alt.org.wikidata.synth.nogrant' => 'Q18491847', 'name.alt.misc.clauses' => '3-clause-BSD', 'name.alt.misc.modified' => 'Modified-BSD', caption => 'BSD 3-Clause License', 'caption.alt.org.fedora' => 'New BSD', 'caption.alt.org.osi' => 'The 3-Clause BSD License', 'caption.alt.org.osi.misc.list' => '3-clause BSD License', 'caption.alt.org.osi.misc.list_lower' => '3-clause BSD license', 'caption.alt.org.perl' => 'BSD License (three-clause)', 'caption.alt.org.spdx.until.date_20171228' => 'BSD 3-clause "New" or "Revised" License', 'caption.alt.org.spdx.since.date_20171228' => 'BSD 3-Clause "New" or "Revised" License', 'caption.alt.org.tldr' => 'BSD 3-Clause License (Revised)', 'caption.alt.org.wikidata' => '3-clause BSD License', 'caption.alt.org.wikipedia.iri.bsd' => '3-clause license ("BSD License 2.0", "Revised BSD License", "New BSD License", or "Modified BSD License")', 'caption.alt.misc.modified' => 'Modified BSD License', 'caption.alt.misc.new_lower' => 'new BSD License', 'caption.alt.misc.new_parens' => '(new) BSD License', 'caption.alt.misc.parens' => 'BSD (3 clause)', 'caption.alt.misc.qemu' => 'BSD Licence (without advertising clause)', 'summary.alt.org.fedora' => 'BSD License (no advertising)', 'summary.alt.org.fedora.misc.new_bsd' => 'New BSD (no advertising, 3 clause)', tags => [ 'family:bsd', 'license:contains:license:bsd_2_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{repro_copr_cond_discl} . '[.]?[ ]' . '(?:[*)]\[?(?:rescinded 22 July 1999' . '|This condition was removed[.])\]?)?' . '[*)]' . $P{nopromo_neither}, }; =item * bsd_3_clause_attribution I =cut $RE{bsd_3_clause_attribution} = { name => 'BSD-3-Clause-Attribution', 'name.alt.org.spdx.since.date_20140807' => 'BSD-3-Clause-Attribution', caption => 'BSD with attribution', 'caption.alt.org.fedora.iri.self' => 'BSD with attribution', # has word "Attribution title-cased, unlike caption 'iri.alt.org.fedora.iri.self' => 'https://fedoraproject.org/wiki/Licensing/BSD_with_Attribution', tags => [ 'family:bsd', 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection.part.second_half' => $P{nopromo_neither} . '[.][ ][*)]' . $P{redist_ack_this}, }; =item * bsd_3_clause_clear I =cut $RE{bsd_3_clause_clear} = { name => 'BSD-3-Clause-Clear', 'name.alt.org.spdx.since.date_20130117' => 'BSD-3-Clause-Clear', caption => 'BSD 3-Clause Clear License', 'caption.alt.org.spdx.until.date_20130410' => 'BSD 2-clause "Clear" License', 'caption.alt.org.spdx.since.date_20130410.until.date_20171228' => 'BSD 3-clause Clear License', 'caption.alt.org.spdx.since.date_20171228' => 'BSD 3-Clause Clear License', tags => [ 'family:bsd', 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection.part.second_half' => $P{nopromo_neither} . '[.][ ]' . 'NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY[\']S PATENT RIGHTS ARE GRANTED BY THIS LICENSE' . '[. ]' . $P{discl_warranties}, }; =item * bsd_3_clause_eclipse I =cut # license scheme is unversioned, despite versioned name $RE{bsd_3_clause_eclipse} = { name => 'EDL-1.0', 'name.alt.org.debian' => 'BSD-3-clause~Eclipse', 'name.alt.org.steward' => 'EDL-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q26245522', caption => 'Eclipse Distribution License 1.0', 'caption.alt.org.fedora' => 'Eclipse Distribution License 1.0', 'caption.alt.org.steward' => 'Eclipse Distribution License - v 1.0', 'caption.alt.org.wikidata' => 'Eclipse Distribution License', description => <<'END', Specific instance of BSD 3-Clause License, tied to "Eclipse Foundation, Inc.". END iri => 'http://www.eclipse.org/org/documents/edl-v10.php', tags => [ 'family:bsd', 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:unversioned', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.clause_3' => 'Neither the name of the Eclipse Foundation, Inc\. nor', }; =item * bsd_3_clause_lbnl I =cut $RE{bsd_3_clause_lbnl} = { name => 'BSD-3-Clause-LBNL', 'name.alt.org.fedora.iri.self' => 'LBNLBSD', 'name.alt.org.osi' => 'BSD-3-Clause-LBNL', 'name.alt.org.spdx.since.date_20140807' => 'BSD-3-Clause-LBNL', caption => 'Lawrence Berkeley National Labs BSD variant license', 'caption.alt.org.fedora.misc.short' => 'LBNL BSD', 'caption.alt.org.osi' => 'Lawrence Berkeley National Labs BSD Variant License', 'caption.alt.org.osi.misc.list_bsd' => 'BSD-3-Clause-LBNL', tags => [ 'family:bsd', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection.part.second_half' => $P{nopromo_neither} . '[.][ ]' . 'NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY[\']S PATENT RIGHTS ARE GRANTED BY THIS LICENSE' . '[. ]' . $P{discl_warranties} . '[. ]' . $P{discl_liability} . '[.][ ]' . 'You are under no obligation whatsoever to provide any bug fixes', 'pat.alt.subject.license.scope.line.scope.sentence.part.last_disclaimer' => 'You are under no obligation whatsoever to provide any bug fixes', }; =item * bsd_3_clause_modification =cut $RE{bsd_3_clause_modification} = { name => 'BSD-3-Clause-Modification', 'name.alt.org.spdx.since.date_20210307' => 'BSD-3-Clause-Modification', caption => 'BSD 3-Clause Modification', tags => [ 'family:bsd', 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection.part.second_half' => $P{nopromo_neither} . ' from the copyright holders' . '[.][ ]' . '[*)]If any files are modified' . ', you must cause the modified files to carry prominent notices' . ' stating that you changed the files and the date of any change', }; =item * bsd_3_clause_no_military_license I =cut $RE{bsd_3_clause_no_military_license} = { name => 'BSD-3-Clause-No-Military-License', 'name.alt.org.spdx.since.date_20210520' => 'BSD-3-Clause-No-Military-License', caption => 'BSD 3-Clause No Military License', tags => [ 'family:bsd', 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection.part.second_half' => $P{nopromo_neither} . '[.][ ]' . $P{discl_warranties} . '[. ]' . $P{discl_liability} . '[.][ ]' . 'YOU ACKNOWLEDGE THAT THIS SOFTWARE' . ' IS NOT DESIGNED, LICENSED OR INTENDED' . ' FOR USE IN THE DESIGN, CONSTRUCTION, OPERATION OR MAINTENANCE' . ' OF ANY MILITARY FACILITY[.]', }; =item * bsd_3_clause_no_nuclear_license I =cut $RE{bsd_3_clause_no_nuclear_license} = { name => 'BSD-3-Clause-No-Nuclear-License', 'name.alt.org.spdx.since.date_20160721' => 'BSD-3-Clause-No-Nuclear-License', caption => 'BSD 3-Clause No Nuclear License', tags => [ 'family:bsd', 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection.part.second_half' => $P{nopromo_neither} . '[.][ ]' . $P{discl_warranties_any_kind} . '[. ]' . $P{discl_warranties_excluded} . '[. ]' . $P{discl_liability_suffered} . '[. ]' . $P{discl_liability_revenue} . '[.][ ]' . 'You acknowledge that this software' . ' is not designed, licensed or intended for use' . ' in the design, construction, operation or maintenance' . ' of any nuclear facility[.]', }; =item * bsd_3_clause_no_nuclear_license_2014 I =cut $RE{bsd_3_clause_no_nuclear_license_2014} = { name => 'BSD-3-Clause-No-Nuclear-License-2014', 'name.alt.org.spdx.since.date_20160721' => 'BSD-3-Clause-No-Nuclear-License-2014', caption => 'BSD 3-Clause No Nuclear License 2014', tags => [ 'family:bsd', 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection.part.second_half' => $P{nopromo_neither} . '[.][ ]' . $P{discl_warranties} . '[. ]' . $P{discl_liability} . '[.][ ]' . 'You acknowledge that this software' . ' is not designed, licensed or intended for use' . ' in the design, construction, operation or maintenance' . ' of any nuclear facility[.]', }; =item * bsd_3_clause_no_nuclear_warranty I =cut $RE{bsd_3_clause_no_nuclear_warranty} = { name => 'BSD-3-Clause-No-Nuclear-Warranty', 'name.alt.org.spdx.since.date_20160721' => 'BSD-3-Clause-No-Nuclear-Warranty', caption => 'BSD 3-Clause No Nuclear Warranty', tags => [ 'family:bsd', 'type:unversioned', ], tags => [ 'family:bsd', 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection.part.second_half' => $P{nopromo_neither} . '[.][ ]' . $P{discl_warranties_any_kind} . '[. ]' . $P{discl_warranties_excluded} . '[. ]' . $P{discl_liability_suffered} . '[. ]' . $P{discl_liability_revenue} . '[.][ ]' . 'You acknowledge that this software' . ' is not designed or intended for use' . ' in the design, construction, operation or maintenance' . ' of any nuclear facility[.]', }; =item * bsd_3_clause_refractions I =cut # license scheme is unversioned, despite versioned name $RE{bsd_3_clause_refractions} = { 'name.alt.org.debian' => 'BSD-3-clause~Refractions', caption => 'Refractions BSD License v1.0', 'caption.alt.org.steward' => 'Refractions BSD 3 Clause License (BSD) - v 1.0', description => <<'END', Specific instance of BSD 3-Clause License, tied to "Refractions Research". END iri => 'http://udig.refractions.net/files/bsd3-v10.html', tags => [ 'family:bsd', 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:unversioned', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.clause_3' => 'Neither the name of the Refractions Research nor', }; =item * bsd_4_clause =cut $RE{bsd_4_clause} = { name => 'BSD-4-Clause', 'name.alt.org.debian' => 'BSD-4-clause', 'name.alt.org.fedora.iri.bsd_short' => 'BSDwithAdvertising', 'name.alt.org.spdx' => 'BSD-4-Clause', 'name.alt.org.tldr' => '4-clause-bsd', 'name.alt.org.wikidata.synth.nogrant' => 'Q21503790', 'name.alt.misc.clauses' => '4-clause-BSD', caption => 'BSD 4-Clause License', 'caption.alt.org.fedora' => 'BSD License (original)', 'caption.alt.org.fedora.misc.summary' => 'Original BSD License', 'caption.alt.org.spdx.until.date_20171228' => 'BSD 4-clause "Original" or "Old" License', 'caption.alt.org.spdx.since.date_20171228' => 'BSD 4-Clause "Original" or "Old" License', 'caption.alt.org.tldr' => '4-Clause BSD', 'caption.alt.org.wikidata' => '4-clause BSD License', 'caption.alt.org.wikipedia.iri.bsd' => '4-clause license (original "BSD License")', 'caption.alt.misc.qemu' => 'BSD Licence (with advertising clause)', 'caption.alt.misc.parens' => 'BSD (4 clause)', 'summary.alt.org.fedora.iri.bsd' => 'Original BSD License (BSD with advertising)', tags => [ 'family:bsd', 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => $P{ad_mat_ack_this}, # TODO: enable when possible to skip based on dependency graph # 'pat.alt.subject.license.scope.multisection.part.head' => # $P{repro_copr_cond_discl} . '[.][ ]' . '[*)]?' . $P{ad_mat_ack_this}, 'pat.alt.subject.license.scope.multisection.part.tail' => '[*)]?' . $P{ad_mat_ack_this} . '[word][ word]{0,14}' . '[.][ ]' . '[*)]?' . $P{nopromo_neither}, 'pat.alt.subject.license.scope.multisection.part.most' => $P{repro_copr_cond_discl} . '[.][ ][*)]?' . $P{ad_mat_ack_this} . '[word][ word]{0,14}' . '[.][ ][*)]?' . $P{nopromo_neither}, }; =item * bsd_4_clause_uc I =cut $RE{bsd_4_clause_uc} = { name => 'BSD-4-Clause-UC', 'name.alt.org.spdx' => 'BSD-4-Clause-UC', caption => 'BSD-4-Clause (University of California-Specific)', description => <<'END', Specific instance of BSD 4-Clause License, tied to "University of California, Berkeley". END tags => [ 'family:bsd', 'license:contains:license:bsd_4_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection.part.tail' => '[*)]?' . $P{ad_mat_ack_this} . 'the University of California, Berkeley and its contributors' . '[.][ ]' . '[*)]?' . $P{nopromo_university}, 'pat.alt.subject.license.scope.multisection.part.most' => $P{repro_copr_cond_discl} . '[.][ ][*)]?' . $P{ad_mat_ack_this} . 'the University of California, Berkeley and its contributors' . '[.][ ][*)]?' . $P{nopromo_university}, }; =item * bsd_protection I =cut $RE{bsd_protection} = { name => 'BSD-Protection', 'name.alt.org.spdx.since.date_20140807' => 'BSD-Protection', caption => 'BSD Protection License', 'caption.alt.org.fedora.iri.self' => 'BSD Protection License', 'caption.alt.org.fedora.misc.short' => 'BSD Protection', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence.part.section1' => 'This license governs the copying, distribution, and modification', }; =item * bsl I =item * bsl_1 I =cut $RE{bsl} = { name => 'BSL', 'name.alt.misc.fossology_old' => 'Boost', 'name.alt.org.wikidata.synth.nogrant' => 'Q2353141', caption => 'Boost Software License', 'caption.alt.misc.mixedcase' => 'boost Software License', 'iri.alt.org.wikipedia' => 'https://en.wikipedia.org/wiki/Boost_Software_License#License', tags => [ 'type:versioned:decimal', ], }; $RE{bsl_1} = { name => 'BSL-1.0', 'name.alt.org.osi' => 'BSL-1.0', 'name.alt.org.fedora.synth.nogrant' => 'Boost', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'bsl1.0', 'name.alt.org.spdx' => 'BSL-1.0', 'name.alt.org.tldr' => 'boost-software-license-1.0-explained', 'name.alt.org.tldr.path.short.synth.nogrant' => 'boost', 'name.alt.misc.fossology_old' => 'Boost_v1.0', caption => 'Boost Software License 1.0', 'caption.alt.org.fedora.synth.nogrant' => 'Boost Software License', 'caption.alt.misc.mixedcase' => 'boost Software License, Version 1.0', 'caption.alt.org.osi.misc.list.synth.nogrant' => 'Boost Software License', 'caption.alt.org.tldr' => 'Boost Software License 1.0 (BSL-1.0)', 'caption.alt.org.trove' => 'Boost Software License 1.0 (BSL-1.0)', iri => 'http://www.boost.org/LICENSE_1_0.txt', tags => [ 'license:is:grant', 'type:singleversion:bsl', ], licenseversion => '1.0', 'pat.alt.subject.license' => 'this license [(]the ["]Software["][)] to use, reproduce', }; =item * bzip2 =item * bzip2_1_0_5 =item * bzip2_1_0_6 =cut $RE{bzip2} = { name => 'bzip2', caption => 'bzip2 and libbzip2 License', tags => [ 'type:versioned:decimal', ], 'pat.alt.subject.license' => '[*)]Redistributions of source code must retain ' . 'the above copyright notice, this list of conditions ' . 'and the following disclaimer[.][ ]' . '[*)]The origin of this software must not be misrepresented[;] ' . 'you must not claim that you wrote the original software[. ]' . 'If you use this software in a product, ' . 'an acknowledgment in the product documentation ' . 'would be appreciated but is not required[.][ ]' . '[*)]Altered source versions must be plainly marked as such, ' . 'and must not be misrepresented as being the original software[.][ ]' . '[*)]The name of the author may not be used ' . 'to endorse or promote products derived from this software ' . 'without specific prior written permission[.]', }; $RE{bzip2_1_0_5} = { name => 'bzip2-1.0.5', 'name.alt.org.spdx.since.date_20140807' => 'bzip2-1.0.5', caption => 'bzip2 and libbzip2 License v1.0.5', tags => [ 'license:is:grant', 'type:singleversion:bzip2', ], licenseversion => '1.0.5', 'pat.alt.subject.license' => 'This program, ["]?bzip2["]?(?: and|, the) associated library ["]?libbzip2["]?, ' . '(?:and all documentation, )?' . 'are copyright[c] 1996[-]2007', }; $RE{bzip2_1_0_6} = { name => 'bzip2-1.0.6', 'name.alt.org.spdx.since.date_20140807' => 'bzip2-1.0.6', 'name.alt.org.tldr.synth.nogrant' => 'bzip2', caption => 'bzip2 and libbzip2 License v1.0.6', 'caption.alt.org.tldr.synth.nogrant' => 'bzip2 (original)', tags => [ 'license:is:grant', 'type:singleversion:bzip2', ], licenseversion => '1.0.6', 'pat.alt.subject.license' => 'This program, ["]?bzip2["]?(?: and|, the) associated library ["]?libbzip2["]?, ' . '(?:and all documentation, )?' . 'are copyright[c] 1996[-]2010', }; =item * cal I =item * cal_1 I =cut $RE{cal} = { name => 'CAL', caption => 'Cryptographic Autonomy License', tags => [ 'type:versioned:decimal', ], }; $RE{cal_1} = { name => 'CAL-1.0', 'name.alt.org.osi' => 'CAL-1.0', 'name.alt.org.spdx.since.date_20200515' => 'CAL-1.0', caption => 'Cryptographic Autonomy License 1.0', 'caption.alt.org.osi' => 'Cryptographic Autonomy License version 1.0', 'caption.alt.org.osi.misc.list' => 'Cryptographic Autonomy License v.1.0', 'caption.alt.misc.legal' => 'The Cryptographic Autonomy License, v. 1.0', 'iri.alt.misc.github' => 'https://github.com/holochain/cryptographic-autonomy-license', tags => [ 'type:singleversion:cal', ], licenseversion => '1.0', 'pat.alt.subject.license' => 'This Cryptographic Autonomy License [(]the ["]License["][)] ' . 'applies to any Work ' . 'whose owner has marked it', }; =item * caldera =cut $RE{caldera} = { name => 'Caldera', 'name.alt.org.spdx.since.date_20140807' => 'Caldera', caption => 'Caldera License', 'caption.alt.org.tldr' => 'Caldera License', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'Caldera International, Inc\. hereby grants a fee free license', }; =item * catosl =item * catosl_1_1 =cut $RE{catosl} = { name => 'CATOSL', caption => 'Computer Associates Trusted Open Source License', tags => [ 'type:versioned:decimal', ], }; $RE{catosl_1_1} = { name => 'CATOSL-1.1', 'name.alt.org.fedora.synth.nogrant' => 'CATOSL', 'name.alt.org.osi' => 'CATOSL-1.1', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'ca-tosl1.0', 'name.alt.org.spdx' => 'CATOSL-1.1', 'name.alt.org.wikidata.synth.nogrant' => 'Q38365570', 'name.alt.misc.fossology_old' => 'CA1.1', caption => 'Computer Associates Trusted Open Source License 1.1', 'caption.alt.org.tldr' => 'Computer Associates Trusted Open Source License 1.1 (CATOSL-1.1)', 'caption.alt.org.wikidata' => 'Computer Associates Trusted Open Source License, Version 1.1', tags => [ 'type:singleversion:catosl', ], licenseversion => '1.1', 'pat.alt.subject.license' => 'Contribution means[*)]in the case of CA, the Original Program', }; =item * cc_by =item * cc_by_1 I =item * cc_by_2 I =item * cc_by_2_5 I =item * cc_by_3 I =item * cc_by_4 I =cut # sources of introduction and expiry dates: # # # my $if_dist_work_or_works_keep_intact_notices = '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'; my $if_dist_work_or_collections_keep_intact_notices = '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'; my $credit_author_if_supplied = ' 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;'; my $credit_author_or_designated_party = ' provide, reasonable to the medium or means You are utilizing[:]?' . ' [*)] 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' . ' [(][eg] a sponsor institute, publishing entity, journal[)]' . ' for attribution in Licensor[\']?s copyright notice, terms of service or by other reasonable means,' . ' the name of such party or parties;'; #" if the Original Author and[/]or Licensor designate another party or parties [(][eg], a sponsor institute, publishing entity, journal[)] for attribution [(]["]Attribution Parties["][)] in Licensor[']?s copyright notice, terms of service or by other reasonable means, the name of such party or parties;"; #' [*)] the title of the Work if supplied;'; my $to_extend_URI = ' to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work,' . ' unless such URI does not refer to the copyright notice or licensing information for the Work; and'; # ' (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and' #" (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and[/]or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and[/]or Attribution Parties. $RE{cc_by} = { name => 'CC-BY', 'name.alt.org.fedora' => 'CC-BY', 'name.alt.org.cc' => 'CC-BY', 'name.alt.org.wikidata.synth.nogrant' => 'Q6905323', 'name.alt.misc.fossology_old_vague.synth.nogrant' => 'CCPL', 'name.alt.misc.fossology_old_vague_short.synth.nogrant' => 'CCA', caption => 'Creative Commons Attribution', 'caption.alt.org.fedora' => 'Creative Commons Attribution license', tags => [ 'family:cc:standard', 'type:versioned:decimal', ], 'pat.alt.subject.name' => '(?:' . $P{cc} . '[- ](?:' . $P{cc_by} . '|BY|' . $P{cc_url} . 'by))', }; $RE{cc_by_1} = { name => 'CC-BY-1.0', 'name.alt.org.cc' => 'CC-BY-1.0', 'name.alt.org.spdx' => 'CC-BY-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q30942811', 'name.alt.misc.fossology_old_vague.synth.nogrant' => 'CCA1.0', caption => 'Creative Commons Attribution 1.0 Generic', 'caption.alt.org.cc' => 'Creative Commons Attribution 1.0 Generic License', 'caption.alt.org.cc.misc.legal.synth.nogrant' => 'Attribution 1.0', 'caption.alt.org.cc.misc.shortname' => 'CC BY 1.0', 'caption.alt.org.cc.misc.deed' => 'Attribution 1.0 Generic (CC BY 1.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution 1.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution 1.0 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution 1.0', 'caption.alt.org.wikidata' => 'Creative Commons Attribution 1.0 Generic', iri => 'https://creativecommons.org/licenses/by/1.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection.part.part4' => 'as requested[. ]' . '[*)]?' . $if_dist_work_or_works_keep_intact_notices . $credit_author_if_supplied . ' the title of the Work if supplied;' . ' in the case of a Derivative', }; $RE{cc_by_2} = { name => 'CC-BY-2.0', 'name.alt.org.cc.since.date_20040525' => 'CC-BY-2.0', 'name.alt.org.spdx' => 'CC-BY-2.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q19125117', 'name.alt.misc.fossology_old_vague.synth.nogrant' => 'CCPL_v2.0', caption => 'Creative Commons Attribution 2.0', 'caption.alt.org.cc' => 'Creative Commons Attribution 2.0 Generic License', 'caption.alt.org.cc.misc.legal.synth.nogrant' => 'Attribution 2.0', 'caption.alt.org.cc.misc.shortname' => 'CC BY 2.0', 'caption.alt.org.cc.misc.deed' => 'Attribution 2.0 Generic (CC BY 2.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution 2.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution 2.0 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution 2.0', 'caption.alt.org.wikidata' => 'Creative Commons Attribution 2.0 Generic', iri => 'https://creativecommons.org/licenses/by/2.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.multisection.part.part4' => 'as requested[. ]' . '[*)]?' . $if_dist_work_or_works_keep_intact_notices . $credit_author_if_supplied . ' the title of the Work if supplied;' . $to_extend_URI . ' in the case of a Derivative', }; $RE{cc_by_2_5} = { name => 'CC-BY-2.5', 'name.alt.org.cc.since.date_20050600' => 'CC-BY-2.5', 'name.alt.org.spdx' => 'CC-BY-2.5', 'name.alt.org.wikidata.synth.nogrant' => 'Q18810333', 'name.alt.misc.fossology_old_vague.synth.nogrant' => 'CCPL_v2.5', 'name.alt.misc.fossology_old_vague_short.synth.nogrant' => 'CCA_v2.5', 'name.alt.misc.fossology_old_vague_shorter.synth.nogrant' => 'CCA2.5', caption => 'Creative Commons Attribution 2.5', 'caption.alt.org.cc' => 'Creative Commons Attribution 2.5 Generic License', 'caption.alt.org.cc.misc.legal.synth.nogrant' => 'Attribution 2.5', 'caption.alt.org.cc.misc.shortname' => 'CC BY 2.5', 'caption.alt.org.cc.misc.deed' => 'Attribution 2.5 Generic (CC BY 2.5)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution 2.5', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution 2.5 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution 2.5', 'caption.alt.org.wikidata' => 'Creative Commons Attribution 2.5 Generic', iri => 'https://creativecommons.org/licenses/by/2.5/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by', ], licenseversion => '2.5', 'pat.alt.subject.license.scope.multisection.part.part4' => 'as requested[. ]' . '[*)]?' . $if_dist_work_or_works_keep_intact_notices . $credit_author_or_designated_party . ' the title of the Work if supplied;' . $to_extend_URI . ' in the case of a Derivative', }; $RE{cc_by_3} = { name => 'CC-BY-3.0', 'name.alt.org.cc.since.date_20070223' => 'CC-BY-3.0', 'name.alt.org.spdx' => 'CC-BY-3.0', 'name.alt.org.tldr.synth.nogrant' => 'creative-commons-attribution-(cc)', 'name.alt.org.wikidata.synth.nogrant' => 'Q14947546', 'name.alt.misc.fossology_old_vague.synth.nogrant' => 'CCPL_v3.0', 'name.alt.misc.fossology_old_vague_short.synth.nogrant' => 'CCA3.0', caption => 'Creative Commons Attribution 3.0', 'caption.alt.org.cc' => 'Creative Commons Attribution 3.0 Unported License', 'caption.alt.org.cc.misc.modern' => 'Creative Commons Attribution 3.0 International License', 'caption.alt.org.cc.misc.legal' => 'Attribution 3.0 Unported', 'caption.alt.org.cc.misc.shortname' => 'CC BY 3.0', 'caption.alt.org.cc.misc.deed' => 'Attribution 3.0 Unported (CC BY 3.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution 3.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution 3.0 Unported', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution 3.0', 'caption.alt.org.tldr' => 'Creative Commons Attribution 3.0 Unported (CC-BY)', 'caption.alt.org.wikidata' => 'Creative Commons Attribution 3.0 Unported', iri => 'https://creativecommons.org/licenses/by/3.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by', ], licenseversion => '3.0', 'pat.alt.subject.license.scope.multisection.part.part4' => 'as requested[. ]' . '[*)]?' . $if_dist_work_or_collections_keep_intact_notices # . $credit_author_or_designated_party # . ' the title of the Work if supplied;' # . ' to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and' # . ' in the case of a Derivative', }; $RE{cc_by_4} = { name => 'CC-BY-4.0', 'name.alt.org.cc.since.date_20131125' => 'CC-BY-4.0', 'name.alt.org.spdx.since.date_20140807' => 'CC-BY-4.0', 'name.alt.org.tldr' => 'creative-commons-attribution-4.0-international-(cc-by-4)', 'name.alt.org.tldr.path.short' => 'ccby4', 'name.alt.org.wikidata.synth.nogrant' => 'Q20007257', caption => 'Creative Commons Attribution 4.0', 'caption.alt.org.cc' => 'Creative Commons Attribution 4.0 International License', 'caption.alt.org.cc.misc.legal.synth.nogrant' => 'Attribution 4.0 International', 'caption.alt.org.cc.misc.shortname' => 'CC BY 4.0', 'caption.alt.org.cc.misc.deed' => 'Attribution 4.0 International (CC BY 4.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution 4.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution 4.0 International', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution 4.0', 'caption.alt.org.tldr' => 'Creative Commons Attribution 4.0 International (CC BY 4.0)', 'caption.alt.org.wikidata' => 'Creative Commons Attribution 4.0 International', iri => 'https://creativecommons.org/licenses/by/4.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by', ], licenseversion => '4.0', 'pat.alt.subject.license.scope.sentence.part.intro' => $cc_by_exercising_you_accept_this . 'Creative Commons Attribution 4.0', }; =item * cc_by_nc =item * cc_by_nc_1 I =item * cc_by_nc_2 I =item * cc_by_nc_2_5 I =item * cc_by_nc_3 I =item * cc_by_nc_4 I =cut $RE{cc_by_nc} = { name => 'CC-BY-NC', 'name.alt.org.cc' => 'CC-BY-NC', 'name.alt.org.wikidata.synth.nogrant' => 'Q6936496', caption => 'Creative Commons Attribution-NonCommercial', 'caption.alt.org.fedora' => 'Creative Commons Attribution-NonCommercial', tags => [ 'family:cc:standard', 'type:versioned:decimal', ], 'pat.alt.subject.name' => '(?:' . $P{cc} . '[- ](?:' . $P{cc_by} . '[- ]' . $P{cc_nc} . '|BY[- ]NC|' . $P{cc_url} . 'by-nc))', }; $RE{cc_by_nc_1} = { name => 'CC-BY-NC-1.0', 'name.alt.org.cc' => 'CC-BY-NC-1.0', 'name.alt.org.spdx' => 'CC-BY-NC-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q44283370', caption => 'Creative Commons Attribution-NonCommercial 1.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial 1.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial 1.0', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC 1.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial 1.0 Generic (CC BY-NC 1.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial 1.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial 1.0 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial 1.0', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial 1.0 Generic', iri => 'https://creativecommons.org/licenses/by-nc/1.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc', ], licenseversion => '1.0', }; $RE{cc_by_nc_2} = { name => 'CC-BY-NC-2.0', 'name.alt.org.cc.since.date_20040525' => 'CC-BY-NC-2.0', 'name.alt.org.spdx' => 'CC-BY-NC-2.0', 'name.alt.org.tldr' => 'creative-commons-public-license-(ccpl)', 'name.alt.org.wikidata.synth.nogrant' => 'Q44128984', caption => 'Creative Commons Attribution-NonCommercial 2.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial 2.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial 2.0', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC 2.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial 2.0 Generic (CC BY-NC 2.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial 2.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial 2.0 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial 2.0', 'caption.alt.org.tldr' => 'Creative Commons Attribution-NonCommercial 2.0 Generic (CC BY-NC 2.0)', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial 2.0 Generic', iri => 'https://creativecommons.org/licenses/by-nc/2.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc', ], licenseversion => '2.0', }; $RE{cc_by_nc_2_5} = { name => 'CC-BY-NC-2.5', 'name.alt.org.cc.since.date_20050600' => 'CC-BY-NC-2.5', 'name.alt.org.spdx' => 'CC-BY-NC-2.5', 'name.alt.org.wikidata.synth.nogrant' => 'Q19113746', caption => 'Creative Commons Attribution-NonCommercial 2.5', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial 2.5 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial 2.5', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC 2.5', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial 2.5 Generic (CC BY-NC 2.5)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial 2.5', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial 2.5 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial 2.5', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial 2.5 Generic', iri => 'https://creativecommons.org/licenses/by-nc/2.5/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc', ], licenseversion => '2.5', }; $RE{cc_by_nc_3} = { name => 'CC-BY-NC-3.0', 'name.alt.org.cc.since.date_20070223' => 'CC-BY-NC-3.0', 'name.alt.org.spdx' => 'CC-BY-NC-3.0', 'name.alt.org.tldr.synth.nogrant' => 'creative-commons-attribution-noncommercial-(cc-nc)', 'name.alt.org.wikidata.synth.nogrant' => 'Q18810331', caption => 'Creative Commons Attribution-NonCommercial 3.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial 3.0 Unported License', 'caption.alt.org.cc.misc.modern' => 'Creative Commons Attribution-NonCommercial 3.0 International License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial 3.0 Unported', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC 3.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial 3.0 Unported (CC BY-NC 3.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial 3.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial 3.0 Unported', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial 3.0', 'caption.alt.org.tldr.synth.nogrant' => 'Creative Commons Attribution NonCommercial (CC-BY-NC)', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial 3.0 Unported', iri => 'https://creativecommons.org/licenses/by-nc/3.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc', ], licenseversion => '3.0', }; $RE{cc_by_nc_4} = { name => 'CC-BY-NC-4.0', 'name.alt.org.cc.since.date_20131125' => 'CC-BY-NC-4.0', 'name.alt.org.spdx.since.date_20140807' => 'CC-BY-NC-4.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q34179348', caption => 'Creative Commons Attribution-NonCommercial 4.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial 4.0 International License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial 4.0 International', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC 4.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial 4.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial 4.0 International', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial 4.0', 'caption.alt.org.tldr' => 'Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial 4.0 International', iri => 'https://creativecommons.org/licenses/by-nc/4.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc', ], licenseversion => '4.0', 'pat.alt.subject.license.scope.sentence.part.intro' => $cc_by_exercising_you_accept_this . 'Creative Commons Attribution-NonCommercial 4.0', }; =item * cc_by_nc_nd =item * cc_by_nc_nd_1 I =item * cc_by_nc_nd_2 I =item * cc_by_nc_nd_2_5 I =item * cc_by_nc_nd_3 I =item * cc_by_nc_nd_4 I =cut $RE{cc_by_nc_nd} = { name => 'CC-BY-NC-ND', 'name.alt.org.cc' => 'CC-BY-NC-ND', 'name.alt.org.wikidata.synth.nogrant' => 'Q6937225', caption => 'Creative Commons Attribution-NonCommercial-NoDerivatives', 'caption.alt.org.cc.misc.abbrev' => 'Creative Commons Attribution-NonCommercial-NoDerivs', 'caption.alt.org.cc.misc.abbrev_flipped' => 'Creative Commons Attribution-NoDerivs-NonCommercial', 'caption.alt.org.fedora' => 'Creative Commons Attribution-NonCommercial-NoDerivs', tags => [ 'family:cc:standard', 'type:versioned:decimal', ], 'pat.alt.subject.name' => '(?:' . $P{cc} . '[- ](?:' . $P{cc_by} . '[- ](?:' . $P{cc_nc} . '[- ]' . $P{cc_nd} . '|' . $P{cc_nd} . '[- ]' . $P{cc_nc} . ')|BY[- ]NC[- ]ND|' . $P{cc_url} . 'by-nc-nd))', }; $RE{cc_by_nc_nd_1} = { name => 'CC-BY-NC-ND-1.0', 'name.alt.org.cc' => 'CC-BY-ND-NC-1.0', 'name.alt.org.spdx' => 'CC-BY-NC-ND-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q47008926', caption => 'Creative Commons Attribution-NoDerivs-NonCommercial 1.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NoDerivs-NonCommercial 1.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NoDerivs-NonCommercial 1.0', 'caption.alt.org.cc.misc.shortname' => 'CC BY-ND-NC 1.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NoDerivs-NonCommercial 1.0 Generic (CC BY-ND-NC 1.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial No Derivatives 1.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial No Derivatives 1.0 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial No Derivatives 1.0', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial-NoDerivs 1.0 Generic', iri => 'https://creativecommons.org/licenses/by-nd-nc/1.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc_nd', ], licenseversion => '1.0', }; $RE{cc_by_nc_nd_2} = { name => 'CC-BY-NC-ND-2.0', 'name.alt.org.cc.since.date_20040525' => 'CC-BY-NC-ND-2.0', 'name.alt.org.spdx' => 'CC-BY-NC-ND-2.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q47008927', caption => 'Creative Commons Attribution-NonCommercial-NoDerivs 2.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial-NoDerivs 2.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial-NoDerivs 2.0', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC-ND 2.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial-NoDerivs 2.0 Generic (CC BY-NC-ND 2.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial No Derivatives 2.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial No Derivatives 2.0 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial No Derivatives 2.0', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial-NoDerivs 2.0 Generic', iri => 'https://creativecommons.org/licenses/by-nc-nd/2.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc_nd', ], licenseversion => '2.0', }; $RE{cc_by_nc_nd_2_5} = { name => 'CC-BY-NC-ND-2.5', 'name.alt.org.cc.since.date_20050600' => 'CC-BY-NC-ND-2.5', 'name.alt.org.spdx' => 'CC-BY-NC-ND-2.5', 'name.alt.org.wikidata.synth.nogrant' => 'Q19068204', caption => 'Creative Commons Attribution-NonCommercial-NoDerivs 2.5', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial-NoDerivs 2.5', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC-ND 2.5', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial-NoDerivs 2.5 Generic (CC BY-NC-ND 2.5)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial No Derivatives 2.5', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial No Derivatives 2.5 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial No Derivatives 2.5', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial-NoDerivs 2.5 Generic', iri => 'https://creativecommons.org/licenses/by-nc-nd/2.5/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc_nd', ], licenseversion => '2.5', }; $RE{cc_by_nc_nd_3} = { name => 'CC-BY-NC-ND-3.0', 'name.alt.org.cc.since.date_20070223' => 'CC-BY-NC-ND-3.0', 'name.alt.org.spdx' => 'CC-BY-NC-ND-3.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q19125045', caption => 'Creative Commons Attribution-NonCommercial-NoDerivs 3.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License', 'caption.alt.org.cc.misc.modern' => 'Creative Commons Attribution-NonCommercial-NoDerivs 3.0 International License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial-NoDerivs 3.0 Unported', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC-ND 3.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial No Derivatives 3.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial No Derivatives 3.0 Unported', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial No Derivatives 3.0', 'caption.alt.org.tldr.synth.nogrant' => 'Creative Commons Attribution NonCommercial NoDerivs (CC-NC-ND)', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported', iri => 'https://creativecommons.org/licenses/by-nc-nd/3.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc_nd', ], licenseversion => '3.0', }; $RE{cc_by_nc_nd_4} = { name => 'CC-BY-NC-ND-4.0', 'name.alt.org.cc.since.date_20131125' => 'CC-BY-NC-ND-4.0', 'name.alt.org.spdx.since.date_20140807' => 'CC-BY-NC-ND-4.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q24082749', caption => 'Creative Commons Attribution-NonCommercial-NoDerivatives 4.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial-NoDerivatives 4.0 International', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC-ND 4.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial-NoDerivatives 4.0 International (CC BY-NC-ND 4.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial No Derivatives 4.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial No Derivatives 4.0 International', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial No Derivatives 4.0', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International', iri => 'https://creativecommons.org/licenses/by-nc-nd/4.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc_nd', ], licenseversion => '4.0', 'pat.alt.subject.license.scope.sentence.part.intro' => $cc_by_exercising_you_accept_this . 'Creative Commons Attribution-NonCommercial-NoDerivatives 4.0', }; =item * cc_by_nc_sa =item * cc_by_nc_sa_1 I =item * cc_by_nc_sa_2 I =item * cc_by_nc_sa_2_5 I =item * cc_by_nc_sa_3 I =item * cc_by_nc_sa_4 I =cut $RE{cc_by_nc_sa} = { name => 'CC-BY-NC-SA', 'name.alt.org.cc' => 'CC-BY-NC-SA', 'name.alt.org.wikidata.synth.nogrant' => 'Q6998997', caption => 'Creative Commons Attribution-NonCommercial-ShareAlike', 'caption.alt.org.fedora' => 'Creative Commons Attribution-NonCommercial-ShareAlike', 'caption.alt.org.wikidata.until.date_20210809' => 'Creative Commons Attribution–NonCommercial-ShareAlike', 'caption.alt.org.wikidata.since.date_20210809' => 'Creative Commons Attribution-NonCommercial-ShareAlike', tags => [ 'family:cc:standard', 'type:versioned:decimal', ], 'pat.alt.subject.name' => '(?:' . $P{cc} . '[- ](?:' . $P{cc_by} . '[- ]' . $P{cc_nc} . '[- ]' . $P{cc_sa} . '|BY[- ]NC[- ]SA|' . $P{cc_url} . 'by-nc-sa))', }; $RE{cc_by_nc_sa_1} = { name => 'CC-BY-NC-SA-1.0', 'name.alt.org.cc' => 'CC-BY-NC-SA-1.0', 'name.alt.org.spdx' => 'CC-BY-NC-SA-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q47008954', caption => 'Creative Commons Attribution-NonCommercial-ShareAlike 1.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial-ShareAlike 1.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial-ShareAlike 1.0', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC-SA 1.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial-ShareAlike 1.0 Generic (CC BY-NC-SA 1.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial Share Alike 1.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial Share Alike 1.0 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial Share Alike 1.0', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial-ShareAlike 1.0 Generic', iri => 'https://creativecommons.org/licenses/by-nc-sa/1.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc_sa', ], licenseversion => '1.0', }; $RE{cc_by_nc_sa_2} = { name => 'CC-BY-NC-SA-2.0', 'name.alt.org.cc.since.date_20040525' => 'CC-BY-NC-SA-2.0', 'name.alt.org.spdx' => 'CC-BY-NC-SA-2.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q28050835', caption => 'Creative Commons Attribution-NonCommercial-ShareAlike 2.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial-ShareAlike 2.0', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC-SA 2.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial-ShareAlike 2.0 Generic (CC BY-NC-SA 2.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial Share Alike 2.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial Share Alike 2.0 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial Share Alike 2.0', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial-ShareAlike 2.0 Generic', iri => 'https://creativecommons.org/licenses/by-nc-sa/2.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc_sa', ], licenseversion => '2.0', }; $RE{cc_by_nc_sa_2_5} = { name => 'CC-BY-NC-SA-2.5', 'name.alt.org.cc.since.date_20050600' => 'CC-BY-NC-SA-2.5', 'name.alt.org.spdx' => 'CC-BY-NC-SA-2.5', 'name.alt.org.wikidata.synth.nogrant' => 'Q19068212', caption => 'Creative Commons Attribution-NonCommercial-ShareAlike 2.5', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial-ShareAlike 2.5', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC-SA 2.5', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial-ShareAlike 2.5 Generic (CC BY-NC-SA 2.5)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial Share Alike 2.5', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial Share Alike 2.5 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial Share Alike 2.5', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Generic', iri => 'https://creativecommons.org/licenses/by-nc-sa/2.5/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc_sa', ], licenseversion => '2.5', }; $RE{cc_by_nc_sa_3} = { name => 'CC-BY-NC-SA-3.0', 'name.alt.org.cc.since.date_20070223' => 'CC-BY-NC-SA-3.0', 'name.alt.org.spdx' => 'CC-BY-NC-SA-3.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q15643954', caption => 'Creative Commons Attribution-NonCommercial-ShareAlike 3.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License', 'caption.alt.org.cc.misc.modern' => 'Creative Commons Attribution-NonCommercial-ShareAlike 3.0 International License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial-ShareAlike 3.0 Unported', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC-SA 3.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial Share Alike 3.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial Share Alike 3.0 Unported', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial Share Alike 3.0', 'caption.alt.org.tldr.synth.nogrant' => 'Creative Commons Attribution NonCommercial ShareAlike (CC-NC-SA)', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported', iri => 'https://creativecommons.org/licenses/by-nc-sa/3.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc_sa', ], licenseversion => '3.0', }; $RE{cc_by_nc_sa_4} = { name => 'CC-BY-NC-SA-4.0', 'name.alt.org.cc.since.date_20131125' => 'CC-BY-NC-SA-4.0', 'name.alt.org.spdx.since.date_20140807' => 'CC-BY-NC-SA-4.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q42553662', caption => 'Creative Commons Attribution-NonCommercial-ShareAlike 4.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NonCommercial-ShareAlike 4.0 International', 'caption.alt.org.cc.misc.shortname' => 'CC BY-NC-SA 4.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Non Commercial Share Alike 4.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Non Commercial Share Alike 4.0 International', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Non Commercial Share Alike 4.0', 'caption.alt.org.tldr' => 'Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International', iri => 'https://creativecommons.org/licenses/by-nc-sa/4.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nc_sa', ], licenseversion => '4.0', 'pat.alt.subject.license.scope.sentence.part.intro' => $cc_by_exercising_you_accept_this . 'Creative Commons Attribution-NonCommercial-ShareAlike 4.0', }; =item * cc_by_nd =item * cc_by_nd_1 I =item * cc_by_nd_2 I =item * cc_by_nd_2_5 I =item * cc_by_nd_3 I =item * cc_by_nd_4 I =cut $RE{cc_by_nd} = { name => 'CC-BY-ND', 'name.alt.org.cc' => 'CC-BY-ND', 'name.alt.org.fedora' => 'CC-BY-ND', 'name.alt.org.wikidata.synth.nogrant' => 'Q6999319', caption => 'Creative Commons Attribution-NoDerivatives', 'caption.alt.org.cc.misc.abbrev' => 'Creative Commons Attribution-NoDerivs', 'caption.alt.org.fedora' => 'Creative Commons Attribution-NoDerivs', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NoDerivatives', tags => [ 'family:cc:standard', 'type:versioned:decimal', ], 'pat.alt.subject.name' => '(?:' . $P{cc} . '[- ](?:' . $P{cc_by} . '[- ]' . $P{cc_nd} . '|BY[- ]ND|' . $P{cc_url} . 'by-nd))', }; $RE{cc_by_nd_1} = { name => 'CC-BY-ND-1.0', 'name.alt.org.cc' => 'CC-BY-ND-1.0', 'name.alt.org.spdx' => 'CC-BY-ND-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q47008966', caption => 'Creative Commons Attribution-NoDerivs 1.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NoDerivs 1.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NoDerivs 1.0', 'caption.alt.org.cc.misc.shortname' => 'CC BY-ND 1.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NoDerivs 1.0 Generic (CC BY-ND 1.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution No Derivatives 1.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution No Derivatives 1.0 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution No Derivatives 1.0', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NoDerivs 1.0 Generic', iri => 'https://creativecommons.org/licenses/by-nd/1.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nd', ], licenseversion => '1.0', }; $RE{cc_by_nd_2} = { name => 'CC-BY-ND-2.0', 'name.alt.org.cc.since.date_20040525' => 'CC-BY-ND-2.0', 'name.alt.org.spdx' => 'CC-BY-ND-2.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q35254645', caption => 'Creative Commons Attribution-NoDerivs 2.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NoDerivs 2.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NoDerivs 2.0', 'caption.alt.org.cc.misc.shortname' => 'CC BY-ND 2.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NoDerivs 2.0 Generic (CC BY-ND 2.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution No Derivatives 2.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution No Derivatives 2.0 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution No Derivatives 2.0', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NoDerivs 2.0 Generic', iri => 'https://creativecommons.org/licenses/by-nd/2.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nd', ], licenseversion => '2.0', }; $RE{cc_by_nd_2_5} = { name => 'CC-BY-ND-2.5', 'name.alt.org.cc.since.date_20050600' => 'CC-BY-ND-2.5', 'name.alt.org.spdx' => 'CC-BY-ND-2.5', 'name.alt.org.wikidata.synth.nogrant' => 'Q18810338', caption => 'Creative Commons Attribution-NoDerivs 2.5', 'caption.alt.org.cc' => 'Creative Commons Attribution-NoDerivs 2.5 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NoDerivs 2.5', 'caption.alt.org.cc.misc.shortname' => 'CC BY-ND 2.5', 'caption.alt.org.cc.misc.deed' => 'Attribution-NoDerivs 2.5 Generic (CC BY-ND 2.5)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution No Derivatives 2.5', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution No Derivatives 2.5 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution No Derivatives 2.5', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NoDerivs 2.5 Generic', iri => 'https://creativecommons.org/licenses/by-nd/2.5/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nd', ], licenseversion => '2.5', }; $RE{cc_by_nd_3} = { name => 'CC-BY-ND-3.0', 'name.alt.org.cc.since.date_20070223' => 'CC-BY-ND-3.0', 'name.alt.org.spdx' => 'CC-BY-ND-3.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q18810160', caption => 'Creative Commons Attribution-NoDerivs 3.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NoDerivs 3.0 Unported License', 'caption.alt.org.cc.misc.modern' => 'Creative Commons Attribution-NoDerivs 3.0 International License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NoDerivs 3.0 Unported', 'caption.alt.org.cc.misc.shortname' => 'CC BY-ND 3.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NoDerivs 3.0 Unported (CC BY-ND 3.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution No Derivatives 3.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution No Derivatives 3.0 Unported', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution No Derivatives 3.0', 'caption.alt.org.tldr.synth.nogrant' => 'Creative Commons Attribution NoDerivs (CC-ND)', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NoDerivs 3.0 Unported', iri => 'https://creativecommons.org/licenses/by-nd/3.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nd', ], licenseversion => '3.0', }; $RE{cc_by_nd_4} = { name => 'CC-BY-ND-4.0', 'name.alt.org.cc.since.date_20131125' => 'CC-BY-ND-4.0', 'name.alt.org.spdx.since.date_20140807' => 'CC-BY-ND-4.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q36795408', caption => 'Creative Commons Attribution-NoDerivatives 4.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-NoDerivatives 4.0 International License', 'caption.alt.org.cc.misc.legal' => 'Attribution-NoDerivatives 4.0 International', 'caption.alt.org.cc.misc.shortname' => 'CC BY-ND 4.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution No Derivatives 4.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution No Derivatives 4.0 International', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution No Derivatives 4.0', 'caption.alt.org.tldr' => 'Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0)', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-NoDerivs 4.0 International', iri => 'https://creativecommons.org/licenses/by-nd/4.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_nd', ], licenseversion => '4.0', 'pat.alt.subject.license.scope.sentence.part.intro' => $cc_by_exercising_you_accept_this . 'Creative Commons Attribution-NoDerivatives 4.0', }; =item * cc_by_sa =item * cc_by_sa_1 I =item * cc_by_sa_2 I =item * cc_by_sa_2_5 I =item * cc_by_sa_3 I =item * cc_by_sa_4 I =cut $RE{cc_by_sa} = { name => 'CC-BY-SA', 'name.alt.org.cc' => 'CC-BY-SA', 'name.alt.org.fedora' => 'CC-BY-SA', 'name.alt.org.wikidata.synth.nogrant' => 'Q6905942', 'name.alt.misc.fossology_old' => 'CCA_SA', caption => 'Creative Commons Attribution-ShareAlike', tags => [ 'family:cc:standard', 'type:versioned:decimal', ], 'pat.alt.subject.name' => '(?:' . $P{cc} . '[- ](?:' . $P{cc_by} . '[- ]' . $P{cc_sa} . '|BY[- ]SA|' . $P{cc_url} . 'by-sa))', }; $RE{cc_by_sa_1} = { name => 'CC-BY-SA-1.0', 'name.alt.org.cc' => 'CC-BY-SA-1.0', 'name.alt.org.spdx' => 'CC-BY-SA-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q47001652', 'name.alt.misc.fossology_old' => 'CCA_SA_v1.0', 'name.alt.misc.fossology_old_short' => 'CCA_SA1.0', caption => 'Creative Commons Attribution-ShareAlike 1.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-ShareAlike 1.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-ShareAlike 1.0', 'caption.alt.org.cc.misc.shortname' => 'CC BY-SA 1.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-ShareAlike 1.0 Generic (CC BY-SA 1.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Share Alike 1.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Share Alike 1.0 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Share Alike 1.0', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-ShareAlike 1.0 Generic', iri => 'https://creativecommons.org/licenses/by-sa/1.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_sa', ], licenseversion => '1.0', }; $RE{cc_by_sa_2} = { name => 'CC-BY-SA-2.0', 'name.alt.org.cc.since.date_20040525' => 'CC-BY-SA-2.0', 'name.alt.org.spdx' => 'CC-BY-SA-2.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q19068220', caption => 'Creative Commons Attribution-ShareAlike 2.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-ShareAlike 2.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-ShareAlike 2.0', 'caption.alt.org.cc.misc.shortname' => 'CC BY-SA 2.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-ShareAlike 2.0 Generic (CC BY-SA 2.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Share Alike 2.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Share Alike 2.0 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Share Alike 2.0', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-ShareAlike 2.0 Generic', iri => 'https://creativecommons.org/licenses/by-sa/2.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_sa', ], licenseversion => '2.0', }; $RE{cc_by_sa_2_5} = { name => 'CC-BY-SA-2.5', 'name.alt.org.cc.since.date_20050600' => 'CC-BY-SA-2.5', 'name.alt.org.spdx' => 'CC-BY-SA-2.5', 'name.alt.org.wikidata.synth.nogrant' => 'Q19113751', 'name.alt.misc.fossology_old' => 'CCA_SA_v2.5', 'name.alt.misc.fossology_old_short' => 'CCA_SA2.5', caption => 'Creative Commons Attribution-ShareAlike 2.5', 'caption.alt.org.cc' => 'Creative Commons Attribution-ShareAlike 2.5 Generic License', 'caption.alt.org.cc.misc.legal' => 'Attribution-ShareAlike 2.5', 'caption.alt.org.cc.misc.shortname' => 'CC BY-SA 2.5', 'caption.alt.org.cc.misc.deed' => 'Attribution-ShareAlike 2.5 Generic (CC BY-SA 2.5)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Share Alike 2.5', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Share Alike 2.5 Generic', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Share Alike 2.5', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-ShareAlike 2.5 Generic', iri => 'https://creativecommons.org/licenses/by-sa/2.5/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_sa', ], licenseversion => '2.5', }; $RE{cc_by_sa_3} = { name => 'CC-BY-SA-3.0', 'name.alt.org.cc.since.date_20070223' => 'CC-BY-SA-3.0', 'name.alt.org.spdx' => 'CC-BY-SA-3.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q14946043', 'name.alt.misc.fossology_old' => 'CCA_SA_v3.0', 'name.alt.misc.fossology_old_short' => 'CCA_SA3.0', caption => 'Creative Commons Attribution-ShareAlike 3.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-ShareAlike 3.0 Unported License', 'caption.alt.org.cc.misc.modern' => 'Creative Commons Attribution-ShareAlike 3.0 International License', 'caption.alt.org.cc.misc.legal' => 'Attribution-ShareAlike 3.0 Unported', 'caption.alt.org.cc.misc.shortname' => 'CC BY-SA 3.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Share Alike 3.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Share Alike 3.0 Unported', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Share Alike 3.0', 'caption.alt.org.tldr.synth.nogrant' => 'Creative Commons Attribution Share Alike (CC-SA)', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-ShareAlike 3.0 Unported', iri => 'https://creativecommons.org/licenses/by-sa/3.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_sa', ], licenseversion => '3.0', }; $RE{cc_by_sa_4} = { name => 'CC-BY-SA-4.0', 'name.alt.org.cc.since.date_20131125' => 'CC-BY-SA-4.0', 'name.alt.org.spdx.since.date_20140807' => 'CC-BY-SA-4.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q18199165', caption => 'Creative Commons Attribution-ShareAlike 4.0', 'caption.alt.org.cc' => 'Creative Commons Attribution-ShareAlike 4.0 International License', 'caption.alt.org.cc.misc.legal' => 'Attribution-ShareAlike 4.0 International', 'caption.alt.org.cc.misc.shortname' => 'CC BY-SA 4.0', 'caption.alt.org.cc.misc.deed' => 'Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)', 'caption.alt.org.spdx.until.date_20150513' => 'Creative Commons Attribution Share Alike 4.0', 'caption.alt.org.spdx.since.date_20150513.until.date_20150730' => 'Creative Commons Attribution Share Alike 4.0 International', 'caption.alt.org.spdx.since.date_20150730' => 'Creative Commons Attribution Share Alike 4.0', 'caption.alt.org.tldr' => 'Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)', 'caption.alt.org.wikidata' => 'Creative Commons Attribution-ShareAlike 4.0 International', iri => 'https://creativecommons.org/licenses/by-sa/4.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_by_sa', ], licenseversion => '4.0', 'pat.alt.subject.license.scope.sentence.part.intro' => $cc_by_exercising_you_accept_this . 'Creative Commons Attribution-ShareAlike 4.0', }; =item * cc_cc0 =item * cc_cc0_1 I =cut $RE{cc_cc0} = { name => 'CC0', 'name.alt.org.cc' => 'CC0', 'name.alt.org.wikidata.synth.nogrant' => 'Q6938433', caption => 'Creative Commons CC0', 'caption.alt.org.fedora' => 'Creative Commons Zero 1.0 Universal', 'caption.alt.org.wikidata' => 'CC0', 'caption.alt.misc.zero' => 'Creative Commons Zero', 'iri.alt.org.wikipedia' => 'https://en.wikipedia.org/wiki/Creative_Commons_license#Zero_/_public_domain', tags => [ 'family:cc:zero', 'type:versioned:decimal', ], 'pat.alt.subject.name' => '(?:' . $P{cc} . '[- ](?:' . $P{cc_cc0} . '(?: [(]?["]?CC0["]?[)]?)?|CC0|' . $P{cc_url_pd} . 'zero))', 'pat.alt.subject.grant' => 'has waived all copyright and related or neighboring rights', }; $RE{cc_cc0_1} = { name => 'CC0-1.0', 'name.alt.org.cc' => 'CC0-1.0', 'name.alt.org.spdx' => 'CC0-1.0', 'name.alt.org.tldr' => 'creative-commons-cc0-1.0-universal', 'name.alt.org.tldr.path.short' => 'cc0-1.0', caption => 'Creative Commons CC0 1.0', 'caption.alt.org.cc.misc.legal' => 'CC0 1.0 Universal', 'caption.alt.org.cc.misc.shortname' => 'CC0 1.0', 'caption.alt.org.cc.misc.deed' => 'CC0 1.0 Universal (CC0 1.0) Public Domain Dedication', 'caption.alt.org.spdx' => 'Creative Commons Zero v1.0 Universal', 'caption.alt.org.tldr' => 'Creative Commons CC0 1.0 Universal (CC-0)', 'caption.alt.org.trove' => 'CC0 1.0 Universal (CC0 1.0)', 'caption.alt.org.trove.misc.short' => 'CC0 1.0', iri => 'https://creativecommons.org/publicdomain/zero/1.0/', 'iri.alt.org.wikipedia' => 'https://en.wikipedia.org/wiki/Creative_Commons_license#Zero_/_public_domain', tags => [ 'family:cc:zero', 'type:singleversion:cc_cc0', ], licenseversion => '1.0', 'pat.alt.subject.grant' => 'has waived all copyright and related or neighboring rights', }; =item * cc_devnations I =item * cc_devnations_2 I =cut $RE{cc_devnations} = { name => 'CC-DevNations', 'name.alt.org.cc.until.date_20070604' => 'CC-DevNations', caption => 'Creative Commons Developing Nations', tags => [ 'family:cc:standard', 'type:versioned:decimal', ], }; $RE{cc_devnations_2} = { name => 'CC-DevNations-2.0', 'name.alt.org.cc.since.date_20040913.until.date_20070604' => 'CC-DevNations-2.0', caption => 'Creative Commons Developing Nations 2.0', 'caption.alt.org.cc.synth.nogrant' => 'Developing Nations License', 'caption.alt.org.cc.misc.legal' => 'Developing Nations 2.0', iri => 'https://creativecommons.org/licenses/devnations/2.0/', description => <<'END', Release: Expiry: END tags => [ 'family:cc:standard', 'type:singleversion:cc_devnations', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.sentence.part.definition_c' => '["]Developing Nation["] means any nation that is not classified', }; =item * cc_nc I =item * cc_nc_1 I =cut $RE{cc_nc} = { name => 'CC-NC', 'name.alt.org.cc.until.date_20040525' => 'CC-NC', 'name.alt.org.wikidata.synth.nogrant' => 'Q65071627', caption => 'Creative Commons NonCommercial', tags => [ 'family:cc:standard', 'type:versioned:decimal', ], }; $RE{cc_nc_1} = { name => 'CC-NC-1.0', 'name.alt.org.cc.until.date_20040525' => 'CC-NC-1.0', caption => 'Creative Commons NonCommercial 1.0', 'caption.alt.org.cc' => 'Creative Commons NonCommercial 1.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'NonCommercial 1.0', 'caption.alt.org.cc.misc.shortname' => 'CC NC 1.0', 'caption.alt.org.cc.misc.deed' => 'NonCommercial 1.0 Generic (CC NC 1.0)', iri => 'https://creativecommons.org/licenses/nc/1.0/', tags => [ 'family:cc:standard', 'type:singleversion:cc_nc', ], licenseversion => '1.0', }; =item * cc_nc_sa I =item * cc_nc_sa_1 I =cut $RE{cc_nc_sa} = { name => 'CC-NC-SA', 'name.alt.org.cc.until.date_20040525' => 'CC-NC-SA', caption => 'Creative Commons NonCommercial-ShareAlike', tags => [ 'family:cc:standard', 'type:versioned:decimal', ], }; $RE{cc_nc_sa_1} = { name => 'CC-NC-SA-1.0', 'name.alt.org.cc.until.date_20040525' => 'CC-NC-SA-1.0', caption => 'Creative Commons NonCommercial-ShareAlike 1.0', 'caption.alt.org.cc' => 'Creative Commons NonCommercial-ShareAlike 1.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'NonCommercial-ShareAlike 1.0', 'caption.alt.org.cc.misc.shortname' => 'CC NC-SA 1.0', 'caption.alt.org.cc.misc.deed' => 'NonCommercial-ShareAlike 1.0 Generic (CC NC-SA 1.0)', iri => 'https://creativecommons.org/licenses/nc-sa/1.0/', description => <<'END', Expiry: END tags => [ 'family:cc:standard', 'type:singleversion:cc_nc_sa', ], licenseversion => '1.0', }; =item * cc_nc_sp I =item * cc_nc_sp_1 I =cut $RE{cc_nc_sp} = { name => 'CC-NC-SP', 'name.alt.org.cc.since.date_20041112.until.date_20110912' => 'CC-NC-Sampling+', caption => 'Creative Commons NonCommercial Sampling Plus', tags => [ 'family:cc:recombo', 'type:versioned:decimal', ], }; $RE{cc_nc_sp_1} = { name => 'CC-NC-SP-1.0', 'name.alt.org.cc.since.date_20041112.until.date_20110912' => 'CC-NC-Sampling+-1.0', caption => 'Creative Commons NonCommercial Sampling Plus 1.0', 'caption.alt.org.cc' => 'NonCommercial Sampling Plus 1.0', 'caption.alt.org.cc.misc.shortname' => 'CC NC-Sampling+ 1.0', iri => 'https://creativecommons.org/licenses/nc-sampling+/1.0/', description => <<'END', Release: Expiry: END tags => [ 'family:cc:recombo', 'type:singleversion:cc_nc_sp', ], licenseversion => '1.0', }; =item * cc_nd_nc I =item * cc_nd_nc_1 I =cut $RE{cc_nd_nc} = { name => 'CC-ND-NC', 'name.alt.org.cc.until.date_20040525' => 'CC-ND-NC', caption => 'Creative Commons NoDerivs-NonCommercial', 'caption.alt.org.cc.misc.long' => 'Creative Commons NoDerivatives-NonCommercial', 'caption.alt.org.cc.misc.flipped' => 'Creative Commons NonCommercial-NoDerivs', tags => [ 'family:cc:standard', 'type:versioned:decimal', ], }; $RE{cc_nd_nc_1} = { name => 'CC-ND-NC-1.0', 'name.alt.org.cc.until.date_20040525' => 'CC-ND-NC-1.0', caption => 'Creative Commons NoDerivs-NonCommercial 1.0', 'caption.alt.org.cc' => 'Creative Commons NoDerivs-NonCommercial 1.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'NoDerivs-NonCommercial 1.0', 'caption.alt.org.cc.misc.shortname' => 'CC ND-NC 1.0', 'caption.alt.org.cc.misc.deed' => 'NoDerivs-NonCommercial 1.0 Generic (CC ND-NC 1.0)', iri => 'https://creativecommons.org/licenses/nd-nc/1.0/', description => <<'END', Expiry: END tags => [ 'family:cc:standard', 'type:singleversion:cc_nd_nc', ], licenseversion => '1.0', }; =item * cc_nd I =item * cc_nd_1 I =cut $RE{cc_nd} = { name => 'CC-ND', 'name.alt.org.cc.until.date_20040525' => 'CC-ND', caption => 'Creative Commons NoDerivs', 'caption.alt.org.cc.misc.long' => 'Creative Commons NoDerivatives', tags => [ 'family:cc:standard', 'type:versioned:decimal', ], }; $RE{cc_nd_1} = { name => 'CC-ND-1.0', 'name.alt.org.cc.until.date_20040525' => 'CC-ND-1.0', caption => 'Creative Commons NoDerivs 1.0', 'caption.alt.org.cc' => 'Creative Commons NoDerivs 1.0 Generic License', 'caption.alt.org.cc.misc.legal' => 'NoDerivs 1.0', 'caption.alt.org.cc.misc.shortname' => 'CC ND 1.0', 'caption.alt.org.cc.misc.deed' => 'NoDerivs 1.0 Generic (CC ND 1.0)', iri => 'https://creativecommons.org/licenses/nd/1.0/', description => <<'END', Expiry: END tags => [ 'family:cc:standard', 'type:singleversion:cc_nd', ], licenseversion => '1.0', }; =item * cc_pd I =item * cc_pdd I =item * cc_pddc I =cut $RE{cc_pd} = { name => 'CC-PD', 'name.alt.org.cc.until.date_20101011' => 'CC-PD', caption => 'Creative Commons Public Domain', description => <<'END', Casual name for either "Public Domain Dedication and Certification" or its predecessor "Public Domain Dedication". END iri => 'https://creativecommons.org/licenses/publicdomain/', tags => [ 'family:cc:publicdomain', 'type:unversioned', ], }; $RE{cc_pdd} = { name => 'CC-PDD', 'name.alt.org.cc.until.date_20040525' => 'CC-PDD', caption => 'Creative Commons Public Domain Dedication', 'caption.alt.org.cc.misc.deed' => 'Creative Commons Copyright-Only Dedication (based on United States law)', 'iri.alt.archive.time_20040202011504' => 'https://creativecommons.org/licenses/publicdomain/', description => <<'END', Expiry: Possibly with revision 2.0 of the main licenses. END tags => [ 'family:cc:publicdomain', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'The person or persons who have associated their work with this document', }; $RE{cc_pddc} = { name => 'CC-PDDC', 'name.alt.org.cc.since.date_20040525.until.date_20101011' => 'CC-PDDC', 'name.alt.org.spdx.since.date_20190710' => 'CC-PDDC', caption => 'Creative Commons Public Domain Dedication and Certification', 'caption.alt.org.cc.misc.long' => 'Creative Commons Copyright-Only Dedication (based on United States law) or Public Domain Certification', description => <<'END', Expiry: Possibly with revision 2.0 of the main licenses. Expiry: END tags => [ 'family:cc:publicdomain', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'The person or persons who have associated work with this document', }; =item * cc_sa I =item * cc_sa_1 I =cut $RE{cc_sa} = { name => 'CC-SA', 'name.alt.org.cc.until.date_20040525' => 'CC-SA', caption => 'Creative Commons ShareAlike', tags => [ 'family:cc:standard', 'type:versioned:decimal', ], }; $RE{cc_sa_1} = { name => 'CC-SA-1.0', 'name.alt.org.cc.until.date_20040525' => 'CC-SA-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q75209430', caption => 'Creative Commons ShareAlike 1.0', 'caption.alt.org.cc' => 'Creative Commons ShareAlike 1.0 Generic License', 'caption.alt.org.wikidata' => 'Creative Commons ShareAlike 1.0', 'caption.alt.org.cc.misc.legal' => 'ShareAlike 1.0', 'caption.alt.org.cc.misc.shortname' => 'CC SA 1.0', 'caption.alt.org.cc.misc.deed' => 'ShareAlike 1.0 Generic (CC SA 1.0)', iri => 'https://creativecommons.org/licenses/sa/1.0/', description => <<'END', Expiry: END tags => [ 'family:cc:standard', 'type:singleversion:cc_sa', ], licenseversion => '1.0', }; =item * cc_sampling I =item * cc_sampling_1 I =cut $RE{cc_sampling} = { name => 'CC-Sampling', 'name.alt.org.cc.since.date_20031216.until.date_20070604' => 'CC-Sampling', caption => 'Creative Commons Sampling', tags => [ 'family:cc:recombo', 'type:versioned:decimal', ], }; $RE{cc_sampling_1} = { name => 'CC-Sampling-1.0', 'name.alt.org.cc.since.date_20031216.until.date_20070604' => 'CC-Sampling-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q100509915', caption => 'Creative Commons Sampling 1.0', 'caption.alt.org.cc.synth.nogrant' => 'Sampling 1.0', 'caption.alt.org.wikidata' => 'Sampling 1.0', iri => 'https://creativecommons.org/licenses/sampling/1.0/', description => <<'END', Release: Rebranding as recombo: Use with recombo logo: Expiry: END tags => [ 'family:cc:recombo', 'type:singleversion:cc_sampling', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.paragraph.part.part3a' => 'Re-creativity[. ]You may', }; =item * cc_sp =item * cc_sp_1 I =cut $RE{cc_sp} = { name => 'CC-SP', 'name.alt.org.cc.since.date_20031216.until.date_20110912' => 'CC-Sampling+', caption => 'Creative Commons Sampling Plus', tags => [ 'family:cc:recombo', 'type:versioned:decimal', ], 'pat.alt.subject.name' => '(?:' . $P{cc} . '[- ](?:' . $P{cc_sp} . '|' . $P{cc_url} . 'sampling\+))', }; $RE{cc_sp_1} = { name => 'CC-SP-1.0', 'name.alt.org.cc.since.date_20031216.until.date_20110912' => 'CC-Sampling+-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q26913038', caption => 'Creative Commons Sampling Plus 1.0', 'caption.alt.org.cc' => 'Sampling Plus 1.0', 'caption.alt.org.cc.misc.shortname.synth.nogrant' => 'CC Sampling+ 1.0', 'caption.alt.org.fedora' => 'Creative Commons Sampling Plus 1.0', iri => 'https://creativecommons.org/licenses/sampling+/1.0/', description => <<'END', Release: Expiry: END tags => [ 'family:cc:recombo', 'type:singleversion:cc_sp', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.part3a' => 'Re-creativity permitted', }; =item * cddl =item * cddl_1 I =item * cddl_1_1 I =cut $RE{cddl} = { name => 'CDDL', 'name.alt.org.fedora.iri.self' => 'CDDL', 'name.alt.org.wikidata.synth.nogrant' => 'Q304628', caption => 'Common Development and Distribution License', 'caption.alt.org.wikipedia' => 'Common Development and Distribution License', tags => [ 'type:versioned:decimal', ], }; $RE{cddl_1} = { name => 'CDDL-1.0', 'name.alt.org.fedora' => 'CDDL-1.0', 'name.alt.org.osi' => 'CDDL-1.0', 'name.alt.org.osi.iri.stem_plain.until.date_20110430.archive.time_20110426131805' => 'cddl1', 'name.alt.org.spdx' => 'CDDL-1.0', 'name.alt.org.tldr.synth.nogrant' => 'common-development-and-distribution-license-(cddl-1.0)-explained', 'name.alt.org.tldr.path.short' => 'cddl', 'name.alt.org.wikidata.synth.nogrant' => 'Q26996811', 'name.alt.misc.fossology_old' => 'CDDL_v1.0', 'name.alt.misc.fossology_old_short' => 'CDDL1.0', caption => 'Common Development and Distribution License 1.0', 'caption.alt.org.fedora' => 'Common Development Distribution License 1.0', 'caption.alt.org.fedora.iri.cddl' => 'CDDL 1.0', 'caption.alt.org.osi' => 'Common Development and Distribution License 1.0', 'caption.alt.org.tldr' => 'Common Development and Distribution License (CDDL-1.0)', 'caption.alt.org.trove' => 'Common Development and Distribution License 1.0 (CDDL-1.0)', 'caption.alt.org.wikidata' => 'Common Development and Distribution License version 1.0', tags => [ 'type:singleversion:cddl', ], licenseversion => '1.0', 'pat.alt.subject.license' => 'Sun Microsystems, Inc[.] is the initial license steward', }; $RE{cddl_1_1} = { name => 'CDDL-1.1', 'name.alt.org.fedora' => 'CDDL-1.1', 'name.alt.org.spdx' => 'CDDL-1.1', 'name.alt.org.wikidata.synth.nogrant' => 'Q26996804', caption => 'Common Development and Distribution License 1.1', 'caption.alt.org.fedora' => 'Common Development Distribution License 1.1', 'caption.alt.org.fedora.iri.cddl' => 'CDDL 1.1', 'caption.alt.org.wikidata' => 'Common Development and Distribution License version 1.1', tags => [ 'type:singleversion:cddl', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.line.scope.paragraph' => 'Oracle is the initial license steward', }; =item * cecill =item * cecill_1 =item * cecill_1_1 =item * cecill_2 =item * cecill_2_1 =cut $RE{cecill} = { name => 'CECILL', 'name.alt.org.wikidata.synth.nogrant' => 'Q1052189', 'name.alt.misc.short_camelcase' => 'CeCILL', caption => 'CeCILL License', 'caption.alt.misc.last.lang.en' => 'FREE SOFTWARE LICENSE AGREEMENT CeCILL', 'caption.alt.org.steward.lang.en' => 'CeCILL FREE SOFTWARE LICENSE AGREEMENT', 'caption.alt.org.steward.lang.fr' => 'CONTRAT DE LICENCE DE LOGICIEL LIBRE CeCILL', 'caption.alt.org.wikidata' => 'CeCILL', 'caption.alt.org.wikipedia' => 'CeCILL', 'iri.alt.path.sloppy' => 'http://www.cecill.info', tags => [ 'type:versioned:decimal', ], 'pat.alt.subject.name.lang.fr' => '(?:la )?licence CeCILL', 'pat.alt.subject.grant.lang.fr' => 'Ce logiciel est r[é]gi par la licence CeCILL soumise', '_pat.alt.subject.license.lang.en' => [ 'Version 1\.1 of 10[/]26[/]2004', 'Version 2\.0 dated 2006[-]09[-]05', 'Version 2\.1 dated 2013[-]06[-]21', ], '_pat.alt.subject.license.lang.fr' => [ 'Version 1 du 21[/]06[/]2004', 'Version 2\.0 du 2006[-]09[-]05', 'Version 2\.1 du 2013[-]06[-]21', ], }; $RE{cecill_1} = { name => 'CECILL-1.0', 'name.alt.org.spdx' => 'CECILL-1.0', 'name.alt.misc.fossology_old' => 'CeCILL1.0', 'name.alt.misc.short_camelcase' => 'CeCILL-1.0', caption => 'CeCILL Free Software License Agreement v1.0', 'caption.alt.org.steward' => 'CONTRAT DE LICENCE DE LOGICIEL LIBRE CeCILL Version 1', 'caption.alt.org.tldr' => 'CeCILL Free Software License Agreement v1.0 (CECILL-1.0)', 'caption.alt.misc.short' => 'CeCILL License 1.0', iri => 'https://cecill.info/licences/Licence_CeCILL_V1-fr.html', 'iri.alt.format.txt' => 'https://cecill.info/licences/Licence_CeCILL_V1-fr.txt', 'iri.alt.format.pdf' => 'https://cecill.info/licences/Licence_CeCILL-V1_VF.pdf', tags => [ 'type:singleversion:cecill', ], licenseversion => '1.0', 'pat.alt.subject.license.lang.fr' => 'Version 1 du 21[/]06[/]2004', }; $RE{cecill_1_1} = { name => 'CECILL-1.1', 'name.alt.org.fedora.synth.nogrant' => 'CeCILL', 'name.alt.org.spdx' => 'CECILL-1.1', 'name.alt.misc.fossology_old' => 'CeCILL_v1.1', 'name.alt.misc.fossology_old_short' => 'CeCILL1.1', 'name.alt.misc.short_camelcase' => 'CeCILL-1.1', caption => 'CeCILL Free Software License Agreement v1.1', 'caption.alt.org.fedora' => 'CeCILL License v1.1', 'caption.alt.org.steward' => 'FREE SOFTWARE LICENSING AGREEMENT CeCILL Version 1.1', 'caption.alt.org.tldr' => 'CeCILL Free Software License Agreement v1.1 (CECILL-1.1)', 'caption.alt.misc.short' => 'CeCILL License 1.1', iri => 'https://cecill.info/licences/Licence_CeCILL_V1.1-US.html', 'iri.alt.format.txt' => 'https://cecill.info/licences/Licence_CeCILL_V1.1-US.txt', 'iri.alt.format.pdf' => 'https://cecill.info/licences/Licence_CeCILL-V1.1-VA.pdf', tags => [ 'type:singleversion:cecill', ], licenseversion => '1.1', 'pat.alt.subject.license.part.header' => 'Version 1\.1 of 10[/]26[/]2004', 'pat.alt.subject.license.scope.sentence.part.part1_initial_sw_en' => 'for the first time ' . 'under the terms and conditions of the Agreement', 'pat.alt.subject.license.scope.sentence.part.part2_en' => 'Agreement is to grant users the right ' . 'to modify and redistribute the software governed', 'pat.alt.subject.license.scope.sentence.part.part5_3_en' => 'redistribute copies ' . 'of the modified or unmodified Software to third parties ', 'pat.alt.subject.license.scope.sentence.part.part5_3_2_en' => 'to all the provisions hereof', 'pat.alt.subject.license.scope.sentence.part.part5_3_3_en' => 'may be distributed under a separate Licensing Agreement', 'pat.alt.subject.license.part.part5_3_4_en' => 'is subject to the provisions of the GPL License', 'pat.alt.subject.license.scope.sentence.part.part6_1_1_en' => 'compliance with the terms and conditions ' . 'under which the Holder has elected to distribute its work ' . 'and no one shall be entitled to and', 'pat.alt.subject.license.scope.sentence.part.part6_1_2_en' => 'the Agreement, for the duration', 'pat.alt.subject.license.scope.sentence.part.part7_2_en' => 'shall be subject to a separate', 'pat.alt.subject.license.part.part8_1_en' => '(?:Subject to the provisions of Article 8\.2, should' . '|subject to providing evidence of it)', 'pat.alt.subject.license.scope.sentence.part.part10_2_en' => 'all licenses that it may have granted ' . 'prior to termination of the Agreement ' . 'shall remain valid subject to their', 'pat.alt.subject.license.scope.sentence.part.part12_3_en' => 'Any or all Software distributed ' . 'under a given version of the Agreement ' . 'may only be subsequently distributed ' . 'under the same version of the Agreement, ' . 'or a subsequent version, ' . 'subject to the provisions of article', 'pat.alt.subject.license.scope.paragraph.part.part13_1_en' => 'The Agreement is governed by French law[. ]' . 'The Parties agree to endeavor to settle', }; $RE{cecill_2} = { name => 'CECILL-2.0', 'name.alt.org.fedora.synth.nogrant' => 'CeCILL', 'name.alt.org.spdx' => 'CECILL-2.0', 'name.alt.org.tldr' => 'cecill-v2', 'name.alt.misc.fossology_old' => 'CeCILL_v2.0', 'name.alt.misc.fossology_old_short' => 'CeCILL2.0', 'name.alt.misc.fossology_old_shorter' => 'CeCILL_v2', 'name.alt.misc.short_camelcase' => 'CeCILL-2.0', caption => 'CeCILL Free Software License Agreement v2.0', 'caption.alt.org.fedora' => 'CeCILL License v2', 'caption.alt.org.steward.lang.en' => 'CeCILL FREE SOFTWARE LICENSE AGREEMENT Version 2.0', 'caption.alt.org.steward.lang.fr' => 'CONTRAT DE LICENCE DE LOGICIEL LIBRE CeCILL Version 2.0', 'caption.alt.org.tldr' => 'CeCILL Free Software License Agreement v2.0 (CECILL-2.0)', 'caption.alt.misc.short' => 'CeCILL License 2.0', 'iri.alt.lang.en' => 'https://cecill.info/licences/Licence_CeCILL_V2-en.html', 'iri.alt.lang.fr' => 'https://cecill.info/licences/Licence_CeCILL_V2-fr.html', 'iri.alt.format.txt.lang.en' => 'https://cecill.info/licences/Licence_CeCILL_V2-en.txt', 'iri.alt.format.txt.lang.fr' => 'https://cecill.info/licences/Licence_CeCILL_V2-fr.txt', tags => [ 'type:singleversion:cecill', ], licenseversion => '2.0', 'pat.alt.subject.license.lang.en' => 'Version 2\.0 dated 2006[-]09[-]05', 'pat.alt.subject.license.lang.fr' => 'Version 2\.0 du 2006[-]09[-]05', 'pat.alt.subject.license.part.gpl' => 'subject to the provisions of one of the versions of the GNU GPL, and', }; $RE{cecill_2_1} = { name => 'CECILL-2.1', 'name.alt.org.osi' => 'CECILL-2.1', 'name.alt.org.spdx.since.date_20150930' => 'CECILL-2.1', 'name.alt.org.trove' => 'CeCILL-2.1', caption => 'CeCILL Free Software License Agreement v2.1', 'caption.alt.org.steward.lang.en' => 'CeCILL FREE SOFTWARE LICENSE AGREEMENT Version 2.1', 'caption.alt.org.steward.lang.fr' => 'CONTRAT DE LICENCE DE LOGICIEL LIBRE CeCILL Version 2.1', 'caption.alt.org.osi' => 'Cea Cnrs Inria Logiciel Libre License, version 2.1', 'caption.alt.org.osi.misc.list' => 'CeCILL License 2.1', 'caption.alt.org.trove' => 'CEA CNRS Inria Logiciel Libre License, version 2.1 (CeCILL-2.1)', 'iri.alt.lang.en' => 'https://cecill.info/licences/Licence_CeCILL_V2.1-en.html', 'iri.alt.lang.fr' => 'https://cecill.info/licences/Licence_CeCILL_V2.1-fr.html', 'iri.alt.format.txt.lang.en' => 'https://cecill.info/licences/Licence_CeCILL_V2.1-en.txt', 'iri.alt.format.txt.lang.fr' => 'https://cecill.info/licences/Licence_CeCILL_V2.1-fr.txt', tags => [ 'type:singleversion:cecill', ], licenseversion => '2.1', 'pat.alt.subject.grant.lang.en' => 'governed by the CeCILL ?license', 'pat.alt.subject.grant.lang.fr' => 'Ce logiciel est r[é]gi par la licence CeCILL soumise', 'pat.alt.subject.license.lang.en' => 'Version 2\.1 dated 2013[-]06[-]21', 'pat.alt.subject.license.lang.fr' => 'Version 2\.1 du 2013[-]06[-]21', 'pat.alt.subject.license.part.gpl' => 'subject to the provisions of one of the versions of the GNU GPL, GNU', }; =item * cecill_b =item * cecill_b_1 I =cut $RE{cecill_b} = { name => 'CECILL-B', 'name.alt.org.fedora' => 'CeCILL-B', 'name.alt.misc.short_camelcase' => 'CeCILL-B', caption => 'CeCILL-B License', 'caption.alt.org.steward.lang.en' => 'CeCILL-B FREE SOFTWARE LICENSE AGREEMENT', 'caption.alt.org.steward.lang.fr' => 'CONTRAT DE LICENCE DE LOGICIEL LIBRE CeCILL-B', 'caption.alt.org.trove' => 'CeCILL-B Free Software License Agreement (CECILL-B)', 'iri.alt.lang.en' => 'https://cecill.info/licences/Licence_CeCILL-B_V1-en.html', 'iri.alt.lang.fr' => 'https://cecill.info/licences/Licence_CeCILL-B_V1-en.html', 'iri.alt.format.txt.lang.en' => 'https://cecill.info/licences/Licence_CeCILL-B_V1-en.txt', 'iri.alt.format.txt.lang.fr' => 'https://cecill.info/licences/Licence_CeCILL-B_V1-fr.txt', tags => [ 'type:versioned:decimal', ], 'pat.alt.subject.grant.lang.fr' => 'Ce logiciel est r[é]gi par la licence CeCILL-B soumise', 'pat.alt.subject.license.lang.en' => 'The exercising of this freedom is conditional upon a strong', 'pat.alt.subject.license.lang.fr' => 'aux utilisateurs une tr[è]s large libert[é] de', }; $RE{cecill_b_1} = { name => 'CECILL-B-1.0', 'name.alt.misc.short_camelcase' => 'CeCILL-B-1.0', 'name.alt.org.spdx.synth.nogrant' => 'CECILL-B', caption => 'CeCILL-B Free Software License Agreement v1.0', 'caption.alt.org.steward.lang.en' => 'CeCILL-B FREE SOFTWARE LICENSE AGREEMENT Version 1.0', 'caption.alt.org.steward.lang.fr' => 'CONTRAT DE LICENCE DE LOGICIEL LIBRE CeCILL-B Version 1.0', 'caption.alt.org.spdx.synth.nogrant' => 'CeCILL-B Free Software License Agreement', 'caption.alt.misc.short' => 'CeCILL-B License 1.0', 'iri.alt.lang.en' => 'https://cecill.info/licences/Licence_CeCILL-B_V1-en.html', 'iri.alt.lang.fr' => 'https://cecill.info/licences/Licence_CeCILL-B_V1-en.html', 'iri.alt.format.txt.lang.en' => 'https://cecill.info/licences/Licence_CeCILL-B_V1-en.txt', 'iri.alt.format.txt.lang.fr' => 'https://cecill.info/licences/Licence_CeCILL-B_V1-fr.txt', tags => [ 'type:singleversion:cecill_b', ], licenseversion => '1.0', 'pat.alt.subject.grant.lang.en' => 'governed by the CeCILL-B license', 'pat.alt.subject.grant.lang.fr' => 'Ce logiciel est r[é]gi par la licence CeCILL-B soumise', 'pat.alt.subject.license.lang.en' => 'The exercising of this freedom is conditional upon a strong', 'pat.alt.subject.license.lang.fr' => 'aux utilisateurs une tr[è]s large libert[é] de', }; =item * cecill_c =item * cecill_c_1 I =cut # TODO: synthesize patterns (except name) from cecill_c_1: they are all duplicates $RE{cecill_c} = { name => 'CECILL-C', 'name.alt.org.fedora' => 'CeCILL-C', 'name.alt.misc.short_camelcase' => 'CeCILL-C', caption => 'CeCILL-C License', 'caption.alt.org.steward.lang.en' => 'CeCILL-C FREE SOFTWARE LICENSE AGREEMENT', 'caption.alt.org.steward.lang.fr' => 'CONTRAT DE LICENCE DE LOGICIEL LIBRE CeCILL-C', 'caption.alt.org.trove' => 'CeCILL-C Free Software License Agreement (CECILL-C)', 'iri.alt.lang.en' => 'https://cecill.info/licences/Licence_CeCILL-C_V1-en.html', 'iri.alt.lang.fr' => 'https://cecill.info/licences/Licence_CeCILL-C_V1-fr.html', tags => [ 'type:versioned:decimal', ], 'pat.alt.subject.grant.lang.fr' => 'Ce logiciel est r[é]gi par la licence CeCILL-C soumise', '_pat.alt.subject.license.lang.en' => [ 'The exercising of this right is conditional upon the obligation', 'the Software modified or not;', ], '_pat.alt.subject.license.lang.fr' => [ 'aux utilisateurs la libert[é] de modifier et', 'Logiciel modifi[é] ou non;', ], 'pat.alt.subject.license.lang.en' => 'the Software modified or not;[ ]' . '[*)]to ensure that use of', 'pat.alt.subject.license.lang.fr' => 'Logiciel modifi[é] ou non;[ ]' . '[*)][à] faire en sorte que', }; $RE{cecill_c_1} = { name => 'CECILL-C-1.0', 'name.alt.org.spdx.synth.nogrant' => 'CECILL-C', 'name.alt.misc.short_camelcase' => 'CeCILL-C-1.0', caption => 'CeCILL-C Free Software License Agreement v1.0', 'caption.alt.org.steward.lang.en' => 'CeCILL-C FREE SOFTWARE LICENSE AGREEMENT Version 1.0', 'caption.alt.org.steward.lang.fr' => 'CONTRAT DE LICENCE DE LOGICIEL LIBRE CeCILL-C Version 1.0', 'caption.alt.org.spdx.synth.nogrant' => 'CeCILL-C Free Software License Agreement', 'caption.alt.misc.short' => 'CeCILL-C License 1.0', 'iri.alt.lang.en' => 'https://cecill.info/licences/Licence_CeCILL-C_V1-en.html', 'iri.alt.lang.fr' => 'https://cecill.info/licences/Licence_CeCILL-C_V1-fr.html', 'iri.alt.format.txt.lang.en' => 'https://cecill.info/licences/Licence_CeCILL-C_V1-en.txt', 'iri.alt.format.txt.lang.fr' => 'https://cecill.info/licences/Licence_CeCILL-C_V1-fr.txt', tags => [ 'type:singleversion:cecill_c', ], licenseversion => '1.0', '_pat.alt.subject.grant.lang.en' => [ 'under the terms of the CeCILL-C license', 'governed by the CeCILL-C license', ], 'pat.alt.subject.grant.lang.fr' => 'Ce logiciel est r[é]gi par la licence CeCILL-C soumise', '_pat.alt.subject.license.lang.en' => [ 'The exercising of this right is conditional upon the obligation', 'the Software modified or not;', ], '_pat.alt.subject.license.lang.fr' => [ 'aux utilisateurs la libert[é] de modifier et', 'Logiciel modifi[é] ou non;', ], 'pat.alt.subject.license.scope.all.lang.en' => 'the Software modified or not;[ ]' . '[*)]to ensure that use of', 'pat.alt.subject.license.scope.all.lang.fr' => 'Logiciel modifi[é] ou non;[ ]' . '[*)][à] faire en sorte que', }; =item * cnri_jython =cut $RE{cnri_jython} = { name => 'CNRI-Jython', 'name.alt.org.fedora' => 'JPython', 'name.alt.org.spdx.since.date_20150730' => 'CNRI-Jython', caption => 'CNRI Jython License', 'caption.alt.org.fedora' => 'JPython License (old)', 'caption.alt.org.tldr' => 'CNRI Jython License', 'caption.alt.org.steward' => 'JPython License', iri => 'http://www.jython.org/license.html', tags => [ 'type:unversioned', ], 'pat.alt.subject.license' => '[*)]CNRI is making the Software available to Licensee', }; =item * cnri_python =cut $RE{cnri_python} = { name => 'CNRI-Python', 'name.alt.org.fedora' => 'CNRI', 'name.alt.org.osi' => 'CNRI-Python', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'pythonpl', 'name.alt.org.spdx' => 'CNRI-Python', 'name.alt.org.wikidata.synth.nogrant' => 'Q38365646', caption => 'CNRI Python License', 'caption.alt.org.fedora' => 'CNRI License (Old Python)', 'caption.alt.org.osi' => 'CNRI Python license', 'caption.alt.org.osi.misc.shortname' => 'CNRI portion of Python License', 'caption.alt.org.tldr' => 'CNRI Python License (CNRI-Python)', 'caption.alt.org.wikidata' => 'CNRI portion of the multi-part Python License', 'caption.alt.org.wikipedia' => 'Python License', 'summary.alt.org.osi' => 'The CNRI portion of the multi-part Python License', iri => 'https://docs.python.org/3/license.html#cnri-license-agreement-for-python-1-6-1', 'iri.alt.misc.handle' => 'http://hdl.handle.net/1895.22/1011', tags => [ 'type:unversioned', ], 'pat.alt.subject.license' => '[*)]CNRI is making Python 1\.6(?:b1)? available to Licensee', }; =item * cnri_python_gpl_compat =cut $RE{cnri_python_gpl_compat} = { name => 'CNRI-Python-GPL-Compatible', 'name.alt.org.spdx' => 'CNRI-Python-GPL-Compatible', caption => 'CNRI Python Open Source GPL Compatible License Agreement', iri => 'http://www.python.org/download/releases/1.6.1/download_win/', 'iri.alt.misc.handle' => 'http://hdl.handle.net/1895.22/1013', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.part.part4' => '[*)]CNRI is making Python 1\.6\.1 available to Licensee', 'pat.alt.subject.license.scope.sentence.part.part7' => 'with regard to derivative works based on Python 1\.6\.1 ' . 'that incorporate non-separable material ' . 'that was previously distributed under the GNU General Public License', }; =item * condor I =item * condor_1_1 I =cut $RE{condor} = { name => 'Condor', 'name.alt.org.fedora' => 'Condor', caption => 'Condor Public License', 'caption.alt.org.tldr' => 'Condor Public License v1.1 (Condor-1.1)', tags => [ 'type:versioned:decimal', ], }; $RE{condor_1_1} = { name => 'Condor-1.1', 'name.alt.org.spdx.since.date_20130117' => 'Condor-1.1', caption => 'Condor Public License v1.1', tags => [ 'type:singleversion:condor', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.line.scope.sentence.part.clause5' => 'To the extent that patent claims licensable by', }; =item * cpal =item * cpal_1 =cut $RE{cpal} = { name => 'CPAL', 'name.alt.org.wikidata.synth.nogrant' => 'Q1116195', caption => 'Common Public Attribution License', tags => [ 'type:versioned:decimal', ], }; $RE{cpal_1} = { name => 'CPAL-1.0', 'name.alt.org.fedora.synth.nogrant' => 'CPAL', 'name.alt.org.osi' => 'CPAL-1.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'cpal_1.0', 'name.alt.org.spdx' => 'CPAL-1.0', 'name.alt.misc.fossology_old' => 'CPAL_v1.0', caption => 'Common Public Attribution License 1.0', 'caption.alt.org.fedora' => 'CPAL License 1.0', 'caption.alt.org.osi' => 'Common Public Attribution License Version 1.0', 'caption.alt.org.osi.misc.list' => 'Common Public Attribution License 1.0', 'caption.alt.org.tldr' => 'Common Public Attribution License Version 1.0 (CPAL-1.0)', 'caption.alt.misc.fossology_old_short' => 'CPAL 1.0', tags => [ 'type:singleversion:cpal', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection.part.header' => 'Common Public Attribution License Version 1\.0 [(]CPAL[)][ ]' . '[*)]["]?Definitions["]?', }; =item * cpl I =item * cpl_1 I =cut $RE{cpl} = { name => 'CPL', 'name.alt.org.fedora' => 'CPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q2477807', 'name.alt.misc.fossology_old' => 'CPL_v1.0', caption => 'Common Public License', 'caption.alt.org.trove' => 'Common Public License', 'caption.alt.org.wikipedia' => 'Common Public License', 'caption.alt.misc.fossology_old_short' => 'CPL 1.0', description => <<'END', Origin: IBM Public License (IPL) END tags => [ 'type:versioned:decimal', ], }; $RE{cpl_1} = { name => 'CPL-1.0', 'name.alt.org.osi' => 'CPL-1.0', 'name.alt.org.spdx' => 'CPL-1.0', caption => 'Common Public License 1.0', 'caption.alt.org.osi' => 'Common Public License, version 1.0', 'name.alt.org.osi.iri.stem_plain.until.date_20110430.archive.time_20110426131805' => 'cpl1.0', 'caption.alt.org.osi.misc.list' => 'Common Public License 1.0', 'caption.alt.org.tldr' => 'Common Public License 1.0 (CPL-1.0)', 'caption.alt.misc.legal' => 'Common Public License Version 1.0', iri => 'https://www.ibm.com/developerworks/library/os-cpl.html', tags => [ 'type:singleversion:cpl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.sentence' => 'IBM is the initial Agreement Steward', 'pat.alt.subject.license.scope.multisection.part.head' => '(?:Common Public License Version 1\.0[ ])?' . 'THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE [(]["]AGREEMENT["][)][. ]' . 'ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT[\']S ACCEPTANCE OF THIS AGREEMENT[.](?: |[ ])' . '[*)][ ]?DEFINITIONS[ ]' . '["]Contribution["] means[:"]?[ ]' . '[*)]in the case of the initial Contributor, the initial code', }; =item * cpol =item * cpol_1_02 =cut $RE{cpol} = { name => 'CPOL', 'name.alt.org.wikidata.synth.nogrant' => 'Q5140041', caption => 'The Code Project Open License', 'caption.alt.org.fedora' => 'CodeProject Open License (CPOL)', 'caption.alt.org.wikidata' => 'Code Project Open License', tags => [ 'type:versioned:decimal', ], }; $RE{cpol_1_02} = { name => 'CPOL-1.02', 'name.alt.org.spdx.since.date_20130410' => 'CPOL-1.02', 'name.alt.misc.fossology_old' => 'CPOL1.2', caption => 'Code Project Open License 1.02', 'caption.alt.org.tldr' => 'The Code Project Open License (CPOL) 1.02', tags => [ 'type:singleversion:cpol', ], licenseversion => '1.02', 'pat.alt.subject.license' => 'This License governs Your use of the Work', }; =item * crossword I =cut $RE{crossword} = { name => 'Crossword', 'name.alt.org.fedora.iri.self' => 'Crossword', 'name.alt.org.spdx.since.date_20140807' => 'Crossword', caption => 'Crossword License', 'caption.alt.org.tldr' => 'Crossword License', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => 'No author or distributor accepts responsibility to anyone for the consequences of using it', }; =item * cryptix =cut $RE{cryptix} = { name => 'Cryptix', 'name.alt.org.fsf' => 'CryptixGeneralLicense', 'name.alt.org.wikidata.synth.nogrant' => 'Q5190781', caption => 'Cryptix Public License', 'caption.alt.org.fedora' => 'Cryptix General License', 'caption.alt.org.fsf' => 'Cryptix General License', 'caption.alt.org.wikidata' => 'Cryptix General License', 'caption.alt.org.wikipedia' => 'Cryptix General License', iri => 'http://cryptix.org/LICENSE.TXT', description => <<'END', Identical to BSD 2 Clause, except... * Redistribution of source must retain any (not only "above") legal text END tags => [ 'family:bsd', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{retain_notice_cond_discl_anywhere} . '[.][ ]' . $P{repro_copr_cond_discl} . '[.][ ]' . $P{asis_sw_by}, }; =item * cua_opl =item * cua_opl_1 =cut $RE{cua_opl} = { name => 'CPAL', 'name.alt.org.wikidata.synth.nogrant' => 'Q38365770', 'name.alt.misc.fossology_old' => 'CUA', caption => 'CUA Office Public License', tags => [ 'type:versioned:decimal', ], }; $RE{cua_opl_1} = { name => 'CPAL-1.0', 'name.alt.org.fedora.synth.nogrant' => 'MPLv1.1', 'name.alt.org.osi' => 'CUA-OPL-1.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'cuaoffice', 'name.alt.org.spdx' => 'CUA-OPL-1.0', 'name.alt.misc.fossology_old' => 'CUA_v1.0', caption => 'CUA Office Public License v1.0', 'caption.alt.org.fedora' => 'CUA Office Public License Version 1.0', 'caption.alt.org.osi.synth.nogrant' => 'CUA Office Public License', 'caption.alt.org.osi.misc.list' => 'CUA Office Public License Version 1.0', 'caption.alt.org.tldr' => 'CUA Office Public License v1.0 (CUA-OPL-1.0)', description => <<'END', Origin: Mozilla Public License Version 1.1 END tags => [ 'type:singleversion:cua_opl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection.part.header' => 'CUA Office Public Attribution License Version 1\.0[ ]' . '[*)]["]?Definitions["]?', }; =item * cube =cut $RE{cube} = { name => 'Cube', 'name.alt.org.fedora.iri.self' => 'Cube', 'name.alt.org.spdx.since.date_20140807' => 'Cube', caption => 'Cube License', 'caption.alt.org.tldr' => 'Cube License', tags => [ 'family:zlib', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{origin_sw_no_misrepresent} . $P{you_not_claim_wrote} . '[. ]' . $P{use_ack_apprec_not_req} . '[.][ ]' . $P{altered_srcver_mark} . '[.][ ]' . $P{notice_no_alter_any} . '[.][ ]additional clause specific to Cube[:]?[ ]' . $P{src_no_relicense}, }; =item * curl =cut $RE{curl} = { 'name.alt.org.spdx.since.date_20160103' => 'curl', 'name.alt.org.wikidata.synth.nogrant' => 'Q33042394', caption => 'curl License', 'caption.alt.org.tldr' => 'curl License', 'caption.alt.org.wikidata' => 'curl license', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{note_copr_perm} . '[.][ ]' . $P{asis_sw_warranty}, }; =item * cvw I =cut $RE{cvw} = { name => 'CVW', 'name.alt.org.osi' => 'CVW', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'mitrepl', 'name.alt.org.wikidata.synth.nogrant' => 'Q38365796', caption => 'MITRE Collaborative Virtual Workspace License', 'caption.alt.org.fedora' => 'MITRE Collaborative Virtual Workspace License (CVW)', 'caption.alt.org.osi' => 'The MITRE Collaborative Virtual Workspace License', 'caption.alt.org.trove' => 'MITRE Collaborative Virtual Workspace License (CVW)', 'caption.alt.org.osi.misc.list' => 'MITRE Collaborative Virtual Workspace License', 'caption.alt.org.wikidata' => 'The MITRE Collaborative Virtual Workspace License', tags => [ 'type:unversioned', ], 'pat.alt.subject.license' => 'Redistribution of the CVW software or derived works' . ' must reproduce MITRE[\']s copyright designation', }; =item * d_fsl I =item * d_fsl_1 I =cut $RE{d_fsl} = { name => 'D-FSL', caption => 'Deutsche Freie Software Lizenz', 'caption.alt.misc.legal_grant.lang.de' => 'Deutschen Freien Software Lizenz', 'caption.alt.misc.legal_grant.lang.en' => 'German Free Software License', 'iri.alt.archive.time_20050208012625' => 'http://www.d-fsl.de/', 'iri.alt.lang.de' => 'https://www.hbz-nrw.de/produkte/open-access/lizenzen/dfsl/deutsche-freie-software-lizenz', 'iri.alt.lang.en' => 'https://www.hbz-nrw.de/produkte/open-access/lizenzen/dfsl/german-free-software-license', tags => [ 'type:versioned:decimal', ], }; $RE{d_fsl_1} = { name => 'D-FSL-1.0', 'name.alt.org.spdx.since.date_20130410' => 'D-FSL-1.0', caption => 'Deutsche Freie Software Lizenz 1.0', 'caption.alt.org.spdx.since.date_20130410.synth.nogrant' => 'Deutsche Freie Software Lizenz', tags => [ 'type:singleversion:d_fsl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.section0.lang.de' => 'Die Beschreibung des Aufbaus und[/]oder der Struktur', 'pat.alt.subject.license.scope.line.scope.sentence.part.section0.lang.en' => 'Description of composition, architecture and[/]or structure', }; =item * dbad I =item * dbad_0_2 I =item * dbad_0_3 I =item * dbad_1 I =item * dbad_1_1 I =cut # TODO: include translations at http://www.dbad-license.org/ $RE{dbad} = { name => 'DBAD', caption => 'DON\'T BE A DICK PUBLIC LICENSE', 'caption.alt.misc.longer' => 'The "Dont Be a Dick" Public License', 'caption.alt.misc.shorter' => 'the DBAD license', 'caption.alt.org.tldr' => 'DON\'T BE A DICK PUBLIC LICENSE', iri => 'http://www.dbad-license.org/', tags => [ 'type:versioned:decimal', ], '_pat.alt.subject.license.scope.line.scope.sentence' => [ 'For legal purposes, the DBAD license is a(?: strict)? superset', "Do whatever you like with the original work, just don[']t be a dick", ], }; $RE{dbad_0_2} = { name => 'DBAD-0.2', caption => 'DBAD Public License v0.2', 'iri.alt.archive.time_20110112205017' => 'http://dbad-license.org/license', tags => [ 'type:singleversion:dbad', ], licenseversion => '0.2', 'pat.alt.subject.license.scope.line.scope.sentence' => 'For legal purposes, the DBAD license is a superset', }; $RE{dbad_0_3} = { name => 'DBAD-0.3', caption => 'DBAD Public License v0.3', 'iri.alt.archive.time_20120322202702' => 'http://dbad-license.org/license', tags => [ 'type:singleversion:dbad', ], licenseversion => '0.3', 'pat.alt.subject.license.scope.line.scope.sentence' => 'For legal purposes, the DBAD license is a strict superset', }; $RE{dbad_1} = { name => 'DBAD-1', caption => 'DBAD Public License v1.0', 'caption.alt.org.tldr.synth.nogrant' => 'DBAD Public License', 'iri.alt.archive.time_20150618172510' => 'http://dbad-license.org/', tags => [ 'type:singleversion:dbad', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.multisection' => 'Everyone is permitted' . ' to copy and distribute verbatim or modified copies of this license document' . ', and changing it is allowed as long as the name is changed' . '[.][ ]' . "[> ]DON[']T BE A DICK PUBLIC LICENSE" . '[ ][> ]TERMS AND CONDITIONS' . ' FOR COPYING, DISTRIBUTION AND MODIFICATION' . '[ ]' . '[*)]Do whatever you like with the original work, ' . "just don[']t be a dick[.]", }; $RE{dbad_1_1} = { name => 'DBAD-1.1', caption => 'DBAD Public License v1.1', 'caption.alt.org.tldr.synth.nogrant' => "DON'T BE A DICK PUBLIC LICENSE", tags => [ 'type:singleversion:dbad', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.line.scope.multisection' => 'Everyone is permitted ' . 'to copy and distribute verbatim or modified copies of this license document' . '[.][ ]' . "[> ]DON[']T BE A DICK PUBLIC LICENSE" . '[ ][> ]TERMS AND CONDITIONS' . ' FOR COPYING, DISTRIBUTION AND MODIFICATION' . '[ ]' . '[*)]Do whatever you like with the original work, ' . "just don[']t be a dick[.]", }; =item * dont_ask I =cut $RE{dont_ask} = { name => 'Dont-Ask', caption => "The Don't Ask Me About It License", 'caption.alt.org.tldr' => "The Don't Ask Me About It License", tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => 'Copying and distribution of this file, ' . 'with or without modification, ' . 'are permitted in any medium ' . 'provided you do not contact the author ' . 'about the file or any problems you are having with the file[.]', }; =item * dsdp =cut $RE{dsdp} = { name => 'DSDP', 'name.alt.org.fedora.iri.self' => 'DSDP', 'name.alt.org.spdx.since.date_20140807' => 'DSDP', caption => 'DSDP License', 'caption.alt.org.tldr' => 'DSDP License', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, PetSC Variant', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.part.part1' => 'This program discloses material protectable', 'pat.alt.subject.license.scope.paragraph' => $P{asis_expr_warranty} . '[. ]' . $P{perm_granted}, }; =item * ecl =item * ecl_1 =item * ecl_2 =cut $RE{ecl} = { name => 'ECL', 'name.alt.org.wikidata.synth.nogrant' => 'Q5341236', caption => 'Educational Community License', 'caption.alt.org.wikidata' => 'Educational Community License', 'caption.alt.misc.long' => 'Educational Community License (ECL)', tags => [ 'type:versioned:decimal', ], }; $RE{ecl_1} = { name => 'ECL-1.0', 'name.alt.org.osi' => 'ECL-1.0', 'name.alt.org.osi.iri.stem.until.date_20070704' => 'ecl1', 'name.alt.org.spdx' => 'ECL-1.0', 'name.alt.misc.fossology_old' => 'ECL1.0', caption => 'Educational Community License, Version 1.0', 'caption.alt.org.fedora' => 'Educational Community License 1.0', 'caption.alt.org.fedora.misc.short' => 'ECL 1.0', 'caption.alt.org.osi' => 'Educational Community License, Version 1.0', 'caption.alt.org.spdx' => 'Educational Community License v1.0', tags => [ 'type:singleversion:ecl', ], licenseversion => '1.0', 'pat.alt.subject.license' => 'Licensed under the Educational Community License version 1.0', }; $RE{ecl_2} = { name => 'ECL-2.0', 'name.alt.org.osi' => 'ECL-2.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'ecl2', 'name.alt.org.spdx' => 'ECL-2.0', 'name.alt.org.tldr.path.short' => 'ecl-2.0', 'name.alt.misc.fossology_old' => 'ECL2.0', caption => 'Educational Community License, Version 2.0', 'caption.alt.org.fedora' => 'Educational Community License 2.0', 'caption.alt.org.fedora.misc.short' => 'ECL 2.0', 'caption.alt.org.spdx' => 'Educational Community License v2.0', 'caption.alt.org.tldr' => 'Educational Community License, Version 2.0 (ECL-2.0)', 'caption.alt.misc.short' => 'ECLv2', tags => [ 'type:singleversion:ecl', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.sentence' => 'Licensed under the[ ]Educational Community License, Version 2\.0', }; =item * ecos_1_1 I =cut # Yes, it is unversioned $RE{ecos_1_1} = { name => 'RHEPL', 'name.alt.org.spdx' => 'RHeCos-1.1', caption => 'Red Hat eCos Public License v1.1', 'caption.alt.misc.ecos_2_ref' => 'Red Hat eCos Public License', 'caption.alt.org.tldr' => 'Red Hat eCos Public License v1.1 (RHeCos-1.1)', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence.part.section_1_13' => '["]Red Hat Branded Code["] is code that Red Hat distributes', }; =item * ecos_2 I =cut # Yes, it is unversioned $RE{ecos_2} = { name => 'eCos-2.0', 'name.alt.org.fedora.synth.nogrant' => 'eCos', 'name.alt.org.osi' => 'eCos-2.0', 'name.alt.org.spdx.until.date_20150513' => 'eCos-2.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q26904555', caption => 'eCos license version 2.0', 'caption.alt.org.fedora' => 'eCos License v2.0', 'caption.alt.org.osi' => 'eCos License version 2.0', 'caption.alt.org.wikidata' => 'eCos-2.0', tags => [ 'contains.grant.gpl_2', 'contains.trait.except_ecos_2', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence.part.grant' => 'eCos is free software; ' . 'you can redistribute it and[/]or modify it ' . 'under the terms of the GNU General Public License', 'pat.alt.subject.license.scope.sentence.part.except_1' => 'if other files instantiate templates or use macros or inline functions from this file, ' . 'or you compile this file and link it with other works', 'pat.alt.subject.license.scope.line.scope.sentence.part.except_2' => 'However the source code for this file must still be made available', 'pat.alt.subject.license.scope.line.scope.sentence.part.except_3' => 'This exception does not invalidate any other reasons why', }; =item * efl I =item * efl_1 I =item * efl_2 I =cut $RE{efl} = { name => 'EFL', 'name.alt.org.wikidata.synth.nogrant' => 'Q17011832', caption => 'Eiffel Forum License', 'caption.alt.org.trove' => 'Eiffel Forum License', 'caption.alt.org.trove.misc.long' => 'Eiffel Forum License (EFL)', 'caption.alt.org.wikipedia' => 'Eiffel Forum License', 'iri.alt.old.osi' => 'https://opensource.org/licenses/eiffel.html', tags => [ 'type:versioned:decimal', ], }; $RE{efl_1} = { name => 'EFL-1', 'name.alt.org.osi' => 'EFL-1.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'ver1_eiffel', 'name.alt.org.spdx' => 'EFL-1.0', 'name.alt.misc.fossology_old' => 'Eiffel_1.0', 'name.alt.misc.fossology_old_short' => 'Eiffel_v1', caption => 'Eiffel Forum License v1.0', 'caption.alt.org.fedora' => 'Eiffel Forum License 1.0', 'caption.alt.org.fedora.iri.self' => 'Eiffel Forum License V1', 'caption.alt.org.osi' => 'The Eiffel Forum License, version 1', 'caption.alt.org.osi.misc.list' => 'Eiffel Forum License V1.0', 'caption.alt.org.osi.misc.do_not_use_list' => 'Eiffel Forum License, version 1.0', iri => 'http://www.opensource.org/licenses/eiffel.php', 'iri.alt.format.txt' => 'http://www.eiffel-nice.org/license/forum.txt', tags => [ 'license:is:grant', 'type:singleversion:efl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.sentence.part.publish_clause' => 'you must publicly release the modified version of this package', }; $RE{efl_2} = { name => 'EFL-2', 'name.alt.org.osi' => 'EFL-2.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'ver2_eiffel', 'name.alt.org.spdx' => 'EFL-2.0', 'name.alt.misc.fossology_old' => 'Eiffel_2.0', 'name.alt.misc.fossology_old_short' => 'Eiffel_v2', caption => 'Eiffel Forum License v2.0', 'caption.alt.org.fedora' => 'Eiffel Forum License 2.0', 'caption.alt.org.fedora.misc.short' => 'EFL 2.0', 'caption.alt.org.osi' => 'Eiffel Forum License, Version 2', 'caption.alt.org.osi.misc.list' => 'Eiffel Forum License V2.0', 'caption.alt.org.tldr' => 'Eiffel Forum License v2.0 (EFL-2.0)', iri => 'http://www.eiffel-nice.org/license/eiffel-forum-license-2.html', 'iri.alt.format.txt' => 'http://www.eiffel-nice.org/license/eiffel-forum-license-2.txt', tags => [ 'license:is:grant', 'type:singleversion:efl', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.sentence.part.publish_clause' => 'you are encouraged to publicly release the modified version of this package', }; =item * entessa I =cut $RE{entessa} = { name => 'Entessa', 'name.alt.org.fedora' => 'Entessa', 'name.alt.org.osi' => 'Entessa', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'entessa', 'name.alt.org.spdx' => 'Entessa', 'name.alt.misc.fossology_old' => 'Entessa1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q38366115', caption => 'Entessa Public License v1.0', 'caption.alt.org.fedora' => 'Entessa Public License', 'caption.alt.org.osi' => 'Entessa Public License Version. 1.0', 'caption.alt.org.osi.misc.list' => 'Entessa Public License', 'caption.alt.org.tldr' => 'Entessa Public License v1.0 (Entessa)', 'caption.alt.org.wikidata' => 'Entessa Public License', description => <<'END', Identical to Apache 1.1, except... * replace "Apache" and "Apache Software Foundation" with "Entessa" and "OpenSeal" * replace "software" with "open source software" in notice inclusion clause END tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence.part.notice_inclusion_clause' => 'This product includes open source software developed by openSEAL', }; =item * epl =item * epl_1 =item * epl_2 =cut $RE{epl} = { name => 'EPL', 'name.alt.misc.fossology_old' => 'Eclipse', 'name.alt.org.wikidata.synth.nogrant' => 'Q1281977', caption => 'Eclipse Public License', 'caption.alt.org.wikipedia' => 'Eclipse Public License', description => <<'END', Origin: Common Public License (CPL) END tags => [ 'type:versioned:decimal', ], # TODO: readd when children cover same region # 'pat.alt.subject.license.scope.sentence' => # 'The Eclipse Foundation is the initial Agreement Steward', }; $RE{epl_1} = { name => 'EPL-1.0', 'name.alt.org.fedora' => 'EPL-1.0', 'name.alt.org.osi' => 'EPL-1.0', 'name.alt.org.osi.iri.stem_plain.until.date_20110430.archive.time_20110426131805' => 'eclipse-1.0', 'name.alt.org.spdx' => 'EPL-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q55633170', 'name.alt.misc.fossology_old' => 'Eclipse_1.0', caption => 'Eclipse Public License 1.0', 'caption.alt.org.tldr' => 'Eclipse Public License 1.0 (EPL-1.0)', 'caption.alt.org.trove' => 'Eclipse Public License 1.0 (EPL-1.0)', 'caption.alt.misc.legal' => 'Eclipse Public License - v 1.0', tags => [ 'type:singleversion:epl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.sentence' => 'Eclipse Public License[ - ]v 1\.0[ ]THE ACCOMPANYING', 'pat.alt.subject.license.scope.multisection.part.head' => '(?:Eclipse Public License[ - ]v 1\.0[ ])?' . 'THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE [(]["]AGREEMENT["][)][. ]' . 'ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT[\']S ACCEPTANCE OF THIS AGREEMENT[.](?: |[ ])' . '[*)][ ]?DEFINITIONS[ ]' . '["]Contribution["] means[:"]?[ ]' . '[*)]in the case of the initial Contributor, the initial code', }; $RE{epl_2} = { name => 'EPL-2.0', 'name.alt.org.fedora' => 'EPL-2.0', 'name.alt.org.osi' => 'EPL-2.0', 'name.alt.org.spdx.since.date_20171228' => 'EPL-2.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q55633295', caption => 'Eclipse Public License 2.0', 'caption.alt.org.osi' => 'Eclipse Public License version 2.0', 'caption.alt.org.osi.misc.list' => 'Eclipse Public License 2.0', 'caption.alt.org.trove' => 'Eclipse Public License 2.0 (EPL-2.0)', 'caption.alt.misc.legal' => 'Eclipse Public License - v 2.0', tags => [ 'type:singleversion:epl', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.sentence' => 'Eclipse Public License[ - ]v 2\.0[ ]THE ACCOMPANYING', 'pat.alt.subject.license.scope.multisection.part.head' => '(?:Eclipse Public License[ - ]v 1\.0[ ])?' . 'THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE [(]["]AGREEMENT["][)][. ]' . 'ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT[\']S ACCEPTANCE OF THIS AGREEMENT[.](?: |[ ])' . '[*)][ ]?DEFINITIONS[ ]' . '["]Contribution["] means[:"]?[ ]' . '[*)]in the case of the initial Contributor, the initial content', }; =item * erlpl I =item * erlpl_1_1 I =cut $RE{erlpl} = { name => 'ErlPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q3731857', caption => 'Erlang Public License', tags => [ 'type:versioned:decimal', ], }; $RE{erlpl_1_1} = { name => 'ErlPL-1.1', 'name.alt.org.fedora.synth.nogrant' => 'ERPL', 'name.alt.org.fedora.iri.self.synth.nogrant' => 'ErlangPublicLicense', 'name.alt.org.spdx' => 'ErlPL-1.1', caption => 'Erlang Public License v1.1', 'caption.alt.org.fedora' => 'Erlang Public License 1.1', 'caption.alt.org.tldr' => 'Erlang Public License v1.1 (ErlPL-1.1)', description => <<'END', Origin: Mozilla Public License 1.0 END tags => [ 'type:singleversion:erlpl', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.multiparagraph.part.head' => 'ERLANG PUBLIC LICENSE[ ]Version 1\.1[ ]' . '[*)]Definitions', }; =item * eudatagrid I =cut $RE{eudatagrid} = { name => 'EUDatagrid', 'name.alt.org.osi' => 'EUDatagrid', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'eudatagrid', 'name.alt.org.spdx' => 'EUDatagrid', 'name.alt.org.wikidata.synth.nogrant' => 'Q38365944', 'name.alt.misc.fossology_old_short' => 'Datagrid', caption => 'EU DataGrid Software License', 'caption.alt.org.fedora' => 'EU Datagrid Software License', 'caption.alt.org.fedora.misc.short' => 'EU Datagrid', 'caption.alt.org.tldr' => 'EU DataGrid Software License (EUDatagrid)', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'This software includes voluntary contributions made to the EU DataGrid', }; =item * eupl =item * eupl_1 =item * eupl_1_1 =item * eupl_1_2 =cut $RE{eupl} = { name => 'EUPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q1376919', caption => 'European Union Public License', 'caption.alt.org.wikidata' => 'European Union Public Licence', 'caption.alt.org.wikipedia' => 'European Union Public Licence', tags => [ 'type:versioned:decimal', ], }; $RE{eupl_1} = { name => 'EUPL-1.0', 'name.alt.org.spdx' => 'EUPL-1.0', caption => 'European Union Public License, Version 1.0', 'caption.alt.org.fedora' => 'European Union Public License v1.0', 'caption.alt.org.spdx' => 'European Union Public License 1.0', 'caption.alt.org.trove' => 'European Union Public Licence 1.0 (EUPL 1.0)', 'caption.alt.org.trove.misc.short' => 'EUPL 1.0', tags => [ 'license:contains:grant', 'type:singleversion:eupl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection.part.header' => 'Licensed under the EUPL V\.1\.0[ ]or has expressed' }; $RE{eupl_1_1} = { name => 'EUPL-1.1', 'name.alt.org.spdx' => 'EUPL-1.1', 'name.alt.org.tldr' => 'european-union-public-licence', 'name.alt.org.tldr.path.short' => 'eupl-1.1', caption => 'European Union Public License, Version 1.1', 'caption.alt.org.fedora' => 'European Union Public License 1.1', 'caption.alt.org.fedora.misc.short' => 'EUPL 1.1', 'caption.alt.org.spdx' => 'European Union Public License 1.1', 'caption.alt.org.tldr' => 'European Union Public License 1.1 (EUPL-1.1)', 'caption.alt.org.trove' => 'European Union Public Licence 1.1 (EUPL 1.1)', 'caption.alt.org.trove.misc.short' => 'EUPL 1.1', tags => [ 'license:contains:grant', 'type:singleversion:eupl', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.multisection.part.header' => 'Licensed under the EUPL V\.1\.1[ ]or has expressed' }; $RE{eupl_1_2} = { name => 'EUPL-1.2', 'name.alt.org.osi' => 'EUPL-1.2', 'name.alt.org.spdx.since.date_20171228' => 'EUPL-1.2', caption => 'European Union Public License, Version 1.2', 'caption.alt.org.fedora' => 'European Union Public License 1.2', 'caption.alt.org.fedora.misc.short' => 'EUPL 1.2', 'caption.alt.org.osi' => 'European Union Public License, version 1.2', 'caption.alt.org.osi.misc.list' => 'European Union Public License 1.2', 'caption.alt.org.osi.misc.cat_list.synth.nogrant' => 'European Union Public License', 'caption.alt.org.spdx' => 'European Union Public License 1.2', 'caption.alt.org.trove' => 'European Union Public Licence 1.2 (EUPL 1.2)', 'caption.alt.org.trove.misc.short' => 'EUPL 1.2', 'iri.alt.org.wikipedia' => 'https://en.wikipedia.org/wiki/European_Union_Public_Licence#Version_1.2', tags => [ 'license:contains:grant', 'type:singleversion:eupl', ], licenseversion => '1.2', 'pat.alt.subject.license.scope.multisection.part.header' => 'Licensed under the EUPL[ ]or has expressed' }; =item * eurosym =cut $RE{eurosym} = { name => 'Eurosym', 'name.alt.org.fedora.iri.self' => 'Eurosym', 'name.alt.org.spdx.since.date_20140807' => 'Eurosym', caption => 'Eurosym License', 'caption.alt.org.tldr' => 'Eurosym License', tags => [ 'family:zlib', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{origin_sw_no_misrepresent} . $P{you_not_claim_wrote} . '[. ]' . $P{use_ack_apprec} . '[.][ ]' . $P{altered_srcver_mark} . '[.][ ]' . '[*)]?' . $P{you_not_use_ad_dist} . $P{without_written_prior} . '[.][ ]' . '[*)]?' . $P{change_redist_share} . '[.][ ]' . $P{notice_no_alter}, }; =item * fair I =cut $RE{fair} = { name => 'Fair', 'name.alt.org.fedora' => 'Fair', 'name.alt.org.osi' => 'Fair', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'fair', 'name.alt.org.spdx' => 'Fair', 'name.alt.org.tldr' => 'fair-license', 'name.alt.org.tldr.path.short' => 'fair', 'name.alt.org.wikidata.synth.nogrant' => 'Q22682017', caption => 'Fair License', 'caption.alt.org.tldr' => 'Fair License (Fair)', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'Usage of the works is permitted provided that this instrument', }; =item * fair_source I =item * fair_source_0_9 I =cut $RE{fair_source} = { name => 'Fair-Source', caption => 'Fair Source License', tags => [ 'type:versioned:decimal', ], }; $RE{fair_source_0_9} = { name => 'Fair-Source-0.9', caption => 'Fair Source License, version 0.9', 'caption.alt.org.tldr' => 'Fair Source License 0.9 (Fair-Source-0.9)', iri => 'https://fair.io/#license', 'iri.alt.format.txt' => 'https://fair.io/v0.9.txt', tags => [ 'type:singleversion:fair_source', ], licenseversion => '0.9', 'pat.alt.subject.license.scope.line.scope.sentence' => 'Licensor hereby grants to each recipient', }; =item * fal I =item * fal_1_1 I =item * fal_1_2 I =item * fal_1_3 I =cut $RE{fal} = { name => 'FAL', caption => 'Free Art License', 'caption.alt.org.fedora' => 'Free Art License', 'caption.alt.org.fedora.misc.short' => 'Free Art', 'caption.alt.misc.legal.lang.de' => 'Lizenz Freie Kunst', 'caption.alt.misc.legal.lang.es' => 'Licencia Arte Libre', 'caption.alt.misc.legal.lang.fr' => 'Licence Art Libre', 'caption.alt.misc.legal.lang.it' => 'Licenza Arte Libera', 'caption.alt.misc.legal.lang.pl' => 'Licencja Wolnej Sztuki', iri => 'https://artlibre.org/', tags => [ 'type:versioned:decimal', ], }; $RE{fal_1_1} = { name => 'FAL-1.1', caption => 'Free Art License 1.1', 'caption.alt.misc.legal.lang.de' => 'Lizenz Freie Kunst 1.1', tags => [ 'type:singleversion:fal', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.line.scope.sentence.lang.de' => 'Durch die Lizenz ["] ?Freie Kunst ?["] wird die Erlaubnis verliehen', }; $RE{fal_1_2} = { name => 'FAL-1.2', caption => 'Free Art License 1.2', 'caption.alt.misc.legal.lang.es' => 'Licencia Arte Libre 1.2', 'caption.alt.misc.legal.lang.fr' => 'Licence Art Libre 1.2', 'caption.alt.misc.legal.lang.it' => 'Licenza Arte Libera 1.2', iri => 'https://artlibre.org/licence/lal/licence-art-libre-12/', 'iri.alt.archive.time_20051027003023.lang.en' => 'https://artlibre.org/licence/lal/en/', tags => [ 'type:singleversion:fal', ], licenseversion => '1.2', 'pat.alt.subject.license.scope.line.scope.sentence.lang.en' => 'With this Free Art License, you are authorised', 'pat.alt.subject.license.scope.line.scope.sentence.lang.es' => 'La Licencia Arte Libre [(]LAL[)] le autoriza a copiar', 'pat.alt.subject.license.scope.line.scope.sentence.lang.fr' => 'Avec cette Licence Art Libre, l’autorisation est', 'pat.alt.subject.license.scope.line.scope.sentence.lang.it' => 'Con questa licenza Arte Libera è permesso copiare', }; $RE{fal_1_3} = { name => 'FAL-1.3', 'name.alt.org.tldr.path.short.synth.nogrant' => 'fal', caption => 'Free Art License 1.3', 'caption.alt.misc.legal.lang.de' => 'Lizenz Freie Kunst 1.3', 'caption.alt.misc.legal.lang.en' => 'Free Art License 1.3 (FAL 1.3)', 'caption.alt.misc.legal.lang.fr' => 'Licence Art Libre 1.3 (LAL 1.3)', 'caption.alt.misc.legal.lang.pl' => 'Licencja Wolnej Sztuki 1.3', 'caption.alt.misc.legal.lang.pt' => 'Licença da Arte Livre 1.3', 'caption.alt.org.tldr.synth.nogrant' => 'Free Art License (FAL)', 'iri.alt.misc.canonical.lang.de' => 'https://artlibre.org/licence/lal/de1-3/', tags => [ 'type:singleversion:fal', ], licenseversion => '1.3', 'pat.alt.subject.license.scope.line.scope.sentence.lang.de' => 'Mit der Lizenz Freie Kunst wird die Genehmigung erteilt', 'pat.alt.subject.license.scope.line.scope.sentence.lang.en' => 'The Free Art License grants the right to freely copy', 'pat.alt.subject.license.scope.line.scope.sentence.lang.fr' => 'Avec la Licence Art Libre, l’autorisation est', 'pat.alt.subject.license.scope.line.scope.sentence.lang.pl' => 'Licencja Wolnej Sztuki przyznaje prawo do swobodnego kopiowania', 'pat.alt.subject.license.scope.line.scope.sentence.lang.pt' => 'A Licença da Arte Livre autoriza você a copiar livremente', }; =item * festival I =cut $RE{festival} = { name => 'Festival', 'name.alt.org.fedora.iri.mit_short' => 'Festival', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Festival variant', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence.part.clause2' => "Original authors['] names are not deleted", }; =item * frameworx I =item * frameworx_1 I =cut $RE{frameworx} = { name => 'Frameworx', 'name.alt.org.wikidata.synth.nogrant' => 'Q5477987', caption => 'Frameworx License', tags => [ 'type:versioned:decimal', ], }; $RE{frameworx_1} = { name => 'Frameworx-1.0', 'name.alt.org.osi' => 'Frameworx-1.0', 'name.alt.org.osi.iri.stem.until.date_20110430.synth.nogrant' => 'frameworx', 'name.alt.org.spdx' => 'Frameworx-1.0', 'name.alt.misc.fossology_old' => 'Frameworx_v1.0', 'name.alt.misc.fossology_old_short' => 'Frameworx1.0', caption => 'Frameworx Open License 1.0', 'caption.alt.org.fedora.synth.nogrant' => 'Frameworx License', 'caption.alt.org.osi' => 'Frameworx License 1.0', 'caption.alt.org.osi.misc.list.synth.nogrant' => 'Frameworx License', 'caption.alt.org.tldr' => 'Frameworx Open License 1.0 (Frameworx-1.0)', tags => [ 'type:singleversion:frameworx', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'This License Agreement, The Frameworx Open License 1.0, has', 'pat.alt.subject.license.scope.sentence.part.license_file_clause' => 'contain an unaltered copy of the text file named the_frameworx_license\.txt', }; =item * fsfap =cut $RE{fsfap} = { name => 'FSFAP', 'name.alt.org.fedora.iri.self' => 'FSFAP', 'name.alt.org.fsf' => 'GNUAllPermissive', 'name.alt.org.spdx.since.date_20160323' => 'FSFAP', caption => 'FSF All Permissive License', 'caption.alt.org.fedora' => 'FSF All Permissive license', 'caption.alt.org.fsf' => 'GNU All-Permissive License', iri => 'https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => 'Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved', }; =item * fsful =cut $RE{fsful} = { name => 'FSFUL', 'name.alt.org.fedora' => 'FSFUL', 'name.alt.org.spdx.since.date_20140807' => 'FSFUL', caption => 'FSF Unlimited License', 'caption.alt.org.fedora.iri.self' => 'FSF Unlimited License', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => "This configure script is free software; $fsf_ul", }; =item * fsfullr =cut $RE{fsfullr} = { name => 'FSFULLR', 'name.alt.org.fedora' => 'FSFULLR', 'name.alt.org.spdx.since.date_20140807' => 'FSFULLR', caption => 'FSF Unlimited License (with License Retention)', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => "This file is free software; $fsf_ullr", }; =item * ftl =cut $RE{ftl} = { name => 'FTL', 'name.alt.org.fedora' => 'FTL', 'name.alt.org.spdx.since.date_20130117' => 'FTL', 'name.alt.misc.fossology_old' => 'Freetype', 'name.alt.misc.fossology_old_upper' => 'FreeType', caption => 'Freetype Project License', 'caption.alt.misc.short_camelcase' => 'FreeType License', 'caption.alt.misc.legal_license' => 'The Freetype Project LICENSE', 'caption.alt.org.fedora' => 'Freetype License', 'caption.alt.org.tldr' => 'Freetype Project License (FTL)', iri => 'https://www.freetype.org/license.html', description => <<'END', Origin: BSD License family, Artistic License, and Independent JPEG Group License. END tags => [ 'type:unversioned', ], 'pat.alt.subject.license' => 'This license applies to all files found in such packages', }; =item * gfdl =item * gfdl_1_1 =item * gfdl_1_1_only =item * gfdl_1_1_or_later =item * gfdl_1_2 =item * gfdl_1_2_only =item * gfdl_1_2_or_later =item * gfdl_1_3 =item * gfdl_1_3_only =item * gfdl_1_3_or_later =cut $RE{gfdl} = { name => 'GFDL', 'name.alt.org.fedora' => 'GFDL', 'name.alt.org.fsf' => 'FDL', 'name.alt.org.trove' => 'FDL', 'name.alt.org.wikidata.synth.nogrant' => 'Q22169', caption => 'GNU Free Documentation License', 'caption.alt.org.trove' => 'GNU Free Documentation License (FDL)', 'caption.alt.org.wikidata' => 'GNU Free Documentation License', tags => [ 'type:versioned:decimal', ], }; $RE{gfdl_1_1} = { name => 'GFDL-1.1', 'name.alt.org.fsf' => 'fdl-1.1', 'name.alt.org.spdx.until.date_20171228' => 'GFDL-1.1', 'name.alt.org.wikidata.synth.nogrant' => 'Q26921685', 'name.alt.misc.fossology_old' => 'GFDL_v1.1', caption => 'GNU Free Documentation License v1.1', 'caption.alt.org.wikidata' => 'GNU Free Documentation License, version 1.1', tags => [ 'license:published:by_fsf', 'type:singleversion:gfdl', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.multisection.part.header' => 'GNU Free Documentation License[ ]' . 'Version 1\.1, March 2000', 'pat.alt.subject.license.part.part1' => 'This License applies to any manual or other work that contains', 'pat.alt.subject.license.scope.multisection.part.part9' => 'the original English version will prevail[.][ ]' . '[*)]TERMINATION', }; $RE{gfdl_1_1_only} = { name => 'GFDL-1.1-only', 'name.alt.org.spdx.since.date_20171228' => 'GFDL-1.1-only', caption => 'GNU Free Documentation License v1.1 only', 'caption.alt.misc.short' => 'GFDLv1.1 only', tags => [ 'type:usage:gfdl_1_1:only', ], }; $RE{gfdl_1_1_or_later} = { name => 'GFDL-1.1-or-later', 'name.alt.org.debian' => 'GFDL-1.1+', 'name.alt.org.spdx.since.date_20171228' => 'GFDL-1.1-or-later', 'name.alt.org.wikidata.synth.nogrant' => 'Q50829096', 'name.alt.misc.fossology_old' => 'GFDL_v1.1+', caption => 'GNU Free Documentation License v1.1 or later', 'caption.alt.org.wikidata' => 'GNU Free Documentation License, version 1.1 or later', 'caption.alt.misc.short' => 'GFDLv1.1 or later', tags => [ 'type:usage:gfdl_1_1:or_later', ], }; $RE{gfdl_1_2} = { name => 'GFDL-1.2', 'name.alt.org.fsf' => 'fdl-1.2', 'name.alt.org.perl' => 'gfdl_1_2', 'name.alt.org.spdx.until.date_20171228' => 'GFDL-1.2', 'name.alt.org.wikidata.synth.nogrant' => 'Q26921686', 'name.alt.misc.fossology_old' => 'GFDL_v1.2', 'name.alt.misc.fossology_old_short' => 'GFDL1.2', caption => 'GNU Free Documentation License v1.2', 'caption.alt.org.perl' => 'GNU Free Documentation License, Version 1.2', 'caption.alt.org.wikidata' => 'GNU Free Documentation License, version 1.2', tags => [ 'license:published:by_fsf', 'type:singleversion:gfdl', ], licenseversion => '1.2', 'pat.alt.subject.license.scope.multisection.part.header' => 'GNU Free Documentation License[ ]' . 'Version 1\.2, November 2002', 'pat.alt.subject.license.scope.sentence.part.part9' => 'You may not copy, modify, sublicense, or distribute the Document ' . 'except as expressly provided for under this License', }; $RE{gfdl_1_2_only} = { name => 'GFDL-1.2-only', 'name.alt.org.spdx.since.date_20171228' => 'GFDL-1.2-only', caption => 'GNU Free Documentation License v1.2 only', 'caption.alt.misc.short' => 'GFDLv1.2 only', tags => [ 'type:usage:gfdl_1_2:only', ], }; $RE{gfdl_1_2_or_later} = { name => 'GFDL-1.2-or-later', 'name.alt.org.debian' => 'GFDL-1.2+', 'name.alt.org.spdx.since.date_20171228' => 'GFDL-1.2-or-later', 'name.alt.org.wikidata.synth.nogrant' => 'Q50829104', 'name.alt.misc.fossology_old' => 'GFDL_v1.2+', caption => 'GNU Free Documentation License v1.2 or later', 'caption.alt.org.wikidata' => 'GNU Free Documentation License, version 1.2 or later', 'caption.alt.misc.short' => 'GFDLv1.2 or later', tags => [ 'type:usage:gfdl_1_2:or_later', ], }; $RE{gfdl_1_3} = { name => 'GFDL-1.3', 'name.alt.org.fsf' => 'fdl-1.3', 'name.alt.org.perl' => 'gfdl_1_3', 'name.alt.org.spdx.until.date_20171228' => 'GFDL-1.3', 'name.alt.org.tldr' => 'gnu-free-documentation-license', 'name.alt.org.tldr.path.short.synth.nogrant' => 'fdl', 'name.alt.org.wikidata.synth.nogrant' => 'Q26921691', 'caption.alt.org.wikidata' => 'GNU Free Documentation License, version 1.3', 'name.alt.misc.fossology_old' => 'GFDL1.3', caption => 'GNU Free Documentation License v1.3', 'caption.alt.org.perl' => 'GNU Free Documentation License, Version 1.3', 'caption.alt.org.tldr' => 'GNU Free Documentation License v1.3 (FDL-1.3)', tags => [ 'license:published:by_fsf', 'type:singleversion:gfdl', ], licenseversion => '1.3', 'pat.alt.subject.license.scope.multisection.part.header' => 'GNU Free Documentation License[ ]' . 'Version 1\.3, 3 November 2008', 'pat.alt.subject.license.scope.sentence.part.part9' => 'You may not copy, modify, sublicense, or distribute the Document ' . 'except as expressly provided for under this License', }; $RE{gfdl_1_3_only} = { name => 'GFDL-1.3-only', 'name.alt.org.spdx.since.date_20171228' => 'GFDL-1.3-only', caption => 'GNU Free Documentation License v1.3 only', 'caption.alt.misc.short' => 'GFDLv1.3 only', tags => [ 'type:usage:gfdl_1_3:only', ], }; $RE{gfdl_1_3_or_later} = { name => 'GFDL-1.3-or-later', 'name.alt.org.debian' => 'GFDL-1.3+', 'name.alt.org.spdx.since.date_20171228' => 'GFDL-1.3-or-later', 'name.alt.org.wikidata.synth.nogrant' => 'Q27019786', caption => 'GNU Free Documentation License v1.3 or later', 'caption.alt.org.wikidata' => 'GNU Free Documentation License, version 1.3 or later', 'caption.alt.misc.short' => 'GFDLv1.3 or later', tags => [ 'type:usage:gfdl_1_3:or_later', ], }; =item * gfdl_niv =cut $RE{gfdl_niv} = { name => 'GFDL-NIV', caption => 'GNU Free Documentation License (no invariant sections)', summary => 'GNU Free Documentation License, with no Front-Cover or Back-Cover Texts or Invariant Sections', tags => [ 'type:versioned:decimal', ], 'pat.alt.subject.name' => "$the?$gnu?Free Documentation Licen[cs]e(?: [(]GFDL[)])?" . $RE{by_fsf}{'pat.alt.subject.trait'} . "?[;]? $niv", }; =item * glide I =cut $RE{glide} = { name => 'Glide', 'name.alt.org.fedora' => 'Glide', 'name.alt.org.spdx.since.date_20140807' => 'Glide', caption => '3dfx Glide License', 'caption.alt.org.tldr' => '3dfx Glide License', 'caption.alt.misc.legal_grant' => 'THE 3DFX GLIDE GENERAL PUBLIC LICENSE', tags => [ 'license.contains.grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'This license is for software that provides a 3D graphics', }; =item * gpl =item * gpl_1 I =item * gpl_1_only =item * gpl_1_or_later =item * gpl_2 I =item * gpl_2_only =item * gpl_2_or_later =item * gpl_3 I =item * gpl_3_only =item * gpl_3_or_later =cut $RE{gpl} = { name => 'GPL', 'name.alt.org.fsf' => 'GNUGPL', 'name.alt.org.osi' => 'gpl-license', 'name.alt.org.osi.misc.shortname' => 'GPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q7603', 'name.alt.misc.fossology_old' => 'CC_GPL', caption => 'GNU General Public License', 'caption.alt.org.fedora' => 'GNU General Public License', 'caption.alt.org.fsf' => 'GNU General Public License (GPL)', 'caption.alt.org.osi' => 'GNU General Public License', 'caption.alt.org.trove' => 'GNU General Public License (GPL)', 'caption.alt.org.wikipedia' => 'GNU General Public License', tags => [ 'family:gpl', 'license:contains:grant', 'type:versioned:decimal', ], '_pat.alt.subject.name' => [ "$the?$gnu?$gpl(?: [(]GPL[)])?" . $RE{by_fsf}{'pat.alt.subject.trait'} . '?', "$the$gnu?GPL", "${the}GNU [Ll]icense", "${gnu}GPL", ], }; $RE{gpl_1} = { name => 'GPL-1.0', 'name.alt.org.debian' => 'GPL-1', 'name.alt.org.perl' => 'gpl_1', 'name.alt.org.fsf' => 'GPLv1', 'name.alt.org.wikidata.synth.nogrant' => 'Q10513452', 'name.alt.misc.fossology_old' => 'GPL1.0', 'name.alt.misc.fossology_old_short' => 'GPL_v1', caption => 'GNU General Public License, Version 1', 'caption.alt.org.wikidata' => 'GNU General Public License, version 1.0', iri => 'https://www.gnu.org/licenses/old-licenses/gpl-1.0.html', 'iri.alt.format.txt' => 'https://www.gnu.org/licenses/old-licenses/gpl-1.0.txt', 'iri.alt.path.short' => 'http://www.gnu.org/licenses/gpl-1.0.html', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:singleversion:gpl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection.part.tail_sample' => '[<]?name of author[>]?[ ]' . 'This program is free software[;]? ' . 'you can redistribute it and[/]or modify it ' . 'under the terms of the GNU General Public License ' . 'as published by the Free Software Foundation[;]? ' . 'either version 1, or', }; $RE{gpl_1_only} = { name => 'GPL-1.0-only', 'name.alt.org.fedora.synth.nogrant' => 'GPLv1', 'name.alt.org.spdx.until.date_20171228.synth.nogrant' => 'GPL-1.0', 'name.alt.org.spdx.since.date_20171228' => 'GPL-1.0-only', caption => 'GNU General Public License v1.0 only', 'caption.alt.misc.short' => 'GPLv1 only', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:gpl_1:only', ], }; $RE{gpl_1_or_later} = { name => 'GPL-1.0-or-later', 'name.alt.org.fedora' => 'GPL+', 'name.alt.org.debian' => 'GPL-1+', 'name.alt.org.spdx.until.date_20150513' => 'GPL-1.0+', 'name.alt.org.spdx.since.date_20171228' => 'GPL-1.0-or-later', 'name.alt.org.wikidata.synth.nogrant' => 'Q27016750', 'name.alt.misc.fossology_old_short' => 'GPL_v1+', caption => 'GNU General Public License v1.0 or later', 'caption.alt.org.wikidata' => 'GNU General Public License, version 1.0 or later', 'caption.alt.misc.short' => 'GPLv1 or later', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:gpl_1:or_later', ], }; $RE{gpl_2} = { name => 'GPL-2', 'name.alt.misc.short' => 'GPLv2', 'name.alt.org.debian' => 'GPL-2', 'name.alt.org.fsf' => 'GNUGPLv2', 'name.alt.org.osi' => 'GPL-2.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'gpl-2.0', 'name.alt.org.perl' => 'gpl_2', 'name.alt.org.tldr' => 'gnu-general-public-license-v2', 'name.alt.org.tldr.path.short' => 'gpl2', 'name.alt.org.trove' => 'GPLv2', 'name.alt.org.wikidata.synth.nogrant' => 'Q10513450', 'name.alt.misc.fossology_old' => 'GPL2.0', 'name.alt.misc.fossology_old_cc' => 'CC_GPL_v2', 'name.alt.misc.fossology_old_short' => 'GPL_v2', caption => 'GNU General Public License, Version 2', 'caption.alt.org.cc.until.date_20100915' => 'Creative Commons GNU GPL', # TODO: find official date 'caption.alt.org.cc.misc.short.until.date_20100915' => 'CC-GNU GPL', # TODO: find official date 'caption.alt.org.fedora.misc.cc' => 'Creative Commons GNU GPL', 'caption.alt.org.fsf' => 'GNU General Public License (GPL) version 2', 'caption.alt.org.trove' => 'GNU General Public License v2 (GPLv2)', 'caption.alt.org.osi' => 'GNU General Public License version 2', 'caption.alt.org.osi.misc.list' => 'GNU General Public License, version 2', 'caption.alt.org.tldr' => 'GNU General Public License v2.0 (GPL-2.0)', 'caption.alt.org.wikidata' => 'GNU General Public License, version 2.0', iri => 'https://www.gnu.org/licenses/old-licenses/gpl-2.0.html', 'iri.alt.format.txt' => 'https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt', 'iri.alt.path.short' => 'http://www.gnu.org/licenses/gpl-2.0.html', 'iri.alt.org.cc.archive.time_20101028012914.until.date_20101028' => 'http://creativecommons.org/licenses/GPL/2.0/' , # TODO: find official date 'iri.alt.org.cc.archive.time_20100915084134.until.date_20100915' => 'http://creativecommons.org/choose/cc-gpl', # TODO: find official date tags => [ 'family:gpl', 'license:published:by_fsf', 'type:singleversion:gpl', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.sentence.part.preamble' => '[(]Some other Free Software Foundation software is covered by t?he GNU (Library|Lesser)', 'pat.alt.subject.license.scope.multisection.part.tail_sample' => '[<]?name of author[>]?[ ]' . 'This program is free software[;]? ' . 'you can redistribute it and[/]or modify it ' . 'under the terms of the GNU General Public License ' . 'as published by the Free Software Foundation[;]? ' . 'either version 2 of the License, or', }; $RE{gpl_2_only} = { name => 'GPL-2.0-only', 'name.alt.org.fedora.synth.nogrant' => 'GPLv2', 'name.alt.org.spdx.until.date_20171228.synth.nogrant' => 'GPL-2.0', 'name.alt.org.spdx.since.date_20171228' => 'GPL-2.0-only', caption => 'GNU General Public License v2.0 only', 'caption.alt.misc.short' => 'GPLv2 only', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:gpl_2:only', ], }; $RE{gpl_2_or_later} = { name => 'GPL-2.0-or-later', 'name.alt.org.fedora' => 'GPLv2+', 'name.alt.org.debian' => 'GPL-2+', 'name.alt.org.fedora' => 'GPLv2+', 'name.alt.org.spdx.until.date_20150513' => 'GPL-2.0+', 'name.alt.org.spdx.since.date_20171228' => 'GPL-2.0-or-later', 'name.alt.org.trove' => 'GPLv2+', 'name.alt.org.wikidata.synth.nogrant' => 'Q27016752', 'name.alt.misc.fossology_old_short' => 'GPL_v2+', caption => 'GNU General Public License v2.0 or later', 'caption.alt.misc.short' => 'GPLv2 or later', 'caption.alt.org.trove' => 'GNU General Public License v2 or later (GPLv2+)', 'caption.alt.org.wikidata' => 'GNU General Public License, version 2.0 or later', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:gpl_2:or_later', ], }; $RE{gpl_3} = { name => 'GPL-3', 'name.alt.misc.short' => 'GPLv3', 'name.alt.org.debian' => 'GPL-3', 'name.alt.org.fsf' => 'GNUGPLv3', 'name.alt.org.osi' => 'GPL-3.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'gpl-3.0', 'name.alt.org.perl' => 'gpl_3', 'name.alt.org.tldr.path.short' => 'gpl-3.0', 'name.alt.org.trove' => 'GPLv3', 'name.alt.org.wikidata.synth.nogrant' => 'Q10513445', 'name.alt.misc.fossology_old' => 'GPL3.0', 'name.alt.misc.fossology_old_short' => 'GPL_v3', caption => 'GNU General Public License, Version 3', 'caption.alt.org.fsf' => 'GNU General Public License (GPL) version 3', 'caption.alt.org.osi' => 'GNU General Public License version 3', 'caption.alt.org.osi.misc.list' => 'GNU General Public License, version 3', 'caption.alt.org.tldr' => 'GNU General Public License v3 (GPL-3)', 'caption.alt.org.trove' => 'GNU General Public License v3 (GPLv3)', 'caption.alt.org.wikidata' => 'GNU General Public License, version 3.0', iri => 'https://www.gnu.org/licenses/gpl.html', 'iri.alt.format.txt' => 'https://www.gnu.org/licenses/gpl.txt', 'iri.alt.path.fragmented' => 'https://www.gnu.org/licenses/licenses.html#GPL', 'iri.alt.path.versioned' => 'http://www.gnu.org/licenses/gpl-3.0.html', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:singleversion:gpl', ], licenseversion => '3.0', 'pat.alt.subject.license.part.part0' => '["]This License["] refers to version 3 of the GNU General', 'pat.alt.subject.license.scope.sentence.part.part13' => 'Notwithstanding any other provision of this License, ' . 'you have permission to link or combine any covered work ' . 'with a work licensed under version 3 of the GNU Affero', 'pat.alt.subject.license.scope.multisection.part.tail_sample' => '[<]?name of author[>]?[ ]' . 'This program is free software[;]? ' . 'you can redistribute it and[/]or modify it ' . 'under the terms of the GNU General Public License ' . 'as published by the Free Software Foundation[;]? ' . 'either version 3 of the License, or', #<<< do not let perltidy touch this (keep long regex on one line) examples => [ { summary => 'pattern with subject "license" matches canonical license grant with adequate context', gen_args => { subject => 'license' }, ## no Test::Tabs str => <<'END', Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. END ## use Test::Tabs matches => 1, }, { summary => 'pattern with subject "license" doesn\'t match canonical license grant only', gen_args => { subject => 'license' }, str => 'This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.', matches => 0, }, { summary => 'pattern with subject "grant" matches canonical license grant', gen_args => { subject => 'grant' }, str => 'This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.', matches => 1, }, { summary => 'pattern with subject "grant" matches a license grant without usage specified', gen_args => { subject => 'grant' }, str => 'Licensed under the GNU General Public License version 3.', matches => 1, }, { summary => 'pattern with subject "grant" doesn\'t match license grant with usage in front', gen_args => { subject => 'grant' }, str => 'Licensed under v3 or newer of the GNU General Public License.', matches => 0, }, { summary => 'pattern with subject "grant" doesn\'t match license name only', gen_args => { subject => 'grant' }, str => 'GNU General Public License v3', matches => 0, }, { summary => 'pattern with subject "name" matches license name', gen_args => { subject => 'name' }, str => 'GNU General Public License v3', matches => 1, }, { summary => 'pattern with subject "iri" doesn\'t match license name', gen_args => { subject => 'iri' }, str => 'GNU General Public License v3', matches => 0, }, ], #>>> }; $RE{gpl_3_only} = { name => 'GPL-3.0-only', 'name.alt.org.fedora.synth.nogrant' => 'GPLv3', 'name.alt.org.spdx.until.date_20171228.synth.nogrant' => 'GPL-3.0', 'name.alt.org.spdx.since.date_20171228' => 'GPL-3.0-only', caption => 'GNU General Public License v3.0 only', 'caption.alt.misc.short' => 'GPLv3 only', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:gpl_3:only', ], #<<< do not let perltidy touch this (keep long regex on one line) examples => [ { summary => 'pattern with subject "license" doesn\'t match canonical license grant even with context', gen_args => { subject => 'license' }, ## no Test::Tabs str => <<'END', Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. END ## use Test::Tabs matches => 0, }, { summary => 'pattern with subject "license" doesn\'t match canonical license grant only', gen_args => { subject => 'license' }, str => 'This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 only of the License.', matches => 0, }, { summary => 'pattern with subject "license" doesn\'t match a non-canonical license grant', gen_args => { subject => 'license' }, str => 'modify it under the terms of the GNU General Public License', matches => 0, }, { summary => 'pattern with subject "grant" matches canonical license grant', gen_args => { subject => 'grant' }, str => 'This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3 only of the License.', matches => 1, }, { summary => 'pattern with subject "grant" matches license grant with usage in front', gen_args => { subject => 'grant' }, str => 'Licensed under v3 only of the GNU General Public License.', matches => 1, }, { summary => 'pattern with subject "grant" doesn\'t match a license grant without usage specified', gen_args => { subject => 'grant' }, str => 'This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 3.', matches => 0, }, { summary => 'pattern with subject "grant" doesn\'t match license grant with different usage', gen_args => { subject => 'grant' }, str => 'This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.', matches => 0, }, { summary => 'pattern with subject "grant" doesn\'t match license name only', gen_args => { subject => 'grant' }, str => 'GNU General Public License v3.0 only', matches => 0, }, { summary => 'pattern with subject "name" matches canonical license name', gen_args => { subject => 'name' }, str => 'GNU General Public License v3.0 only', matches => 1, }, { summary => 'pattern with subject "name" doesn\'t match a license name without usage specified', gen_args => { subject => 'name' }, str => 'GNU General Public License v3.0', matches => 0, }, { summary => 'pattern with subject "name" doesn\'t match a license name with different usage', gen_args => { subject => 'name' }, str => 'GNU General Public License v3.0 or later', matches => 0, }, { summary => 'pattern with subject "iri" doesn\'t match canonical license name', gen_args => { subject => 'iri' }, str => 'GNU General Public License v3.0 only', matches => 0, }, ], #>>> }; $RE{gpl_3_or_later} = { name => 'GPL-3.0-or-later', 'name.alt.org.fedora' => 'GPLv3+', 'name.alt.org.debian' => 'GPL-3+', 'name.alt.org.spdx.until.date_20150513' => 'GPL-3.0+', 'name.alt.org.spdx.since.date_20171228' => 'GPL-3.0-or-later', 'name.alt.org.trove' => 'GPLv3+', 'name.alt.org.wikidata.synth.nogrant' => 'Q27016754', 'name.alt.misc.fossology_old_short' => 'GPL_v3+', caption => 'GNU General Public License v3.0 or later', 'caption.alt.misc.short' => 'GPLv3 or later', 'caption.alt.org.trove' => 'GNU General Public License v3 or later (GPLv3+)', 'caption.alt.org.wikidata' => 'GNU General Public License, version 3.0 or later', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:gpl_3:or_later', ], }; =item * gsoap I =item * gsoap_1.3b I =cut $RE{gsoap} = { name => 'gSOAP', 'name.alt.org.wikidata.synth.nogrant' => 'Q3756289', caption => 'gSOAP Public License', tags => [ 'type:versioned:decimal', ], }; $RE{gsoap_1_3b} = { name => 'gSOAP-1.3b', 'name.alt.org.spdx' => 'gSOAP-1.3b', caption => 'gSOAP Public License v1.3b', 'caption.alt.org.fedora.synth.nogrant' => 'gSOAP Public License', description => <<'END', Origin: Mozilla Public License Version 1.1 END tags => [ 'type:singleversion:gsoap', ], licenseversion => '1.3b', 'pat.alt.subject.license.scope.line.scope.sentence.part.head' => 'The gSOAP public license is derived from the Mozilla Public License', 'pat.alt.subject.license.scope.line.scope.sentence.part.section_3_8' => 'You may not remove any product identification', }; =item * hpnd I =cut $RE{hpnd} = { name => 'HPND', 'name.alt.org.osi' => 'HPND', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'historical', 'name.alt.org.spdx' => 'HPND', 'name.alt.org.wikidata.synth.nogrant' => 'Q5773924', caption => 'Historical Permission Notice and Disclaimer', 'caption.alt.org.fedora' => 'Historical Permission Notice and Disclaimer', 'caption.alt.org.spdx.until.date_20171228' => 'Historic Permission Notice and Disclaimer', 'caption.alt.org.spdx.since.date_20171228' => 'Historical Permission Notice and Disclaimer', 'caption.alt.org.tldr' => 'Historic Permission Notice and Disclaimer (HPND)', 'caption.alt.org.trove' => 'Historical Permission Notice and Disclaimer (HPND)', 'caption.alt.org.wikipedia' => 'Historical Permission Notice and Disclaimer', description => <<'END', Identical to NTP, except... * omit explicit permission to charge fee * relax suitability disclaimer and terse "as is" warranty disclaimer as optional * add optional elaborate warranty disclaimer and liability disclaimer END tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => 'Permission to use, copy, modify and distribute ' . 'this software and its documentation ' . 'for any purpose and without fee', 'pat.alt.subject.license.scope.paragraph' => 'Permission to use, copy, modify and distribute ' . 'this software and its documentation ' . 'for any purpose and without fee is hereby granted, ' . 'provided that the above copyright notice appears? in all copies,?(?: and)? ' . 'that both(?: that)?(?: the)? copyright notice ' . 'and this permission notice appear in supporting documentation' . '(?:, and that the name [word][ word]{0,14} not be used ' . 'in advertising or publicity pertaining to distribution ' . 'of the software without specific, written prior permission' . '[. ][word][ word]{0,14} makes no representations ' . 'about the suitability of this software for any purpose' . '[. ]It is provided [as is] without express or implied warranty[.])?', }; =item * hpnd_sell I =cut $RE{hpnd_sell} = { name => 'HPND-sell-variant', 'name.alt.org.spdx.since.date_20190402' => 'HPND-sell-variant', caption => 'Historical Permission Notice and Disclaimer - sell variant', description => <<'END', Identical to HPND, except... * add explicit permission to sell * omit explicit permission to charge fee * extend permissions with note that they are granted without fee Identical to NTP, except... * add explicit permission to sell * omit explicit permission to charge or not charge fee * extend permissions with note that they are granted without fee * relax suitability disclaimer and terse "as is" warranty disclaimer as optional * add optional elaborate warranty disclaimer and liability disclaimer END tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.paragraph' => 'Permission to use, copy, modify, distribute, and sell ' . 'this software and its documentation ' . 'for any purpose is hereby granted without fee, ' . 'provided that the above copyright notice appears? in all copies,?(?: and)? ' . 'that both(?: that)?(?: the)? copyright notice ' . 'and this permission notice appear in supporting documentation' . '(?:, and that the name [word][ word]{0,14} not be used ' . 'in advertising or publicity pertaining to distribution ' . 'of the software without specific, written prior permission' . '[. ][word][ word]{0,14} makes no representations ' . 'about the suitability of this software for any purpose' . '[. ]It is provided [as is] without express or implied warranty[.])?', }; =item * ibm_pibs I =cut $RE{ibm_pibs} = { name => 'IBM-pibs', 'name.alt.org.spdx.since.date_20130912' => 'IBM-pibs', caption => 'IBM PowerPC Initialization and Boot Software', 'caption.alt.org.tldr' => 'IBM PowerPC Initialization and Boot Software (IBM-pibs)', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'Any user of this software should understand that IBM cannot', }; =item * icu =cut $RE{icu} = { name => 'ICU', 'name.alt.org.spdx.since.date_20150513' => 'ICU', caption => 'ICU License', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Modern style (ICU Variant)', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{note_copr_perm} . ' of the Software and that ' . $P{repro_copr_perm_appear_doc} . '[.][ ]' . $P{asis_sw_warranty} . '(?:[^.]+[. ]){2}' . $P{nopromo_except}, }; =item * ijg I =cut $RE{ijg} = { name => 'IJG', 'name.alt.org.fedora.iri.self' => 'IJG', 'name.alt.org.spdx.since.date_20130117' => 'IJG', 'name.alt.org.wikidata.synth.nogrant' => 'Q106186423', caption => 'Independent JPEG Group License', 'caption.alt.org.tldr' => 'Independent JPEG Group License (IJG)', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.section.part.intro' => "We don[']t promise that this software works" . '[. ]' . '[(]But if you find any bugs, please let us know[!][)]', }; =item * imlib2 I =cut $RE{imlib2} = { name => 'Imlib2', 'name.alt.org.fedora.iri.self' => 'Imlib2', 'name.alt.org.spdx.since.date_20130117' => 'Imlib2', caption => 'Imlib2 License', 'caption.alt.org.tldr' => 'Imlib2 License (Imlib2)', description => <<'END', Identical to enna License, except... * Define meaning of making source available * Describe purpose of copyright notice END tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.section' => $P{perm_granted} . $P{free_charge} . $P{to_pers} . $P{the_sw} . $P{to_deal_the_sw_rights} . $P{subj_cond} . $P{to_copy_sublicence_conditions} . '[:]?[ ]' . $P{retain_copr_perm_sw_copr} . '[. ]' . $P{ack_pub_use_nosrc} . '[. ]' . 'Making the source available publicly means ' . 'including the source for this software with the distribution, ' . 'or a method to get this software via some reasonable mechanism ' . '[(]electronic transfer via a network or media[)] ' . 'as well as making an offer to supply the source on request' . '[. ]' . 'This Copyright notice serves as an offer to supply the source on on request as well' . '[. ]' . 'Instead of this, supplying acknowledgments of use of this software ' . 'in either Copyright notices, Manuals, Publicity and Marketing documents ' . 'or any documentation provided ' . 'with any product containing this software[. ]' . $P{license_not_lib} . '[.]', 'pat.alt.subject.license.scope.line' => 'Making the source available publicly means including', }; =item * intel I =cut $RE{intel} = { name => 'Intel', 'name.alt.org.osi' => 'Intel', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'intel-open-source-license', 'name.alt.org.spdx.since.date_20130117' => 'Intel', 'name.alt.org.wikidata.synth.nogrant' => 'Q6043507', caption => 'Intel Open Source License', 'caption.alt.org.fedora' => 'Intel Open Source License', 'caption.alt.org.osi' => 'The Intel Open Source License', 'caption.alt.org.osi.misc.list' => 'Intel Open Source License', 'caption.alt.org.tldr' => 'Intel Open Source License (Intel)', 'caption.alt.org.trove' => 'Intel Open Source License', description => <<'END', Identical to BSD 3 Clause, except... * Add export law disclaimer END tags => [ 'family:bsd', 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{repro_copr_cond_discl} . '[.]?[ ]' . '(?:[*)]\[?(?:rescinded 22 July 1999' . '|This condition was removed[.])\]?)?' . '[*)]' . $P{nopromo_neither} . '[.][ ]' . $P{discl_warranties} . '[. ]' . $P{discl_liability} . '[.][ ]' . 'EXPORT LAWS[:] THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS', 'pat.alt.subject.license.scope.line.scope.sentence.part.last' => 'THIS LICENSE ADDS NO RESTRICTIONS TO THE EXPORT LAWS', }; =item * ipa I =cut $RE{ipa} = { name => 'IPA', 'name.alt.org.fedora' => 'IPA', 'name.alt.org.osi' => 'IPA', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'ipafont', 'name.alt.org.spdx' => 'IPA', 'name.alt.org.tldr.path.short' => 'ipa', 'name.alt.org.wikidata.synth.nogrant' => 'Q38366264', caption => 'IPA Font License', 'caption.alt.org.tldr' => 'IPA Font License (IPA)', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'The Licensor provides the Licensed Program', }; =item * ipl =item * ipl_1 =cut $RE{ipl} = { name => 'IPL', 'name.alt.org.fedora.synth.nogrant' => 'IBM', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'ibmpl', 'name.alt.org.wikidata.synth.nogrant' => 'Q288745', 'name.alt.misc.fossology_old' => 'IBM-PL', 'name.alt.misc.fossology_old_vague.synth.nogrant' => 'IBM', caption => 'IBM Public License', 'caption.alt.org.trove' => 'IBM Public License', 'caption.alt.org.wikipedia' => 'IBM Public License', tags => [ 'type:versioned:decimal', ], }; $RE{ipl_1} = { name => 'IPL-1.0', 'name.alt.org.osi' => 'IPL-1.0', 'name.alt.org.spdx' => 'IPL-1.0', 'name.alt.org.tldr.path.short' => 'ipl', caption => 'IBM Public License v1.0', 'caption.alt.org.osi' => 'IBM Public License 1.0', 'caption.alt.org.osi.misc.list' => 'IBM Public License Version 1.0', 'caption.alt.org.tldr' => 'IBM Public License 1.0 (IPL)', 'caption.alt.misc.legal' => 'IBM Public License Version 1.0', 'caption.alt.misc.fossology_old' => 'IBM-PL 1.0', description => <<'END', Origin: Possibly Lucent Public License Version 1.0 END tags => [ 'type:singleversion:ipl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.sentence' => 'UNDER THE TERMS OF THIS IBM', 'pat.alt.subject.license.scope.multisection.part.head' => '(?:IBM Public License Version 1\.0[ ])?' . 'THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS IBM PUBLIC LICENSE [(]["]AGREEMENT["][)][. ]' . 'ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT[\']S ACCEPTANCE OF THIS AGREEMENT[.][ ]' . '[*)][ ]?DEFINITIONS[ ]' . '["]Contribution["] means[:"]?[ ]' . '[*)]in the case of International Business Machines Corporation [(]["]IBM["][)], the Original Program', }; =item * isc =cut $RE{isc} = { name => 'ISC', 'name.alt.org.fedora' => 'ISC', 'name.alt.org.osi' => 'ISC', 'name.alt.org.osi.iri.stem_plain.until.date_20110430.archive.time_20110426131805' => 'isc-license', 'name.alt.org.spdx' => 'ISC', 'name.alt.org.tldr' => '-isc-license', 'name.alt.org.tldr.path.short' => 'isc', 'name.alt.org.trove' => 'ISCL', 'name.alt.org.wikidata.synth.nogrant' => 'Q386474', caption => 'ISC License', 'caption.alt.misc.openbsd' => 'OpenBSD License', 'caption.alt.org.tldr' => 'ISC License', 'caption.alt.org.trove' => 'ISC License (ISCL)', 'caption.alt.org.wikidata' => 'ISC license', 'caption.alt.org.wikipedia' => 'ISC license', 'summary.alt.org.fedora' => 'ISC License (Bind, DHCP Server)', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{note_copr_perm} . '[.][ ]' . $P{asis_sw_name_discl}, }; =item * jabberpl I =cut $RE{jabberpl} = { name => 'jabberpl', 'name.alt.org.fedora' => 'Jabber', 'name.alt.org.osi' => 'jabberpl', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'jabberpl', 'name.alt.org.wikidata.synth.nogrant' => 'Q1149006', 'name.alt.misc.fossology_old' => 'Jabber', caption => 'Jabber Open Source License', 'caption.alt.org.trove' => 'Jabber Open Source License', tags => [ 'license:contains:grant', 'type:unversioned', ], 'pat.alt.subject.license.part.intro' => 'This Jabber Open Source License [(]the ["]License["][)]' . ' applies to Jabber Server and related software products', }; =item * json I =cut $RE{json} = { name => 'JSON', 'name.alt.org.spdx.since.date_20130117' => 'JSON', caption => 'JSON License', 'caption.alt.org.fedora' => 'JSON License', 'caption.alt.org.tldr' => 'The JSON License', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'The Software shall be used for Good, not Evil[.]', }; =item * jython I =cut $RE{jython} = { name => 'Jython', 'name.alt.org.spdx.since.date_20150730' => 'CNRI-Jython', caption => 'Jython License', 'caption.alt.org.spdx' => 'CNRI Jython License', 'caption.alt.legal.license' => 'The Jython License', iri => 'http://www.jython.org/license.txt', tags => [ 'type:unversioned', ], 'pat.alt.subject.license' => '[*)]PSF is making Jython available to Licensee', }; =item * kevlin_henney I =cut $RE{kevlin_henney} = { name => 'Kevlin-Henney', caption => 'Kevlin Henney License', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{note_copr_perms_deriv} . '[.][ ]' . $P{asis_sw_expr_warranty}, }; =item * leptonica I =cut $RE{leptonica} = { name => 'Leptonica', 'name.alt.org.fedora.iri.self' => 'Leptonica', 'name.alt.org.spdx.since.date_20140807' => 'Leptonica', caption => 'Leptonica License', description => <<'END', Identical to Crossword License, except... * Expand disclaimer slightly * Replace "he" with "he or she" * Extend permissions clause to explicitly permit commercial and non-commercial use * Add source-no-misrepresentation clause * Add mark-modified-source clause, replacing no-misrepresentation passage in permissions clause * Add retain-notice clause END tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => 'No author or distributor accepts responsibility to anyone ' . 'for the consequences of using this software', }; =item * lgpl =item * lgpl_2 =item * lgpl_2_only =item * lgpl_2_or_later =item * lgpl_2_1 =item * lgpl_2_1_only =item * lgpl_2_1_or_later =item * lgpl_3 =item * lgpl_3_only =item * lgpl_3_or_later =cut $RE{lgpl} = { name => 'LGPL', 'name.alt.org.fsf' => 'LGPL', 'name.alt.org.osi' => 'lgpl-license', 'name.alt.org.osi.misc.shortname' => 'LGPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q192897', 'name.alt.misc.fossology_old' => 'CC_LGPL', caption => 'GNU Lesser General Public License', 'caption.alt.org.fsf' => 'GNU Lesser General Public License (LGPL)', 'caption.alt.org.osi' => 'GNU LGPL', 'caption.alt.org.osi.misc.list' => 'GNU Lesser General Public License', 'caption.alt.org.trove' => 'GNU Library or Lesser General Public License (LGPL)', 'caption.alt.org.wikipedia' => 'GNU Lesser General Public License', 'caption.alt.org.osi' => 'GNU LGPL', 'caption.alt.org.osi.misc.list' => 'GNU Lesser General Public License', tags => [ 'type:versioned:decimal', ], '_pat.alt.subject.name' => [ "$the?$gnu?Library $gpl(?: [(]LGPL[)])?" . $RE{by_fsf}{'pat.alt.subject.trait'} . '?', "$the?$gnu?Lesser(?: [(]Library[)])? $gpl(?: [(]LGPL[)])?" . $RE{by_fsf}{'pat.alt.subject.trait'} . '?', "$the?$gnu?LIBRARY GENERAL PUBLIC LICEN[CS]E(?: [(]LGPL[)])?" . $RE{by_fsf}{'pat.alt.subject.trait'} . '?', "$the?$gnu?LESSER GENERAL PUBLIC LICEN[CS]E(?: [(]LGPL[)])?" . $RE{by_fsf}{'pat.alt.subject.trait'} . '?', "$the$gnu?LGPL", "${gnu}LGPL", ], }; $RE{lgpl_2} = { name => 'LGPL-2', 'name.alt.misc.short' => 'LGPLv2', 'name.alt.org.debian' => 'LGPL-2', 'name.alt.org.fsf' => 'LGPLv2.0', 'name.alt.org.osi' => 'LGPL-2.0', 'name.alt.org.trove' => 'LGPLv2', 'name.alt.org.wikidata.synth.nogrant' => 'Q23035974', 'name.alt.misc.fossology_old' => 'LGPL_v2', caption => 'GNU Library General Public License, Version 2.0', 'caption.alt.org.fsf' => 'GNU Library General Public License (LGPL) version 2.0', 'caption.alt.org.osi' => 'GNU Library General Public License version 2', 'caption.alt.org.trove' => 'GNU Lesser General Public License v2 (LGPLv2)', 'caption.alt.org.wikidata' => 'GNU Library General Public License, version 2.0', iri => 'https://www.gnu.org/licenses/lgpl-2.0.html', 'iri.alt.format.txt' => 'https://www.gnu.org/licenses/lgpl-2.0.txt', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:singleversion:lgpl', ], licenseversion => '2.0', 'pat.alt.subject.license.part.preample' => 'This license, the Library General Public License, applies to', 'pat.alt.subject.license.scope.multisection.part.tail_sample' => '[<]?name of author[>]?[ ]' . 'This library is free software[;]? ' . 'you can redistribute it and[/]or modify it ' . 'under the terms of the GNU Library General Public License ' . 'as published by the Free Software Foundation[;]? ' . 'either version 2 of the License, or', }; $RE{lgpl_2_only} = { name => 'LGPL-2-only', 'name.alt.org.spdx.until.date_20171228.synth.nogrant' => 'LGPL-2.0', 'name.alt.org.spdx.since.date_20171228' => 'LGPL-2.0-only', caption => 'GNU Library General Public License v2 only', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:lgpl_2:only', ], }; $RE{lgpl_2_or_later} = { name => 'LGPL-2-or-later', 'name.alt.org.fedora.synth.nogrant' => 'LGPLv2+', 'name.alt.org.debian' => 'LGPL-2+', 'name.alt.org.spdx.until.date_20150513' => 'LGPL-2.0+', 'name.alt.org.spdx.since.date_20171228' => 'LGPL-2.0-or-later', 'name.alt.org.trove' => 'LGPLv2+', 'name.alt.org.wikidata.synth.nogrant' => 'Q27016756', 'name.alt.misc.fossology_old' => 'LGPL_v2+', caption => 'GNU Library General Public License v2 or later', 'caption.alt.org.fedora' => 'GNU Lesser General Public License v2 (or 2.1) or later', 'caption.alt.org.trove' => 'GNU Lesser General Public License v2 or later (LGPLv2+)', 'caption.alt.org.wikidata' => 'GNU Library General Public License, version 2.0 or later', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:lgpl_2:or_later', ], }; $RE{lgpl_2_1} = { name => 'LGPL-2.1', 'name.alt.misc.short' => 'LGPLv2.1', 'name.alt.org.fsf' => 'LGPLv2.1', 'name.alt.org.osi' => 'LGPL-2.1', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'lgpl-2.1', 'name.alt.org.perl' => 'lgpl_2_1', 'name.alt.org.tldr.path.short' => 'lgpl2', 'name.alt.org.wikidata.synth.nogrant' => 'Q18534390', 'name.alt.misc.fossology_old' => 'CC_LGPL_v2.1', 'name.alt.misc.fossology_old' => 'LGPL_v2.1', 'name.alt.misc.fossology_old_cc' => 'CCGPL2.1', 'name.alt.misc.fossology_old_short' => 'LGPL2.1', caption => 'GNU Lesser General Public License, Version 2.1', 'caption.alt.org.cc.until.date_20100912' => 'Creative Commons GNU LGPL', # TODO: find official date 'caption.alt.org.cc.misc.short.until.date_20100912' => 'CC-GNU LGPL', # TODO: find official date 'caption.alt.org.fedora.misc.cc' => 'Creative Commons GNU LGPL', 'caption.alt.org.fsf' => 'GNU Lesser General Public License (LGPL) version 2.1', 'caption.alt.org.osi' => 'GNU Lesser General Public License version 2.1', 'caption.alt.org.tldr' => 'GNU Lesser General Public License v2.1 (LGPL-2.1)', 'caption.alt.org.wikidata' => 'GNU Lesser General Public License, version 2.1', 'caption.alt.misc.uppercase' => 'GNU LESSER GENERAL PUBLIC LICENSE', iri => 'https://www.gnu.org/licenses/lgpl-2.1.html', 'iri.alt.format.txt' => 'https://www.gnu.org/licenses/lgpl-2.1.txt', 'iri.alt.org.cc.archive.time_20101027034910.until.date_20101027' => 'http://creativecommons.org/licenses/LGPL/2.1/' , # TODO: find official date 'iri.alt.org.cc.archive.time_20100912081720.until.date_20100912' => 'http://creativecommons.org/choose/cc-lgpl' , # TODO: find official date tags => [ 'family:gpl', 'license:published:by_fsf', 'type:singleversion:lgpl', ], licenseversion => '2.1', 'pat.alt.subject.license.part.preample' => 'This license, the Lesser General Public License, applies to', 'pat.alt.subject.license.scope.multisection.part.tail_sample' => '[<]?name of author[>]?[ ]' . 'This library is free software[;]? ' . 'you can redistribute it and[/]or modify it ' . 'under the terms of the GNU Lesser General Public License ' . 'as published by the Free Software Foundation[;]? ' . 'either version 2\.1 of the License, or', }; $RE{lgpl_2_1_only} = { name => 'LGPL-2.1-only', 'name.alt.org.spdx.until.date_20171228.synth.nogrant' => 'LGPL-2.1', 'name.alt.org.spdx.since.date_20171228' => 'LGPL-2.1-only', caption => 'GNU Lesser General Public License v2.1 only', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:lgpl_2_1:only', ], }; $RE{lgpl_2_1_or_later} = { name => 'LGPL-2.1-or-later', 'name.alt.org.debian' => 'LGPL-2.1+', 'name.alt.org.spdx.until.date_20150513' => 'LGPL-2.1+', 'name.alt.org.spdx.since.date_20171228' => 'LGPL-2.1-or-later', 'name.alt.org.wikidata.synth.nogrant' => 'Q27016757', 'name.alt.misc.fossology_old' => 'LGPL_v2.1+', caption => 'GNU Lesser General Public License v2.1 or later', 'caption.alt.org.wikidata' => 'GNU Lesser General Public License, version 2.1 or later', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:lgpl_2_1:or_later', ], }; $RE{lgpl_3} = { name => 'LGPL-3', 'name.alt.misc.short' => 'LGPLv3', 'name.alt.org.debian' => 'LGPL-3', 'name.alt.org.fsf' => 'LGPLv3', 'name.alt.org.osi' => 'LGPL-3.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'lgpl-3.0', 'name.alt.org.perl' => 'lgpl_3_0', 'name.alt.org.tldr' => 'gnu-lesser-general-public-license-v3-(lgpl-3)', 'name.alt.org.tldr.path.short' => 'lgpl-3.0', 'name.alt.org.trove' => 'LGPLv3', 'name.alt.org.wikidata.synth.nogrant' => 'Q18534393', 'name.alt.misc.fossology_old' => 'LGPL_v3', 'name.alt.misc.fossology_old_short' => 'LGPL3.0', caption => 'GNU Lesser General Public License, Version 3', 'caption.alt.org.fsf' => 'GNU Lesser General Public License (LGPL) version 3', 'caption.alt.org.osi' => 'GNU Lesser General Public License version 3', 'caption.alt.org.perl' => 'GNU Lesser General Public License, Version 3.0', 'caption.alt.org.trove' => 'GNU Lesser General Public License v3 (LGPLv3)', 'caption.alt.org.osi' => 'GNU Lesser General Public License version 3', 'caption.alt.org.tldr' => 'GNU Lesser General Public License v3 (LGPL-3.0)', 'caption.alt.org.wikidata' => 'GNU Lesser General Public License, version 3.0', iri => 'https://www.gnu.org/licenses/lgpl-3.0.html', 'iri.alt.format.txt' => 'https://www.gnu.org/licenses/lgpl-3.0.txt', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:singleversion:lgpl', ], licenseversion => '3.0', 'pat.alt.subject.license' => '["][Tt]his License["] refers to version 3 of the GNU Lesser General', }; $RE{lgpl_3_only} = { name => 'LGPL-3.0-only', 'name.alt.org.fedora.synth.nogrant' => 'LGPLv3', 'name.alt.org.spdx.until.date_20171228.synth.nogrant' => 'LGPL-3.0', 'name.alt.org.spdx.since.date_20171228' => 'LGPL-3.0-only', caption => 'GNU Lesser General Public License v3.0 only', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:lgpl_3:only', ], }; $RE{lgpl_3_or_later} = { name => 'LGPL-3.0-or-later', 'name.alt.org.fedora' => 'LGPLv3+', 'name.alt.org.debian' => 'LGPL-3+', 'name.alt.org.spdx.until.date_20150513' => 'LGPL-3.0+', 'name.alt.org.spdx.since.date_20171228' => 'LGPL-3.0-or-later', 'name.alt.org.trove' => 'LGPLv3+', 'name.alt.org.wikidata.synth.nogrant' => 'Q27016762', 'name.alt.misc.fossology_old' => 'LGPL_v3+', caption => 'GNU Lesser General Public License v3.0 or later', 'caption.alt.org.trove' => 'GNU Lesser General Public License v3 or later (LGPLv3+)', 'caption.alt.org.wikidata' => 'GNU Lesser General Public License, version 3.0 or later', tags => [ 'family:gpl', 'license:published:by_fsf', 'type:usage:lgpl_3:or_later', ], }; =item * lgpl_bdwgc I =cut $RE{lgpl_bdwgc} = { name => 'LGPL-bdwgc', caption => 'GNU Lesser General Public License (modified-code-notice clause)', summary => 'The GNU Lesser General Public License, with modified-code-notice clause', description => <<'END', Origin: Possibly Boehm-Demers-Weiser conservative C/C++ Garbage Collector (libgc, bdwgc, boehm-gc). END tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{perm_granted} . $P{to_copy_prg} . "under the terms of $the${gnu}LGPL, " . $P{retain_copr_avail_orig} . '[.][ ]' . $P{repro_code_modcode_cite_copr_avail_note} . $P{and_used_by_perm} . '[". ]' . $P{perm_dist_mod} . $P{granted} . $P{retain_copr_avail_note} . $P{note_mod_inc} . '[.]', 'pat.alt.subject.license.part.credit' => 'code must cite the Copyright', }; =item * libpng =cut $RE{libpng} = { name => 'Libpng', 'name.alt.org.spdx' => 'Libpng', 'name.alt.org.wikidata.synth.nogrant' => 'Q6542418', caption => 'libpng License', 'caption.alt.org.wikidata' => 'Libpng License', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{origin_src_no_misrepresent} . '[.][ ]' . $P{altered_ver_mark} . '[.][ ]' . $P{copr_no_alter}, }; =item * libtiff I =cut $RE{libtiff} = { name => 'libtiff', 'name.alt.org.fedora.iri.self' => 'libtiff', 'name.alt.org.fedora.iri.mit_short' => 'Hylafax', 'name.alt.org.spdx.since.date_20140807' => 'libtiff', 'name.alt.org.wikidata.synth.nogrant' => 'Q105688056', caption => 'libtiff License', 'caption.alt.org.tldr' => 'libtiff License', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Hylafax Variant', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'relating to the software without the specific', }; =item * liliq_p I =item * liliq_p_1_1 I =cut $RE{liliq_p} = { name => 'LiLiQ-P', 'name.alt.org.wikidata.synth.nogrant' => 'Q38493399', caption => 'Licence Libre du Québec – Permissive (LiLiQ-P)', 'caption.alt.org.wikidata' => 'Licence Libre du Québec – Permissive', tags => [ 'type:versioned:decimal', ], }; $RE{liliq_p_1_1} = { name => 'LiLiQ-P-1.1', 'name.alt.org.osi' => 'LiLiQ-P-1.1', 'name.alt.org.spdx.since.date_20160323' => 'LiLiQ-P-1.1', caption => 'Licence Libre du Québec – Permissive version 1.1', 'caption.alt.org.osi' => 'Licence Libre du Québec – Permissive (LiLiQ-P) version 1.1', tags => [ 'type:singleversion:liliq_p', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.line.scope.sentence.part.part8' => 'Le conc[é]dant ne saurait [ê]tre tenu responsable de dommages subis', 'pat.alt.subject.license.scope.line.scope.sentence.part.part9' => 'La pr[é]sente licence est automatiquement r[é]sili[é]e', }; =item * liliq_r I =item * liliq_r_1_1 I =cut $RE{liliq_r} = { name => 'LiLiQ-R', 'name.alt.org.wikidata.synth.nogrant' => 'Q38490890', caption => 'Licence Libre du Québec – Réciprocité (LiLiQ-R)', 'caption.alt.org.wikidata' => 'Licence Libre du Québec – Réciprocité', tags => [ 'type:versioned:decimal', ], }; $RE{liliq_r_1_1} = { name => 'LiLiQ-R-1.1', 'name.alt.org.osi' => 'LiLiQ-R-1.1', 'name.alt.org.spdx.since.date_20160323' => 'LiLiQ-R-1.1', caption => 'Licence Libre du Québec – Réciprocité version 1.1', 'caption.alt.org.osi' => 'Licence Libre du Québec – Réciprocité (LiLiQ-R) version 1.1', tags => [ 'license:contains:name:cddl_1', 'license:contains:name:cecill_2_1', 'license:contains:name:cecill_c', 'license:contains:name:cpl_1', 'license:contains:name:epl_1', 'license:contains:name:eupl_1_1', 'license:contains:name:gpl_2', 'license:contains:name:gpl_3', 'license:contains:name:lgpl_2_1', 'license:contains:name:lgpl_3', 'license:contains:name:liliq_r_plus_1_1', 'license:contains:name:mpl_2', 'type:singleversion:liliq_r', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.line.scope.sentence.part.part4_1' => 'Chaque fois que le licenci[é] distribue le logiciel ou un logiciel modifi[é]', }; =item * liliq_r_plus I =item * liliq_r_plus_1_1 I =cut $RE{liliq_r_plus} = { name => 'LiLiQ-R+', 'name.alt.org.wikidata.synth.nogrant' => 'Q38493724', caption => 'Licence Libre du Québec – Réciprocité forte (LiLiQ-R+)', 'caption.alt.org.wikidata' => 'Licence Libre du Québec – Réciprocité forte', tags => [ 'type:versioned:decimal', ], }; $RE{liliq_r_plus_1_1} = { name => 'LiLiQ-R+-1.1', 'name.alt.org.osi' => 'LiLiQ-Rplus-1.1', 'name.alt.org.spdx.since.date_20160323' => 'LiLiQ-Rplus-1.1', caption => 'Licence Libre du Québec – Réciprocité forte version 1.1', 'caption.alt.org.osi' => 'Licence Libre du Québec – Réciprocité forte (LiLiQ-R+) version 1.1', tags => [ 'license:contains:name:cecill_2_1', 'license:contains:name:cpl_1', 'license:contains:name:epl_1', 'license:contains:name:eupl_1_1', 'license:contains:name:gpl_2', 'license:contains:name:gpl_3', 'type:singleversion:liliq_r_plus', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.line.scope.sentence.part.part4_1' => 'Chaque fois que le licenci[é] distribue le logiciel, un logiciel modifi[é], ou', }; =item * llgpl =cut $RE{llgpl} = { name => 'LLGPL', 'name.alt.org.fedora' => 'LLGPL', 'name.alt.org.tldr' => 'lisp-lesser-general-public-license', caption => 'Lisp Lesser General Public License', 'caption.alt.org.fedora' => 'Lisp Library General Public License', 'caption.alt.org.tldr' => 'Lisp Lesser General Public License (LLGPL)', iri => 'http://opensource.franz.com/preamble.html', 'iri.alt.misc.cliki' => 'http://www.cliki.net/LLGPL', tags => [ 'license:contains:license:lgpl_2_1', 'type:unversioned', ], }; =item * lpl I =item * lpl_1 I =item * lpl_1_02 I =cut $RE{lpl} = { name => 'LPL', 'name.alt.org.fedora' => 'LPL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'plan9', 'name.alt.org.wikidata.synth.nogrant' => 'Q6696468', caption => 'Lucent Public License', 'caption.alt.org.fedora' => 'Lucent Public License (Plan9)', tags => [ 'type:versioned:decimal', ], }; $RE{lpl_1} = { name => 'LPL-1.0', 'name.alt.org.osi' => 'LPL-1.0', 'name.alt.org.spdx' => 'LPL-1.0', 'name.alt.misc.fossology_old' => 'Lucent_v1.0', 'name.alt.misc.fossology_old_short' => 'Lucent1.0', caption => 'Lucent Public License Version 1.0', 'caption.alt.org.osi' => 'Lucent Public License, Plan 9, version 1.0', 'caption.alt.org.spdx.until.date_20130117' => 'Lucent Public License Version 1.0 (Plan9)', 'caption.alt.org.spdx.since.date_20130117' => 'Lucent Public License Version 1.0', 'caption.alt.org.osi.misc.list' => 'Lucent Public License ("Plan9"), version 1.0', tags => [ 'type:singleversion:lpl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection.part.head' => '(?:Lucent Public License Version 1\.0[ ])?' . 'THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS PUBLIC LICENSE [(]["]AGREEMENT["][)][. ]' . "ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT[']S ACCEPTANCE OF THIS AGREEMENT[.][ ]" . '[*)][ ]?DEFINITIONS[ ]' . '["]Contribution["] means[:"]?[ ]' . '[*)]in the case of[ word]{0,15}, the Original Program, and[ ]' . '[*)]in the case of each Contributor,[ ]' . '[*)]changes to the Program, and[ ]' . '[*)]additions to the Program[;]' . '[ ]where such changes and[/]or additions to the Program originate from', }; $RE{lpl_1_02} = { name => 'LPL-1.02', 'name.alt.org.osi' => 'LPL-1.02', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'lucent1.02', 'name.alt.org.spdx' => 'LPL-1.02', 'name.alt.misc.fossology_old' => 'Lucent_v1.02', 'name.alt.misc.fossology_old_short' => 'Lucent1.02', caption => 'Lucent Public License v1.02', 'caption.alt.org.osi' => 'Lucent Public License Version 1.02', 'caption.alt.org.tldr' => 'Lucent Public License v1.02 (LPL-1.02)', description => <<'END', Identical to Lucent Public License Version 1.0, except... * rephrase Contribution definition * rephrase Contributor identification clause in section 3.C * add export-control clause as section 7 END tags => [ 'type:singleversion:lpl', ], licenseversion => '1.02', 'pat.alt.subject.license.scope.multisection.part.head' => '(?:Lucent Public License Version 1\.02[ ])?' . 'THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS PUBLIC LICENSE [(]["]AGREEMENT["][)][. ]' . "ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT[']S ACCEPTANCE OF THIS AGREEMENT[.][ ]" . '[*)][ ]?DEFINITIONS[ ]' . '["]Contribution["] means[:"]?[ ]' . '[*)]in the case of Lucent Technologies Inc\. [(]["]LUCENT["][)], the Original Program, and[ ]' . '[*)]in the case of each Contributor,[ ]' . '[*)]changes to the Program, and[ ]' . '[*)]additions to the Program[;]' . '[ ]where such changes and[/]or additions to the Program were added', }; =item * lppl =item * lppl_1 =item * lppl_1_1 =item * lppl_1_2 =item * lppl_1_3a =item * lppl_1_3c =cut $RE{lppl} = { name => 'LPPL', 'name.alt.org.fedora' => 'LPPL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'lppl', 'name.alt.org.wikidata.synth.nogrant' => 'Q1050635', caption => 'LaTeX Project Public License', 'caption.alt.org.wikipedia' => 'LaTeX Project Public License', tags => [ 'type:versioned:decimal', ], }; $RE{lppl_1} = { name => 'LPPL-1.0', 'name.alt.org.spdx' => 'LPPL-1.0', 'name.alt.misc.fossology_old' => 'LPPL_v1.0', 'name.alt.misc.fossology_old_short' => 'LaTeX1.0', caption => 'LaTeX Project Public License 1', 'caption.alt.org.spdx' => 'LaTeX Project Public License v1.0', tags => [ 'license:contains:grant', 'type:singleversion:lppl', ], licenseversion => '1.0', 'pat.alt.subject.license' => 'LPPL Version 1\.0 1999[-]03[-]01', }; $RE{lppl_1_1} = { name => 'LPPL-1.1', 'name.alt.org.spdx' => 'LPPL-1.1', 'name.alt.misc.fossology_old' => 'LPPL_v1.1', 'name.alt.misc.fossology_old_short' => 'LaTeX1.1', caption => 'LaTeX Project Public License 1.1', 'caption.alt.org.spdx' => 'LaTeX Project Public License v1.1', tags => [ 'license:contains:grant', 'type:singleversion:lppl', ], licenseversion => '1.1', 'pat.alt.subject.license' => 'LPPL Version 1\.1 1999[-]07[-]10', }; $RE{lppl_1_2} = { name => 'LPPL-1.2', 'name.alt.org.spdx' => 'LPPL-1.2', 'name.alt.misc.fossology_old' => 'LPPL_v1.2', 'name.alt.misc.fossology_old_short' => 'LaTeX1.2', caption => 'LaTeX Project Public License 1.2', 'caption.alt.org.spdx' => 'LaTeX Project Public License v1.2', tags => [ 'license:contains:grant', 'type:singleversion:lppl', ], licenseversion => '1.2', 'pat.alt.subject.license' => 'LPPL Version 1\.2 1999[-]09[-]03', }; $RE{lppl_1_3a} = { name => 'LPPL-1.3a', 'name.alt.org.spdx.since.date_20130117' => 'LPPL-1.3a', 'name.alt.misc.fossology_old' => 'LPPL_v1.3a', 'name.alt.misc.fossology_old_short' => 'LaTeX1.3a', caption => 'LaTeX Project Public License 1.3a', 'caption.alt.org.spdx.until.date_20160103' => 'LaTeX Project Public License 1.3a', 'caption.alt.org.spdx.since.date_20160103' => 'LaTeX Project Public License v1.3a', tags => [ 'license:contains:grant', 'type:singleversion:lppl', ], licenseversion => '1.3a', 'pat.alt.subject.license' => 'LPPL Version 1\.3a 2004[-]10[-]01', }; $RE{lppl_1_3c} = { name => 'LPPL-1.3c', 'name.alt.org.osi' => 'LPPL-1.3c', 'name.alt.org.spdx' => 'LPPL-1.3c', 'name.alt.misc.fossology_old' => 'LPPL_v1.3c', 'name.alt.misc.fossology_old_short' => 'LaTeX1.3c', caption => 'LaTeX Project Public License 1.3c', 'caption.alt.org.osi' => 'LaTeX Project Public License, Version 1.3c', 'caption.alt.org.osi.misc.list' => 'LaTeX Project Public License 1.3c', 'caption.alt.org.spdx' => 'LaTeX Project Public License v1.3c', 'caption.alt.org.tldr' => 'LaTeX Project Public License v1.3c (LPPL-1.3c)', iri => 'https://www.latex-project.org/lppl.txt', tags => [ 'license:contains:grant', 'type:singleversion:lppl', ], licenseversion => '1.3c', 'pat.alt.subject.license' => 'LPPL Version 1\.3c 2008[-]05[-]04', }; =item * miros I =cut $RE{miros} = { name => 'MirOS', 'name.alt.org.fedora' => 'MirOS', 'name.alt.org.osi' => 'MirOS', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'miros', 'name.alt.org.spdx' => 'MirOS', 'name.alt.org.wikidata.synth.nogrant' => 'Q1951343', caption => 'The MirOS License', 'caption.alt.org.fedora' => 'MirOS License', 'caption.alt.org.osi' => 'MirOS Licence', 'caption.alt.org.spdx.until.date_20171228' => 'MirOS Licence', 'caption.alt.org.spdx.since.date_20171228.until.date_20191022' => 'MirOS License', 'caption.alt.org.spdx.since.date_20191022' => 'The MirOS License', 'caption.alt.org.tldr' => 'MirOS License (MirOS)', 'caption.alt.org.trove' => 'MirOS License (MirOS)', 'caption.alt.org.wikidata' => 'MirOS Licence', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'merge, give away, or sublicence', }; =item * mit_0 I =cut $RE{mit_0} = { name => 'MIT-0', 'name.alt.org.fedora.iri.self.since.date_20210215' => 'MIT-0', 'name.alt.org.osi' => 'MIT-0', 'name.alt.org.spdx.since.date_20180414' => 'MIT-0', 'name.alt.org.wikidata.synth.nogrant' => 'Q67538600', caption => 'MIT No Attribution', 'caption.alt.org.fedora.since.date_20210215' => 'MIT No Attribution (MIT-0)', 'caption.alt.org.osi' => 'MIT No Attribution License', 'caption.alt.org.trove' => 'MIT No Attribution License (MIT-0)', 'caption.alt.org.wikidata' => 'MIT No Attribution License', description => <<'END', Identical to MIT (Expat), except... * omit retention clause END tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'to whom the Software is furnished to do so[.][ ]' . $P{asis_sw_warranty}, }; =item * mit_advertising =cut $RE{mit_advertising} = { name => 'MIT-advertising', 'name.alt.org.spdx.since.date_20140807' => 'MIT-advertising', caption => 'Enlightenment License (e16)', 'caption.alt.org.fedora.iri.self' => 'MIT With Advertising', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => $P{note_marketing} . '\b[^.,]+, and ' . $P{ack_doc_mat_pkg_use}, }; =item * mit_cmu =cut $RE{mit_cmu} = { name => 'MIT-CMU', 'name.alt.org.spdx.since.date_20140807' => 'MIT-CMU', 'name.alt.org.wikidata.synth.nogrant' => 'Q2939745', caption => 'CMU License', 'caption.alt.org.fedora' => 'CMU License (BSD like)', 'caption.alt.org.fedora.iri.mit' => 'CMU Style', 'caption.alt.org.tldr' => 'CMU License', 'caption.alt.org.wikidata' => 'Carnegie Mellon University License', description => <<'END', Identical to NTP, except... * omit explicit permission for charging fee * exclude suitability disclaimer * exclude terse "as is" warranty disclaimer * include elaborate warranty disclaimer * include liability disclaimer SPDX and fedora sample seem not generic but the unique file COPYING from project net-snmp. END tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => 'Permission ' . $P{to_dist} . $P{sw_doc_nofee} . $P{granted} . $P{retain_copr_appear} . ' and that ' . $P{repro_copr_perm_appear_doc} . ', and that ' . $P{nopromo_name_written} . '[.]', 'pat.alt.subject.license.part.endorsement' => 'without specific written permission', }; =item * mit_cmu_warranty =cut $RE{mit_cmu_warranty} = { name => 'SMLNJ', 'name.alt.org.debian' => 'MIT-CMU~warranty', 'name.alt.org.spdx.since.date_20130117' => 'SMLNJ', 'name.alt.org.spdx.misc.long.since.date_20140807.until.date_20150513' => 'StandardML-NJ', 'name.alt.org.wikidata.synth.nogrant' => 'Q99635287', caption => 'Standard ML of New Jersey License', 'caption.alt.org.tldr' => 'Standard ML of New Jersey License (SMLNJ)', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Standard ML of New Jersey Variant', 'summary.alt.org.fedora.iri.mit_semishort' => 'MIT-style license, MLton variant', description => <<'END', Identical to MIT-CMU, except... * add requirement of "warranty disclaimer" appearing in documentation END tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => 'Permission ' . $P{to_dist} . $P{sw_doc_nofee} . $P{granted} . $P{retain_copr_appear} . ' and that ' . $P{repro_copr_perm_warr_appear_doc} . ', and that ' . $P{nopromo_name_written_prior} . '[.]', 'pat.alt.subject.license.part.disclaimer' => 'warranty disclaimer appear', }; =item * mit_enna =cut $RE{mit_enna} = { name => 'MIT-enna', 'name.alt.org.fedora.iri.mit_short' => 'enna', 'name.alt.org.spdx.since.date_20140807' => 'MIT-enna', caption => 'enna License', 'caption.alt.org.tldr' => 'enna License', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, enna variant', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.section' => $P{perm_granted} . $P{free_charge} . $P{to_pers} . $P{the_sw} . $P{to_deal_the_sw_rights} . $P{subj_cond} . $P{to_copy_sublicence_conditions} . '[:]?[ ]' . $P{retain_copr_perm_sw_copr} . '[. ]' . $P{ack_pub_use_nosrc} . '[. ]' . 'This includes acknowledgments ' . 'in either Copyright notices, Manuals, Publicity and Marketing documents ' . 'or any documentation provided ' . 'with any product containing this software[. ]' . $P{license_not_lib} . '[.]', 'pat.alt.subject.license.scope.line' => $P{ack_pub_use_nosrc}, }; =item * mit_epinions I =cut $RE{mit_epinions} = { 'name.alt.org.debian' => 'MIT~Epinions', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Epinions Variant', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'Subject to the following 3 conditions', }; =item * mit_feh =cut $RE{mit_feh} = { name => 'MIT-feh', 'name.alt.org.fedora.iri.mit_short' => 'feh', 'name.alt.org.spdx.since.date_20140807' => 'MIT-feh', caption => 'feh License', 'caption.alt.org.tldr' => 'feh License', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, feh variant', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.paragraph' => $P{perm_granted} . $P{free_charge} . $P{to_pers} . $P{the_sw} . $P{to_deal_the_sw_rights} . $P{to_copy_sublicence_conditions} . '[:]?[ ]' . $P{retain_copr_perm_sw_doc} . ' and ' . $P{ack_doc_pkg_use} . '[.]', }; =item * mit_new =cut $RE{mit_new} = { 'name.alt.org.debian' => 'Expat', 'name.alt.org.osi' => 'MIT', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'mit-license', 'name.alt.org.perl' => 'mit', 'name.alt.org.spdx' => 'MIT', 'name.alt.org.tldr' => 'mit-license', 'name.alt.org.tldr.path.short' => 'mit', 'name.alt.org.wikidata.synth.nogrant' => 'Q18526198', caption => 'MIT License', 'caption.alt.org.debian' => 'Expat License', 'caption.alt.org.fedora' => 'MIT license (also X11)', 'caption.alt.org.osi' => 'The MIT License', 'caption.alt.org.osi.misc.list' => 'MIT License', 'caption.alt.org.osi.misc.cat_list' => 'MIT license', 'caption.alt.org.perl' => 'MIT (aka X11) License', 'caption.alt.org.tldr' => 'MIT License (Expat)', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Modern Style with sublicense', 'caption.alt.org.wikidata' => 'Expat license', 'caption.alt.org.wikipedia' => 'MIT License', 'caption.alt.misc.wayland' => 'the MIT Expat license', 'caption.alt.misc.mono' => 'the MIT X11 license', 'caption.alt.misc.mono_slash' => 'the MIT/X11 license', iri => 'http://www.jclark.com/xml/copying.txt', description => <<'END', Origin: X11 Licene Identical to X11 License, except... * drop non-endorsement clause at the end * drop trademark notice at the end END tags => [ 'family:mit', 'license:is:grant', 'license:published:by_james_clark', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{to_copy_sublicence_conditions} . '[:][ ]' . $P{retain_copr_perm_subst}, }; =item * mit_new_materials =cut $RE{mit_new_materials} = { name => 'Khronos', caption => 'Khronos License', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => $P{perm_granted} . $P{free_charge} . $P{to_pers} . $P{the_material} . $P{to_deal_mat}, }; =item * mit_old =cut $RE{mit_old} = { 'name.alt.org.debian' => 'MIT~old', 'name.alt.org.gentoo' => 'Old-MIT', caption => 'MIT (old)', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => $P{perm_granted} . $P{free_agree_fee}, }; =item * mit_oldstyle =cut $RE{mit_oldstyle} = { 'name.alt.org.debian' => 'MIT~oldstyle', caption => 'MIT (Old Style)', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Old Style', description => <<'END', Origin: Possibly by Jamie Zawinski in 1993 for xscreensaver. END tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.paragraph' => 'documentation[. ]No representations are made', }; =item * mit_oldstyle_disclaimer =cut $RE{mit_oldstyle_disclaimer} = { 'name.alt.org.debian' => 'MIT~oldstyle~disclaimer', caption => 'MIT (Old Style, legal disclaimer)', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Old Style with legal disclaimer', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => 'supporting documentation[.][ ]' . $P{asis_name_sw}, }; =item * mit_oldstyle_permission =cut $RE{mit_oldstyle_permission} = { 'name.alt.org.debian' => 'MIT~oldstyle~permission', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Old Style (no advertising without permission)', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{without_written_prior} . '[.][ ]' . $P{asis_name_sw}, }; =item * mit_open_group I =cut $RE{mit_open_group} = { name => 'MIT-Open-Group', 'name.alt.org.spdx.since.date_20201125' => 'MIT-Open-Group', caption => 'MIT Open Group variant', description => <<'END', Identical to NTP, except... * add explicit permission to sell * omit explicit permission to charge or not charge fee * extend permissions with note that they are granted without fee * add retain-copyright-notices clause * rephrase disclaimers * rephrase non-endorsement clause and move it to the end END tags => [ 'family:mit', 'license:contains:license:hpnd_sell', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.paragraph' => 'Permission to use, copy, modify, distribute, and sell ' . 'this software and its documentation ' . 'for any purpose is hereby granted without fee, ' . 'provided that the above copyright notice appears? in all copies,?(?: and)? ' . 'that both(?: that)?(?: the)? copyright notice ' . 'and this permission notice appear in supporting documentation[.]', }; =item * mit_openvision I =cut $RE{mit_openvision} = { 'name.alt.org.debian' => 'MIT~OpenVision', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, OpenVision Variant', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'You may freely use and distribute the Source Code and Object Code', }; =item * mit_osf I =cut $RE{mit_osf} = { 'name.alt.org.debian' => 'MIT~OSF', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, HP Variant', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'To anyone who acknowledges that this file is provided', }; =item * mit_unixcrypt I =cut $RE{mit_unixcrypt} = { 'name.alt.org.debian' => 'MIT~UnixCrypt', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, UnixCrypt Variant', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'for non-commercial or commercial purposes and without fee', }; =item * mit_whatever I =cut $RE{mit_whatever} = { 'name.alt.org.debian' => 'MIT~whatever', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Whatever Variant', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => 'and to alter it and redistribute it freely[.]', }; =item * mit_widget I =cut $RE{mit_widget} = { 'name.alt.org.debian' => 'MIT~Widget', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Nuclear Variant', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'its documentation for NON-COMMERCIAL or COMMERCIAL purposes', }; =item * mit_xfig I =cut $RE{mit_xfig} = { 'name.alt.org.debian' => 'MIT~Xfig', 'name.alt.org.fedora.iri.mit_short' => 'Xfig', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Xfig Variant', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'Any party obtaining a copy of these files is granted, free of charge', }; =item * motosoto I =cut $RE{motosoto} = { name => 'Motosoto', 'name.alt.org.fedora' => 'Motosoto', 'name.alt.org.osi' => 'Motosoto', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'motosoto', 'name.alt.org.spdx' => 'Motosoto', 'name.alt.org.wikidata.synth.nogrant' => 'Q38494497', 'name.alt.misc.fossology_old' => 'Motosoto_v0.9.1', caption => 'Motosoto License', 'caption.alt.org.osi' => 'Motosoto Open Source License - Version 0.9.1', 'caption.alt.org.osi.misc.list' => 'Motosoto License', 'caption.alt.org.trove' => 'Motosoto License', 'caption.alt.org.wikidata' => 'Motosoto Open Source License', description => <<'END', Identical to Jabber Open Source License, except... * rephrase grant clause to explicitly cover whole product (not only modified parts) * extend grant clause to explicitly cover creation of derivative works * replace references, e.g. "Jabber Server" -> "Community Portal Server" * document that license is derived from Jabber Open Source License * drop some disclaimers END tags => [ 'type:unversioned', ], 'pat.alt.subject.license.part.header' => 'MOTOSOTO OPEN SOURCE LICENSE[ - ]Version 0\.9\.1', 'pat.alt.subject.license.part.intro' => 'This Motosoto Open Source License [(]the ["]License["][)]' . ' applies to ["]Community Portal Server["] and related software products', 'pat.alt.subject.license.scope.multisection.part.part7' => 'Versions of This License' . '[.][ ][*)]' . 'Version[. ]The Motosoto Open Source License is derived', }; =item * mpich2 I =cut $RE{mpich2} = { name => 'mpich2', 'name.alt.org.spdx.since.date_20140807' => 'mpich2', 'name.alt.org.wikidata.synth.nogrant' => 'Q17070027', caption => 'mpich2 License', 'caption.alt.org.fedora' => 'mpich2 License', 'caption.alt.org.wikidata' => 'MPICH2 license', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, mpich2 variant', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.paragraph' => $P{perm_granted} . $P{to_reproduce} . '[. ]' . 'This software was authored by', }; =item * mpl =item * mpl_1 I =item * mpl_1_1 I =item * mpl_2 I =item * mpl_2_no_copyleft_exception I =cut $RE{mpl} = { name => 'MPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q308915', caption => 'Mozilla Public License', 'caption.alt.org.wikipedia' => 'Mozilla Public License', iri => 'https://www.mozilla.org/MPL', tags => [ 'type:versioned:decimal', ], 'pat.alt.subject.name' => "$the?Mozilla Public Licen[cs]e" . '(?: [(]["]?(?:[http://]mozilla.org/)?MPL["]?[)])?' . "(?: (?:as )?published by $the\{0,2}Mozilla Foundation)?", }; $RE{mpl_1} = { name => 'MPL-1.0', 'name.alt.org.fedora' => 'MPLv1.0', 'name.alt.org.osi' => 'MPL-1.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'mozilla1.0', 'name.alt.org.perl' => 'mozilla_1_0', 'name.alt.org.spdx' => 'MPL-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q26737738', 'name.alt.misc.fossology_old' => 'Mozilla1.0', 'name.alt.misc.fossology_old_short' => 'MPL_v1.0', caption => 'Mozilla Public License 1.0', 'caption.alt.org.fedora' => 'Mozilla Public License v1.0', 'caption.alt.org.osi' => 'The Mozilla Public License (MPL), version 1.0', 'caption.alt.org.osi.misc.list' => 'Mozilla Public License 1.0', 'caption.alt.org.osi.misc.do_not_use_list' => 'Mozilla Public License, version 1.0', 'caption.alt.org.perl' => 'Mozilla Public License, Version 1.0', 'caption.alt.org.tldr' => 'Mozilla Public License 1.0 (MPL-1.0)', 'caption.alt.org.trove' => 'Mozilla Public License 1.0 (MPL)', 'caption.alt.org.wikidata' => 'Mozilla Public License, version 1.0', 'caption.alt.misc.trove' => 'Mozilla Public License 1.0 (MPL)', description => <<'END', Origin: Netscape Public License 1.0 END tags => [ 'license:contains:grant', 'type:singleversion:mpl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multiparagraph.part.head' => 'MOZILLA PUBLIC LICENSE[ ]Version 1\.0[ ]' . '[*)]Definitions', }; $RE{mpl_1_1} = { name => 'MPL-1.1', 'name.alt.org.fedora' => 'MPLv1.1', 'name.alt.org.osi' => 'MPL-1.1', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'mozilla1.1', 'name.alt.org.perl' => 'mozilla_1_1', 'name.alt.org.spdx' => 'MPL-1.1', 'name.alt.org.wikidata.synth.nogrant' => 'Q26737735', 'name.alt.misc.fossology_old' => 'Mozilla1.1', 'name.alt.misc.fossology_old_short' => 'MPL_v1.1', caption => 'Mozilla Public License 1.1', 'caption.alt.org.fedora' => 'Mozilla Public License v1.1', 'caption.alt.org.osi.misc.do_not_use_list' => 'Mozilla Public License, version 1.1', 'caption.alt.org.perl' => 'Mozilla Public License, Version 1.1', 'caption.alt.org.tldr' => 'Mozilla Public License 1.1 (MPL-1.1)', 'caption.alt.org.trove' => 'Mozilla Public License 1.1 (MPL 1.1)', 'caption.alt.org.trove.misc.short' => 'MPL 1.1', 'caption.alt.org.wikidata' => 'Mozilla Public License, version 1.1', 'caption.alt.misc.trove' => 'Mozilla Public License 1.1 (MPL 1.1)', tags => [ 'license:contains:grant', 'type:singleversion:mpl', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.multiparagraph.part.head' => 'Mozilla Public License Version 1\.1[ ]' . '[*)]Definitions', }; $RE{mpl_2} = { name => 'MPL-2.0', 'name.alt.org.fedora' => 'MPLv2.0', 'name.alt.org.osi' => 'MPL-2.0', 'name.alt.org.spdx' => 'MPL-2.0', 'name.alt.org.tldr' => 'mozilla-public-license-2.0-(mpl-2)', 'name.alt.org.wikidata.synth.nogrant' => 'Q25428413', 'name.alt.misc.fossology_old' => 'MPL_v2.0', caption => 'Mozilla Public License 2.0', 'caption.alt.org.fedora' => 'Mozilla Public License v2.0', 'caption.alt.org.osi' => 'Mozilla Public License 2.0', 'caption.alt.org.tldr' => 'Mozilla Public License 2.0 (MPL-2.0)', 'caption.alt.org.trove' => 'Mozilla Public License 2.0 (MPL 2.0)', 'caption.alt.org.trove.misc.short' => 'MPL 2.0', 'caption.alt.org.wikidata' => 'Mozilla Public License, version 2.0', 'caption.alt.misc.trove' => 'Mozilla Public License 2.0 (MPL 2.0)', tags => [ 'license:contains:grant', 'type:singleversion:mpl', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.multiparagraph.part.head' => 'Mozilla Public License Version 2\.0[ ]' . '[*)]Definitions', }; $RE{mpl_2_no_copyleft_exception} = { name => 'MPL-2.0-no-copyleft-exception', 'name.alt.org.spdx' => 'MPL-2.0-no-copyleft-exception', caption => 'Mozilla Public License 2.0 (no copyleft exception)', description => <<'END', Usage: When the MPL\'s Exhibit B is used, which effectively negates the copyleft compatibility clause in section 3.3. END tags => [ 'type:usage:ofl_1:no_copyleft_exception', ], }; =item * ms_cl I =cut $RE{ms_cl} = { name => 'MS-CL', caption => 'Microsoft Shared Source Community License', caption => 'Microsoft Shared Source Community License (MS-CL)', 'caption.alt.org.tldr' => 'Microsoft Shared Source Community License (MS-CL)', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'If you distribute the larger work as a series of files, you must grant', }; =item * ms_pl =cut $RE{ms_pl} = { name => 'MS-PL', 'name.alt.org.fedora' => 'MS-PL', 'name.alt.org.osi' => 'MS-PL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'ms-pl', 'name.alt.org.spdx' => 'MS-PL', 'name.alt.org.tldr.path.short' => 'mspl', 'name.alt.org.wikidata.synth.nogrant' => 'Q15477153', 'name.alt.misc.fossology_old' => 'Ms-PL', caption => 'Microsoft Public License', 'caption.alt.org.tldr' => 'Microsoft Public License (Ms-PL)', 'iri.alt.org.wikipedia' => 'https://en.wikipedia.org/wiki/Shared_source#Microsoft_Public_License_(Ms-PL)', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multiparagraph' => 'Microsoft Public License [(]Ms-PL[)][ ]This license governs use', }; =item * ms_rl =cut $RE{ms_rl} = { name => 'MS-RL', 'name.alt.org.fedora' => 'MS-RL', 'name.alt.org.osi' => 'MS-RL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'ms-rl', 'name.alt.org.spdx' => 'MS-RL', 'name.alt.org.tldr.path.short' => 'nsrl', 'name.alt.org.wikidata.synth.nogrant' => 'Q1772828', 'name.alt.misc.fossology_old' => 'Ms-RL', caption => 'Microsoft Reciprocal License', 'caption.alt.org.tldr' => 'Microsoft Reciprocal License (Ms-RL)', 'iri.alt.org.wikipedia' => 'https://en.wikipedia.org/wiki/Shared_source#Microsoft_Reciprocal_License_(Ms-RL)', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.part.part3a' => 'Reciprocal Grants[-]For any file you distribute that contains code', 'pat.alt.subject.license.scope.multiparagraph' => 'Microsoft Reciprocal License [(]Ms[-]RL[)][ ]This license governs use', }; =item * mulan I =item * mulan_1 I =item * mulan_2 I =cut $RE{mulan} = { name => 'MulanPSL', caption => 'Mulan Permissive Software License', 'caption.alt.lang.zh_CN' => '木兰宽松许可证', tags => [ 'type:versioned:decimal', ], }; $RE{mulan_1} = { name => 'MulanPSL-1', 'name.alt.org.spdx.since.date_20191022' => 'MulanPSL-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q66563953', caption => 'Mulan Permissive Software License, Version 1', 'caption.alt.lang.zh_CN' => '木兰宽松许可证, 第1版', 'caption.alt.misc.shortname' => 'Mulan PSL v1', iri => 'https://license.coscl.org.cn/MulanPSL', tags => [ 'license:contains:grant', 'type:singleversion:mulan', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.sentence.part.intro' => 'Your reproduction, use, modification and distribution' . ' of the Software' . ' shall be subject to Mulan PSL v1 [(]this License[)]' . ' with following', 'pat.alt.subject.license.scope.sentence.part.intro.lang.zh_CN' => '您对["]软件["]的复制[, ]使用' . '[, ]修改及分发受木兰宽松许可证[, ]第1版[(]["]本许可证["][)]' . '的如下条款的约束', 'pat.alt.subject.license.scope.multisection.part.grant' => '[*]Software Name[*] is licensed under the Mulan PSL v1[. ]' . 'You can use this software' . ' according to the terms and conditions of the Mulan PSL v1' }; $RE{mulan_2} = { name => 'MulanPSL-2', 'name.alt.org.osi' => 'MulanPSL-2.0', 'name.alt.org.spdx.since.date_20200515' => 'MulanPSL-2.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q99634430', caption => 'Mulan Permissive Software License, Version 2', 'caption.alt.lang.zh_CN' => '木兰宽松许可证, 第2版', 'caption.alt.org.osi' => 'Mulan Permissive Software License v2', 'caption.alt.org.osi.misc.shortname' => 'MulanPSL - 2.0', 'caption.alt.misc.shortname' => 'Mulan PSL v2', iri => 'https://license.coscl.org.cn/MulanPSL2', tags => [ 'license:contains:grant', 'type:singleversion:mulan', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.sentence.part.intro' => 'Your reproduction, use, modification and distribution' . ' of the Software' . ' shall be subject to Mulan PSL v2 [(]this License[)]' . ' with the following terms and conditions', 'pat.alt.subject.license.scope.sentence.part.intro.lang.zh_CN' => '您对["]软件["]的复制[, ]使用' . '[, ]修改及分发受木兰宽松许可证[, ]第2版[(]["]本许可证["][)]' . '的如下条款的约束', 'pat.alt.subject.license.scope.multisection.part.grant' => '[*]Software Name[*] is licensed under Mulan PSL v2[. ]' . 'You can use this software' . ' according to the terms and conditions of the Mulan PSL v2', }; =item * multics I =cut $RE{multics} = { name => 'Multics', 'name.alt.org.osi' => 'Multics', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'multics', 'name.alt.org.spdx' => 'Multics', 'name.alt.org.wikidata.synth.nogrant' => 'Q38494754', caption => 'Multics License', 'caption.alt.org.tldr' => 'Multics License (Multics)', description => <<'END', Identical to NTP, except... * add Paragraph "Historical Background" * omit explicit permission to charge fee * replace "software" with "programs" * extend things to retain to include historical background * omit suitability disclaimer and terse "as is" warranty disclaimer * list copyrights at bottom END tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'This edition of the Multics software materials and documentation', 'pat.alt.subject.license.scope.line.scope.sentence.part.permissions_first' => 'Permission to use, copy, modify, and distribute these programs', 'pat.alt.subject.license.scope.sentence.part.permissions_middle' => 'copyright notice and(?: this)? historical background appear', }; =item * nasa I =item * nasa_1_3 I =cut $RE{nasa} = { name => 'NASA', 'name.alt.misc.abbrev' => 'NOSA', 'name.alt.org.wikidata.synth.nogrant' => 'Q6952418', caption => 'NASA Open Source Agreement', 'caption.alt.org.wikipedia' => 'NASA Open Source Agreement', tags => [ 'type:versioned:decimal', ], }; $RE{nasa_1_3} = { name => 'NASA-1.3', 'name.alt.org.osi' => 'NASA-1.3', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'nasa1.3', 'name.alt.org.spdx' => 'NASA-1.3', 'name.alt.misc.fossology_old' => 'NASA_v1.3', 'name.alt.misc.fossology_old_short' => 'NASA1.3', caption => 'NASA Open Source Agreement 1.3', 'caption.alt.org.fedora' => 'NASA Open Source Agreement v1.3', 'caption.alt.org.fedora.iri.self.synth.nogrant' => 'NASA Open Source Agreement', 'caption.alt.org.osi' => 'NASA Open Source Agreement v1.3', 'caption.alt.org.osi.misc.list' => 'NASA Open Source Agreement 1.3', 'caption.alt.org.tldr' => 'NASA Open Source Agreement 1.3 (NASA-1.3)', iri => 'https://ti.arc.nasa.gov/opensource/nosa/', tags => [ 'type:singleversion:nasa', ], licenseversion => '1.3', 'pat.alt.subject.license.scope.line.scope.sentence.part.definitions' => '["]Contributor["] means Government Agency', }; =item * naumen I =cut $RE{naumen} = { name => 'Naumen', 'name.alt.org.fedora' => 'Naumen', 'name.alt.org.osi' => 'Naumen', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'naumen', 'name.alt.org.spdx' => 'Naumen', 'name.alt.org.wikidata.synth.nogrant' => 'Q38495690', 'name.alt.misc.fossology_old' => 'NAUMEN', caption => 'Naumen Public License', 'caption.alt.org.osi' => 'NAUMEN Public License', 'caption.alt.org.osi.misc.list' => 'Naumen Public License', 'caption.alt.org.tldr' => 'Naumen Public License (Naumen)', 'caption.alt.org.wikidata' => 'NAUMEN Public License', tags => [ 'family:bsd', 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection.part.part2_3' => $P{repro_copr_cond_discl} . '[.][ ]' . '[*)]' . 'The name Zope Corporation[tm] must not ' . $P{used_endorse_deriv} . $P{without_prior_written}, 'pat.alt.subject.license.scope.sentence.part.part3' => 'The name NAUMEN[tm] must not be used to endorse', }; =item * nbpl I =item * nbpl_1 I =cut $RE{nbpl} = { name => 'NBPL', caption => 'Net Boolean Public License', tags => [ 'type:versioned:decimal', ], }; $RE{nbpl_1} = { name => 'NBPL-1.0', 'name.alt.org.spdx' => 'NBPL-1.0', caption => 'Net Boolean Public License v1', 'caption.alt.org.spdx.since.date_20130117' => 'Net Boolean Public License v1', 'caption.alt.org.tldr' => 'Net Boolean Public License v1 (NBPL-1.0)', description => <<'END', Identical to OLDAP-1.1, exept... * title * copyright holder END tags => [ 'type:singleversion:nbpl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection.part.header' => 'The Net Boolean Public License[ ]Version 1, 22 August 1998', }; =item * ncsa I =cut $RE{ncsa} = { name => 'NCSA', 'name.alt.org.fedora' => 'NCSA', 'name.alt.org.osi' => 'NCSA', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'UoI-NCSA', 'name.alt.org.spdx' => 'NCSA', 'name.alt.org.wikidata.synth.nogrant' => 'Q2495855', caption => 'University of Illinois/NCSA Open Source License', 'caption.alt.org.fedora' => 'NCSA/University of Illinois Open Source License', 'caption.alt.misc.short' => 'UIUC license', 'caption.alt.org.osi' => 'The University of Illinois/NCSA Open Source License', 'caption.alt.org.osi.misc.list' => 'University of Illinois/NCSA Open Source License', 'caption.alt.org.tldr' => 'University of Illinois - NCSA Open Source License (NCSA)', 'caption.alt.org.tldr.path.short' => 'ncsa', 'caption.alt.org.trove' => 'University of Illinois/NCSA Open Source License', 'caption.alt.org.wikipedia' => 'University of Illinois/NCSA Open Source License', description => <<'END', Identical to MIT (Expat), except... * replace retain-copyright-notices clause with BSD 3 Clause clauses Identical to BSD 3 Clause, except... * add MIT permissions clause * replace disclaimers with MIT disclaimers END iri => 'http://otm.illinois.edu/disclose-protect/illinois-open-source-license', tags => [ 'license:contains:license:bsd_3_clause', 'license:contains:license:mit_new', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => $P{to_copy_sublicence_conditions} . '[:]?[ ][*)]' . $P{retain_notice_cond_discl}, }; =item * ngpl =cut $RE{ngpl} = { name => 'NGPL', 'name.alt.org.fedora' => 'NGPL', 'name.alt.org.osi' => 'NGPL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'nethack', 'name.alt.org.spdx' => 'NGPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q20764732', 'name.alt.misc.fossology_old' => 'Nethack', caption => 'Nethack General Public License', 'caption.alt.org.osi' => 'The Nethack General Public License', 'caption.alt.org.osi.misc.list' => 'Nethack General Public License', 'caption.alt.org.tldr' => 'Nethack General Public License (NGPL)', 'caption.alt.org.trove' => 'Nethack General Public License', tags => [ 'type:unversioned', ], 'pat.alt.subject.license' => 'You may copy and distribute verbatim copies of NetHack', }; =item * nokia I =cut $RE{nokia} = { name => 'Nokia', 'name.alt.org.fedora' => 'Nokia', 'name.alt.org.osi' => 'Nokia', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'nokia', 'name.alt.org.osi.misc.upper' => 'NOKIA', 'name.alt.org.spdx' => 'Nokia', 'name.alt.org.trove' => 'NOKOS', 'name.alt.org.wikidata.synth.nogrant' => 'Q38495954', 'name.alt.misc.fossology_old' => 'Nokia_v1.0a', caption => 'Nokia Open Source License', 'caption.alt.org.osi' => 'Nokia Open Source License Version 1.0a', 'caption.alt.org.osi.misc.list' => 'Nokia Open Source License', 'caption.alt.org.trove' => 'Nokia Open Source License', 'caption.alt.misc.legal' => 'NOKOS License Version 1.0', 'caption.alt.org.tldr' => 'Nokia Open Source License (Nokia Open Source License)', 'caption.alt.org.trove' => 'Nokia Open Source License', 'caption.alt.org.trove.misc.long' => 'Nokia Open Source License (NOKOS)', description => <<'END', Origin: Possibly Mozilla Public License END tags => [ 'type:unversioned', ], 'pat.alt.subject.name.misc.free' => '(?:Nokia|NOKOS)(?: Open Source)?(?: [Ll]icen[cs]e)?' . '(?:' . $RE{version_prefix} {'pat.alt.subject.trait.scope.line.scope.sentence'} . '1\.0a?)?', 'pat.alt.subject.license.scope.line.scope.sentence.part.definitions' => '["]Affiliates["] of a party shall mean an entity', }; =item * nosl I =item * nosl_1 I =cut $RE{nosl} = { name => 'NOSL', caption => 'Netizen Open Source License', 'caption.alt.org.tldr' => 'Netizen Open Source License (NOSL)', tags => [ 'type:versioned:decimal', ], }; $RE{nosl_1} = { name => 'NOSL-1.0', 'name.alt.org.fedora.synth.nogrant' => 'NOSL', 'name.alt.org.spdx.synth.nogrant' => 'NOSL', caption => 'Netizen Open Source License 1.0', 'caption.alt.org.fedora.synth.nogrant' => 'Netizen Open Source License', 'caption.alt.org.spdx.since.date_20130117.synth.nogrant' => 'Netizen Open Source License', description => <<'END', Origin: Mozilla Public License 1.1 Identical to Mozilla Pulbic License 1.0, except... * replace "Mozilla", "Netscape", "MPL" etc. with "Netizen" and "NOSL" in section 6 * add disclaimer as section 7.1 * change requirement of governance from California to Australia in section 11 END tags => [ 'license:contains:grant', 'type:singleversion:nosl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multiparagraph.part.head' => 'NETIZEN OPEN SOURCE LICENSE[ ]Version 1\.0[ ]' . '[*)]Definitions', }; =item * npl =item * npl_1 =item * npl_1_1 =cut $RE{npl} = { name => 'NPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q2306611', 'name.alt.misc.fossology_old_vague.synth.nogrant' => 'Netscape', caption => 'Netscape Public License', 'caption.alt.org.trove' => 'Netscape Public License (NPL)', 'caption.alt.org.wikipedia' => 'Netscape Public License', tags => [ 'type:versioned:decimal', ], }; $RE{npl_1} = { name => 'NPL-1.0', 'name.alt.org.fedora.synth.nogrant' => 'Netscape', 'name.alt.org.spdx.since.date_20130117' => 'NPL-1.0', 'name.alt.misc.fossology_old' => 'NPL_v1.0', caption => 'Netscape Public License v1.0', 'caption.alt.org.fedora.synth.nogrant' => 'Netscape Public License', iri => 'https://website-archive.mozilla.org/www.mozilla.org/mpl/MPL/NPL/1.0/', tags => [ 'type:singleversion:npl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multiparagraph' => 'NETSCAPE PUBLIC LICENSE[ ]Version 1\.0[ ][*)]Definitions[.]', }; $RE{npl_1_1} = { name => 'NPL-1.1', 'name.alt.org.spdx.since.date_20130117' => 'NPL-1.1', caption => 'Netscape Public License v1.1', 'caption.alt.org.tldr' => 'Netscape Public License v1.1 (NPL-1.1)', 'name.alt.misc.fossology_old' => 'NPL_v1.1', 'name.alt.misc.fossology_old_long' => 'Netscape1.1', iri => 'https://website-archive.mozilla.org/www.mozilla.org/mpl/MPL/NPL/1.1/', tags => [ 'type:singleversion:npl', ], licenseversion => '1.1', 'pat.alt.subject.license' => 'The Netscape Public License Version 1\.1 [(]["]NPL["][)] consists of', }; =item * nposl I =item * nposl_3 I =cut $RE{nposl} = { name => 'NPOSL', 'name.alt.org.wikidata.synth.nogrant' => 'Q38495282', caption => 'Non-Profit Open Software License', tags => [ 'type:versioned:decimal', ], }; $RE{nposl_3} = { name => 'NPOSL-3.0', 'name.alt.org.osi' => 'NPOSL-3.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'NOSL3.0', 'name.alt.org.spdx' => 'NPOSL-3.0', caption => 'Non-Profit Open Software License 3.0', 'caption.alt.org.osi' => 'The Non-Profit Open Software License version 3.0', 'caption.alt.org.osi.misc.list' => 'Non-Profit Open Software License 3.0', 'caption.alt.org.tldr' => 'Non-Profit Open Software License 3.0 (NPOSL-3.0)', description => <<'END', Identical to Open Software License 3.0, except... * drop provenance warranty * add Non-Profit Amendment * rename license name END tags => [ 'license:contains:grant', 'type:singleversion:nposl', ], licenseversion => '3.0', 'pat.alt.subject.license.scope.multisection.part.part1' => 'Licensed under the Non-Profit Open Software License version 3\.0[ ]' . '[*)]Grant of Copyright License[.]', 'pat.alt.subject.license.scope.paragraph' => 'Warranty of Provenance and Disclaimer of Warranty' . '[. ]The Original Work is provided', }; =item * ntp =cut $RE{ntp} = { name => 'NTP', 'name.alt.org.osi' => 'NTP', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'ntp-license', 'name.alt.org.spdx' => 'NTP', 'name.alt.org.wikidata.synth.nogrant' => 'Q38495487', caption => 'NTP License', 'caption.alt.org.tldr' => 'NTP License (NTP)', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, NTP variant', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => $P{asis_expr_warranty}, }; =item * ntp_disclaimer =cut $RE{ntp_disclaimer} = { 'name.alt.org.debian' => 'NTP~disclaimer', caption => 'NTP License (legal disclaimer)', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.paragraph' => $P{asis_expr_warranty} . '[. ]' . $P{discl_name_warranties}, }; =item * oclc =item * oclc_1 =item * oclc_2 =cut $RE{oclc} = { name => 'OCLC', 'name.alt.org.wikidata.synth.nogrant' => 'Q38496210', caption => 'OCLC Research Public License', tags => [ 'type:versioned:decimal', ], }; $RE{oclc_1} = { name => 'OCLC-1.0', 'name.alt.misc.fossology_old' => 'OCLC_v1.0', caption => 'OCLC Research Public License 1.0', tags => [ 'type:singleversion:oclc', ], licenseversion => '1.0', 'pat.alt.subject.license' => 'If you distribute the Program or any derivative work of', }; $RE{oclc_2} = { name => 'OCLC-2.0', 'name.alt.org.osi' => 'OCLC-2.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'oclc2', 'name.alt.org.spdx' => 'OCLC-2.0', 'name.alt.misc.fossology_old' => 'OCLC_v2.0', caption => 'OCLC Research Public License 2.0', 'caption.alt.org.fedora' => 'OCLC Public Research License 2.0', 'caption.alt.org.osi' => 'The OCLC Research Public License 2.0 License', 'caption.alt.org.osi.misc.list' => 'OCLC Research Public License 2.0', 'caption.alt.org.tldr' => 'OCLC Research Public License 2.0 (OCLC-2.0)', tags => [ 'type:singleversion:oclc', ], licenseversion => '2.0', 'pat.alt.subject.license' => 'The Program must be distributed without charge beyond', }; =item * odbl I =item * odbl_1 I =cut $RE{odbl} = { name => 'ODbL', 'name.alt.org.wikidata.synth.nogrant' => 'Q1224853', caption => 'ODC Open Database License', 'caption.alt.org.wikidata' => 'Open Database License', tags => [ 'type:versioned:decimal', ], }; $RE{odbl_1} = { name => 'ODbL-1.0', 'name.alt.org.spdx' => 'ODbL-1.0', caption => 'ODC Open Database License v1.0', 'caption.alt.org.tldr.synth.nogrant' => 'ODC Open Database License (ODbL)', tags => [ 'type:singleversion:odbl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'The Open Database License [(]ODbL[)] is a license agreement', }; =item * odc_by I =item * odc_by_1 I =cut $RE{odc_by} = { name => 'ODC-By', caption => 'Open Data Commons Attribution License', tags => [ 'type:versioned:decimal', ], }; $RE{odc_by_1} = { name => 'ODC-By-1.0', 'name.alt.org.spdx.since.date_20180710' => 'ODC-By-1.0', caption => 'Open Data Commons Attribution License v1.0', tags => [ 'type:singleversion:odc_by', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'The Open Data Commons Attribution License is a license agreement', }; =item * ofl =item * ofl_1 I =item * ofl_1_no_rfn I =item * ofl_1_rfn I =item * ofl_1_1 I =item * ofl_1_1_no_rfn I =item * ofl_1_1_rfn I =cut $RE{ofl} = { name => 'OFL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'openfont', 'name.alt.org.wikidata.synth.nogrant' => 'Q1150837', caption => 'SIL Open Font License', 'caption.alt.misc.shorter' => 'Open Font License', iri => 'http://scripts.sil.org/OFL', tags => [ 'type:versioned:decimal', ], }; $RE{ofl_1} = { name => 'OFL-1.0', 'name.alt.org.spdx' => 'OFL-1.0', caption => 'SIL Open Font License 1.0', tags => [ 'type:singleversion:ofl', ], licenseversion => '1.0', 'pat.alt.subject.license' => '["]Font Software["] refers to any and all of the following', }; $RE{ofl_1_no_rfn} = { name => 'OFL-1.0-no-RFN', 'name.alt.org.spdx.since.date_20200209' => 'OFL-1.0-no-RFN', caption => 'SIL Open Font License 1.0 with no Reserved Font Name', description => <<'END', Usage: Should only be used when there is no Reserved Font Name. END tags => [ 'type:usage:ofl_1:no_rfn', ], }; $RE{ofl_1_rfn} = { name => 'OFL-1.0-RFN', 'name.alt.org.spdx.since.date_20200209' => 'OFL-1.0-RFN', caption => 'SIL Open Font License 1.0 with Reserved Font Name', description => <<'END', Usage: Should only be used when a Reserved Font Name applies. END tags => [ 'type:usage:ofl_1:rfn', ], }; $RE{ofl_1_1} = { name => 'OFL-1.1', 'name.alt.org.fedora.synth.nogrant' => 'OFL', 'name.alt.org.osi' => 'OFL-1.1', 'name.alt.org.spdx' => 'OFL-1.1', 'name.alt.org.tldr.synth.nogrant' => 'open-font-license-(ofl)-explained', caption => 'SIL Open Font License 1.1', 'caption.alt.org.osi.synth.nogrant' => 'SIL OPEN FONT LICENSE', 'caption.alt.org.osi.misc.list' => 'SIL Open Font License 1.1', 'caption.alt.org.tldr' => 'SIL Open Font License v1.1 (OFL-1.1)', 'caption.alt.org.trove' => 'SIL Open Font License 1.1 (OFL-1.1)', tags => [ 'type:singleversion:ofl', ], licenseversion => '1.1', 'pat.alt.subject.license' => '["]Font Software["] refers to the set of files released', }; $RE{ofl_1_1_no_rfn} = { name => 'OFL-1.1-no-RFN', 'name.alt.org.spdx.since.date_20200209' => 'OFL-1.1-no-RFN', caption => 'SIL Open Font License 1.1 with no Reserved Font Name', description => <<'END', Usage: Should only be used when there is no Reserved Font Name. END tags => [ 'type:usage:ofl_1_1:no_rfn', ], }; $RE{ofl_1_1_rfn} = { name => 'OFL-1.1-RFN', 'name.alt.org.spdx.since.date_20200209' => 'OFL-1.1-RFN', caption => 'SIL Open Font License 1.1 with Reserved Font Name', description => <<'END', Usage: Should only be used when a Reserved Font Name applies. END tags => [ 'type:usage:ofl_1_1:rfn', ], }; =item * ogc I =item * ogc_1 I =cut $RE{ogc} = { name => 'OGC', caption => 'OGC Software License', tags => [ 'type:versioned:decimal', ], }; $RE{ogc_1} = { name => 'OGC-1.0', 'name.alt.org.spdx.since.date_20200515' => 'OGC-1.0', caption => 'OGC Software License, Version 1.0', iri => 'https://www.ogc.org/ogc/software/1.0', tags => [ 'license:is:grant', 'type:singleversion:ogc', ], licenseversion => '19980720', 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'This OGC work [(]including software, documents, or other', 'pat.alt.subject.license.scope.line.scope.sentence.part.clause3' => 'Notice of any changes or modifications to the OGC files', }; =item * ogtsl =cut $RE{ogtsl} = { name => 'OGTSL', 'name.alt.org.osi' => 'OGTSL', 'name.alt.org.osi.iri.stem.until.date_20110430.synth.nogrant' => 'opengroup', 'name.alt.org.spdx' => 'OGTSL', 'name.alt.org.wikidata.synth.nogrant' => 'Q38686558', caption => 'Open Group Test Suite License', 'caption.alt.org.fedora' => 'Open Group Test Suite License', 'caption.alt.org.osi' => 'The Open Group Test Suite License', 'caption.alt.org.osi.misc.list' => 'Open Group Test Suite License', 'caption.alt.org.tldr' => 'Open Group Test Suite License (OGTSL)', 'caption.alt.org.trove' => 'Open Group Test Suite License', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'rename any non-standard executables and testcases', }; =item * oldap I =item * oldap_1_1 I =item * oldap_1_2 I =item * oldap_1_3 I =item * oldap_1_4 I =item * oldap_2 I =item * oldap_2_0_1 I =item * oldap_2_1 I =item * oldap_2_2 I =item * oldap_2_2_1 I =item * oldap_2_2_2 I =item * oldap_2_3 I =item * oldap_2_4 I =item * oldap_2_5 I =item * oldap_2_6 I =item * oldap_2_7 I =item * oldap_2_8 I =cut $RE{oldap} = { name => 'OLDAP', 'name.alt.org.fedora' => 'OpenLDAP', caption => 'Open LDAP Public License', 'caption.alt.org.fedora' => 'OpenLDAP License', tags => [ 'type:versioned:decimal', ], '_pat.alt.subject.license.scope.line.scope.sentence' => [ 'C subroutines supplied by you', 'Due credit should be given', 'may revise this license from time to time', ] }; $RE{oldap_1_1} = { name => 'OLDAP-1.1', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-1.1', caption => 'Open LDAP Public License v1.1', tags => [ 'type:singleversion:oldap', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 1\.1, 25 August 1998', }; $RE{oldap_1_2} = { name => 'OLDAP-1.2', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-1.2', 'name.alt.misc.fossology_old' => 'OpenLDAP_v1.2', caption => 'Open LDAP Public License v1.2', tags => [ 'type:singleversion:oldap', ], licenseversion => '1.2', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 1\.2, 1 September 1998', }; $RE{oldap_1_3} = { name => 'OLDAP-1.3', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-1.3', caption => 'Open LDAP Public License v1.3', tags => [ 'type:singleversion:oldap', ], licenseversion => '1.3', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 1\.3, 17 January 1999', 'pat.alt.subject.license.part.part8' => ' and do not automatically fall under the copyright of this Package' . ', and the executables produced by linking', }; $RE{oldap_1_4} = { name => 'OLDAP-1.4', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-1.4', caption => 'Open LDAP Public License v1.4', tags => [ 'type:singleversion:oldap', ], licenseversion => '1.4', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 1\.4, 18 January 1999', 'pat.alt.subject.license.part.part8' => ' and do not automatically fall under the copyright of this Package' . '[. ]Executables produced by linking', }; $RE{oldap_2} = { name => 'OLDAP-2.0', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-2.0', caption => 'Open LDAP Public License v2', 'caption.alt.org.spdx' => 'Open LDAP Public License v2.0 (or possibly 2.0A and 2.0B)', 'caption.alt.misc.spdx' => 'Open LDAP Public License v2.0', 'caption.alt.misc.spdx_a' => 'Open LDAP Public License v2.0A', 'caption.alt.misc.spdx_b' => 'Open LDAP Public License v2.0B', tags => [ 'type:singleversion:oldap', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 2\.0, 7 June 1999', 'pat.alt.subject.license.part.clauses_minimal' => 'without prior written permission of the OpenLDAP Foundation' . '[. ]OpenLDAP is a registered trademark of the OpenLDAP Foundation', }; $RE{oldap_2_0_1} = { name => 'OLDAP-2.0.1', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-2.0.1', caption => 'Open LDAP Public License v2.0.1', tags => [ 'type:singleversion:oldap', ], licenseversion => '2.0.1', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 2\.0\.1, 21 December 1999', }; $RE{oldap_2_1} = { name => 'OLDAP-2.1', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-2.1', caption => 'Open LDAP Public License v2.1', tags => [ 'type:singleversion:oldap', ], licenseversion => '2.1', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 2\.1, 29 February 2000', }; $RE{oldap_2_2} = { name => 'OLDAP-2.2', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-2.2', caption => 'Open LDAP Public License v2.2', tags => [ 'type:singleversion:oldap', ], licenseversion => '2.2', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 2\.2, 1 March 2000', }; $RE{oldap_2_2_1} = { name => 'OLDAP-2.2.1', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-2.2.1', caption => 'Open LDAP Public License v2.2.1', tags => [ 'type:singleversion:oldap', ], licenseversion => '2.2.1', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 2\.2\.1, 1 March 2000', }; $RE{oldap_2_2_2} = { name => 'OLDAP-2.2.2', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-2.2.2', caption => 'Open LDAP Public License 2.2.2', tags => [ 'type:singleversion:oldap', ], licenseversion => '2.2.2', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 2\.2\.2, 28 July 2000', }; $RE{oldap_2_3} = { name => 'OLDAP-2.3', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-2.3', caption => 'Open LDAP Public License v2.3', tags => [ 'type:singleversion:oldap', ], licenseversion => '2.3', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 2\.3, 28 July 2000', }; $RE{oldap_2_4} = { name => 'OLDAP-2.4', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-2.4', caption => 'Open LDAP Public License v2.4', tags => [ 'type:singleversion:oldap', ], licenseversion => '2.4', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 2\.4, 8 December 2000', 'pat.alt.subject.license.part.clauses_minimal' => 'Due credit should be given to the OpenLDAP Project[.]', }; $RE{oldap_2_5} = { name => 'OLDAP-2.5', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-2.5', caption => 'Open LDAP Public License v2.5', tags => [ 'type:singleversion:oldap', ], licenseversion => '2.5', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 2\.5, 11 May 2001', 'pat.alt.subject.license.scope.multisection.part.clauses_minimal' => 'Due credit should be given to the authors of the Software' . '[.][ ][*)]' . 'The OpenLDAP Foundation may revise', }; $RE{oldap_2_6} = { name => 'OLDAP-2.6', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-2.6', caption => 'Open LDAP Public License v2.6', tags => [ 'type:singleversion:oldap', ], licenseversion => '2.6', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 2\.6, 14 June 2001', 'pat.alt.subject.license.scope.multisection.part.clauses_minimal' => ' without specific, written prior permission' . '[.][ ][*)]' . 'The OpenLDAP Foundation may revise', }; $RE{oldap_2_7} = { name => 'OLDAP-2.7', 'name.alt.org.spdx.since.date_20130117' => 'OLDAP-2.7', 'name.alt.misc.fossology_old' => 'OpenLDAP_v2.7', caption => 'Open LDAP Public License v2.7', tags => [ 'type:singleversion:oldap', ], licenseversion => '2.7', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 2\.7, 7 September 2001', }; $RE{oldap_2_8} = { name => 'OLDAP-2.8', 'name.alt.org.osi' => 'OLDAP-2.8', 'name.alt.org.spdx' => 'OLDAP-2.8', 'name.alt.org.wikidata.synth.nogrant' => 'Q25273268', 'name.alt.misc.fossology_old' => 'OpenLDAP_v2.8', 'name.alt.misc.fossology_old_short' => 'OpenLDAP2.8', caption => 'Open LDAP Public License v2.8', 'caption.alt.org.osi' => 'OpenLDAP Public License Version 2.8', 'caption.alt.org.spdx.until.date_20150513' => 'OpenLDAP Public License v2.8', 'caption.alt.org.spdx.since.date_20150513' => 'Open LDAP Public License v2.8', 'caption.alt.org.tldr' => 'OpenLDAP Public License v2.8 (OLDAP-2.8)', 'caption.alt.org.wikidata' => 'OpenLDAP Public License Version 2.8', tags => [ 'type:singleversion:oldap', ], licenseversion => '2.8', 'pat.alt.subject.license.scope.multisection.part.header' => 'The OpenLDAP Public License[ ]Version 2\.8, 17 August 2003', }; =item * openssl =cut $RE{openssl} = { name => 'OpenSSL', 'name.alt.org.fedora' => 'OpenSSL', 'name.alt.org.perl' => 'openssl', 'name.alt.org.spdx' => 'OpenSSL', 'name.alt.org.wikidata.synth.nogrant' => 'Q89948816', caption => 'OpenSSL License', 'caption.alt.org.tldr' => 'OpenSSL License (OpenSSL)', description => <<'END', Specific instance of Apache License 1.0 tied to "OpenSSL", followed by SSLeay License. END tags => [ 'family:bsd', 'license:contains:license:apache_1', 'license:contains:license:cryptix', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection.part.apache_1_overlap' => $P{repro_copr_cond_discl} . '[.][ ]' . '[*)]?' . $P{ad_mat_ack_this} . 'the OpenSSL Project for use in the OpenSSL Toolkit[. ][(][http://]www\.openssl\.org[/][)]["]' . '[ ]' . '[*)]?' . $P{nopromo_neither} . '[. ]For written permission, please contact openssl[-]core[@]openssl\.org' . '[.][ ]' . '[*)]?' . 'Products derived from this software may not be called ["]OpenSSL["]', 'pat.alt.subject.license.scope.paragraph.part.apache_1_overlap' => $P{redist_ack_this} . 'the OpenSSL Project for use in the OpenSSL Toolkit', 'pat.alt.subject.license.scope.multisection.part.second_half' => $P{redist_ack_this} . 'the OpenSSL Project for use in the OpenSSL Toolkit[. ][(][http://]www\.openssl\.org[/][)]["]' . '[ ]' . $P{discl_warranties} . '[. ]' . $P{discl_liability} . '[.][ ]' . 'This product includes cryptographic software written by Eric Young [(]eay[@]cryptsoft\.com[)]' . '[. ]' . 'This product includes software written by Tim Hudson [(]tjh[@]cryptsoft\.com[)]' . '[.][ ]', }; =item * opl I =item * opl_1 I =cut $RE{opl} = { name => 'OPL', 'name.alt.misc.shortname' => 'OpenPL', 'name.alt.misc.fossology_old' => 'OpenPublication', 'name.alt.misc.fossology_old_dash' => 'Open-Publication', caption => 'Open Public License', tags => [ 'type:versioned:decimal', ], }; $RE{opl_1} = { name => 'OPL-1.0', 'name.alt.org.spdx.since.date_20130117' => 'OPL-1.0', 'name.alt.misc.fossology_old' => 'Open-Publication_v1.0', 'name.alt.misc.fossology_old_short' => 'OpenPL_v1.0', caption => 'Open Public License v1.0', 'caption.alt.org.fedora.iri.self.synth.nogrant' => 'Open Public License', 'caption.alt.org.tldr' => 'Open Public License v1.0 (OPL-1.0)', 'caption.alt.misc.shortname' => 'OpenPL 1.0', description => <<'END', Origin: Possibly Mozilla Public License Version 1.0 END tags => [ 'type:singleversion:opl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.definitions' => '["]License Author["] means Lutris Technologies, Inc', }; =item * oset_pl I =item * oset_pl_2_1 I =cut $RE{oset_pl} = { name => 'OPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q38496558', caption => 'OSET Public License', 'caption.alt.org.wikidata' => 'OSET Foundation Public License', iri => 'https://www.osetfoundation.org/public-license', tags => [ 'type:versioned:decimal', ], }; $RE{oset_pl_2_1} = { name => 'OSET-PL-2.1', 'name.alt.org.osi.synth.nogrant' => 'OPL-2.1', 'name.alt.org.osi.misc.shortname' => 'OSET-PL-2.1', 'name.alt.org.spdx.since.date_20160323' => 'OSET-PL-2.1', caption => 'OSET Public License version 2.1', 'iri.alt.format.pdf' => 'https://www.osetfoundation.org/s/OPL_v21.pdf', 'iri.alt.format.txt' => 'https://www.osetfoundation.org/s/OPL_v21-plain.txt', description => <<'END', Origin: Mozilla Public License Version 2.0 END tags => [ 'type:singleversion:oset_pl', ], licenseversion => '2.1', 'pat.alt.subject.license.scope.line.scope.sentence.part.head' => 'This license was prepared based on the Mozilla Public License', 'pat.alt.subject.license.scope.line.scope.sentence.part.section_3_5_2' => 'You may place additional conditions upon the rights granted', }; =item * osl =item * osl_1 =item * osl_1_1 =item * osl_2 =item * osl_2_1 =item * osl_3 =cut $RE{osl} = { name => 'OSL', 'name.alt.org.wikidata.synth.nogrant' => 'Q777520', 'name.alt.misc.fossology_old' => 'OpenSoftware', caption => 'Open Software License', tags => [ 'type:versioned:decimal', ], }; $RE{osl_1} = { name => 'OSL-1.0', 'name.alt.org.osi' => 'OSL-1.0', 'name.alt.org.spdx' => 'OSL-1.0', 'name.alt.org.tldr.synth.nogrant' => 'open-software-license-1.0-(opl-1.0)', 'name.alt.misc.fossology_old' => 'OpenSoftware1.0', 'name.alt.misc.fossology_old_short' => 'OSL_v1.0', caption => 'Open Software License 1.0', 'caption.alt.org.fedora' => 'Open Software License 1.0', 'caption.alt.org.fedora.misc.short' => 'OSL 1.0', 'caption.alt.org.osi' => 'Open Software License, version 1.0', 'caption.alt.org.osi.misc.list' => 'Open Software License 1.0', 'caption.alt.org.tldr' => 'Open Software License 1.0 (OSL-1.0)', tags => [ 'license:contains:grant', 'type:singleversion:osl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection' => '["]Licensed under the Open Software License version 1\.0["][ ]' . 'License Terms' }; $RE{osl_1_1} = { name => 'OSL-1.1', 'name.alt.org.fedora' => 'OSL1.1', 'name.alt.org.spdx.since.date_20140807' => 'OSL-1.1', 'name.alt.misc.fossology_old' => 'OpenSoftware1.1', 'name.alt.misc.fossology_old_short' => 'OSL_v1.1', caption => 'Open Software License 1.1', 'caption.alt.org.fedora' => 'Open Software License 1.1', 'caption.alt.org.fedora.misc.short' => 'OSL 1.1', 'caption.alt.org.tldr' => 'Open Software License 1.1 (OSL-1.1)', tags => [ 'license:contains:grant', 'type:singleversion:osl', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.multisection' => 'Licensed under the Open Software License version 1\.1[ ]' . '[*)]Grant of Copyright License[.]' }; $RE{osl_2} = { name => 'OSL-2.0', 'name.alt.org.spdx' => 'OSL-2.0', 'name.alt.misc.fossology_old' => 'OpenSoftware2.0', 'name.alt.misc.fossology_old_short' => 'OSL_v2.0', caption => 'Open Software License 2.0', 'caption.alt.org.fedora' => 'Open Software License 2.0', 'caption.alt.org.fedora.misc.short' => 'OSL 2.0', 'caption.alt.org.tldr' => 'Open Software License 2.0 (OSL-2.0)', tags => [ 'license:contains:grant', 'type:singleversion:osl', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.multisection.part.part1' => 'Licensed under the Open Software License version 2\.0[ ]' . '[*)]Grant of Copyright License[.]', 'pat.alt.subject.license.scope.multisection.part.part10' => 'its terms and conditions[.][ ]' . 'This License shall terminate immediately ' . 'and you may no longer exercise ' . 'any of the rights granted to You by this License ' . 'upon Your failure to honor the proviso ' . 'in Section 1[(]c[)] herein[.][ ]' . $termination_for_patent_including_counterclaim . ' for patent infringement', }; $RE{osl_2_1} = { name => 'OSL-2.1', 'name.alt.org.fedora' => 'OSL2.1', 'name.alt.org.osi' => 'OSL-2.1', 'name.alt.org.spdx' => 'OSL-2.1', 'name.alt.misc.fossology_old' => 'OpenSoftware2.1', 'name.alt.misc.fossology_old_short' => 'OSL_v2.1', caption => 'Open Software License 2.1', 'caption.alt.org.fedora' => 'Open Software License 2.1', 'caption.alt.org.fedora.misc.short' => 'OSL 2.1', 'caption.alt.org.osi' => 'The Open Software License 2.1', 'caption.alt.org.osi.misc.list' => 'Open Software License 2.1', 'caption.alt.org.tldr' => 'Open Software License 2.1 (OSL-2.1)', tags => [ 'license:contains:grant', 'type:singleversion:osl', ], licenseversion => '2.1', 'pat.alt.subject.license.scope.multisection.part.part1' => 'Licensed under the Open Software License version 2\.1[ ]' . '[*)]Grant of Copyright License[.]' }; $RE{osl_3} = { name => 'OSL-3.0', 'name.alt.org.osi' => 'OSL-3.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'osl-3.0', 'name.alt.org.spdx' => 'OSL-3.0', 'name.alt.misc.fossology_old' => 'OpenSoftware3.0', 'name.alt.misc.fossology_old_short' => 'OSL_v3.0', caption => 'Open Software License 3.0', 'caption.alt.org.fedora' => 'Open Software License 3.0', 'caption.alt.org.fedora.misc.short' => 'OSL 3.0', 'caption.alt.org.osi' => 'The Open Software License 3.0', 'caption.alt.org.osi.misc.list' => 'Open Software License 3.0', 'caption.alt.org.osi.misc.cat_list.synth.nogrant' => 'Open Software License', 'caption.alt.org.tldr' => 'Open Software Licence 3.0', 'caption.alt.org.trove' => 'Open Software License 3.0 (OSL-3.0)', tags => [ 'license:contains:grant', 'type:singleversion:osl', ], licenseversion => '3.0', 'pat.alt.subject.license.scope.multisection.part.part1' => 'Licensed under the Open Software License version 3\.0[ ]' . '[*)]Grant of Copyright License[.]', }; =item * pddl I =item * pddl_1 I =cut $RE{pddl} = { name => 'PDDL', caption => 'Open Data Commons Public Domain Dedication & License', tags => [ 'type:versioned:decimal', ], }; $RE{pddl_1} = { name => 'PDDL-1.0', 'name.alt.org.fedora' => 'PDDL-1.0', 'name.alt.org.fedora.iri.self.synth.nogrant' => 'PDDL', 'name.alt.org.spdx' => 'PDDL-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q24273512', caption => 'Open Data Commons Public Domain Dedication & License 1.0', 'caption.alt.org.fedora.synth.nogrant' => 'Open Data Commons Public Domain Dedication and Licence', 'caption.alt.org.spdx.until.date_20210307' => 'ODC Public Domain Dedication & License 1.0', 'caption.alt.org.spdx.since.date_20210307' => 'Open Data Commons Public Domain Dedication & License 1.0', 'caption.alt.org.tldr' => 'ODC Public Domain Dedication & License 1.0 (PDDL-1.0)', 'caption.alt.org.wikidata' => 'Public Domain Dedication and License v1.0', tags => [ 'type:singleversion:pddl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'The Open Data Commons[ - ]Public Domain Dedication & Licence is a document', }; =item * peer_production I =cut $RE{peer_production} = { name => 'Peer-Production', caption => 'Peer Production License', 'caption.alt.org.tldr' => 'Peer Production License', iri => 'https://wiki.p2pfoundation.net/Peer_Production_License', description => <<'END', Origin: Creative Commons Attribution-NonCommercial-ShareAlike 3.0 END tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence.part.intro' => 'THE WORK [(]AS DEFINED BELOW[)] IS PROVIDED ' . 'UNDER THE TERMS OF THIS COPYFARLEFT PUBLIC LICENSE', }; =item * php I =item * php_3 I =item * php_3_01 I =cut $RE{php} = { name => 'PHP', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'php', 'name.alt.org.wikidata.synth.nogrant' => 'Q376841', caption => 'PHP License', 'caption.alt.org.wikipedia' => 'PHP License', iri => 'https://secure.php.net/license/', tags => [ 'type:versioned:decimal', ], }; $RE{php_3} = { name => 'PHP-3.0', 'name.alt.org.fedora.synth.nogrant' => 'PHP', 'name.alt.org.osi' => 'PHP-3.0', 'name.alt.org.spdx' => 'PHP-3.0', 'name.alt.org.tldr.path.short' => 'php', 'name.alt.misc.fossology_old' => 'PHP_v3.0', caption => 'PHP License v3.0', 'caption.alt.org.osi' => 'The PHP License 3.0', 'caption.alt.org.osi.misc.list' => 'PHP License 3.0', 'caption.alt.org.tldr' => 'PHP License 3.0 (PHP)', description => <<'END', Origin: Possibly OpenSSL License END tags => [ 'family:bsd', 'license:contains:license:bsd_2_clause', 'license:is:grant', 'type:singleversion:php', ], licenseversion => '3.0', 'pat.alt.subject.license.scope.multisection.part.last_clauses' => $P{repro_copr_cond_discl} . '[.][ ]' . '[*)]The name ["]PHP["] must not be used ' . 'to endorse or promote products derived from this software ' . 'without prior written permission' . '[. ]' . 'For written permission, please contact group\@php\.net' . '[.][ ]' . '[*)]Products derived from this software may not be called ["]PHP["], ' . 'nor may ["]PHP["] appear in their name, ' . 'without prior written permission from group\@php\.net' . '[. ]' . 'You may indicate that your software works in conjunction with PHP ' . 'by saying ["]Foo for PHP["] instead of calling it ["]PHP Foo["] or ["]phpfoo["]' . '[ ]' . '[*)]The PHP Group may publish revised and[/]or new versions of the license from time to time' . '[. ]' . 'Each version will be given a distinguishing version number' . '[. ]' . 'Once covered code has been published under a particular version of the license, ' . 'you may always continue to use it under the terms of that version' . '[. ]' . 'You may also choose to use such covered code ' . 'under the terms of any subsequent version of the license ' . 'published by the PHP Group' . '[. ]' . 'No one other than the PHP Group has the right to modify the terms ' . 'applicable to covered code created under this License' . '[.][ ]' . '[*)]Redistributions of any form whatsoever must retain the following acknowledgment' . '[:][ ]' . '["]This product includes PHP, freely available', 'pat.alt.subject.license.scope.line.scope.sentence.part.clause_6' => 'This product includes PHP, freely available', }; $RE{php_3_01} = { name => 'PHP-3.01', 'name.alt.org.osi' => 'PHP-3.01', 'name.alt.org.spdx' => 'PHP-3.01', 'name.alt.org.tldr' => 'the-php-license-3.0.1', 'name.alt.misc.fossology_old' => 'PHP_v3.01', 'name.alt.misc.fossology_old_short' => 'PHP3.01', caption => 'PHP License v3.01', 'caption.alt.org.osi' => 'PHP License 3.01', 'caption.alt.org.spdx.until.date_20130912' => 'PHP LIcense v3.01', 'caption.alt.org.spdx.since.date_20130912' => 'PHP License v3.01', 'caption.alt.org.tldr' => 'PHP License 3.0.1', 'caption.alt.misc.legal' => 'The PHP License, version 3.01', iri => 'https://secure.php.net/license/3_01.txt', tags => [ 'family:bsd', 'license:contains:license:bsd_2_clause', 'license:is:grant', 'type:singleversion:php', ], licenseversion => '3.01', 'pat.alt.subject.license.scope.multisection.part.last_clauses' => $P{repro_copr_cond_discl} . '[.][ ]' . '[*)]The name ["]PHP["] must not be used ' . 'to endorse or promote products derived from this software ' . 'without prior written permission' . '[. ]' . 'For written permission, please contact group\@php\.net' . '[.][ ]' . '[*)]Products derived from this software may not be called ["]PHP["], ' . 'nor may ["]PHP["] appear in their name, ' . 'without prior written permission from group\@php\.net' . '[. ]' . 'You may indicate that your software works in conjunction with PHP ' . 'by saying ["]Foo for PHP["] instead of calling it ["]PHP Foo["] or ["]phpfoo["]' . '[ ]' . '[*)]The PHP Group may publish revised and[/]or new versions of the license from time to time' . '[. ]' . 'Each version will be given a distinguishing version number' . '[. ]' . 'Once covered code has been published under a particular version of the license, ' . 'you may always continue to use it under the terms of that version' . '[. ]' . 'You may also choose to use such covered code ' . 'under the terms of any subsequent version of the license ' . 'published by the PHP Group' . '[. ]' . 'No one other than the PHP Group has the right to modify the terms ' . 'applicable to covered code created under this License' . '[.][ ]' . '[*)]Redistributions of any form whatsoever must retain the following acknowledgment' . '[:][ ]' . '["]This product includes PHP software, freely available', 'pat.alt.subject.license.scope.line.scope.sentence.part.clause_6' => 'This product includes PHP software, freely available', }; =item * postgresql =cut $RE{postgresql} = { name => 'PostgreSQL', 'name.alt.org.fedora' => 'PostgreSQL', 'name.alt.org.osi' => 'PostgreSQL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'postgresql', 'name.alt.org.spdx' => 'PostgreSQL', 'name.alt.org.wikidata.synth.nogrant' => 'Q18563589', caption => 'PostgreSQL License', 'caption.alt.org.fedora.iri.self' => 'PostgreSQL License', 'caption.alt.org.osi' => 'The PostgreSQL Licence', 'caption.alt.org.osi.misc.list' => 'The PostgreSQL License', 'caption.alt.org.tldr' => 'PostgreSQL License (PostgreSQL)', 'caption.alt.org.trove' => 'PostgreSQL License', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, PostgreSQL License (MIT Variant)', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => $P{permission_use_fee_agree}, }; =item * psf_2 I =cut # license scheme is unversioned, despite versioned name $RE{psf_2} = { name => 'PSF-2.0', 'name.alt.org.debian.misc.short' => 'PSF-2', 'name.alt.org.wikidata' => 'Q2600299', 'name.alt.misc.short' => 'PSFL', 'name.alt.misc.shortest' => 'PSF', caption => 'Python Software Foundation License 2.0', 'caption.alt.org.steward' => 'PSF License Agreement', 'caption.alt.org.trove' => 'Python Software Foundation License', 'caption.alt.misc.legal' => 'PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2', 'caption.alt.org.wikipedia' => 'Python Software Foundation License', iri => 'https://docs.python.org/3/license.html#psf-license-agreement-for-python-release', 'iri.alt.misc.short' => 'https://docs.python.org/3/license.html#psf-license', tags => [ 'license:published:by_psf', 'type:unversioned', ], licenseversion => '2.0', 'pat.alt.subject.license' => '[*)]PSF is making Python available to Licensee', }; =item * public_domain =cut $RE{public_domain} = { name => 'public-domain', 'name.alt.org.fsf' => 'PublicDomain', 'name.alt.misc.case_and_dash' => 'Public-Domain', caption => 'Public domain', 'caption.alt.org.fedora' => 'Public Domain', 'caption.alt.org.trove' => 'Public Domain', 'iri.alt.org.linfo' => 'http://www.linfo.org/publicdomain.html', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.name' => "$the?(?:[Pp]ublic|PUBLIC)[- ](?:[Dd]omain|DOMAIN)", }; $RE{public_domain}{'_pat.alt.subject.grant'} = [ '(?:[Tt]his is|[Tt]hey are|[Ii]t[\']s) in ' . $RE{public_domain}{'pat.alt.subject.name'}, '(?:[Tt]his|[Tt]he) +(?:(?:source )?code|document|file|library|macros|opening book|work) +is(?: put)?(?: in)? ' . $RE{public_domain}{'pat.alt.subject.name'}, 'are dedicated to ' . $RE{public_domain}{'pat.alt.subject.name'}, 'for use in ' . $RE{public_domain}{'pat.alt.subject.name'}, 'placed in(?:to)? ' . $RE{public_domain}{'pat.alt.subject.name'}, 'considered to be in ' . $RE{public_domain}{'pat.alt.subject.name'}, 'offered to use in ' . $RE{public_domain}{'pat.alt.subject.name'}, 'provided [as is] into ' . $RE{public_domain}{'pat.alt.subject.name'}, 'released to ' . $RE{public_domain}{'pat.alt.subject.name'}, 'RELEASED INTO ' . $RE{public_domain}{'pat.alt.subject.name'}, ]; =item * qpl =item * qpl_1 =cut $RE{qpl} = { name => 'QPL', 'name.alt.org.fedora' => 'QPL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'qtpl', 'name.alt.org.wikidata.synth.nogrant' => 'Q1396282', caption => 'Q Public License', 'caption.alt.org.trove' => 'Qt Public License (QPL)', 'caption.alt.org.wikipedia' => 'Q Public License', tags => [ 'type:versioned:decimal', ], }; $RE{qpl_1} = { name => 'QPL-1.0', 'name.alt.org.osi' => 'QPL-1.0', 'name.alt.org.spdx' => 'QPL-1.0', 'name.alt.org.perl' => 'qpl_1_0', 'name.alt.misc.fossology_old' => 'QPL_v1.0', caption => 'Q Public License 1.0', 'caption.alt.org.fsf' => 'Q Public License (QPL), Version 1.0', 'caption.alt.org.osi.synth.nogrant' => 'The Q Public License Version', 'caption.alt.org.osi.misc.list.synth.nogrant' => 'Q Public License', 'caption.alt.org.perl' => 'Q Public License, Version 1.0', 'caption.alt.org.tldr' => 'Q Public License 1.0 (QPL-1.0)', tags => [ 'type:singleversion:qpl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.sentence' => 'This license applies to any software ' . 'containing a notice placed by the copyright holder ' . 'saying that it may be distributed ' . 'under the terms of the Q Public License ' . 'version 1\.0[.]', }; =item * rpl =item * rpl_1 =item * rpl_1_1 =item * rpl_1_3 =item * rpl_1_5 =cut $RE{rpl} = { name => 'RPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q7302458', caption => 'Reciprocal Public License', 'caption.alt.org.fedora' => 'Reciprocal Public License', 'caption.alt.org.wikipedia' => 'Reciprocal Public License', tags => [ 'type:versioned:decimal', ], }; $RE{rpl_1} = { name => 'RPL-1', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'rpl1.0', caption => 'Reciprocal Public License, Version 1.0', 'iri.alt.archive.time_20020223190112' => 'http://www.technicalpursuit.com/Biz_RPL.html', tags => [ 'type:singleversion:rpl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection.part.part1' => 'This Reciprocal Public License Version 1\.0 [(]["]License["][)] applies to any programs' }; $RE{rpl_1_1} = { name => 'RPL-1.1', 'name.alt.org.osi' => 'RPL-1.1', 'name.alt.org.spdx.since.date_20130410' => 'RPL-1.1', 'name.alt.misc.fossology_old' => 'RPL_v1.1', 'name.alt.misc.fossology_old_short' => 'RPL1.1', caption => 'Reciprocal Public License 1.1', 'caption.alt.org.osi' => 'Reciprocal Public License, version 1.1', tags => [ 'type:singleversion:rpl', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.multisection.part.part1' => 'This Reciprocal Public License Version 1\.1 [(]["]License["][)] applies to any programs' }; $RE{rpl_1_3} = { name => 'RPL-1.3', caption => 'Reciprocal Public License 1.3', 'iri.alt.archive.time_20080828191234' => 'http://www.technicalpursuit.com/licenses/RPL_1.3.html', tags => [ 'type:singleversion:rpl', ], licenseversion => '1.3', 'pat.alt.subject.license.scope.multisection.part.part1' => 'This Reciprocal Public License Version 1\.3 [(]["]License["][)] applies to any programs' }; $RE{rpl_1_5} = { name => 'RPL-1.5', 'name.alt.org.osi' => 'RPL-1.5', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'rpl1.5', 'name.alt.org.spdx' => 'RPL-1.5', 'name.alt.misc.fossology_old' => 'RPL_v1.5', 'name.alt.misc.fossology_old_short' => 'RPL1.5', caption => 'Reciprocal Public License 1.5', 'caption.alt.org.tldr' => 'Reciprocal Public License 1.5 (RPL-1.5)', tags => [ 'type:singleversion:rpl', ], licenseversion => '1.5', 'pat.alt.subject.license.scope.multisection.part.part1' => 'This Reciprocal Public License Version 1\.5 [(]["]License["][)] applies to any programs' }; =item * rpsl =item * rpsl_1 I =cut $RE{rpsl} = { name => 'RPSL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'real', 'name.alt.org.wikidata.synth.nogrant' => 'Q7300815', 'name.alt.misc.fossology_old' => 'RealNetworks-EULA', 'name.alt.misc.fossology_old_short' => 'RealNetworks', caption => 'RealNetworks Public Source License', 'caption.alt.org.wikipedia' => 'RealNetworks Public Source License', tags => [ 'type:versioned:decimal', ], }; $RE{rpsl_1} = { name => 'RPSL-1.0', 'name.alt.org.osi' => 'RPSL-1.0', 'name.alt.org.spdx' => 'RPSL-1.0', 'name.alt.misc.fossology_old' => 'RPSL_v1.1', 'name.alt.misc.fossology_old_short' => 'RPSL1.1', caption => 'RealNetworks Public Source License v1.0', 'caption.alt.org.osi' => 'RealNetworks Public Source License Version 1.0', 'caption.alt.org.osi.misc.list' => 'RealNetworks Public Source License V1.0', 'caption.alt.legal.license' => 'RealNetworks Public Source License Version 1.0', 'caption.alt.org.tldr' => 'RealNetworks Public Source License v1.0 (RPSL-1.0)', tags => [ 'license:contains:name:afl', 'license:contains:name:apache', 'license:contains:name:artistic', 'license:contains:name:bsd', 'license:contains:name:cpl', 'license:contains:name:expat', 'license:contains:name:gpl_1', 'license:contains:name:intel', 'license:contains:name:lgpl_1', 'license:contains:name:libpng', 'license:contains:name:Motosoto', 'license:contains:name:mpl_1', 'license:contains:name:mpl_1_1', 'license:contains:name:ncsa', 'license:contains:name:nokia', 'license:contains:name:python', 'license:contains:name:rscpl', 'license:contains:name:siss_1_1', 'license:contains:name:w3c', 'license:contains:name:xnet', 'license:contains:name:zlib', 'license:contains:name:zpl', 'type:singleversion:rpsl', ], licenseversion => '1.0', 'pat.alt.subject.license' => 'General Definitions[. ]This License applies to any program or other work', }; =item * ruby =cut $RE{ruby} = { name => 'Ruby', 'name.alt.org.fedora' => 'Ruby', 'name.alt.org.spdx' => 'Ruby', 'name.alt.org.wikidata.synth.nogrant' => 'Q3066722', caption => 'Ruby License', 'caption.alt.org.tldr' => 'Ruby License (Ruby)', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'You may modify and include the part of the software into any', }; =item * rscpl =cut $RE{rscpl} = { name => 'RSCPL', 'name.alt.org.osi' => 'RSCPL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'ricohpl', 'name.alt.org.spdx' => 'RSCPL', 'name.alt.misc.fossology_old' => 'Ricoh', 'name.alt.misc.fossology_old_verson' => 'Ricoh_v1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q7332330', caption => 'Ricoh Source Code Public License', 'caption.alt.org.fedora' => 'Ricoh Source Code Public License', 'caption.alt.org.osi' => 'The Ricoh Source Code Public License', 'caption.alt.org.osi.misc.list' => 'Ricoh Source Code Public License', 'caption.alt.org.tldr' => 'Ricoh Source Code Public License (RSCPL)', 'caption.alt.org.trove' => 'Ricoh Source Code Public License', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => 'Endorsements[. ]The names ["]Ricoh,["] ["]Ricoh Silicon Valley,["] and ["]RSV["] must not' }; =item * sax_pd I =cut $RE{sax_pd} = { name => 'SAX-PD', 'name.alt.org.spdx' => 'SAX-PD', caption => 'Sax Public Domain Notice', 'caption.alt.org.tldr' => 'Sax Public Domain Notice (SAX-PD)', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'No one owns SAX[:][ ]you may use it freely in both commercial', }; =item * sds I =item * sds_1 I =cut $RE{sds} = { name => 'SdS', caption => 'Show don\'t Sell License', tags => [ 'type:versioned:decimal', ], }; $RE{sds_1} = { name => 'SdS-1.0.0', caption => 'Show don\'t Sell License v1.0.0', description => <<'END', Proof: [Github](https://github.com/SparrowOchon/Humble-dl/blob/master/LICENSE) END tags => [ 'type:singleversion:sds', ], licenseversion => '1.0.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.part4_2' => 'If the clause 4\.1 becomes true the licensee must pay', }; =item * sgi_b =item * sgi_b_1 I =item * sgi_b_1_1 I =item * sgi_b_2 I =cut $RE{sgi_b} = { name => 'SGI-B', 'name.alt.misc.unbranded' => 'FreeB', caption => 'SGI Free Software License B', 'caption.alt.misc.shorter' => 'SGI FreeB', iri => 'https://www.sgi.com/projects/FreeB/', tags => [ 'type:versioned:decimal', ], }; $RE{sgi_b_1} = { name => 'SGI-B-1.0', 'name.alt.org.spdx.since.date_20130117' => 'SGI-B-1.0', 'name.alt.misc.fossology_old_vague.synth.nogrant' => 'SGI-v1.0', caption => 'SGI Free Software License B v1.0', tags => [ 'type:singleversion:sgi_b', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.paragraph' => 'License Grant[. ]Subject to the provisions', 'pat.alt.subject.license.scope.multiparagraph.part.head' => 'SGI FREE SOFTWARE LICENSE B[ ][(]Version 1\.0 1[/]25[/]2000[)][ ]' . '[*)]Definitions[.]', }; $RE{sgi_b_1_1} = { name => 'SGI-B-1.1', 'name.alt.org.spdx.since.date_20130117' => 'SGI-B-1.1', 'name.alt.misc.fossology_old' => 'SGI-B1.1', 'name.alt.misc.fossology_old_vague.synth.nogrant' => 'SGI-v1.1', caption => 'SGI Free Software License B v1.1', tags => [ 'type:singleversion:sgi_b', ], licenseversion => '1.1', 'pat.alt.subject.license.part.title' => 'SGI License Grant', 'pat.alt.subject.license.scope.multiparagraph.part.head' => 'SGI FREE SOFTWARE LICENSE B[ ][(]Version 1\.1 02[/]22[/]2000[)][ ]' . '[*)]Definitions[.]', }; $RE{sgi_b_2} = { name => 'SGI-B-2.0', 'name.alt.org.spdx.since.date_20130117' => 'SGI-B-2.0', caption => 'SGI Free Software License B v2.0', 'caption.alt.org.fedora' => 'SGI Free Software License B 2.0', 'caption.alt.org.tldr' => 'SGI Free Software License B v2.0 (SGI-B-2.0)', 'name.alt.misc.fossology_old' => 'RPSL_v1.1', 'name.alt.misc.fossology_old' => 'SGI-B2.0', 'name.alt.misc.fossology_old_vague.synth.nogrant' => 'SGI-2.0', tags => [ 'type:singleversion:sgi_b', ], licenseversion => '2.0', 'pat.alt.subject.license.part.reproduction' => 'The above copyright notice including the dates of first publication', 'pat.alt.subject.license.scope.multiparagraph.part.head' => 'SGI FREE SOFTWARE LICENSE B[ ]' . '[(]Version 2\.0, Sept\. 18, 2008[)] ' . 'Copyright[c] \[dates of first publication\] Silicon Graphics, Inc[. ]' . 'All Rights Reserved[.][ ]' . $P{perm_granted}, }; =item * simpl I =item * simpl_2 I =cut $RE{simpl} = { name => 'SimPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q38351460', caption => 'Simple Public License', tags => [ 'type:versioned:decimal', ], }; $RE{simpl_2} = { name => 'SimPL-2.0', 'name.alt.org.osi' => 'SimPL-2.0', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'simpl-2.0', 'name.alt.org.osi.misc.cat_list' => 'Simple-2.0', 'name.alt.org.spdx' => 'SimPL-2.0', 'name.alt.org.tldr.path.short' => 'simpl', caption => 'Simple Public License 2.0', 'caption.alt.org.osi.synth.nogrant' => 'Simple Public License', 'caption.alt.org.osi.misc.list' => 'Simple Public License 2.0', 'caption.alt.org.tldr' => 'Simple Public License 2.0 (SimPL)', description => <<'END', Origin: by Robert W. Gomulkiewicz in 2005, inspired by GNU General Public License, Version 2. Details at and at END tags => [ 'type:singleversion:simpl', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'The SimPL applies to the software[\']s source and', }; =item * simple_w3c I =item * simple_w3c_1_1 I =cut $RE{simple_w3c} = { name => 'Simple', caption => 'Simple Public License', tags => [ 'type:versioned:decimal', ], }; $RE{simple_w3c_1_1} = { name => 'Simple-1.1', caption => 'Simple Public License 1.1', iri => 'https://www.analysisandsolutions.com/software/license.htm', description => <<'END', Origin: W3C Software Notice and License (1998-07-20) END tags => [ 'license:is:grant', 'type:singleversion:simpl', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.line.scope.sentence.part.clause2' => 'The name, servicemarks and trademarks of the copyright', }; =item * sissl I =item * sissl_1_1 I =item * sissl_1_2 I =cut $RE{sissl} = { name => 'SISSL', 'name.alt.org.fedora' => 'SISSL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'sisslpl', 'name.alt.org.perl' => 'sun', 'name.alt.org.wikidata.synth.nogrant' => 'Q635577', caption => 'Sun Industry Standards Source License', 'caption.alt.org.perl' => 'Sun Internet Standards Source License (SISSL)', 'caption.alt.org.trove' => 'Sun Industry Standards Source License (SISSL)', 'caption.alt.org.wikipedia' => 'Sun Industry Standards Source License', 'caption.alt.misc.long' => 'Sun Industry Standards Source License (SISSL)', tags => [ 'type:versioned:decimal', ], }; $RE{sissl_1_1} = { name => 'SISSL-1.1', 'name.alt.org.osi.synth.nogrant' => 'SISSL', 'name.alt.org.spdx.since.date_20130117.synth.nogrant' => 'SISSL', 'name.alt.misc.fossology_old' => 'SISSL_v1.1', caption => 'Sun Industry Standards Source License v1.1', 'caption.alt.org.osi.synth.nogrant' => 'Sun Industry Standards Source License', 'caption.alt.org.spdx.until.date_20130912.synth.nogrant' => 'Sun Industry Standards Source License', 'caption.alt.org.spdx.since.date_20130912' => 'Sun Industry Standards Source License v1.1', iri => 'https://www.openoffice.org/licenses/sissl_license.html', tags => [ 'type:singleversion:sissl', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.multisection.part.header' => 'Sun Industry Standards Source License[ - ]Version 1\.1[ ]' . '1\.0 DEFINITIONS', }; $RE{sissl_1_2} = { name => 'SISSL-1.2', 'name.alt.org.spdx.since.date_20130912' => 'SISSL-1.2', caption => 'Sun Industry Standards Source License v1.2', 'caption.alt.org.tldr' => 'Sun Industry Standards Source License v1.2 (SISSL-1.2)', 'caption.alt.misc.legal' => 'SUN INDUSTRY STANDARDS SOURCE LICENSE Version 1.2', iri => 'http://gridscheduler.sourceforge.net/Gridengine_SISSL_license.html', tags => [ 'type:singleversion:sissl', ], licenseversion => '1.2', 'pat.alt.subject.license.scope.multisection.part.header' => 'SUN INDUSTRY STANDARDS SOURCE LICENSE[ ]' . 'Version 1\.2[ ]' . '1\.0 DEFINITIONS', }; =item * sleepycat I =cut $RE{sleepycat} = { name => 'Sleepycat', 'name.alt.org.fedora.iri.self' => 'Sleepycat', 'name.alt.org.osi' => 'Sleepycat', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'sleepycat', 'name.alt.org.spdx' => 'Sleepycat', 'name.alt.org.tldr.path.short' => 'sleepycat', 'name.alt.org.wikidata.synth.nogrant' => 'Q2294050', caption => 'Sleepycat License', 'caption.alt.misc.berkeley' => 'Berkeley Database License', 'caption.alt.misc.public' => 'Sleepycat Public License', 'caption.alt.org.fedora' => 'Sleepycat Software Product License', 'caption.alt.org.osi' => 'The Sleepycat License', 'caption.alt.org.osi.misc.list' => 'Sleepycat License', 'caption.alt.org.tldr' => 'Sleepycat License', 'caption.alt.org.trove' => 'Sleepycat License', 'caption.alt.org.wikipedia' => 'Sleepycat License', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.line.part.clause4' => 'obtain complete source code for the DB software and', 'pat.alt.subject.license.scope.paragraph.part.clause4' => 'Redistributions in any form must be accompanied by information on how to obtain' . ' complete source code for the DB software' . ' and any accompanying software that uses the DB software', }; =item * sncl I =item * sncl_1_10 I =item * sncl_2_0_1 I =item * sncl_2_0_2 I =item * sncl_2_1 I =item * sncl_2_3 I =cut $RE{sncl} = { name => 'SNCL', caption => 'Simple Non Code License', tags => [ 'type:versioned:decimal', ], }; $RE{sncl_1_10} = { name => 'SNCL-1.10.0', caption => 'Simple Non Code License v1.10.0', 'caption.alt.org.tldr.synth.nogrant' => 'Simple non code license (SNCL)', description => <<'END', Proof: [Github](https://github.com/SiddChugh/Diffie-Hellman-Algorithm/blob/master/License.txt) END tags => [ 'type:singleversion:sncl', ], licenseversion => '1.10.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.part1_6' => 'If the 1\.5 clause becomes true the licensee must pay', }; $RE{sncl_2_0_1} = { name => 'SNCL-2.0.1', caption => 'Simple Non Code License v2.0.1', description => <<'END', Proof: [Github](https://github.com/MysteryDash/Simple-Non-Code-License/blob/af24a92211e3c35392acb21611f228200fd32fd0/License.txt) END tags => [ 'type:singleversion:sncl', ], licenseversion => '2.0.1', 'pat.alt.subject.license.scope.line.scope.sentence.part.part3_2' => 'If the 3\.1 clause becaumes true the licensee must pay', }; $RE{sncl_2_0_2} = { name => 'SNCL-2.0.2', caption => 'Simple Non Code License v2.0.2', description => <<'END', Identical to Simple Non Code License v2.0.1, except... * typo correction in section 3.2 Proof: [Github](https://github.com/MysteryDash/Simple-Non-Code-License/blob/9a045d0a8dc58341a35d11e4f3d8343c2d498ca5/License.txt) END tags => [ 'type:singleversion:sncl', ], licenseversion => '2.0.2', }; $RE{sncl_2_1} = { name => 'SNCL-2.1.0', 'name.alt.org.tldr.synth.nogrant' => 'simple-non-code-license-2.0.2', caption => 'Simple Non Code License v2.1.0', 'caption.alt.org.tldr' => 'Simple Non Code License (SNCL) 2.1.0', description => <<'END', Proof: [Github](https://github.com/MysteryDash/Simple-Non-Code-License/blob/480fb558b17aa1d23ad6d61ad420ea19d08d8940/License.txt) END tags => [ 'type:singleversion:sncl', ], licenseversion => '2.1.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.part1_3_4' => 'The same rule about commercial use stated in clause 1\.1 applies here', }; $RE{sncl_2_3} = { name => 'SNCL-2.3.0', caption => 'Simple Non Code License v2.3.0', description => <<'END', Proof: [Github](https://github.com/MysteryDash/Simple-Non-Code-License/blob/17766cb9f31240dc04030412b1da94d43097408f/License.txt) END tags => [ 'type:singleversion:sncl', ], licenseversion => '2.3.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.part3_2' => 'If the clause 3\.1 becomes true the licensee must pay', }; =item * spl =item * spl_1 =cut $RE{spl} = { name => 'SPL', 'name.alt.org.fedora' => 'SPL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'sunpublic', 'name.alt.org.wikidata.synth.nogrant' => 'Q648252', caption => 'Sun Public License', 'caption.alt.org.trove' => 'Sun Public License', 'caption.alt.org.wikipedia' => 'Sun Public License', tags => [ 'type:versioned:decimal', ], }; $RE{spl_1} = { name => 'SPL-1.0', 'name.alt.org.osi' => 'SPL-1.0', 'name.alt.org.spdx' => 'SPL-1.0', 'name.alt.misc.fossology_old' => 'Sun-PL_v1.0', 'name.alt.misc.fossology_old_short' => 'SunPL1.0', caption => 'Sun Public License v1.0', 'caption.alt.org.osi' => 'Sun Public License, Version 1.0', 'caption.alt.org.osi.misc.list' => 'Sun Public License 1.0', 'caption.alt.org.tldr' => 'Sun Public License v1.0 (SPL-1.0)', tags => [ 'type:singleversion:spl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection' => 'Exhibit A -Sun Public License Notice[.][ ]' . 'The contents of this file are subject to the Sun Public License' }; =item * ssleay I =cut $RE{ssleay} = { name => 'SSLeay', 'name.alt.org.perl' => 'ssleay', 'caption.alt.org.perl' => 'Original SSLeay License', tags => [ 'license:contains:license:bsd_2_clause', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.part.attribution' => 'If this package is used in a product', 'pat.alt.subject.license.scope.multisection' => $P{repro_copr_cond_discl} . '[.][ ]' . '[*)]' . $P{ad_mat_ack_ssleay} . '?', 'pat.alt.subject.license.part.advertising_clause_2' => 'The word ["]cryptographic["] can be left out', }; =item * stlport I =cut $RE{stlport} = { name => 'STLport', caption => 'STLport License Agreement', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, Cheusov variant', iri => 'http://www.stlport.org/doc/license.html', tags => [ 'family:mit', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'The Licensee may distribute binaries compiled', }; =item * sugarcrm =item * sugarcrm_1_1_3 =cut $RE{sugarcrm} = { name => 'SugarCRM', 'name.alt.org.wikidata.synth.nogrant' => 'Q3976707', caption => 'SugarCRM Public License', tags => [ 'type:versioned:decimal', ], }; $RE{sugarcrm_1_1_3} = { name => 'SugarCRM-1.1.3', 'name.alt.org.spdx' => 'SugarCRM-1.1.3', 'name.alt.org.tldr.path.short' => 'sugarcrm-1.1.3', caption => 'SugarCRM Public License v1.1.3', 'caption.alt.org.tldr' => 'SugarCRM Public License v1.1.3 (SugarCRM-1.1.3)', tags => [ 'type:singleversion:sugarcrm', ], licenseversion => '1.1.3', 'pat.alt.subject.license' => 'The SugarCRM Public License Version [(]["]SPL["][)] consists of', }; =item * tosl I =cut # Yes, it is unversioned $RE{tosl} = { name => 'TOSL', 'name.alt.org.fedora' => 'TOSL', 'name.alt.org.spdx.since.date_20140807' => 'TOSL', 'name.alt.misc.legal' => 'TRUST', caption => 'Trusster Open Source License', 'caption.alt.org.fedora' => 'Trusster Open Source License', 'caption.alt.misc.legal' => 'Trusster Open Source License version 1.0a (TRUST)', description => <<'END', Identical to Sleepycat, except... * generalize source access clause to cover "this software" Proof: [Github](https://github.com/trusster/trusster/blob/master/truss/cpp/src/truss_verification_top.cpp) END tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.line.part.clause4' => 'obtain complete source code for this software and', 'pat.alt.subject.license.scope.paragraph.part.clause4' => 'Redistributions in any form must be accompanied by information on how to obtain' . ' complete source code for this software' . ' and any accompanying software that uses this software', }; =item * truecrypt I =item * truecrypt_3 I =cut $RE{truecrypt} = { name => 'TrueCrypt', caption => 'TrueCrypt License', 'caption.alt.org.fedora' => 'TrueCrypt License', tags => [ 'type:versioned:decimal', ], }; $RE{truecrypt_3} = { name => 'TrueCrypt-3.0', caption => 'TrueCrypt License Version 3.0', 'caption.alt.org.tldr' => 'TrueCrypt License Version 3.0', iri => 'https://www.truecrypt71a.com/truecrypt-license/', tags => [ 'type:singleversion:truecrypt', ], licenseversion => '3.0', 'pat.alt.subject.license.scope.line.scope.sentence' => 'License agreement for Encryption for the Masses', }; =item * ucl I =item * ucl_1 I =cut $RE{ucl} = { name => 'UCL', caption => 'Upstream Compatibility License', tags => [ 'type:versioned:decimal', ], }; $RE{ucl_1} = { name => 'UCL-1.0', 'name.alt.org.osi' => 'UCL-1.0', 'name.alt.org.spdx.since.date_20191022' => 'UCL-1.0', caption => 'Upstream Compatibility License v. 1.0', 'caption.alt.org.osi' => 'Upstream Compatibility License v1.0', tags => [ 'license:contains:grant', 'type:singleversion:ucl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.multisection.part.part1' => 'Licensed under the Upstream Compatibility License 1\.0[ ]' . '[*)]Grant of Copyright License[.]', }; =item * unicode_dfs I =item * unicode_dfs_2015 I =item * unicode_dfs_2016 I =cut $RE{unicode_dfs} = { name => 'Unicode-DFS', 'name.alt.org.wikidata.synth.nogrant' => 'Q67145209', caption => 'Unicode License Agreement - Data Files and Software', 'caption.alt.org.wikidata' => 'Unicode, Inc. License Agreement', tags => [ 'license:is:grant', 'type:versioned:decimal', ], }; $RE{unicode_dfs_2015} = { name => 'Unicode-DFS-2015', 'name.alt.org.fedora.synth.nogrant' => 'Unicode', 'name.alt.org.spdx.since.date_20170106' => 'Unicode-DFS-2015', caption => 'Unicode License Agreement - Data Files and Software (2015)', 'caption.alt.org.fedora' => 'Unicode License', 'iri.alt.archive.time_20160426001149' => 'http://www.unicode.org/copyright.html#Exhibit1', tags => [ 'license:is:grant', 'type:singleversion:unicode_dfs', ], licenseversion => '2015', 'pat.alt.subject.license.part.clause_2' => 'this copyright and permission notice appear in associated documentation, and', }; $RE{unicode_dfs_2016} = { name => 'Unicode-DFS-2016', 'name.alt.org.osi' => 'Unicode-DFS-2016', 'name.alt.org.spdx.since.date_20170106' => 'Unicode-DFS-2016', caption => 'Unicode License Agreement - Data Files and Software (2016)', 'caption.alt.org.osi' => 'Unicode, Inc. License Agreement - Data Files and Software', 'caption.alt.org.osi.misc.list' => 'Unicode Data Files and Software License', 'caption.alt.org.osi.misc.cat_list' => 'Unicode License Agreement - Data Files and Software', iri => 'https://www.unicode.org/license.html', tags => [ 'license:is:grant', 'type:singleversion:unicode_dfs', ], licenseversion => '2016', 'pat.alt.subject.license.part.clause_2' => 'this copyright and permission notice appear in associated Documentation[.]', }; =item * unicode_strict =cut $RE{unicode_strict} = { name => 'Unicode-strict', 'name.alt.misc.scancode' => 'unicode-mappings', caption => 'Unicode strict', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'hereby grants the right to freely use', }; =item * unicode_tou =cut $RE{unicode_tou} = { name => 'Unicode-TOU', 'name.alt.org.spdx.since.date_20140807' => 'Unicode-TOU', caption => 'Unicode Terms of Use', tags => [ 'type:unversioned', ], 'pat.alt.subject.license' => 'distribute all documents and files solely for informational', }; =item * unlicense =cut $RE{unlicense} = { name => 'Unlicense', 'name.alt.org.osi' => 'Unlicense', 'name.alt.org.spdx.since.date_20130912' => 'Unlicense', 'name.alt.org.wikidata.synth.nogrant' => 'Q21659044', 'iri.alt.org.wikipedia' => 'Unlicense', caption => 'The Unlicense', 'caption.alt.org.fedora.iri.self' => 'Unlicense', 'caption.alt.org.tldr' => 'Unlicense', 'caption.alt.org.trove' => 'The Unlicense (Unlicense)', 'caption.alt.org.wikidata' => 'Unlicense', iri => 'https://unlicense.org/', 'iri.alt.format.txt' => 'https://unlicense.org/UNLICENSE', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'This is free and unencumbered software released into the public domain', }; =item * upl I =item * upl_1 I =cut $RE{upl} = { name => 'UPL', 'name.alt.org.fedora.iri.self' => 'UPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q38685700', caption => 'Universal Permissive License', 'caption.alt.org.trove' => 'Universal Permissive License (UPL)', tags => [ 'type:versioned:decimal', ], }; $RE{upl_1} = { name => 'UPL-1.0', 'name.alt.org.osi.synth.nogrant' => 'UPL', 'name.alt.org.spdx.since.date_20150730' => 'UPL-1.0', 'name.alt.org.tldr.path.short' => 'upl-1,0', caption => 'Universal Permissive License v1.0', 'caption.alt.org.osi' => 'The Universal Permissive License (UPL), Version 1.0', 'caption.alt.org.osi.misc.list.synth.nogrant' => 'Universal Permissive License', 'caption.alt.org.tldr' => 'Universal Permissive License 1.0 (UPL-1.0)', tags => [ 'license:is:grant', 'type:singleversion:upl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.sentence' => 'The above copyright notice and either this complete permission notice', }; =item * vsl I =item * vsl_1 I =cut $RE{vsl} = { name => 'VSL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'vovidapl', 'name.alt.misc.fossology_old' => 'Vovida', caption => 'Vovida Software License', tags => [ 'type:versioned:decimal', ], }; $RE{vsl_1} = { name => 'VSL-1.0', 'name.alt.org.fedora.synth.nogrant' => 'VSL', 'name.alt.org.osi' => 'VSL-1.0', 'name.alt.org.spdx' => 'VSL-1.0', 'name.alt.org.wikidata.synth.nogrant' => 'Q38349857', caption => 'Vovida Software License v1.0', 'caption.alt.org.fedora' => 'Vovida Software License v. 1.0', 'caption.alt.org.osi' => 'The Vovida Software License v. 1.0', 'caption.alt.org.osi.misc.list' => 'Vovida Software License v. 1.0', 'caption.alt.org.tldr' => 'Vovida Software License v1.0 (VSL-1.0)', 'caption.alt.org.trove' => 'Vovida Software License 1.0', 'caption.alt.org.wikidata' => 'Vovida Software License Version 1.0', description => <<'END', Identical to BSD (3 clause), except... * extend non-endorsement clause to include contact info * add derivatives-must-rename clause Identical to Apache 1.1, except... * drop advertisement clause * replace "Apache" and "Apache Software Foundation" with "VOCAL" * extend disclaimers to include title and non-infringement, and expensive damages END tags => [ 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:singleversion:vsl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.clause4' => 'Products derived from this software may not be called ["]VOCAL["],', }; =item * vspl I =cut $RE{vspl} = { name => 'VSPL', caption => 'Very Simple Public License', 'caption.alt.org.tldr' => 'Very Simple Public License (VSPL)', tags => [ 'type:unversioned', ], 'pat.alt.subject.license.scope.sentence' => 'You can modify, distribute and use this software ' . 'for any purpose without any restrictions ' . 'as long as you keep this copyright notice intact' . '[. ]' . 'The software is provided without any warranty[.]', }; =item * w3c I =item * w3c_19980519 I =item * w3c_19980720 I =item * w3c_20021231 I =item * w3c_20150513 I =cut $RE{w3c} = { name => 'W3C', 'name.alt.org.debian.synth.nogrant' => 'W3C~unknown', 'name.alt.org.wikidata.synth.nogrant' => 'Q3564577', caption => 'W3C License', 'caption.alt.org.debian.synth.nogrant' => 'W3C License (unknown version)', 'caption.alt.org.trove' => 'W3C License', 'caption.alt.org.wikidata' => 'W3C Software Notice and License', 'caption.alt.org.wikipedia' => 'W3C Software Notice and License', tags => [ 'type:versioned:decimal', ], }; $RE{w3c_19980519} = { name => 'W3C-19980519', caption => 'W3C Software Notice and License (1998-05-19)', 'caption.alt.misc.legal.synth.nogrant' => 'W3C IPR SOFTWARE NOTICE', iri => 'https://www.w3.org/Consortium/Legal/copyright-software-19980519.html', tags => [ 'license:is:grant', 'type:singleversion:w3c', ], licenseversion => '19980519', 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'This W3C software is being provided', 'pat.alt.subject.license.scope.sentence.part.clause2' => 'If none exist, then a notice of the form', 'pat.alt.subject.license.scope.line.scope.sentence.part.clause1' => 'A link or URL to the original W3C source', }; $RE{w3c_19980720} = { name => 'W3C-19980720', 'name.alt.org.spdx.since.date_20150513' => 'W3C-19980720', caption => 'W3C Software Notice and License (1998-07-20)', 'caption.alt.misc.legal.synth.nogrant' => 'W3C® SOFTWARE NOTICE AND LICENSE', 'caption.alt.misc.notice' => 'W3C\'s Software Intellectual Property License', iri => 'https://www.w3.org/Consortium/Legal/copyright-software-19980720', tags => [ 'license:is:grant', 'type:singleversion:w3c', ], licenseversion => '19980720', 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'This W3C work [(]including software, documents, or other', 'pat.alt.subject.license.scope.line.scope.sentence.part.clause3' => 'Notice of any changes or modifications to the W3C files', }; $RE{w3c_20021231} = { name => 'W3C-20021231', 'name.alt.org.debian' => 'W3C-20021231', 'name.alt.org.fedora.synth.nogrant' => 'W3C', 'name.alt.org.osi.synth.nogrant' => 'W3C', 'name.alt.org.spdx.synth.nogrant' => 'W3C', caption => 'W3C Software Notice and License (2002-12-31)', 'caption.alt.org.fedora.synth.nogrant' => 'W3C Software Notice and License', 'caption.alt.org.osi.synth.nogrant' => 'The W3C® SOFTWARE NOTICE AND LICENSE', 'caption.alt.org.osi.misc.list.synth.nogrant' => 'W3C License', 'caption.alt.org.spdx.until.date_20130912.synth.nogrant' => 'W3C Software and Notice License', 'caption.alt.org.spdx.since.date_20130912.until.date_20150513.synth.nogrant' => 'W3C Software Notice and License', 'caption.alt.org.spdx.since.date_20150513.synth.nogrant' => 'W3C Software Notice and License (2002-12-31)', 'caption.alt.org.tldr.synth.nogrant' => 'W3C Software Notice and License (W3C)', 'caption.alt.misc.notice' => 'W3C® Software License', iri => 'https://www.w3.org/Consortium/Legal/2002/copyright-software-20021231', tags => [ 'license:is:grant', 'type:singleversion:w3c', ], licenseversion => '20021231', 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'This work [(]and included software, documentation', 'pat.alt.subject.license.scope.sentence.part.clause2' => 'If none exist, the W3C Software Short Notice', 'pat.alt.subject.license.scope.line.scope.sentence.part.clause3' => 'Notice of any changes or modifications to the files,', }; $RE{w3c_20150513} = { name => 'W3C-20150513', 'name.alt.org.spdx.since.date_20170106' => 'W3C-20150513', caption => 'W3C Software and Document Notice and License (2015-05-13)', 'caption.alt.org.spdx' => 'W3C Software Notice and Document License (2015-05-13)', 'caption.alt.misc.notice' => 'W3C® Software and Document License', iri => 'https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document', tags => [ 'license:is:grant', 'type:singleversion:w3c', ], licenseversion => '20150513', 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'This work is being provided', 'pat.alt.subject.license.scope.sentence.part.clause2' => 'If none exist, the W3C Software and Document Short Notice', 'pat.alt.subject.license.scope.line.scope.sentence.part.clause3' => 'Notice of any changes or modifications, through', }; =item * watcom =item * watcom_1 =cut $RE{watcom} = { name => 'Watcom', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'sybase', 'name.alt.org.wikidata.synth.nogrant' => 'Q7659488', caption => 'Sybase Open Watcom Public License', 'caption.alt.org.wikipedia' => 'Sybase Open Watcom Public License', 'caption.alt.misc.source' => 'The Sybase Open Source License', tags => [ 'type:versioned:decimal', ], }; $RE{watcom_1} = { name => 'Watcom-1.0', 'name.alt.org.osi' => 'Watcom-1.0', 'name.alt.org.spdx' => 'Watcom-1.0', 'name.alt.org.tldr' => 'sybase-open-watcom-public-license-1.0-(watcom-1.0)', caption => 'Sybase Open Watcom Public License 1.0', 'caption.alt.org.fedora' => 'Sybase Open Watcom Public License 1.0', 'caption.alt.org.osi.synth.nogrant' => 'The Sybase Open Source Licence', 'caption.alt.org.osi.misc.list' => 'Sybase Open Watcom Public License 1.0', 'caption.alt.org.tldr' => 'Sybase Open Watcom Public License 1.0 (Watcom-1.0)', iri => 'ftp://ftp.openwatcom.org/install/license.txt', tags => [ 'type:singleversion:watcom', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.sentence' => 'USE OF THE SYBASE OPEN WATCOM SOFTWARE DESCRIBED BELOW', }; =item * wordnet I =cut $RE{wordnet} = { name => 'WordNet', caption => 'WordNet License', 'summary.alt.org.fedora.iri.mit' => 'MIT-style license, WordNet Variant', iri => 'https://wordnet.princeton.edu/license-and-commercial-use', 'iri.alt.archive.time_20180118074053' => 'https://wordnet.princeton.edu/wordnet/license', tags => [ 'family:mit', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence.part.intro' => 'This software and database is being provided', '_pat.alt.subject.license.scope.line.scope.sentence.part.permissions' => [ # cover line wrapping at either side of word "database" 'distribute this software and database', 'database and its documentation for any purpose', ], }; =item * wtfpl =item * wtfpl_1 I =item * wtfpl_2 I =cut $RE{wtfpl} = { name => 'WTFPL', 'name.alt.org.fedora.iri.self' => 'WTFPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q152481', 'name.alt.org.wikipedia' => 'WTFPL', caption => 'do What The Fuck you want to Public License', 'caption.alt.org.fedora' => 'Do What The F*ck You Want To Public License', 'caption.alt.misc.shorter' => 'WTF Public License', 'caption.alt.org.wikidata' => 'WTFPL', iri => 'http://www.wtfpl.net/', 'iri.alt.misc.old' => 'http://sam.zoy.org/wtfpl/COPYING', tags => [ 'type:versioned:decimal', ], 'pat.alt.subject.name' => "$the?[Dd]o What The F(?:u|[*])ck [Yy]ou [Ww]ant(?: [Tt]o)? Public License" . '(?: [(]WTFPL[)])?', 'pat.alt.subject.license.scope.sentence' => '[Yy]ou just[ ]DO WHAT THE FUCK YOU WANT TO[.]', }; $RE{wtfpl_1} = { name => 'WTFPL-1.0', 'name.alt.org.debian' => 'WTFPL-1.0', 'name.alt.org.spdx.since.date_20130117.synth.nogrant' => 'WTFPL', caption => 'Do What The Fuck You Want To Public License, Version 1', 'caption.alt.org.spdx.synth.nogrant' => 'Do What The F*ck You Want To Public License', 'caption.alt.org.tldr' => 'Do What The F*ck You Want To Public License (WTFPL)', iri => 'http://cvs.windowmaker.org/co.php/wm/COPYING.WTFPL', tags => [ 'license:is:grant', 'license:published:by_sam_hocevar', 'type:singleversion:wtfpl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.sentence' => 'simple and you just[ ]DO WHAT THE FUCK YOU WANT TO[.]', }; $RE{wtfpl_2} = { name => 'WTFPL-2', 'name.alt.org.tldr' => 'do-wtf-you-want-to-public-license-v2-(wtfpl-2.0)', 'name.alt.org.tldr.path.short' => 'wtfpl', caption => 'Do What The Fuck You Want To Public License, Version 2', 'caption.alt.legal.license' => 'DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, Version 2', 'caption.alt.org.tldr' => 'Do What The F*ck You Want To Public License v2 (WTFPL-2.0)', iri => 'http://www.wtfpl.net/', 'iri.alt.misc.old' => 'http://sam.zoy.org/wtfpl/COPYING', tags => [ 'license:is:grant', 'license:published:by_sam_hocevar', 'type:singleversion:wtfpl', ], licenseversion => '2.0', 'pat.alt.subject.license.part.header' => 'of the Do What The Fuck You Want To Public License', 'pat.alt.subject.license.scope.sentence' => '[*)]You just[ ]DO WHAT THE FUCK YOU WANT TO[.]', }; =item * wtfnmfpl I =item * wtfnmfpl_1 I =cut $RE{wtfnmfpl} = { name => 'WTFNMFPL', 'caption.alt.org.tldr' => 'Do What The Fuck You Want To But It\'s Not My Fault Public License v1 (WTFNMFPL-1.0)', tags => [ 'type:versioned:decimal', ], }; $RE{wtfnmfpl_1} = { name => 'WTFNMFPL-1.0', 'name.alt.misc.short' => 'WTFNMFPLv1', caption => 'Do What The Fuck You Want To But It\'s Not My Fault Public License v1', 'caption.alt.legal.license' => 'DO WHAT THE FUCK YOU WANT TO BUT IT\'S NOT MY FAULT PUBLIC LICENSE, Version 1', 'caption.alt.org.tldr' => 'Do What The Fuck You Want To But It\'s Not My Fault Public License v1 (WTFNMFPL-1.0)', iri => 'http://www.adversary.org/wp/2013/10/14/do-what-the-fuck-you-want-but-its-not-my-fault/', 'iri.alt.iri.github' => 'https://github.com/adversary-org/wtfnmf', tags => [ 'license:is:grant', 'type:singleversion:wtfnmfpl', ], licenseversion => '1.0', 'pat.alt.subject.license' => 'Do not hold the author[(]s[)], creator[(]s[)], developer[(]s[)] or distributor[(]s[)]', }; =item * x11 I =cut $RE{x11} = { name => 'X11', 'name.alt.org.spdx.since.date_20130117.synth.nogrant' => 'X11', 'name.alt.org.tldr.path.short' => 'x11', 'name.alt.org.wikidata.synth.nogrant' => 'Q18526202', caption => 'X11 License', 'caption.alt.org.tldr' => 'X11 License', 'caption.alt.org.wikidata' => 'X11 license', 'caption.alt.misc.wayland' => 'the MIT X11 license', description => <<'END', Origin: By MIT Laboratory for Computer Science (MIT–LCS) in 1984 for PC/IP. Proof: END tags => [ 'family:mit', 'license:contains:license:mit_new', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection.part.last_half' => $P{to_copy_sublicence_conditions} . '[:][ ]' . $P{retain_copr_perm_subst} . '[.][ ]' . $P{discl_warranties_any_kind_noninfringement} . '[. ]' . $P{discl_liability_claim} . '[.][ ]' . 'Except as contained in this notice, the name of the X Consortium' . ' shall not be used in advertising', 'pat.alt.subject.license.scope.line.scope.sentence' => 'Except as contained in this notice, the name of the X Consortium', }; =item * xfree86 I =item * xfree86_1_1 I =cut $RE{xfree86} = { name => 'XFree86', 'name.alt.org.wikidata.synth.nogrant' => 'Q100375790', caption => 'XFree86 License', tags => [ 'type:versioned:decimal', ], }; $RE{xfree86_1_1} = { name => 'XFree86-1.1', 'name.alt.org.spdx' => 'XFree86-1.1', caption => 'XFree86 License 1.1', 'caption.alt.org.tldr' => 'XFree86 License 1.1 (XFree86-1.1)', description => <<'END', Identical to BSD (4 clause), except... * replace permissions clause with MIT (Expat) or X11 permissions clause * extend reproduce-copyright-notices clause to require specific placement * extend non-endorsement clause to require specific placement * replace non-endorsement clause with X11 non-endorsement clause END tags => [ 'family:bsd', 'license:contains:license:bsd_2_clause', 'license:is:grant', 'type:singleversion:xfree86', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.sentence' => 'in the same place and form as other', }; =item * xnet I =cut $RE{xnet} = { name => 'Xnet', 'name.alt.org.osi' => 'Xnet', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'xnet', 'name.alt.org.spdx' => 'Xnet', 'name.alt.org.wikidata.synth.nogrant' => 'Q38346089', caption => 'X.Net License', 'caption.alt.org.fedora' => 'X.Net License', 'caption.alt.org.osi' => 'The X.Net, Inc. License', 'caption.alt.org.osi.misc.list' => 'X.Net License', 'caption.alt.org.tldr' => 'X.Net License (Xnet)', 'caption.alt.org.trove' => 'X.Net License', 'caption.alt.org.wikidata' => 'X.Net, Inc. License', description => <<'END', Identical to MIT (a.k.a. Expat), except... * add requirement of governance in the State of California END tags => [ 'family:mit', 'license:contains:license:mit_new', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license' => 'This agreement shall be governed in all respects', }; =item * ypl I =item * ypl_1 I =item * ypl_1_1 I =cut $RE{ypl} = { name => 'YPL', 'name.alt.org.wikidata.synth.nogrant' => 'Q16948289', caption => 'Yahoo! Public License', tags => [ 'type:versioned:decimal', ], }; $RE{ypl_1} = { name => 'YPL-1.0', 'name.alt.org.spdx' => 'YPL-1.0', caption => 'Yahoo! Public License v1.0', 'caption.alt.org.fedora' => 'Yahoo Public License 1.0', iri => 'https://www.zimbra.com/license/yahoo_public_license_1.0.html', tags => [ 'type:singleversion:ypl', ], licenseversion => '1.0', 'pat.alt.subject.license.scope.line.scope.sentence.part.section6_2' => 'In the event Yahoo! determines that', }; $RE{ypl_1_1} = { name => 'YPL-1.1', 'name.alt.org.fedora' => 'YPLv1.1', 'name.alt.org.spdx' => 'YPL-1.1', caption => 'Yahoo! Public License v1.1', 'caption.alt.org.fedora' => 'Yahoo Public License v 1.1', 'caption.alt.org.tldr' => 'Yahoo! Public License v1.1 (YPL-1.1)', iri => 'http://www.zimbra.com/license/yahoo_public_license_1.1.html', tags => [ 'type:singleversion:ypl', ], licenseversion => '1.1', 'pat.alt.subject.license.scope.line.scope.sentence.part.section6_2' => 'In the event You violate the terms of this Agreement, Yahoo!', }; =item * zed I =cut $RE{zed} = { name => 'Zed', 'name.alt.org.fedora' => 'Zed', 'name.alt.org.spdx.since.date_20140807' => 'Zed', caption => 'Zed License', 'caption.alt.org.tldr' => 'Zed License', tags => [ 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.line.scope.sentence' => 'You may copy and distribute this file freely', }; =item * zend I =item * zend_2 I =cut $RE{zend} = { name => 'ZEL', 'name.alt.org.wikidata.synth.nogrant' => 'Q85269786', caption => 'Zend Engine License', 'caption.alt.org.wikidata' => 'Zend license', 'caption.alt.misc.short' => 'Zend License', tags => [ 'type:versioned:decimal', ], }; $RE{zend_2} = { name => 'ZEL-2.00', 'name.alt.misc.fsf' => 'ZELv2.0', 'name.alt.org.fedora.synth.nogrant' => 'Zend', 'name.alt.org.spdx.since.date_20140807' => 'Zend-2.0', caption => 'Zend License v2.0', 'caption.alt.org.fedora' => 'Zend License v2.0', 'caption.alt.misc.legal' => 'The Zend Engine License, version 2.00', iri => 'http://www.zend.com/license/2_00.txt', tags => [ 'type:singleversion:zend', ], licenseversion => '2.00', 'pat.alt.subject.license.scope.line.scope.sentence.part.clause4' => 'Zend Technologies Ltd\. may publish revised and[/]or new', }; =item * zimbra I =item * zimbra_1_3 I =item * zimbra_1_4 =cut $RE{zimbra} = { name => 'Zimbra', 'name.alt.misc.fsf' => 'ZPL', caption => 'Zimbra Public License', tags => [ 'type:versioned:decimal', ], }; $RE{zimbra_1_3} = { name => 'Zimbra-1.3', 'name.alt.org.fsf' => 'ZPLv1.3', 'name.alt.org.spdx' => 'Zimbra-1.3', caption => 'Zimbra Public License v1.3', 'caption.alt.org.fedora' => 'Zimbra Public License 1.3', 'caption.alt.org.tldr' => 'Zimbra Public License v1.3 (Zimbra-1.3)', 'caption.alt.misc.legal' => 'Zimbra Public License, Version 1.3 (ZPL)', iri => 'http://www.zimbra.com/license/zimbra-public-license-1-3.html', tags => [ 'type:singleversion:zimbra', ], licenseversion => '1.3', 'pat.alt.subject.license.scope.line.scope.sentence.part.section1_1' => 'Subject to the terms and conditions of this Agreement, VMware', }; $RE{zimbra_1_4} = { name => 'Zimbra-1.4', 'name.alt.org.spdx.since.date_20150513' => 'Zimbra-1.4', caption => 'Zimbra Public License v1.4', 'caption.alt.org.tldr.synth.nogrant' => 'zimbra public license', 'caption.alt.misc.legal' => 'Zimbra Public License, Version 1.4 (ZPL)', iri => 'https://www.zimbra.com/legal/zimbra-public-license-1-4/', tags => [ 'type:singleversion:zimbra', ], licenseversion => '1.4', 'pat.alt.subject.license.scope.line.scope.sentence.part.section1_1' => 'Subject to the terms and conditions of this Agreement, Zimbra', }; =item * zlib =cut $RE{zlib} = { name => 'Zlib', 'name.alt.org.fedora' => 'zlib', 'name.alt.org.fsf' => 'Zlib', 'name.alt.org.osi' => 'Zlib', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'zlib-license', 'name.alt.org.perl' => 'zlib', 'name.alt.org.spdx' => 'Zlib', 'name.alt.org.tldr.path.short' => 'zlib', 'name.alt.org.wikidata.synth.nogrant' => 'Q207243', caption => 'zlib License', 'caption.alt.org.fedora' => 'zlib/libpng License', 'caption.alt.org.osi' => 'The zlib/libpng License', 'caption.alt.org.osi.misc.list' => 'zlib/libpng license', 'caption.alt.org.tldr' => 'Zlib-Libpng License (Zlib)', 'caption.alt.org.trove' => 'zlib/libpng License', 'caption.alt.org.wikipedia.misc.case' => 'zlib license', iri => 'http://zlib.net/zlib_license.html', 'iri.alt.org.steward' => 'http://www.gzip.org/zlib/zlib_license.html', tags => [ 'family:zlib', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{origin_sw_no_misrepresent} . $P{you_not_claim_wrote} . '[. ]' . $P{use_ack_apprec_not_req} . '[.][ ]' . $P{altered_srcver_mark} . '[.][ ]' . $P{notice_no_alter}, }; =item * zlib_acknowledgement =cut $RE{zlib_acknowledgement} = { name => 'zlib-acknowledgement', 'name.alt.org.fedora.iri.self' => 'Nunit', 'name.alt.org.spdx.since.date_20140807' => 'zlib-acknowledgement', 'name.alt.org.spdx.misc.old.since.date_20140807.until.date_20171228' => 'Nunit', caption => 'zlib/libpng License with Acknowledgement', 'caption.alt.org.fedora' => 'zlib/libpng License with Acknowledgement', 'caption.alt.org.fedora.misc.short' => 'zlib with acknowledgement', 'caption.alt.org.fedora.misc.nunit' => 'Nunit License', 'caption.alt.org.spdx' => 'zlib/libpng License with Acknowledgement', 'caption.alt.org.spdx.misc.old.until.date_20171228' => 'Nunit License', tags => [ 'family:zlib', 'license:is:grant', 'type:unversioned', ], 'pat.alt.subject.license.scope.multisection' => $P{origin_sw_no_misrepresent} . $P{you_not_claim_wrote} . '[. ]' . $P{use_ack_req} . '[.][ ]Portions Copyright \S+ [-#]+ Charlie Poole ' . 'or Copyright \S+ [-#]+ James W\. Newkirk, Michael C\. Two, Alexei A\. Vorontsov ' . 'or Copyright \S+ [-#]+ Philip A\. Craig[ ]' . $P{altered_srcver_mark} . '[.][ ]' . $P{notice_no_alter}, }; =item * zpl I =item * zpl_1 I =item * zpl_1_1 I =item * zpl_2 I =item * zpl_2_1 I =cut $RE{zpl} = { name => 'ZPL', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'zpl', 'name.alt.org.wikidata.synth.nogrant' => 'Q3780982', 'name.alt.misc.fossology_old' => 'Zope', caption => 'Zope Public License', 'caption.alt.org.trove.synth.nogrant' => 'Zope Public License', 'caption.alt.org.wikipedia' => 'Zope Public License', tags => [ 'type:versioned:decimal', ], }; $RE{zpl_1} = { name => 'ZPL-1.0', 'name.alt.org.fedora' => 'ZPLv1.0', 'name.alt.org.fsf' => 'ZopePLv1.0', caption => 'Zope Public License (ZPL) Version 1.0', 'caption.alt.org.fedora' => 'Zope Public License v 1.0', 'caption.alt.misc.plain' => 'Zope Public License 1.0', 'iri.alt.archive.time_20000816090640' => 'http://www.zope.org/Resources/ZPL', tags => [ 'type:singleversion:zpl', ], licenseversion => '1.0', }; $RE{zpl_1_1} = { name => 'ZPL-1.1', 'name.alt.org.spdx' => 'ZPL-1.1', 'name.alt.misc.fossology_old' => 'ZPL1.1', caption => 'Zope Public License 1.1', 'caption.alt.org.tldr' => 'Zope Public License 1.1 (ZPL-1.1)', tags => [ 'type:singleversion:zpl', ], licenseversion => '1.1', }; $RE{zpl_2} = { name => 'ZPL-2.0', 'name.alt.org.fedora' => 'ZPLv2.0', 'name.alt.org.osi' => 'ZPL-2.0', 'name.alt.org.spdx' => 'ZPL-2.0', 'name.alt.org.tldr.path.short' => 'zpl-2.0', 'name.alt.misc.fossology_old' => 'Zope-PL_v2.0', 'name.alt.misc.fossology_old_short' => 'ZPL2.0', caption => 'Zope Public License 2.0', 'caption.alt.org.fedora' => 'Zope Public License v 2.0', 'caption.alt.org.osi' => 'The Zope Public License Ver.2.0', 'caption.alt.org.osi.misc.list' => 'Zope Public License 2.0', 'caption.alt.org.osi.misc.cat_list' => 'Zope Public License 2.o', 'caption.alt.org.tldr' => 'Zope Public License 2.0 (ZPL-2.0)', iri => 'http://old.zope.org/Resources/License/ZPL-1.1', tags => [ 'family:bsd', 'license:contains:license:bsd_3_clause', 'license:is:grant', 'type:singleversion:zpl', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.multisection.part.part2_3' => $P{repro_copr_cond_discl} . '[.][ ]' . '[*)]' . 'The name Zope Corporation[tm] must not ' . $P{used_endorse_deriv} . $P{without_prior_written}, 'pat.alt.subject.license.scope.sentence.part.part3' => 'The name Zope Corporation[tm] must not be used to endorse', }; $RE{zpl_2_1} = { name => 'ZPL-2.1', 'name.alt.org.fedora' => 'ZPLv2.1', 'name.alt.org.fsf' => 'ZPL-2.1', 'name.alt.org.spdx' => 'ZPL-2.1', 'name.alt.misc.fossology_old' => 'ZPL2.1', caption => 'Zope Public License 2.1', 'caption.alt.org.fedora' => 'Zope Public License v 2.1', 'caption.alt.org.fsf' => 'Zope Public License Version 2.1', 'caption.alt.org.tldr' => 'Zope Public License 2.1 (ZPL-2.1)', iri => 'http://old.zope.org/Resources/ZPL/', description => <<'END', Identical to BSD 3-Clause Modification, except... * add no-ServiceMarks clause END tags => [ 'family:bsd', 'license:is:grant', 'type:singleversion:zpl', ], licenseversion => '2.1', 'pat.alt.subject.license.scope.multisection.part.part2_3' => $P{nopromo_neither} . ' from the copyright holders' . '[.][ ]' . '[*)]' . 'The right to distribute this software or to use it for any purpose' . ' does not give you the right to use Servicemarks', }; =back =head2 License combinations Patterns each covering a combination of multiple licenses. Each of these patterns has the tag B< type:combo >. =over =item * net_snmp I =cut $RE{net_snmp} = { name => 'Net-SNMP', 'name.alt.org.spdx.since.date_20170106' => 'Net-SNMP', caption => 'Net-SNMP License', tags => [ 'license:contains:license:bsd_3_clause', 'license:contains:license:hpnd', 'license:contains:license:mit_cmu', 'type:combo', ], }; =item * perl =cut $RE{perl} = { name => 'Perl', 'name.alt.org.perl' => 'perl_5', 'name.alt.misc.spdx' => 'Artistic or GPL-1+', caption => 'The Perl 5 License', 'caption.alt.org.fedora' => 'Perl License', 'caption.alt.misc.short' => 'Perl License', 'caption.alt.misc.long' => 'The Perl 5 programming language License', 'caption.alt.org.perl' => 'The Perl 5 License (Artistic 1 & GPL 1 or later)', 'caption.alt.org.software_license' => 'same terms as the Perl 5 programming language system itself', summary => 'the same terms as the Perl 5 programming language itself (Artistic or GPL)', 'summary.alt.misc.short' => 'same terms as Perl', tags => [ 'license:includes:license:artistic_1_perl', 'license:includes:license:gpl_1_or_newer', 'type:combo', ], 'pat.alt.subject.license.scope.multisection.part.license' => '(?:under the terms of either[:][ ])?' . '[*)]the GNU General Public License ' . 'as published by the Free Software Foundation[;] ' . 'either version 1, or [(]at your option[)] any later version, ' . 'or[ ]' . '[*)]the ["]Artistic License["]', }; =item * python_2 I =cut # license scheme is combo, despite versioned name $RE{python_2} = { name => 'Python-2.0', 'name.alt.org.fedora' => 'Python', 'name.alt.org.osi' => 'Python-2.0', 'name.alt.org.osi.iri.stem.until.date_20110430.synth.nogrant' => 'PythonSoftFoundation', 'name.alt.org.spdx' => 'Python-2.0', 'name.alt.org.tldr.path.short' => 'python2', 'name.alt.misc.fossology_old' => 'Python_v2', 'name.alt.org.wikidata' => 'Q5975028', caption => 'Python License 2.0', 'caption.alt.org.fedora' => 'Python License', 'caption.alt.org.osi' => 'Python License', 'caption.alt.org.tldr' => 'Python License 2.0', 'caption.alt.org.trove' => 'Python License (CNRI Python License)', 'caption.alt.org.trove.misc.short' => 'CNRI Python License', 'summary.alt.org.osi' => 'overall Python license', iri => 'https://docs.python.org/3/license.html', 'iri.alt.misc.old' => 'https://www.python.org/psf/license/', tags => [ 'license:contains:license:cnri_python', 'license:contains:license:psf_2', 'type:combo', ], licenseversion => '2.0', 'pat.alt.subject.license.scope.multisection' => '[*)]This LICENSE AGREEMENT is between ' . 'the Python Software Foundation [(]["]PSF["][)], ' . 'and the Individual or Organization [(]["]Licensee["][)] ' . 'accessing and otherwise using [word][ word]{0,3} ' . 'in source or binary form and its associated documentation' . '[.][ ]' . '[*)]Subject to the terms and conditions of this License Agreement, ' . 'PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license ' . 'to reproduce, analyze, test, perform and[/]or display publicly, ' . 'prepare derivative works, distribute, and otherwise use Python[ word]? ' . 'alone or in any derivative version, ' . 'provided, however, ' . 'that PSF[\']s License Agreement and PSF[\']s notice of copyright, ' . '[ie], ["]Copyright [c] [word][ word]{0,5} Python Software Foundation[;] All Rights Reserved["] ' . 'are retained in Python[ word]? alone or in any derivative version prepared by Licensee' . '[.][ ]' . '[*)]In the event Licensee prepares a derivative work ' . 'that is based on or incorporates [word][ word]{0,3} or any part thereof, ' . 'and wants to make the derivative work available to others as provided herein, ' . 'then Licensee hereby agrees to include in any such work ' . 'a brief summary of the changes made to Python[ word]?' . '[.][ ]' . '[*)]PSF is making Python[ word]? available to Licensee on an [as is] basis' . '[.][ ]' . 'PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED' . '[.][ ]' . 'BY WAY OF EXAMPLE, BUT NOT LIMITATION, ' . 'PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY ' . 'OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE ' . 'OR THAT THE USE OF PYTHON[ word]? WILL NOT INFRINGE ANY THIRD PARTY RIGHTS' . '[.][ ]' . '[*)]PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON[ word]? ' . 'FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS ' . 'AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING ' . 'PYTHON[ word]?, OR ANY DERIVATIVE THEREOF, ' . 'EVEN IF ADVISED OF THE POSSIBILITY THEREOF' . '[.][ ]' . '[*)]This License Agreement will automatically terminate ' . 'upon a material breach of its terms and conditions' . '[.][ ]' . '[*)]Nothing in this License Agreement shall be deemed to create ' . 'any relationship of agency, partnership, or joint venture between PSF and Licensee' . '[.][ ]' . 'This License Agreement does not grant permission ' . 'to use PSF trademarks or trade name in a trademark sense ' . 'to endorse or promote products or services of Licensee, or any third party' . '[.][ ]' . '[*)]By copying, installing or otherwise using Python[ word]?, ' . 'Licensee agrees to be bound by the terms and conditions of this License Agreement' . '[.][ ]' . 'BEOPEN\.COM LICENSE AGREEMENT FOR PYTHON 2\.0' . '([ ][-]+)?[ ]?' . 'BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1' . '[ ]' . '[*)]This LICENSE AGREEMENT is between BeOpen\.com [(]["]BeOpen["][)], ' . 'having an office at 160 Saratoga Avenue, Santa Clara, CA 95051, ' . 'and the Individual or Organization [(]["]Licensee["][)] ' . 'accessing and otherwise using ' . 'this software in source or binary form and its associated documentation [(]["]the Software["][)]' . '[.][ ]' . '[*)]Subject to the terms and conditions of this BeOpen Python License Agreement, ' . 'BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license ' . 'to reproduce, analyze, test, perform and[/]or display publicly, ' . 'prepare derivative works, distribute, and otherwise use the Software ' . 'alone or in any derivative version, ' . 'provided, however, that the BeOpen Python License is retained in the Software, ' . 'alone or in any derivative version prepared by Licensee' . '[.][ ]' . '[*)]BeOpen is making the Software available to Licensee on an [as is] basis' . '[.][ ]' . 'BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED' . '[.][ ]' . 'BY WAY OF EXAMPLE, BUT NOT LIMITATION, ' . 'BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY ' . 'OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE ' . 'OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS' . '[.][ ]' . '[*)]BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE ' . 'FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS ' . 'AS A RESULT OF USING, MODIFYING OR DISTRIBUTING ' . 'THE SOFTWARE, OR ANY DERIVATIVE THEREOF, ' . 'EVEN IF ADVISED OF THE POSSIBILITY THEREOF' . '[.][ ]' . '[*)]This License Agreement will automatically terminate ' . 'upon a material breach of its terms and conditions' . '[.][ ]' . '[*)]This License Agreement shall be governed by and interpreted in all respects ' . 'by the law of the State of California, excluding conflict of law provisions' . '[.][ ]' . 'Nothing in this License Agreement shall be deemed to create ' . 'any relationship of agency, partnership, or joint venture between BeOpen and Licensee' . '[.][ ]' . 'This License Agreement does not grant permission ' . 'to use BeOpen trademarks or trade names in a trademark sense ' . 'to endorse or promote products or services of Licensee, or any third party' . '[.][ ]' . 'As an exception, the ["]BeOpen Python["] logos ' . 'available at [http://]www.pythonlabs\.com[/]logos\.html ' . 'may be used according to the permissions granted on that web page' . '[.][ ]' . '[*)]By copying, installing or otherwise using the software, ' . 'Licensee agrees to be bound by the terms and conditions of this License Agreement' . '[.][ ]' . 'CNRI OPEN SOURCE LICENSE AGREEMENT [(]for Python 1\.6b1[)]' . '([ ][-]+)?[ ]?' . 'IMPORTANT[:] PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY' . '[.][ ]' . 'BY CLICKING ON ["]ACCEPT["] WHERE INDICATED BELOW, ' . 'OR BY COPYING, INSTALLING OR OTHERWISE USING PYTHON 1\.6, beta 1 SOFTWARE, ' . 'YOU ARE DEEMED TO HAVE AGREED TO THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT' . '[.][ ]' . '[*)]This LICENSE AGREEMENT is between the Corporation for National Research Initiatives, ' . 'having an office at 1895 Preston White Drive, Reston, VA 20191 [(]["]CNRI["][)], ' . 'and the Individual or Organization [(]["]Licensee["][)] ' . 'accessing and otherwise using Python 1\.6, beta 1 software ' . 'in source or binary form and its associated documentation, ' . 'as released at the www\.python\.org Internet site on August 4, 2000 [(]["]Python 1\.6b1["][)]' . '[.][ ]' . '[*)]Subject to the terms and conditions of this License Agreement, ' . 'CNRI hereby grants Licensee a non-exclusive, royalty-free, world-wide license ' . 'to reproduce, analyze, test, perform and[/]or display publicly, ' . 'prepare derivative works, distribute, and otherwise use Python 1\.6b1 ' . 'alone or in any derivative version, ' . 'provided, however, that CNRIs License Agreement is retained in Python 1\.6b1, ' . 'alone or in any derivative version prepared by Licensee' . '[.][ ]' . 'Alternately, in lieu of CNRIs License Agreement, ' . 'Licensee may substitute the following text [(]omitting the quotes[)][:] ' . '["]Python 1\.6, beta 1, is made available ' . 'subject to the terms and conditions in CNRIs License Agreement' . '[.][ ]' . 'This Agreement may be located on the Internet ' . 'using the following unique, persistent identifier [(]known as a handle[)][:] 1895\.22[/]1011' . '[.][ ]' . 'This Agreement may also be obtained from a proxy server on the Internet ' . 'using the URL[:][http://]hdl\.handle\.net[/]1895\.22[/]1011["]' . '[.][ ]' . '[*)]In the event Licensee prepares a derivative work ' . 'that is based on or incorporates Python 1\.6b1 or any part thereof, ' . 'and wants to make the derivative work available to the public as provided herein, ' . 'then Licensee hereby agrees to indicate in any such work ' . 'the nature of the modifications made to Python 1\.6b1' . '[.][ ]' . '[*)]CNRI is making Python 1.6b1 available to Licensee on an [as is] basis', }; =back =head2 License groups Patterns each covering either of multiple licenses. Each of these patterns has the tag B< type:group >. =over =item * bsd =cut $RE{bsd} = { name => 'BSD', 'name.alt.org.debian' => 'BSD~unspecified', 'name.alt.org.fedora.iri.self' => 'BSD', 'name.alt.org.osi.iri.stem.until.date_20110430' => 'bsd-license', 'name.alt.org.wikidata.synth.nogrant' => 'Q191307', 'name.alt.misc.style' => 'BSD-style', caption => 'BSD license', 'caption.alt.org.debian' => 'BSD (unspecified)', 'caption.alt.org.trove' => 'BSD License', 'caption.alt.org.wikidata' => 'BSD licenses', 'caption.alt.org.wikipedia' => 'BSD licenses', 'caption.alt.misc.long' => 'Berkeley Software Distribution License', summary => 'a BSD-style license', tags => [ 'type:group', ], 'pat.alt.subject.license.scope.multisection' => $P{repro_copr_cond_discl} . '(?:[.][ ](?:[*)]?' . $P{ad_mat_ack_this} . '[word][ word]{0,14}' . '[.][ ])?[*)]?' . $P{nopromo_neither} . ')?', }; =item * cc I =cut $RE{cc} = { name => 'CC', 'name.alt.org.debian' => 'CC~unspecified', 'name.alt.org.wikidata.synth.nogrant' => 'Q284742', caption => 'Creative Commons license', 'caption.alt.org.wikidata' => 'Creative Commons license', 'caption.alt.org.wikipedia' => 'Creative Commons license', 'caption.alt.misc.short' => 'CC license', 'summary.alt.misc.short' => 'a CC license', tags => [ 'group', 'type:group', ], }; =item * gnu =cut $RE{gnu} = { name => 'AGPL/GPL/LGPL', 'name.alt.org.debian' => 'GNU~unspecified', caption => 'GNU license', summary => 'a GNU license (AGPL or GPL or LGPL)', tags => [ 'type:group', ], '_pat.alt.subject.name' => [ $RE{agpl}{'_pat.alt.subject.name'}, $RE{gpl}{'_pat.alt.subject.name'}, $RE{lgpl}{'_pat.alt.subject.name'}, ], }; =item * mit =cut $RE{mit} = { name => 'MIT', 'name.alt.org.debian' => 'MIT~unspecified', 'name.alt.org.fedora.iri.self' => 'MIT', 'name.alt.org.wikidata.synth.nogrant' => 'Q334661', 'name.alt.misc.style' => 'MIT-style', caption => 'MIT license', 'caption.alt.org.trove' => 'MIT License', 'caption.alt.org.wikidata' => 'MIT license', 'caption.alt.org.wikipedia' => 'MIT License', 'iri.alt.org.wikipedia' => 'https://en.wikipedia.org/wiki/MIT_License', summary => 'an MIT-style license', tags => [ 'type:group', ], 'pat.alt.subject.name' => "${the}MIT\\b", 'pat.alt.subject.license.scope.sentence' => $P{retain_copr_perm_subst}, }; =back =head1 STRUCTURE The regexp patterns follows the L specification, and more specifically the structure of L, defining access to one pattern per DefHash object, as C. Additionally, (sub)patterns are available in plaintext form, as C. =head2 SUBJECT Each pattern targets one or more subjects, i.e. ways to directly or indirectly represent a license. Beware that not all pattern objects fully cover all subjects. =over =item trait Distinguishing trait or feature expressed in licensing strings, e.g. an advertising clause or granting "...or any later version." Coverage for this subject is currently rather weak. =item name Distinguishing name, e.g. usable in license grant. =item grant Text granting the license. =item license Text containing licensing terms. Texts containing both license grant and licensing terms (e.g. BSD- and MIT-style licensing) may be classified as either subject L or subject L. This may change, as needs for distinction is better understood. =back =head2 SCOPE Each pattern can process material within some scope, i.e. a certain sample size of the full subject. As an example, L use line-based processing, where patterns spanning multiple lines are not applicable. =over =item line Pattern typically found within a single line. Typically this means less than 70 characters within scope. =item sentence Pattern matching within a sentence. May span multiple lines, but not across multiple sentences. Typically this means no full-stop or colon within scope. =item paragraph Pattern matching distinguishing paragraph. May span multiple sentences, but not multiple paragraphs. Typically this means no newline within scope. =item section Pattern matching distinguishing section. May span multiple paragraphs, but not multiple sections. Typically this means blank line within scope. =item multisection Pattern may span multiple sections. =back =cut my @gnu_langs = qw(en ar ca de el es fr it ja nl pl pt_BR ru sq sr zh_CN zh_TW); # must be simple word (no underscore), to survive getting joined in cache # more ideal first: first available is default my @_SUBJECTSTACK = qw(license grant name iri trait); my @_OBJECTS; my %_PUBLISHER; my %_TYPE; my %_SERIES; my %_USAGE; for ( qw(license_label_spdx license_label_trove license_label licensed_under version_number_suffix version_only version_later) ) { $_ANNOTATIONS{"(:$_:)"} = $RE{$_}{'pat.alt.subject.trait'}; $_ANNOTATIONS{"(:$_:)"} =~ s/\[.+?\]/exists $_ANNOTATIONS{$&} ? $_ANNOTATIONS{$&} : $&/ego; } $_ANNOTATIONS{"(:version_prefix:)"} = $RE{version_prefix}{'pat.alt.subject.trait.scope.line.scope.sentence'}; $_ANNOTATIONS{"(:version_prefix:)"} =~ s/\[.+?\]/exists $_ANNOTATIONS{$&} ? $_ANNOTATIONS{$&} : $&/ego; my $tag_license_re = qr/^license:published:\K$_prop(?::|\z)/; my $tag_type_re = qr/^type:($_prop)(?::($_prop)(?::($_prop))?)?/; my $tag_type_usage_re = qr/^type:usage:\K$_prop/; my $prop_web_re = qr/^(name|caption|summary)\.(alt\.org\.($_prop)((?:\.iri\.($_prop))?$_any*?))(?:\.synth\.nogrant|)$/; my $pat_subject_re = qr/^_?pat\.alt\.subject\.\K$_prop(?=\.)/; # process metadata tags @_ = (); for my $id ( grep {/^[a-z]/} keys %RE ) { for ( @{ $RE{$id}{tags} } ) { # resolve publisher if (/$tag_license_re/) { $_PUBLISHER{$id} = $&; } # resolve series /$tag_type_re/ or next; $_TYPE{$id} = $1; if ( $2 and $1 eq 'singleversion' ) { push @_OBJECTS, $id; push @{ $_SERIES{$id} }, $2; } else { push @_, $id; } # resolve usage if ( $2 and $RE{$2} and $1 eq 'usage' ) { $RE{$id}{licenseversion} = $RE{$2}{licenseversion} or die "missing version for $id (needed by $1)"; $_USAGE{$id}{series} //= $2; if ( $_USAGE{$id}{series} ne $2 ) { die 'multi-origin usage for $id'; } $_USAGE{$id}{type} = $3; die "unsupported usage for $id ($_)" unless ( grep { $3 eq $_ } qw( only or_later rfn no_rfn no_copyleft_exception ) ); } } } # ensure versioned objects are processed after single-version objects push @_OBJECTS, @_; for my $id (@_OBJECTS) { # resolve publisher for ( @{ $RE{$id}{tags} } ) { if (/$tag_type_usage_re/) { if ( exists $_PUBLISHER{$&} ) { $_PUBLISHER{$id} = $_PUBLISHER{$&}; $_ANNOTATIONS{"(:$_PUBLISHER{$&}:)"} = $RE{ $_PUBLISHER{$&} }{'pat.alt.subject.trait'}; $_ANNOTATIONS{"(:$_PUBLISHER{$&}:)"} =~ s/\[.+?\]/exists $_ANNOTATIONS{$&} ? $_ANNOTATIONS{$&} : $&/ego; } } } # synthesize metadata: iri from name or caption for ( keys %{ $RE{$id} } ) { my ( $prop, $slug, $org, $trail, $web ) = (/$prop_web_re/) or next; next unless $org; next if $prop eq 'caption' and ( exists $RE{$id}{"name.$slug"} or exists $RE{$id}{"name.$slug.synth.nogrant"} ); my ( $base, @variants ); $_ = $RE{$id}{$_}; if ( $org eq 'fedora' ) { next unless $web; $base = 'https://fedoraproject.org/wiki/Licensing/'; if ( $web eq 'bsd' ) { $base .= 'BSD#'; } elsif ( substr( $web, 0, 4 ) eq 'cddl' ) { $base .= 'CDDL#'; } elsif ( substr( $web, 0, 3 ) eq 'mit' ) { $base .= 'MIT#'; } s/^(?:BSD|MIT)-style license, //go; tr/ /_/; s/\(/.28/go; s/\)/.29/go; } elsif ( $slug and $slug eq 'alt.org.tldr.path.short' ) { $base = 'https://tldrlegal.com/l/'; $_ = lc $_; tr/ /-/; } elsif ( $slug and $slug eq 'alt.org.tldr' ) { $base = 'https://tldrlegal.com/license/'; $_ = lc $_; tr/ /-/; } elsif ( $org eq 'wikipedia' ) { $base = 'https://en.wikipedia.org/wiki/'; tr/ /_/; s/"/%22/go; #" } elsif ( $prop eq 'caption' ) { next; } elsif ( $org eq 'fsf' ) { $base = 'https://directory.fsf.org/wiki?title=License:'; } elsif ( $org eq 'gnu' ) { push @variants, [ "iri.$slug", 'https://www.gnu.org/licenses/license-list.html#', $_, '', ]; for my $lang (@gnu_langs) { ( my $weblang = lc $lang ) =~ tr/_/-/; push @variants, [ "iri.$slug.lang.$lang", "https://www.gnu.org/licenses/license-list.$weblang.html#", $_, '', ]; } } elsif ( $org eq 'osi' ) { next unless $prop eq 'name'; $base = 'https://opensource.org/licenses/'; if ( $web and substr( $web, 0, 4 ) eq 'stem' ) { for my $ext (qw(html php)) { push @variants, [ "iri.$slug.format.$ext", 'https://opensource.org/licenses/', $_, ".$ext", ]; } if ( $web eq 'stem_only' ) { $base = undef; } } elsif ( $web and $web eq 'stem_plain' ) { for my $ext (qw(txt html php)) { push @variants, [ "iri.$slug.format.$ext", 'https://opensource.org/licenses/', $_, ".$ext", ]; } } } elsif ( $org eq 'spdx' ) { push @variants, [ "iri.$slug", 'https://spdx.org/licenses/', $_, '', ]; for my $ext (qw(txt html json)) { push @variants, [ "iri.$slug.format.$ext", 'https://spdx.org/licenses/', $_, ".$ext", ]; } } elsif ( $org eq 'wikidata' ) { push @variants, [ "iri.$slug", 'https://www.wikidata.org/wiki/Special:EntityPage/', $_, '', ]; push @variants, [ "iri.$slug.path.wiki", 'https://www.wikidata.org/wiki/', $_, '' ]; } $RE{$id}{"iri.$slug"} //= "$base$_" if defined $base; for (@variants) { $RE{$id}{ $$_[0] } //= $$_[1] . $$_[2] . $$_[3]; } } # synthesize patterns: iri from metadata iri unless ( $RE{$id}{'pat.alt.subject.iri'} ) { my @subpat; for ( sort grep {/^iri(?:[.(]|\z)/} keys %{ $RE{$id} } ) { my $val = $RE{$id}{$_}; $val =~ s/\./\\./g; $val =~ s/[+()]/[$&]/g; $val =~ s/-/[-]/g; $val =~ s!^https?://![http://]!; $val =~ s!/$!/?!; push @subpat, $val; } _join_pats( { assign => [ $id, 'pat.alt.subject.iri' ] }, @subpat ); } # synthesize patterns: name and caption from metadata name and caption unless ( $_TYPE{$id} eq 'trait' ) { my (%singleword_pat, %multiword_pat, %name_pat, %spdx_pat, %trove_pat ); my $published_by = ''; $published_by = '(?: (:' . $_PUBLISHER{$id} . ':)(?: ?[;]?|[\']s))?' if $_PUBLISHER{$id} and $RE{ $_PUBLISHER{$id} } and $RE{ $_PUBLISHER{$id} }{'pat.alt.subject.trait'}; my ( $is_only_this_version, $is_also_later_versions ); my @candidates = ($id); if ( $_USAGE{$id} ) { $is_only_this_version = ( $_USAGE{$id}{type} eq 'only' ); $is_also_later_versions = ( $_USAGE{$id}{type} eq 'or_later' ); push @candidates, $_USAGE{$id}{series}, @{ $_SERIES{ $_USAGE{$id}{series} } }; } elsif ( $_SERIES{$id} ) { push @candidates, @{ $_SERIES{$id} }; } my $version = ''; my $version_usage = ''; my $version_usage_maybe = ''; my ( $ver, $ver_re, $ver_z_re ); if ( $_ = $RE{$id}{licenseversion} ) { s/\./\\./g; s/\\\.0\\\.0$/(?:\\.0(?:\\.0)?)?/; s/\\\.0$/(?:\\.0)?/; s/\\\.\K0{0,2}0/0{1,3}/g; s/\\\.\K0{0,2}(?=[1-9])/0{0,2}/g; $version = '(:version_prefix:)' . $_; if ($is_only_this_version) { $version_usage = '(:version_only:)'; } elsif ($is_also_later_versions) { $version_usage = '(:version_later:)'; } $version_usage_maybe = $version_usage . '?' if $version_usage; $ver = '_?' . $version . $version_usage_maybe; $ver =~ s/(?:\[|\(:)[^\]]+?(?:\]|:\))/exists $_ANNOTATIONS{$&} ? $_ANNOTATIONS{$&} : $&/ego; $ver_re = qr/$ver/; $ver_z_re = qr/$ver$/; } my $version_stopgap = '(?:[^+.A-Za-z0-9]|\.[^0-9]|\.\z|\z)'; foreach my $candidate (@candidates) { for ( keys %{ $RE{$candidate} } ) { next unless /^name(?:\.|\z)/; next if /\.synth\.nogrant(?:\.|\z)/; my $val = $RE{$candidate}{$_}; next if $val =~ /-\(/; $val =~ s/$ver_re// if $version; # mangle and annotate metadata names $val =~ s/\./\\./g; $val =~ s/[+]/[$&]/g; $singleword_pat{$val} = undef; } } my $shortname = _join_pats( { prefix => "(?: ?[(](?:$the)?" . '["]?', suffix => "(?:$version)?" . '(?: [Ll]icen[cs]e)?["]?[)])?' }, sort keys %singleword_pat ); my $shortname_z_re = $shortname; $shortname_z_re =~ s/(?:\[|\(:)[^\]]+?(?:\]|:\))/exists $_ANNOTATIONS{$&} ? $_ANNOTATIONS{$&} : $&/ego; $shortname_z_re = qr/$shortname_z_re$/; my $suffix = $shortname . $published_by; for ( keys %{ $RE{$id} } ) { if (/^caption\.alt\.org\.trove(?:\.|\z)/) { my $trove_val = $RE{$id}{$_}; # mangle and annotate trove metadata $trove_val =~ s/\./\\./g; $trove_val =~ s/[-+()]/[$&]/g; $trove_val .= $version_stopgap; $trove_pat{$trove_val} = undef; } if (/^name(?:\.|\z)/) { next if /\.synth\.nogrant(?:\.|\z)/; my $name_val = $RE{$id}{$_}; $name_pat{$name_val} = undef if /^caption\.alt\.org\.spdx(?:\.|\z)/; next if $name_val =~ /-\(/; $name_val =~ s/[~.,]/\\$&/g; $name_val =~ s/[-+()\/]/[$&]/g; if ( $name_val =~ /\d$/ ) { $name_val =~ s/\\\.0$/\(?:\\.0\)?/; } $name_val .= $version_stopgap; $name_pat{$name_val} = undef; } next unless /^caption(?:\.|\z)/; next if /\.synth\.nogrant(?:\.|\z)/; my $val = $RE{$id}{$_}; # strip words later re-added as surrounding pattern $val =~ s/$shortname_z_re//; if ($version) { $val =~ s/$ver_z_re//; $val =~ s/$shortname_z_re//; } $val =~ s/^$the//; $val =~ s/ [Ll]icen[cs]e$//; # mangle and annotate metadata $val =~ tr/–/-/; $val =~ s/\./\\./g; $val =~ s/[-+()'é]/[$&]/g; #' $val =~ s/,/,?/g; $val =~ s/ ?®/[r]/g; $val =~ s/, /[, ]/g; # wide comma $val =~ s/ \[-\] /[ - ]/g; $val =~ s{ / }{[ / ]}g; # generalize commonly varying words $val =~ s/^(?:[Aa]n? )/(?:[Aa]n? )?/; # relax (not add) $val =~ s/ [Ll]icen[cs]e/(?: [Ll]icen[cs]e)?/; $multiword_pat{$val} = undef; } my $stem = _join_pats( { prefix => "$the?", suffix => '(?: [Ll]icen[cs]e)?' }, sort keys %multiword_pat, _join_pats( { prefix => '\b', suffix => $version ? '' : '\b' }, # TODO: use { s/-/[-]/gr } when needing perl 5.14 anyway map { my $s = $_; $s =~ s/-/[-]/g; $s; } grep { not exists $multiword_pat{$_} } sort keys %singleword_pat, ), ); unless ( exists $RE{$id}{'_pat.alt.subject.name.synth.caption'} ) { if ($version) { # extra pattern with (non-optional) leading version push @{ $RE{$id}{'_pat.alt.subject.name.synth.caption'} }, '(?:' . '(:version_prefix:)' . "$version$version_usage" . " of $stem" . $published_by . ')'; $suffix = '(?:' . $version . $version_usage_maybe . '(:version_number_suffix:)' . ')?' . $shortname . $published_by . $version . '(:version_number_suffix:)' . $version_usage . $shortname . $version_stopgap; } push @{ $RE{$id}{'_pat.alt.subject.name.synth.caption'} }, $stem . $suffix; } # TODO: maybe include also subject pattern iri unless ( exists $RE{$id}{'_pat.alt.subject.grant.synth.name'} ) { if ( $RE{$id}{'_pat.alt.subject.name.synth.caption'} ) { $name_pat{$_} = undef for @{ $RE{$id}{'_pat.alt.subject.name.synth.caption'} }; } _join_pats( { assign => [ $id, '_pat.alt.subject.grant.synth.name' ], prefix => '(:license_label:) ?' }, sort keys %name_pat ); } # synthesize subject pattern grant from SPDX name unless ( $RE{$id}{'_pat.alt.subject.grant.synth.spdx'} ) { _join_pats( { assign => [ $id, '_pat.alt.subject.grant.synth.spdx' ], prefix => '(:license_label_spdx:) ?' }, sort keys %spdx_pat ); } # synthesize subject pattern grant from Trove caption unless ( $RE{$id}{'_pat.alt.subject.grant.synth.trove'} ) { _join_pats( { assign => [ $id, '_pat.alt.subject.grant.synth.trove' ], prefix => '(:license_label_trove:) ?' }, sort keys %trove_pat ); } # synthesize subject pattern grant from subject pattern name unless ( $RE{$id}{'_pat.alt.subject.grant.synth.caption'} ) { # TODO: use resolved patterns (not subpatterns) _join_pats( { assign => [ $id, '_pat.alt.subject.grant.synth.caption' ], prefix => '(:licensed_under:)' }, @{ $RE{$id}{'_pat.alt.subject.name.synth.caption'} } ); } # synthesize CC subject pattern license from metadata caption if ( $id eq 'cc_cc0_1' ) { $RE{$id}{'pat.alt.subject.license.scope.sentence.synth.cc'} //= "(?:$RE{$id}{caption})?" . "[ ]$cc_intro_cc0"; } elsif ( $id =~ /^cc.*_1$/ ) { $RE{$id}{'pat.alt.subject.license.scope.sentence.synth.cc'} //= $RE{$id}{caption} . "[ ]$cc_intro_1"; } elsif ( $id =~ /^cc.*_(?:2|2_5)$/ ) { $RE{$id}{'pat.alt.subject.license.scope.sentence.synth.cc'} //= $RE{$id}{caption} . "[ ]$cc_intro"; } elsif ( $id =~ /^cc.*_3$/ ) { $RE{$id}{'pat.alt.subject.license.scope.sentence.synth.cc'} //= $RE{$id}{caption} . ' Unported' . "[ ]$cc_intro"; } elsif ( $id =~ /^cc.*_4$/ ) { $RE{$id}{'pat.alt.subject.license.scope.sentence.synth.cc'} //= $RE{$id}{caption} . '(?: Public License)?[ ]' . $cc_by_exercising_you_accept_this . $RE{$id}{caption}; } } # resolve subject patterns from subpatterns my %subject_pat; for ( keys %{ $RE{$id} } ) { # collect alternatives ahead (to traverse once, not once per subject) if (/$pat_subject_re/) { my $unseed = substr $_, 1; # seed -> nonseed, or nonseed -> bogus $subject_pat{$&}{ exists $RE{$id}{$unseed} ? $unseed : $_ } = undef; } } for my $subject (@_SUBJECTSTACK) { # if not explicitly defined, synthesize from seed or all alt seeds $RE{$id}{"pat.alt.subject.$subject"} //= _join_pats( $RE{$id}{"_pat.alt.subject.$subject"} ) || _join_pats( map { $RE{$id}{$_} } sort keys %{ $subject_pat{$subject} } ) or delete $RE{$id}{"pat.alt.subject.$subject"}; } # resolve available patterns my @pat_subject = grep { exists $RE{$id}{"pat.alt.subject.$_"} } @_SUBJECTSTACK; # provide default dynamic pattern: all available patterns $RE{$id}{gen} = sub { my %args = @_; my $capture = $args{capture} || 'no'; my $subjects = $args{subject} ? [ split( /,/, $args{subject} ) ] : \@pat_subject; my $pat = _join_pats( map { $RE{$id}{"pat.alt.subject.$_"} } @{$subjects} ); return '' unless ($pat); if ( $capture eq 'named' ) { $pat =~ s/\(\?P<\K_//g; } elsif ( $capture eq 'numbered' ) { $pat =~ s/\(\?P<_[^>]+>/(?:/g; $pat =~ s/\(\?P<[^>]+>/(/g; } else { $pat =~ s/\(\?P<[^>]+>/(?:/g; } $pat =~ s/(?:\[|\(:)[^\]]+?(?:\]|:\))/exists $_ANNOTATIONS{$&} ? $_ANNOTATIONS{$&} : $&/ego; # TODO: document if not obsoleted # by if ( $args{anchorleft} ) { $pat = "^(?:$pat)"; } if ( $args{engine} ) { # TODO: support modern Perl with greedy patterns if ( $args{engine} eq 'RE2' ) { die 'cannot use regexp engine "RE2": Module "re::engine::RE2" is not installed' unless $CAN_RE2; BEGIN { re::engine::RE2->import( -strict => 1, -max_mem => 8 << 21, ); } return qr/$pat/; } elsif ( $args{engine} eq 'none' ) { return $pat; } else { die "Unsupported regexp engine \"$args{engine}\""; } } else { return qr/$pat/; } }; # option keep: include capturing parantheses in pattern $RE{$id}{gen_args}{capture} = { summary => 'include capturing parantheses, named or numbered', schema => [ 'str*', in => [qw(named numbered no)] ], default => 'no', req => 1, }; # option subject: which subject(s) to cover in pattern $RE{$id}{gen_args}{subject} = { summary => 'Choose subject (or several, comma-separated)', schema => [ 'str*', in => \@pat_subject ], default => join ',', @pat_subject, req => 1, }; # option engine: which regular expression engine to compile pattern with $RE{$id}{gen_args}{engine} = { summary => 'Enable custom regexp engine (perl module re::engine::* or none)', schema => ['str*'], }; } sub _join_pats { my ( @pats, %opts ); # collect hashref options, skip empty patterns, and expand arrayrefs for (@_) { next unless defined; if ( !ref ) { push @pats, $_ if length } elsif ( ref eq 'ARRAY' ) { push @pats, _join_pats(@$_) || () } elsif ( ref eq 'HASH' ) { @opts{ keys %$_ } = values %$_ } else { die "Bad ref: $_"; } } my $label = $opts{label} ? 'P<' . $opts{label} . '>' : ':'; my $prefix = $opts{prefix} // ''; my $suffix = $opts{suffix} // ''; return $opts{assign} ? 0 : '' unless @pats; my $result = ( @pats > 1 or $label ne ':' ) ? "$prefix(?$label" . join( '|', @pats ) . ")$suffix" : $prefix . $pats[0] . $suffix; if ( $opts{assign} ) { $RE{ $opts{assign}[0] }{ $opts{assign}[1] } = $result; return scalar @pats; } return $result; } =head2 OBSOLETE OBJECTS License objects obsoleted by improved coverage of other objects, and provided only as dummy objects. =over =item * python I Replaced by L and L. =cut $RE{python} = { pat => qr/^this should never match (except itself) rrompraghtiestur$/, }; =item * wordnet_3 I Replaced by L. =cut $RE{wordnet_3} = { pat => qr/^this should never match (except itself) rrompraghtiestur$/, }; =back =head2 TAGS Pattern defhashes optionally includes tags, which may help in selecting multiple related patterns. Tags are hierarchical, with C<:> as separator, and may be extended without notice. Therefore take care to permit sub-parts when tag-matching, e.g. using a regex like C< /\Asome:tag(?:\z|:)/ >. =over =item * family:bsd =item * family:cc =item * family:gpl =item * family:mit =item * family:zlib Pattern covers a license part of a family of licenses. =item * license:contains:grant:* License mentions a preferred form for granting the license. This implies that license is commonly granted by use of a different (typically far shorter) text. Fourth part (optional) is the key to corresponding license pattern, for a grant belonging to a different license (when omitted then a grant for same license is assumed). =item * license:contains:license:* License contains another license. Wildcard is the key to corresponding license pattern. =item * license:contains:name:* License mentions name of another license. =item * license:includes:license:* License references coverage of another license. Wildcard is the key to corresponding license pattern. =item * license:is:grant License is commonly granted by stating the whole license. =item * license:published:* License grant may include an "as published by..." reference. Third part is the key to corresponding trait pattern. =item * type:trait:publisher:* Pattern covers an "as published by ..." license grant phrase. Third part (optional) is the key to corresponding license pattern. =item * type:usage:*:* Pattern covers a specific usage of a license. Third part is the key of the corresponding non-usage-specific pattern. Fourth part is the key of the corresponding usage trait pattern. =item * type:combo Pattern covers a combination of multiple licenses. =item * type:group Pattern covers either of multiple licenses. =item * type:singleversion:* Pattern covers a specific version of a license. Third part is the key of the corresponding non-version-specific pattern. =item * type:trait Pattern covers a single trait occuring in licenses. =item * type:unversioned Pattern covers a license without versioning scheme. =item * type:versioned:decimal Pattern covers a license using decimal number versioning scheme. =back =head1 EXAMPLES =head2 Browse patterns The "official" way to browse patterns is using L: show-regexp-pattern-module --page-result -- License Unfortunately, L has a deep dependency tree. An alternative is to use L and C: perl -CS -MRegexp::Pattern::License -MDDP -e 'p %Regexp::Pattern::License::RE, fulldump => 1, output => stdout' | less -RS =encoding UTF-8 =head1 AUTHOR Jonas Smedegaard C<< >> =head1 COPYRIGHT AND LICENSE Copyright © 2016-2021 Jonas Smedegaard Copyright © 2017-2021 Purism SPC This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . =cut 1; Parts.pm000644001750001750 4131414107233261 24300 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/lib/Regexp/Pattern/Licensepackage Regexp::Pattern::License::Parts; use utf8; use strict; use warnings; =head1 NAME Regexp::Pattern::License::Parts - Regular expressions for licensing sub-parts =head1 VERSION Version v3.9.3 =cut our $VERSION = version->declare("v3.9.3"); =head STATUS This module is considered part of Regexp-Pattern-License's internals. =head DESCRIPTION This is not considered part of Regexp-Pattern-License's public API. It is a class of internally used patterns. =cut # internal patterns compiled into patterns # * must be unique, to not collide at their final use in gen_pat sub # * must be a unit, so that e.g. suffix "?" applies to whole chunk # [ ] end-of-sentence space # [.] full stop # [:] colon # [;] semicolon or colon or comma # ["] quote # ["*] quote or bullet # [*)] start-of-sentence bullet or count # [/] slash or space or none # [-] dash maybe space after, or none # [- ] dash or space # [ - ] dash with space around # [(] parens-open # [)] parens-close # [http://] http or https protocol # [ word] space and word # [as is] as is, maybe quote around our %RE = ( # assets (original or derived) doc_mat_dist => { pat => 'the documentation and[/]or other materials provided with the distribution' }, the_material => { pat => 'this software and(?:[/]or)? associated documentation files [(]?the ["]Materials?["][)]?, ' }, cp_sw => { pat => 'all copies of the Software' }, cp_sw_copr => { pat => 'all copies of the Software and its Copyright notices' }, cp_sw_doc => { pat => 'all copies of the Software and its documentation' }, sw_doc_nofee => { pat => 'this software and its documentation for any purpose and without fee ' }, the_sw => { pat => 'this software and associated documentation files [(]the ["]Software["][)], ' }, # rights perm_dist_mod => { pat => 'Permission to modify the code and to distribute modified code ' }, any_purpose => { pat => 'for any purpose, ' }, to_deal_mat => { pat => 'to deal in the Materials without restriction' }, granted => { pat => 'is(?: hereby)? granted' }, to_deal_the_sw_rights => { pat => 'to deal in the Software without restriction, including without limitation the rights ' }, to_copy_prg => { pat => 'to use or copy this program ' }, to_dist => { pat => 'to use, copy, modify,? and distribute ' }, to_reproduce => { pat => 'to use, reproduce, prepare derivative works, and to redistribute to others' }, to_mod_sublic_sw => { pat => 'to use, copy, modify, merge, publish, distribute, sublicense, and[/]or sell copies of the Software, ' }, and_to_perm_pers => { caption => 'to permit person', pat => 'and to permit persons to whom the Software is furnished to do so, ' }, # agents to_pers => { pat => 'to any person obtaining a copy of ' }, # charges free_charge => { pat => 'free of charge, ' }, free_agree_fee => { pat => 'without written agreement and without license or royalty fees' }, # conditions subj_cond => { pat => 'subject to the following conditions' }, ack_doc_mat_pkg_use => { pat => 'acknowledgment shall be given in the documentation, materials and software packages that this Software was used' }, ack_doc_pkg_use => { pat => 'acknowledgment shall be given in the documentation and software packages that this Software was used' }, ack_pub_use_nosrc => { pat => 'In addition publicly documented acknowledgment must be given that this software has been used if no source code of this software is made available publicly' }, altered_srcver_mark => { pat => '[*)]?Altered source versions must be plainly marked as such,? and must not be misrepresented as being the original software' }, altered_ver_mark => { pat => '[*)]?Altered versions must be plainly marked as such,? and must not be misrepresented as being the original source' }, change_redist_share => { pat => 'If you change this software and redistribute parts or all of it in any form, you must make the source code of the altered version of this software available' }, incl => { pat => 'shall be included in ' }, name => { pat => '[Tt]he names?[ word]{1,15}' }, namenot => { pat => '(?:[Tt]he n|N)ames?[ word]{1,15} (?:may|must|shall) not ' }, neithername => { pat => 'Neither the (?:names?[ word]{1,15}|authors?) n?or the names of(?: (?:its|their|other|any))? contributors\W? may ' }, notice_no_alter => { pat => '[*)]?This notice may not be removed or altered' }, notice_no_alter_any => { pat => '[*)]?This notice may not be removed or altered from any source distribution' }, copr_no_alter => { pat => '[*)]?This Copyright notice may not be removed or altered from any source or altered source distribution' }, license_not_lib => { pat => 'This License does not apply to any software that links to the libraries provided by this software [(]statically or dynamically[)], but only to the software provided' }, redist_bin_repro => { pat => 'Redistributions in binary form must reproduce ' }, src_no_relicense => { pat => '[*)]?Source versions may not be ["]relicensed["] under a different license without my explicitly written permission' }, used_endorse_deriv => { pat => 'be used to endorse or promote products derived from this software ' }, used_ad => { pat => 'be used in advertising' }, used_ad_dist => { pat => 'be used in (?:any )?advertising or publicity pertaining to distribution of the software ' }, you_not_use_ad_dist => { pat => 'You must not use any of the names of the authors or copyright holders of the original software for advertising or publicity pertaining to distribution ' }, without_prior_written => { pat => 'without(?: specific)? prior written permission' }, without_written => { pat => 'without specific written permission' }, without_written_prior => { pat => 'without specific, written prior permission' }, origin_sw_no_misrepresent => { pat => '[*)]?The origin of this software must not be misrepresented[;] ' }, origin_src_no_misrepresent => { pat => '[*)]?The origin of this source code must not be misrepresented' }, you_not_claim_wrote => { pat => 'you must not claim that you wrote the original software' }, use_ack_apprec => { pat => 'If you use this software in a product, an acknowledgment in the product documentation would be appreciated' }, use_ack_apprec_not_req => { pat => 'If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required' }, use_ack_req => { pat => 'If you use this software in a product, an acknowledgment [(]see the following[)] in the product documentation is required' }, # disclaimers asis_expr_warranty => { pat => 'provided [as is] without express or implied warranty' }, asis_mat => { pat => 'This material is supplied [as is]' }, asis_name_sw => { pat => '[word][ word]{0,14} PROVIDES? THIS SOFTWARE' }, asis_sw_by => { pat => 'THIS SOFTWARE IS PROVIDED BY' }, asis_sw_expr_warranty => { pat => 'This software is supplied [as is] without express or implied warranty' }, asis_sw_name_discl => { pat => 'THE SOFTWARE IS PROVIDED [as is](?:,?|AND)[ word]{1,15} DISCLAIMS' }, asis_sw_warranty => { pat => 'THE SOFTWARE IS PROVIDED [as is],? WITHOUT WARRANTY' }, # Creative Commons cc => { pat => '(?:Creative Commons|CC)' }, cc_by => { pat => '(?:Attribution)' }, cc_cc0 => { pat => '(?:CC0|Zero|0)' }, cc_nc => { pat => '(?:Non[- ]?Commercial)' }, cc_nd => { pat => '(?:No[- ]?Deriv(?:ative)?s)' }, cc_sa => { pat => '(?:Share[- ]?Alike)' }, cc_sp => { pat => '(?:Sampling[- ]?Plus)' }, cc_url => { pat => '(?:[http://]creativecommons.org[/]licenses[/])' }, cc_url_pd => { pat => '(?:[http://]creativecommons.org[/]publicdomain[/])' }, # FSF fsf_url => { pat => '(?:[http://](?:www\.)?fsf\.org[/]?)' }, # texts ack_dev_by => { pat => 'the following acknowledge?ments?[:]?[ ]' . '["]?This product includes software developed by ' }, ack_written_by => { pat => 'the following acknowledge?ment[:]?[ ]' . '["]?This product includes(?: cryptographic)? software written by' }, authors_copr => { pat => 'the Authors, the Copyright' }, above_copr => { pat => 'the above copyright notice' }, copr_avail_orig => { pat => 'the Copyright, this License, and the Availability of the original version' }, copr_avail_note => { pat => 'the Copyright, this License, (?:and )?the Availability note' }, copr_perm => { pat => '(?:both t|t|T)(?:hat|he|he above) copyright notice(?:s|[(]s[)])? and this permission notice ' }, copr_perm_warr => { pat => '(?:both t|t|T)(?:hat|he|he above) copyright notice(?:s|[(]s[)])? and this permission notice and warranty disclaimer' }, copr_perms => { pat => 'this copyright and permissions notice' }, copr_cond_discl => { pat => 'the above copyright notice, this list of conditions,? and the following disclaimer' }, copr_cond_discl_warr => { pat => 'the above copyright notice, this list of conditions,? and the Disclaimer of Warranty' }, copr_cond_discl_anywhere => { pat => 'the copyright notice, this list of conditions,? and the following disclaimer' }, notices => { pat => '[Tt]he above notices' }, and_used_by_perm => { pat => 'and ["]Used by permission[." ]' }, # combinations discl_name_warranties => { pat => '[word][ word]{0,14} DISCLAIMS? ALL WARRANTIES' }, permission_use_fee_agree => { pat => 'and without a written agreement' }, ); $RE{perm_granted}{pat} = 'Permission ' . $RE{granted}{pat} . ',? '; $RE{to_copy_sublicence_conditions}{pat} = $RE{to_mod_sublic_sw}{pat} . $RE{and_to_perm_pers}{pat} . $RE{subj_cond}{pat}; $RE{ad_mat_ack_this}{pat} = 'All advertising materials mentioning features or use of this software must display ' . $RE{ack_dev_by}{pat}; $RE{ad_mat_ack_ssleay}{pat} = 'All advertising materials mentioning features or use of this software must display ' . $RE{ack_written_by}{pat}; $RE{note_copr_perm}{pat} = 'provided that[*)]?' . $RE{copr_perm}{pat} . 'appear in all copies'; $RE{note_copr_perms_deriv}{pat} = 'provided that[*)]?' . $RE{copr_perms}{pat} . ' appear in all copies and derivatives'; $RE{repro_code_cite_authors_copr}{pat} = 'User documentation of any code that uses this code must cite ' . $RE{authors_copr}{pat} . ', '; $RE{repro_code_modcode_cite_copr_avail_note}{pat} = 'User documentation of any code that uses this code or any modified version of this code must cite ' . $RE{copr_avail_note}{pat} . ', '; $RE{repro_copr_perm_warr_appear_doc}{pat} = $RE{copr_perm_warr}{pat} . ' appear in supporting documentation'; $RE{repro_matlab_cite_authors}{pat} = 'If this code is accessible from within Matlab, then typing[ word]{2,5} [(]with no arguments[)] must cite the Authors'; $RE{note_marketing}{pat} = $RE{incl}{pat} . $RE{cp_sw}{pat} . ', its documentation and marketing'; $RE{note_mod_inc}{pat} = 'and a notice that the code was modified is included'; $RE{note_mod_inc_with_copr}{pat} = 'and a notice that the code was modified is included with ' . $RE{above_copr}{pat}; $RE{retain_copr_appear}{pat} = ',? provided that ' . $RE{above_copr}{pat} . ' appears? in all copies'; $RE{retain_copr_avail_note}{pat} = ',? provided ' . $RE{copr_avail_note}{pat} . ' are retained, '; $RE{retain_copr_avail_orig}{pat} = 'provided that ' . $RE{copr_avail_orig}{pat} . ' is retained on all copies'; $RE{retain_copr_perm_subst}{pat} = $RE{copr_perm}{pat} . $RE{incl}{pat} . 'all copies or substantial portions of the Software'; $RE{retain_copr_perm_sw_copr}{pat} = $RE{copr_perm}{pat} . $RE{incl}{pat} . $RE{cp_sw_copr}{pat}; $RE{retain_copr_perm_sw_doc}{pat} = $RE{copr_perm}{pat} . $RE{incl}{pat} . $RE{cp_sw_doc}{pat}; $RE{retain_notice_cond_discl}{pat} = 'Redistributions of source code must retain ' . $RE{copr_cond_discl}{pat}; $RE{retain_notice_cond_discl_warr}{pat} = 'Redistributions of source code must retain ' . $RE{copr_cond_discl_warr}{pat}; $RE{retain_notice_cond_discl_anywhere}{pat} = 'Redistributions of source code must retain ' . $RE{copr_cond_discl_anywhere}{pat}; $RE{retain_notices}{pat} = ',? provided ' . $RE{notices}{pat} . ' are retained, '; $RE{retain_notices_all}{pat} = 'provided ' . $RE{notices}{pat} . ' are retained on all copies'; $RE{retain_you_avail_orig}{pat} = 'You must also retain the Availability information below, of the original version'; $RE{nopromo_except}{pat} = 'Except as contained in this notice, ' . $RE{namenot}{pat} . $RE{used_ad}{pat}; $RE{nopromo_name_written}{pat} = $RE{name}{pat} . ' not ' . $RE{used_ad_dist}{pat} . $RE{without_written}{pat}; $RE{nopromo_name_written_prior}{pat} = $RE{name}{pat} . ' not ' . $RE{used_ad_dist}{pat} . $RE{without_written_prior}{pat}; $RE{repro_copr_cond_discl}{pat} = '[*)]?' . $RE{redist_bin_repro}{pat} . $RE{copr_cond_discl}{pat} . ' in ' . $RE{doc_mat_dist}{pat}; $RE{repro_copr_cond_discl_warr}{pat} = '[*)]?' . $RE{redist_bin_repro}{pat} . $RE{copr_cond_discl_warr}{pat} . ' in ' . $RE{doc_mat_dist}{pat}; $RE{repro_copr_perm_appear_doc}{pat} = $RE{copr_perm}{pat} . 'appear in supporting documentation'; $RE{nopromo_neither}{pat} = '(?:' . $RE{neithername}{pat} . '|' . $RE{namenot}{pat} . ')' . $RE{used_endorse_deriv}{pat} . $RE{without_prior_written}{pat}; $RE{nopromo_university}{pat} = 'Neither the name of the University nor the names of its contributors may ' . $RE{used_endorse_deriv}{pat} . $RE{without_prior_written}{pat}; $RE{nopromo_nothing_deemed}{pat} = '[*)]?Nothing in this license shall be deemed to grant'; $RE{redist_ack_this}{pat} = 'Redistributions of any form whatsoever must retain ' . $RE{ack_dev_by}{pat}; $RE{discl_warranties}{pat} = $RE{asis_sw_by}{pat} . '[ word]{1,15} [as is] ' . 'AND ANY EXPRESS(?:ED)? OR IMPLIED WARRANTIES, ' . 'INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ' . 'ARE DISCLAIMED'; $RE{discl_warranties_any_kind}{pat} = 'This software is provided [as is] without a warranty of any kind'; $RE{discl_warranties_any_kind_noninfringement}{pat} = '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'; $RE{discl_warranties_excluded}{pat} = 'ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES' . ', INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY' . ', FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT' . ', ARE HEREBY EXCLUDED'; $RE{discl_liability}{pat} = 'IN NO EVENT SHALL[ word]{1,15} BE LIABLE' . ' FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES' . ' [(]INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES[;] ' . 'LOSS OF USE, DATA, OR PROFITS[;] OR BUSINESS INTERRUPTION[)]' . ' HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY' . ', WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT' . ' [(]INCLUDING NEGLIGENCE OR OTHERWISE[)]' . ' ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE' . ', EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE'; $RE{discl_liability_suffered}{pat} = '[word][ word]{0,14} SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE' . ' AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES'; $RE{discl_liability_revenue}{pat} = 'IN NO EVENT WILL[ word]{1,15} BE LIABLE FOR ANY LOST REVENUE, PROFIT OR DATA' . ', OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES' . ', HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY' . ', ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE' . ', EVEN IF[ word]{1,15} HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES'; $RE{discl_liability_claim}{pat} = 'IN NO EVENT SHALL[ word]{1,15} BE LIABLE' . ' FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' . ', WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE' . ', ARISING FROM, OUT OF OR IN CONNEC[-]TION WITH THE SOFTWARE' . ' OR THE USE OR OTHER DEALINGS IN THE SOFTWARE'; =encoding UTF-8 =head1 AUTHOR Jonas Smedegaard C<< >> =head1 COPYRIGHT AND LICENSE Copyright © 2016-2021 Jonas Smedegaard Copyright © 2017-2021 Purism SPC This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . =cut 1; License.pm000644001750001750 464414107233261 24440 0ustar00jonasjonas000000000000Regexp-Pattern-License-v3.9.3/t/lib/Test2/Regexp/Patternpackage Test2::Regexp::Pattern::License; my $CLASS = __PACKAGE__; use strict; use warnings; use Regexp::Pattern::License; use base 'Exporter'; our @EXPORT = qw(license_org_metadata); my %RE = %Regexp::Pattern::License::RE; my $any = '[A-Za-z_][A-Za-z0-9_]*'; my $str = '[A-Za-z][A-Za-z0-9_]*'; my $re_prop_attrs = qr/ \A(?'prop'$str)\.alt(?: \.org\.(?'org'$str)| \.version\.(?'version'$str)| \.since\.date_(?'since_date'\d{8})| \.until\.date_(?'until_date'\d{8})| \.synth\.$any| (?'other'\.$any) )*\z/x; sub license_org_metadata { my ( %opts, @args ); for (@_) { next unless defined; if ( !ref ) { push @args, $_ } elsif ( ref eq 'HASH' ) { @opts{ keys %$_ } = values %$_ } else { die "Bad ref: $_"; } } my ($org) = @args; my %names; for my $key ( keys %RE ) { next unless grep { /^(?:name|caption|summary)\.alt\.org\.$org(?:\.|\z)/ and not /\.version\./ } keys %{ $RE{$key} }; my $date_but_1 = $opts{date}; $date_but_1 = 1 if defined $opts{date} and $opts{date} == 0; my @names = get_org_props( $key, 'name', $org, $opts{date} ); my @captions = get_org_props( $key, 'caption', $org, $date_but_1 ); my @summaries = get_org_props( $key, 'summary', $org, $date_but_1 ); my $name = shift @names; if ($name) { for ( @names, @captions, @summaries ) { $names{$_} = $name; } } } return \%names; } sub get_org_props { my ( $key, $prop, $org, $date ) = @_; my ( @main, @extra, $skipcount ); for ( keys %{ $RE{$key} } ) { /$re_prop_attrs/; next unless $+{prop} and $+{prop} eq $prop; next unless $+{org} and $+{org} eq $org; next if $+{version}; if ( $+{since_date} ) { if ( defined $date and 1 < $date and $date < $+{since_date} ) { $skipcount++ unless $+{other}; next; } } if ( $+{until_date} ) { if ( not defined $date or $+{until_date} <= $date ) { $skipcount++ unless $+{other}; next; } } elsif ( defined $date and $date == 0 ) { $skipcount++ unless $+{other}; next; } if ( $+{other} ) { push @extra, $RE{$key}{$_}; } else { push @main, $RE{$key}{$_}; } } die "More than one main $prop tied to $org for $key: ", join '; ', @main if @main > 1; if ( not @main and not $skipcount ) { if ( exists $RE{$key}{$prop} ) { push @main, $RE{$key}{$prop}; } elsif ( $prop eq 'name' ) { push @main, $key; } } return @main, @extra; } 1;