The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version v3.0.27 - 2016-11-23

  • Bug Fixes
    • Fix avoid detection of GPL/LGPL fulltext (rarely if ever used as grant).
    • Fix detect license FSFULLR (was misdetected as bogus FSFULR).
    • Fix detect license MPL-2.0 (was misdetected as MPL-2.0 or AGPL).
    • Fix detect licenses mit_old mit_unspecified (was misdetected as mit_new).
    • Fix version identifier to use + only in machine-readable mode.
  • Other
    • Add group pattern gnu.
    • Add license pattern afl.
    • Add license pattern agpl.
    • Add license pattern apache.
    • Add license pattern artistic, and combo pattern perl.
    • Add license pattern beerware.
    • Add license pattern cc_by_sa.
    • Add license pattern ftl.
    • Add license pattern llgpl.
    • Add license pattern mpl.
    • Add license pattern ms_pl.
    • Add license pattern openssl and trait pattern clause_advertising_always.
    • Add license pattern public_domain.
    • Add license pattern python.
    • Add license pattern qpl.
    • Add license pattern sgi_b.
    • Add license pattern wtfpl.
    • Add license patterns adobe_2006 adobe_glyph apafml.
    • Add license patterns bsd_2_clause bsd_3_clause bsd_4_clause, trait patterns clause_retention clause_reproduction clause_advertising clause_non_endorsement disclaimer, and group pattern bsd.
    • Add license patterns cddl cecill cecill_1 cecill_1_1 cecill_2 cecill_2_1 cecill_b cecill_c epl.
    • Add license patterns fsfap fsful fsfullr, and trait patterns fsf_unlimited fsf_unlimited_retention.
    • Add license patterns gpl lgpl.
    • Add license patterns libpng zlib zlib_acknowledgement.
    • Add license patterns mit_new mit_new_materials mit_old mit_unspecified postgresql, and group pattern mit.
    • Add license patterns unicode_strict unicode_tou.
    • Add new license pattern ms_rl.
    • Add new license patterns cc_by cc_by_nc cc_by_nc_nd cc_by_nc_sa cc_by_nd cc_cc0 cc_sp.
    • Add new license patterns cube eurosym.
    • Add new license patterns curl dsdp mit_oldstyle mit_oldstyle_disclaimer mit_oldstyle_permission ntp ntp_disclaimer.
    • Add new license patterns gfdl gfdl-niv.
    • Add trait pattern license_prefix.
    • Add trait pattern license_version.
    • Add trait patterns version_later version_later_paragraph version_later_postfix.
    • Clean m4 dnl comment marker.
    • Drop no longer used internal license shortname list.
    • Drop too exotic licensing phrase, and corresponding test case.
    • Emulate Regexp::Common -keep syntax to capture version number.
    • Improve detection of license GPL.
    • Improve license detections artistic perl.
    • Introduce new modules: Pattern::License Pattern::License::Parts.
    • Relax detection of license GPL.
    • Relax license pattern cc_by_ca.
    • Tidy code: Drop noop code.
    • Tighten regexes: Generalize abbreviated AGPL/LGPL/GPL matching.
    • Tighten regexes: Generalize and improve LGPL matching.
    • Use Regexp::Pattern::License for shortname resolving (with internal list as fallback until phased out).

Documentation

simple license checker for source files

Modules

functions for a simple license checker for source files
Regular expressions for legal licenses
Regular expressions for licensing sub-parts