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

js pushed a commit to branch master
in repository licensecheck.

commit e91dcde6dc6ddf56278e0c331a7bafdcafb06367
Author: Jonas Smedegaard <d...@jones.dk>
Date:   Wed Nov 23 21:17:59 2016 +0100

    Fix avoid detection of GPL/LGPL fulltext (rarely if ever used as grant).
---
 lib/App/Licensecheck.pm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/lib/App/Licensecheck.pm b/lib/App/Licensecheck.pm
index dd7cbfb..67bf3da 100755
--- a/lib/App/Licensecheck.pm
+++ b/lib/App/Licensecheck.pm
@@ -549,6 +549,14 @@ sub parse_license
 
        # GPL
        given ($licensetext) {
+               # exclude GPL fulltext (rarely if ever used as grant)
+               when ( /Copyright \(C\) (?:19|yy)yy <?name of author>?\s+This 
program is free software/ ) {
+                       break;
+               }
+               # exclude LGPL-3 fulltext (rarely if ever used as grant)
+               when ( /under the GNU GPL,? with none of the additional 
permissions of this License/ ) {
+                       break;
+               }
                # exclude AGPL-3 license
                when ( /GNU Affero General Public License/ ) {
                        break;

-- 
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