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

js pushed a commit to branch master
in repository licensecheck.

commit 2970349a6978ed861eda5f108437377b5befc212
Author: Jonas Smedegaard <d...@jones.dk>
Date:   Sun Oct 9 21:34:26 2016 +0200

    Add new license patterns gfdl gfdl-niv.
---
 lib/Regexp/Pattern/License.pm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/lib/Regexp/Pattern/License.pm b/lib/Regexp/Pattern/License.pm
index 4736cae..58f61e5 100644
--- a/lib/Regexp/Pattern/License.pm
+++ b/lib/Regexp/Pattern/License.pm
@@ -54,6 +54,10 @@ Patterns each covering a single license.
 
 =item * dsdp
 
+=item * gfdl
+
+=item * gfdl_niv
+
 =item * mit_new
 
 =item * mit_new_materials
@@ -93,6 +97,8 @@ my $the = qr/(?:[Tt]he )/;
 my $gnu    = qr/(?:GNU )/;
 my $gpl    = qr/General Public License/;
 my $by_fsf = qr/(?: (?:as )?published by $the?Free Software Foundation)/;
+my $niv
+       = qr/with no Invariant Sections(?:, with no Front-Cover Texts, and with 
no Back-Cover Texts)?/;
 
 our %RE = (
        afl => {
@@ -202,6 +208,20 @@ our %RE = (
                tags => ['mit'],
                pat  => qr/This program discloses material protectable/,
        },
+       gfdl => {
+               name    => 'GFDL',
+               summary => 'GNU Free Documentation License',
+               pat =>
+                       qr/$the?$gnu?(?:Free Documentation License(?: 
\(GFDL\))?$by_fsf?|GFDL)/,
+       },
+       gfdl_niv => {
+               name    => 'GFDL-NIV',
+               caption => 'GFDL (no invariant sections)',
+               summary =>
+                       'GNU Free Documentation License, with no Front-Cover or 
Back-Cover Texts or Invariant Sections',
+               pat =>
+                       qr/$the?$gnu?(?:Free Documentation License(?: 
\(GFDL\))?$by_fsf?[,;]? $niv|GFDL-NIV)/,
+       },
        mit_new => {
                'name.alt.org.spdx'      => 'MIT',
                'name.alt.org.debian'    => 'Expat',

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

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

Reply via email to