diff options
author | Dario Lombardo <lomato@gmail.com> | 2018-03-08 11:18:49 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-03-09 04:50:23 +0000 |
commit | e7ab7a907c16be8eabb426958b459aefc0631549 (patch) | |
tree | 611f2be6a2a6280236b3e637e73d6ed08df693c8 /tools | |
parent | fdd426e410325db3f33a16f77739f8f73575af2c (diff) |
spdx: more licenses converted.
Change-Id: I8f6693108c43959e54911d35b4fbf730c59add60
Reviewed-on: https://code.wireshark.org/review/26361
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/WiresharkXML.py | 14 | ||||
-rwxr-xr-x | tools/asn2wrs.py | 25 | ||||
-rwxr-xr-x | tools/checklicenses.py | 26 | ||||
-rwxr-xr-x | tools/compress-pngs.sh | 14 | ||||
-rwxr-xr-x | tools/generate-bacnet-vendors.py | 14 | ||||
-rwxr-xr-x | tools/msnchat | 14 | ||||
-rwxr-xr-x | tools/netscreen2dump.py | 14 | ||||
-rw-r--r-- | tools/pidl/lib/Parse/Pidl/Samba4/Template.pm | 13 | ||||
-rwxr-xr-x | tools/wireshark_be.py | 14 |
9 files changed, 9 insertions, 139 deletions
diff --git a/tools/WiresharkXML.py b/tools/WiresharkXML.py index b4ce4f8e07..af723ea2e1 100755 --- a/tools/WiresharkXML.py +++ b/tools/WiresharkXML.py @@ -3,19 +3,7 @@ Routines for reading PDML produced from TShark. Copyright (c) 2003, 2013 by Gilbert Ramirez <gram@alumni.rice.edu> -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +SPDX-License-Identifier: GPL-2.0-or-later """ import sys diff --git a/tools/asn2wrs.py b/tools/asn2wrs.py index 6788bf09cd..a4c1115e3c 100755 --- a/tools/asn2wrs.py +++ b/tools/asn2wrs.py @@ -5,31 +5,8 @@ # ASN.1 to Wireshark dissector compiler # Copyright 2004 Tomas Kukosa # -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the -# "Software"), to deal in the Software without restriction, including -# without limitation the rights to use, copy, modify, merge, publish, -# distribute, and/or sell copies of the Software, and to permit persons -# to whom the Software is furnished to do so, provided that the above -# copyright notice(s) and this permission notice appear in all copies of -# the Software and that both the above copyright notice(s) and this -# permission notice appear in supporting documentation. +# SPDX-License-Identifier: MIT # -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR -# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL -# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING -# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, -# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION -# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# -# Except as contained in this notice, the name of a copyright holder -# shall not be used in advertising or otherwise to promote the sale, use -# or other dealings in this Software without prior written authorization -# of the copyright holder. - """ASN.1 to Wireshark dissector compiler""" diff --git a/tools/checklicenses.py b/tools/checklicenses.py index 359bf98ad0..3b27837087 100755 --- a/tools/checklicenses.py +++ b/tools/checklicenses.py @@ -1,32 +1,8 @@ #!/usr/bin/env python # Copyright (c) 2013 The Chromium Authors. All rights reserved. # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions are -# met: +# SPDX-License-Identifier: BSD-3-Clause # -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * Redistributions in binary form must reproduce the above -# copyright notice, this list of conditions and the following disclaimer -# in the documentation and/or other materials provided with the -# distribution. -# * Neither the name of Google Inc. nor the names of its -# contributors may be used to endorse or promote products derived from -# this software without specific prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - """Makes sure that all files contain proper licensing information.""" diff --git a/tools/compress-pngs.sh b/tools/compress-pngs.sh index c70456e569..01c6d1d9dc 100755 --- a/tools/compress-pngs.sh +++ b/tools/compress-pngs.sh @@ -7,19 +7,7 @@ # By Gerald Combs <gerald@wireshark.org> # Copyright 2013 Gerald Combs # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +# SPDX-License-Identifier: GPL-2.0-or-later # FILE_LIST_CMD="find . -type f -name \"*.png\"" diff --git a/tools/generate-bacnet-vendors.py b/tools/generate-bacnet-vendors.py index d068d3ebd7..19280e4594 100755 --- a/tools/generate-bacnet-vendors.py +++ b/tools/generate-bacnet-vendors.py @@ -3,19 +3,7 @@ ''' Copyright 2014 Anish Bhatt <anish@chelsio.com> - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License - as published by the Free Software Foundation; either version 2 - of the License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +SPDX-License-Identifier: GPL-2.0-or-later ''' from bs4 import BeautifulSoup diff --git a/tools/msnchat b/tools/msnchat index eb8ff565ce..c2fcaabe9e 100755 --- a/tools/msnchat +++ b/tools/msnchat @@ -5,19 +5,7 @@ report of MSN Chat sessions. Copyright (c) 2003 by Gilbert Ramirez <gram@alumni.rice.edu> -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +SPDX-License-Identifier: GPL-2.0-or-later """ import os diff --git a/tools/netscreen2dump.py b/tools/netscreen2dump.py index 1bf69f130d..78312bc536 100755 --- a/tools/netscreen2dump.py +++ b/tools/netscreen2dump.py @@ -4,19 +4,7 @@ Converts netscreen snoop hex-dumps to a hex-dump that text2pcap can read. Copyright (c) 2004 by Gilbert Ramirez <gram@alumni.rice.edu> -This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +SPDX-License-Identifier: GPL-2.0-or-later """ import sys diff --git a/tools/pidl/lib/Parse/Pidl/Samba4/Template.pm b/tools/pidl/lib/Parse/Pidl/Samba4/Template.pm index d9fb304116..175bb1247f 100644 --- a/tools/pidl/lib/Parse/Pidl/Samba4/Template.pm +++ b/tools/pidl/lib/Parse/Pidl/Samba4/Template.pm @@ -30,18 +30,7 @@ sub Template($) Copyright (C) YOUR NAME HERE YEAR - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. + SPDX-License-Identifier: GPL-3.0-or-later */ #include \"includes.h\" diff --git a/tools/wireshark_be.py b/tools/wireshark_be.py index ec63ed1a7f..49d97c3a94 100755 --- a/tools/wireshark_be.py +++ b/tools/wireshark_be.py @@ -16,19 +16,7 @@ # Omniidl is part of the OmniOrb distribution, and is available at # http://omniorb.sourceforge.net # -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +# SPDX-License-Identifier: GPL-2.0-or-later # # Description: # |