diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-08-08 16:48:14 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2016-08-15 01:32:04 +0000 |
commit | e3009b0b1c78b25337c915fb66232314f769688c (patch) | |
tree | aa3ab8ecf741c26c1760195073fc83f31b971886 /tools/checklicenses.py | |
parent | b1cbeee4a6c45ff25784f76c55673cb7c3ab5931 (diff) | |
download | wireshark-e3009b0b1c78b25337c915fb66232314f769688c.tar.gz |
checklicenses: Fix a FIXME
We do not whitelist GPLv2 only code because of the
incompatibility with GPLv3.
Move the path exception to its proper place. These files are
dual-licensed in the sense of "choose one or the other", not
"both licenses are in use".
If the exception becomes unnecessary later it can be removed,
but let's get rid of the FIXME until then.
Change-Id: Ia040284b72c2ff6588b0544896cc37ae19a61613
Reviewed-on: https://code.wireshark.org/review/16957
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'tools/checklicenses.py')
-rwxr-xr-x | tools/checklicenses.py | 49 |
1 files changed, 37 insertions, 12 deletions
diff --git a/tools/checklicenses.py b/tools/checklicenses.py index b51e5c9b9b..3591b2fd9d 100755 --- a/tools/checklicenses.py +++ b/tools/checklicenses.py @@ -129,6 +129,9 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = { 'epan/dissectors/packet-ieee80211-radiotap-iter.': [ # Using ISC license only 'ISC GPL (v2)' ], + 'epan/dissectors/packet-ppi.c': [ # Using BSD (3 clause) license + 'BSD (3 clause) GPL (v2)' + ], 'plugins/mate/mate_grammar.h': [ 'UNKNOWN', ], @@ -168,6 +171,40 @@ PATH_SPECIFIC_WHITELISTED_LICENSES = { 'ui/gtk/wireshark-gresources.c': [ 'UNKNOWN', ], + # The airpcap code is using BSD (3 clause) + 'epan/crypt/airpdcap_interop.h': [ + 'BSD (3 clause) GPL (v2)' + ], + 'epan/crypt/airpdcap_tkip.c': [ + 'BSD (3 clause) GPL (v2)' + ], + 'epan/crypt/airpdcap_ws.h': [ + 'BSD (3 clause) GPL (v2)' + ], + 'epan/crypt/wep-wpadefs.h': [ + 'BSD (3 clause) GPL (v2)' + ], + 'epan/crypt/airpdcap_system.h': [ + 'BSD (3 clause) GPL (v2)' + ], + 'epan/crypt/airpdcap_user.h': [ + 'BSD (3 clause) GPL (v2)' + ], + 'epan/crypt/airpdcap_ccmp.c': [ + 'BSD (3 clause) GPL (v2)' + ], + 'epan/crypt/airpdcap_int.h': [ + 'BSD (3 clause) GPL (v2)' + ], + 'epan/crypt/airpdcap.c': [ + 'BSD (3 clause) GPL (v2)' + ], + 'epan/crypt/airpdcap_debug.h': [ + 'BSD (3 clause) GPL (v2)' + ], + 'wsutil/airpdcap_wep.c': [ + 'BSD (3 clause) GPL (v2)' + ], } # Files pre-existing prior to licensecheck upgrade to v2.16.2. @@ -191,18 +228,6 @@ FIXME_FILES = [ 'doc/sshdump.pod', 'doc/tshark.pod', 'doc/wireshark.pod', # wireshark.pod.template - 'epan/crypt/airpdcap_interop.h', # Whitelist 'BSD (3 clause) GPL (v2)'? - 'epan/crypt/airpdcap_tkip.c', - 'epan/crypt/airpdcap_ws.h', - 'epan/crypt/wep-wpadefs.h', - 'epan/crypt/airpdcap_system.h', - 'epan/crypt/airpdcap_user.h', - 'epan/crypt/airpdcap_ccmp.c', - 'epan/crypt/airpdcap_int.h', - 'epan/crypt/airpdcap.c', - 'epan/crypt/airpdcap_debug.h', - 'epan/dissectors/packet-ppi.c', - 'wsutil/airpdcap_wep.c', ] |