[licensecheck] 12/26: Improve license patternmit_enna.

Jonas Smedegaard dr at jones.dk
Sun Feb 5 10:12:06 UTC 2017


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

js pushed a commit to branch master
in repository licensecheck.

commit d0f7a67834a9994d1e662c7b062e06b14f2b0f0a
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Tue Nov 29 06:58:50 2016 +0100

    Improve license patternmit_enna.
---
 lib/Regexp/Pattern/License.pm       | 2 ++
 lib/Regexp/Pattern/License/Parts.pm | 8 +++++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/lib/Regexp/Pattern/License.pm b/lib/Regexp/Pattern/License.pm
index 75d1080..69ac270 100644
--- a/lib/Regexp/Pattern/License.pm
+++ b/lib/Regexp/Pattern/License.pm
@@ -485,6 +485,8 @@ our %RE = (
 		caption => 'MIT (enna)',
 		tags    => ['mit'],
 		pat     => qr/$P{ack_pub_use_nosrc}/,
+		pat =>
+			qr/$P{perm_granted}, $P{free_charge}, $P{to_pers} $P{the_sw}, $P{to_deal_the_sw_rights} $P{to_mod_sublic} $P{sw}, and $P{to_perm_pers}, $P{subj_cond}:? $P{copr_perm_incl} in $P{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}\./,
 	},
 	mit_feh => {
 		name    => 'MIT-feh',
diff --git a/lib/Regexp/Pattern/License/Parts.pm b/lib/Regexp/Pattern/License/Parts.pm
index c0eccbb..539c411 100644
--- a/lib/Regexp/Pattern/License/Parts.pm
+++ b/lib/Regexp/Pattern/License/Parts.pm
@@ -45,6 +45,8 @@ our %RE = (
 		pat =>
 			qr/this software and associated documentation files \(the "?Material"?\)/
 	},
+	sw_copr =>
+		{ pat => qr/all copies of the Software and its Copyright notices/ },
 	sw_doc => { pat => qr/all copies of the Software and its documentation/ },
 	the_sw => {
 		pat =>
@@ -91,7 +93,7 @@ our %RE = (
 	},
 	ack_pub_use_nosrc => {
 		pat =>
-			qr/publicly documented acknowledgment must be given that this software has been used if no source/
+			qr/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 =>
@@ -125,6 +127,10 @@ our %RE = (
 		pat =>
 			qr/$I?This Copyright notice may not be removed or altered from any source or altered source distribution/
 	},
+	license_not_lib => {
+		pat =>
+			qr/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 => qr/Redistributions in binary form must reproduce/ },
 	src_no_relicense => {

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