[licensecheck] 74/112: Add license pattern llgpl.
Jonas Smedegaard
dr at jones.dk
Fri Nov 25 22:02:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository licensecheck.
commit 84205940334471efedee953f1df1c1d36e267159
Author: Jonas Smedegaard <dr at jones.dk>
Date: Mon Oct 10 13:30:47 2016 +0200
Add license pattern llgpl.
---
lib/App/Licensecheck.pm | 4 ++--
lib/Regexp/Pattern/License.pm | 7 +++++++
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/lib/App/Licensecheck.pm b/lib/App/Licensecheck.pm
index efacf94..ff5c67c 100755
--- a/lib/App/Licensecheck.pm
+++ b/lib/App/Licensecheck.pm
@@ -616,8 +616,8 @@ sub parse_license
# LLGPL
given ($licensetext) {
- when ( /the rights to distribute and use this software as governed by the terms of the Lisp Lesser General Public License|\bLLGPL\b/ ) {
- $gen_license->('LLGPL');
+ when ( /$L{re}{llgpl}/ ) {
+ $gen_license->('llgpl');
}
}
diff --git a/lib/Regexp/Pattern/License.pm b/lib/Regexp/Pattern/License.pm
index 790d6a9..68d391e 100644
--- a/lib/Regexp/Pattern/License.pm
+++ b/lib/Regexp/Pattern/License.pm
@@ -104,6 +104,8 @@ Patterns each covering a single license.
=item * lgpl
+=item * llgpl
+
=item * libpng
=item * mit_new
@@ -425,6 +427,11 @@ our %RE = (
pat =>
qr/$the?$gnu?(?:(?:Library|Lesser(?: \(Library\))?) $gpl(?: \(LGPL\))?$by_fsf?|LGPL)/,
},
+ llgpl => {
+ name => 'LLGPL',
+ summary => 'Lisp Lesser General Public License',
+ pat => qr/$the?(?:Lisp Lesser $gpl(?: \(LLGPL\))?|\bLLGPL\b)/,
+ },
libpng => {
name => 'Libpng',
pat => qr/$the?libpng license/,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/licensecheck.git
More information about the Pkg-perl-cvs-commits
mailing list