diff options
author | Evan Huus <eapache@gmail.com> | 2014-02-08 09:29:10 -0500 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-02-08 16:51:42 +0000 |
commit | 3fd9a5e6136b4ada0904b632b6ea4082f6401ed4 (patch) | |
tree | bc11f43236dc5c9168d8254727b8563e2157d476 /tools/checklicenses.py | |
parent | 183e0385ea00a30e487e779988be7c245a4662f3 (diff) |
Licensecheck improvements, just two errors left.
Spawned from https://www.wireshark.org/lists/wireshark-dev/201402/msg00024.html
Add some ignore rules for files that can't/shouldn't include a license header.
Reorganize some ignore rules to group rules with similar motivations.
Add a header to autogen.sh and attribute it to just "The Wireshark Authors"
since while Gilbert wrote the original version it's gone through so many changes
over the years that sorting out proper authorship is unnecessarily complex.
Add headers to Graeme Hewson's two files as verified by private email, and
update his address in the AUTHORS file per his request.
Add header to one of Ulf Lamping's files, as verified by private email.
Only remaining problem is the reedsolomon code.
Change-Id: Ifb7de8c4b4d79012553e29d459a0145d39f51df5
Reviewed-on: https://code.wireshark.org/review/145
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'tools/checklicenses.py')
-rwxr-xr-x | tools/checklicenses.py | 45 |
1 files changed, 35 insertions, 10 deletions
diff --git a/tools/checklicenses.py b/tools/checklicenses.py index ba8af699b4..c840565d7c 100755 --- a/tools/checklicenses.py +++ b/tools/checklicenses.py @@ -127,6 +127,15 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = { 'dtds': [ 'UNKNOWN', ], + 'diameter/dictionary.dtd': [ + 'UNKNOWN', + ], + 'wimaxasncp/dictionary.dtd': [ + 'UNKNOWN', + ], + 'docbook/custom_layer_pdf.xsl': [ + 'UNKNOWN', + ], 'fix': [ 'UNKNOWN', ], @@ -142,34 +151,47 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = { 'packaging/macosx': [ 'UNKNOWN', ], - 'version.h': [ + 'epan/except.c': [ 'UNKNOWN', ], - 'tools/lemon': [ + 'epan/except.h': [ 'UNKNOWN', ], - 'epan/except.c': [ + 'cmake/TestFileOffsetBits.c': [ 'UNKNOWN', ], - 'epan/except.h': [ + 'cmake/TestWindowsFSeek.c': [ 'UNKNOWN', ], 'plugins/mate/mate_grammar.c': [ 'GPL (v2 or later) LGPL (v2 or later)', # licensecheck bug? ], - 'plugins/mate/mate_grammar.h': [ + # Generated header files by lex/yacc/whatever + 'epan/dtd_grammar.h': [ 'UNKNOWN', ], - 'cmake/TestFileOffsetBits.c': [ + 'epan/dfilter/grammar.h': [ 'UNKNOWN', ], - 'cmake/TestWindowsFSeek.c': [ + 'plugins/mate/mate_grammar.h': [ + 'UNKNOWN', + ], + 'version.h': [ 'UNKNOWN', ], + # Special IDL license that appears to be compatible as far as I (not a + # lawyer) can tell. See + # https://www.wireshark.org/lists/wireshark-dev/201310/msg00234.html 'epan/dissectors/pidl/idl_types.h': [ - # Special IDL license that appears to be compatible as far as I (not a - # lawyer) can tell. See - # https://www.wireshark.org/lists/wireshark-dev/201310/msg00234.html + 'UNKNOWN', + ], + # Written by Ronnie Sahlberg and correctly licensed, but cannot include + # a license header despite the file extension as they need to be + # parsed by the pidl tool + 'epan/dissectors/pidl/mapi/request.cnf.c': [ + 'UNKNOWN', + ], + 'epan/dissectors/pidl/mapi/response.cnf.c': [ 'UNKNOWN', ], # The following tools are under incompatible licenses (mostly GPLv3 or @@ -180,6 +202,9 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = { 'tools/html2text.py': [ 'UNKNOWN', ], + 'tools/lemon': [ + 'UNKNOWN', + ], } |