aboutsummaryrefslogtreecommitdiffstats
path: root/tools/licensecheck.pl
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-08-08 22:37:55 +0100
committerJoão Valverde <j@v6e.pt>2016-08-09 02:41:30 +0000
commitba70b88419c0282dd61b2384239874440f2594bc (patch)
tree7062cc011f1164a466baf7ae67b471a339992231 /tools/licensecheck.pl
parent8a141febc849c36dc40d4da2a39318f8f8856091 (diff)
checklicenses: Remove whitelisted licenses not being used
Removed a few licenses we shouldn't use (Apache v2, BSD 4-clause) and removed many others not currently being used. (Add on a need-to basis). Added GPLv3+ with Bison exception to licensecheck.pl. Also removed some crud to work around bugs for older licensecheck.pl versions. The original list came from the chromium project, which has a BSD-like license, and many more licenses in use, not all of them vetted for GPLv2+ compatibility. Change-Id: I67f334f21cd94904cf8a0e5d9beb659c82437df4 Reviewed-on: https://code.wireshark.org/review/16966 Petri-Dish: João Valverde <j@v6e.pt> Reviewed-by: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'tools/licensecheck.pl')
-rwxr-xr-xtools/licensecheck.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/licensecheck.pl b/tools/licensecheck.pl
index ae2a92e1ee..e5e3597dd4 100755
--- a/tools/licensecheck.pl
+++ b/tools/licensecheck.pl
@@ -633,6 +633,10 @@ sub parselicense {
$extrainfo = " (with Qt exception)$extrainfo"
}
+ if ($licensetext =~ /As a special exception, you may create a larger work that contains part or all of the Bison parser skeleton and distribute that work under terms of your choice/) {
+ $extrainfo = " (with Bison parser exception)$extrainfo";
+ }
+
# exclude blurb found in boost license text
if ($licensetext =~ /(All changes made in this file will be lost|DO NOT (EDIT|delete this file)|Generated (automatically|by|from)|generated.*file)/i
and $licensetext !~ /unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor/) {