Replace the copyright blurb in all the files using the little tic-tac-toe sign as a comment marker. Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> --- build-aux/Makefile.nonreentrant | 14 +------------- build-aux/check-spacing.pl | 14 +------------- examples/sh/virt-lxc-convert | 14 +------------- examples/systemtap/events.stp | 14 +------------- examples/systemtap/qemu-monitor.stp | 14 +------------- examples/systemtap/rpc-monitor.stp | 14 +------------- run.in | 14 +------------- scripts/augeas-gentest.py | 14 +------------- scripts/check-aclperms.py | 14 +------------- scripts/check-aclrules.py | 14 +------------- scripts/check-driverimpls.py | 14 +------------- scripts/check-drivername.py | 14 +------------- scripts/check-file-access.py | 14 +------------- scripts/check-remote-protocol.py | 14 +------------- scripts/check-symfile.py | 14 +------------- scripts/check-symsorting.py | 14 +------------- scripts/dtrace2systemtap.py | 14 +------------- scripts/esx_vi_generator.py | 14 +------------- scripts/genaclperms.py | 14 +------------- scripts/genpolkit.py | 14 +------------- scripts/gensystemtap.py | 14 +------------- scripts/group-qemu-caps.py | 14 +------------- scripts/header-ifdef.py | 14 +------------- scripts/hvsupport.py | 14 +------------- scripts/hyperv_wmi_generator.py | 14 +------------- scripts/mock-noinline.py | 14 +------------- scripts/prohibit-duplicate-header.py | 14 +------------- scripts/test-wrap-argv.py | 14 +------------- src/remote/libvirtd.policy | 14 +------------- src/rpc/gendispatch.pl | 14 +------------- src/rpc/genprotocol.pl | 14 +------------- tests/test-lib.sh | 14 +------------- tools/libvirt-guests.sh.in | 14 +------------- tools/virt-pki-validate.in | 14 +------------- tools/virt-sanlock-cleanup.in | 14 +------------- tools/wireshark/util/genxdrstub.pl | 14 +------------- 36 files changed, 36 insertions(+), 468 deletions(-) diff --git a/build-aux/Makefile.nonreentrant b/build-aux/Makefile.nonreentrant index 87bb9db20e..8a097190f2 100644 --- a/build-aux/Makefile.nonreentrant +++ b/build-aux/Makefile.nonreentrant @@ -1,18 +1,6 @@ ## Copyright (C) 2009-2010, 2013 Red Hat, Inc. ## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library 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 -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library. If not, see -## <http://www.gnu.org/licenses/>. +## SPDX-License-Identifier: LGPL-2.1-or-later # # Generated by running the following on Fedora 26: diff --git a/build-aux/check-spacing.pl b/build-aux/check-spacing.pl index 33377f3dd3..d19ff83deb 100755 --- a/build-aux/check-spacing.pl +++ b/build-aux/check-spacing.pl @@ -3,19 +3,7 @@ # check-spacing.pl: Report any usage of 'function (..args..)' # Also check for other syntax issues, such as correct use of ';' # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later use strict; use warnings; diff --git a/examples/sh/virt-lxc-convert b/examples/sh/virt-lxc-convert index d94befd7fc..c06534fb59 100644 --- a/examples/sh/virt-lxc-convert +++ b/examples/sh/virt-lxc-convert @@ -3,19 +3,7 @@ # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # handler_cleanup() diff --git a/examples/systemtap/events.stp b/examples/systemtap/events.stp index fd4fe4664d..214bf31bb7 100644 --- a/examples/systemtap/events.stp +++ b/examples/systemtap/events.stp @@ -2,19 +2,7 @@ # # Copyright (C) 2011 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # # This script will monitor all operation of the libvirt event loop diff --git a/examples/systemtap/qemu-monitor.stp b/examples/systemtap/qemu-monitor.stp index 192bac4f8e..92dbb2bed2 100644 --- a/examples/systemtap/qemu-monitor.stp +++ b/examples/systemtap/qemu-monitor.stp @@ -2,19 +2,7 @@ # # Copyright (C) 2011 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # # This script will monitor all messages sent/received between libvirt diff --git a/examples/systemtap/rpc-monitor.stp b/examples/systemtap/rpc-monitor.stp index f7db0a03aa..5cd5def0ff 100644 --- a/examples/systemtap/rpc-monitor.stp +++ b/examples/systemtap/rpc-monitor.stp @@ -2,19 +2,7 @@ # # Copyright (C) 2011 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # # This script will monitor all RPC messages going in/out of libvirtd and diff --git a/run.in b/run.in index 73bebbf805..77b9b7bad8 100644 --- a/run.in +++ b/run.in @@ -2,19 +2,7 @@ # libvirt 'run' programs locally script # Copyright (C) 2012-2013 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later #---------------------------------------------------------------------- # diff --git a/scripts/augeas-gentest.py b/scripts/augeas-gentest.py index 8976785cad..138c748e38 100755 --- a/scripts/augeas-gentest.py +++ b/scripts/augeas-gentest.py @@ -5,19 +5,7 @@ # augeas-gentest.py: Generate an augeas test file, from an # example config file + test file template # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later import re import sys diff --git a/scripts/check-aclperms.py b/scripts/check-aclperms.py index 67de0efabd..d2f6e41753 100755 --- a/scripts/check-aclperms.py +++ b/scripts/check-aclperms.py @@ -2,19 +2,7 @@ # # Copyright (C) 2013-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # This script just validates that the stringified version of # a virAccessPerm enum matches the enum constant name. We do diff --git a/scripts/check-aclrules.py b/scripts/check-aclrules.py index 2335e8cfdd..61a494925b 100755 --- a/scripts/check-aclrules.py +++ b/scripts/check-aclrules.py @@ -2,19 +2,7 @@ # # Copyright (C) 2013-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # This script validates that the driver implementation of any # public APIs contain ACL checks. diff --git a/scripts/check-driverimpls.py b/scripts/check-driverimpls.py index 8289b8051e..a9aa832683 100755 --- a/scripts/check-driverimpls.py +++ b/scripts/check-driverimpls.py @@ -2,19 +2,7 @@ # # Copyright (C) 2013-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # import re diff --git a/scripts/check-drivername.py b/scripts/check-drivername.py index 39eff836c7..76cbe5f17b 100644 --- a/scripts/check-drivername.py +++ b/scripts/check-drivername.py @@ -2,19 +2,7 @@ # # Copyright (C) 2013-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # import re diff --git a/scripts/check-file-access.py b/scripts/check-file-access.py index 2636eb4f96..280aa33362 100755 --- a/scripts/check-file-access.py +++ b/scripts/check-file-access.py @@ -2,19 +2,7 @@ # # Copyright (C) 2016-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # This script is supposed to check test_file_access.txt file and # warn about file accesses outside our working tree. diff --git a/scripts/check-remote-protocol.py b/scripts/check-remote-protocol.py index 0a6135376e..f53e8c70e9 100644 --- a/scripts/check-remote-protocol.py +++ b/scripts/check-remote-protocol.py @@ -2,19 +2,7 @@ # # Copyright (C) 2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # This uses pdwtags to check remote protocol defs # diff --git a/scripts/check-symfile.py b/scripts/check-symfile.py index 0f6e780df0..ce4168f528 100755 --- a/scripts/check-symfile.py +++ b/scripts/check-symfile.py @@ -2,19 +2,7 @@ # # Copyright (C) 2012-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later import re import subprocess diff --git a/scripts/check-symsorting.py b/scripts/check-symsorting.py index e5a69df20a..b7bea169b8 100755 --- a/scripts/check-symsorting.py +++ b/scripts/check-symsorting.py @@ -2,19 +2,7 @@ # Copyright (C) 2012-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later import os.path import re diff --git a/scripts/dtrace2systemtap.py b/scripts/dtrace2systemtap.py index 506db9c503..37c59e24c5 100755 --- a/scripts/dtrace2systemtap.py +++ b/scripts/dtrace2systemtap.py @@ -2,19 +2,7 @@ # # Copyright (C) 2011-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # # Generate a set of systemtap probe definitions corresponding to diff --git a/scripts/esx_vi_generator.py b/scripts/esx_vi_generator.py index 863c8af964..bfbc168f24 100755 --- a/scripts/esx_vi_generator.py +++ b/scripts/esx_vi_generator.py @@ -7,19 +7,7 @@ # Copyright (C) 2010-2012 Matthias Bolte <matthias.bolte@xxxxxxxxxxxxxx> # Copyright (C) 2013 Ata E Husain Bohra <ata.husain@xxxxxxxxxxx> # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # import sys diff --git a/scripts/genaclperms.py b/scripts/genaclperms.py index e228b3ef60..f68728cbf6 100755 --- a/scripts/genaclperms.py +++ b/scripts/genaclperms.py @@ -2,19 +2,7 @@ # # Copyright (C) 2013-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # import re diff --git a/scripts/genpolkit.py b/scripts/genpolkit.py index 8845ea44e0..3e3ec8f05e 100755 --- a/scripts/genpolkit.py +++ b/scripts/genpolkit.py @@ -2,19 +2,7 @@ # # Copyright (C) 2012-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # import re diff --git a/scripts/gensystemtap.py b/scripts/gensystemtap.py index ad808e3033..f0e2a2b351 100755 --- a/scripts/gensystemtap.py +++ b/scripts/gensystemtap.py @@ -2,19 +2,7 @@ # # Copyright (C) 2011-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # Generate a set of systemtap functions for translating various # RPC enum values into strings diff --git a/scripts/group-qemu-caps.py b/scripts/group-qemu-caps.py index c53ff3ff6f..12c37a1d9d 100755 --- a/scripts/group-qemu-caps.py +++ b/scripts/group-qemu-caps.py @@ -1,18 +1,6 @@ #!/usr/bin/env python3 # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # # Regroup array values into smaller groups separated by numbered comments. diff --git a/scripts/header-ifdef.py b/scripts/header-ifdef.py index e668875f18..ee4f6ab0f7 100644 --- a/scripts/header-ifdef.py +++ b/scripts/header-ifdef.py @@ -2,19 +2,7 @@ # # Copyright (C) 2018-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # Validate that header files follow a standard layout: # diff --git a/scripts/hvsupport.py b/scripts/hvsupport.py index 14c41da348..0f99837507 100755 --- a/scripts/hvsupport.py +++ b/scripts/hvsupport.py @@ -2,19 +2,7 @@ # # Copyright (C) 2011-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later import sys import os.path diff --git a/scripts/hyperv_wmi_generator.py b/scripts/hyperv_wmi_generator.py index ac03cf526f..137b629649 100755 --- a/scripts/hyperv_wmi_generator.py +++ b/scripts/hyperv_wmi_generator.py @@ -5,19 +5,7 @@ # # Copyright (C) 2011 Matthias Bolte <matthias.bolte@xxxxxxxxxxxxxx> # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # import sys diff --git a/scripts/mock-noinline.py b/scripts/mock-noinline.py index a8b7680c11..4d089cf2df 100644 --- a/scripts/mock-noinline.py +++ b/scripts/mock-noinline.py @@ -2,19 +2,7 @@ # # Copyright (C) 2017-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later import re import sys diff --git a/scripts/prohibit-duplicate-header.py b/scripts/prohibit-duplicate-header.py index 33a91ddbc5..b5f23122e7 100644 --- a/scripts/prohibit-duplicate-header.py +++ b/scripts/prohibit-duplicate-header.py @@ -2,19 +2,7 @@ # # Copyright (C) 2016-2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later import re import sys diff --git a/scripts/test-wrap-argv.py b/scripts/test-wrap-argv.py index 4193e6b68d..c4cbcfceca 100755 --- a/scripts/test-wrap-argv.py +++ b/scripts/test-wrap-argv.py @@ -2,19 +2,7 @@ # # Copyright (C) 2019 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # This script is intended to be passed a list of .args files, used # to store command line ARGV for the test suites. It will reformat diff --git a/src/remote/libvirtd.policy b/src/remote/libvirtd.policy index e834d24327..9326b9a3e8 100644 --- a/src/remote/libvirtd.policy +++ b/src/remote/libvirtd.policy @@ -9,19 +9,7 @@ Policy definitions for libvirt daemon Copyright (C) 2012 Red Hat, Inc. Copyright (C) 2007 Daniel P. Berrange <berrange redhat com> -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public -License as published by the Free Software Foundation; either -version 2.1 of the License, or (at your option) any later version. - -This library 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 -Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public -License along with this library. If not, see -<http://www.gnu.org/licenses/>. + SPDX-License-Identifier: LGPL-2.1-or-later --> <policyconfig> diff --git a/src/rpc/gendispatch.pl b/src/rpc/gendispatch.pl index 0b2ae59910..c205677e8c 100755 --- a/src/rpc/gendispatch.pl +++ b/src/rpc/gendispatch.pl @@ -2,19 +2,7 @@ # # Copyright (C) 2010-2015 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # This script parses remote_protocol.x or qemu_protocol.x and produces lots of # boilerplate code for both ends of the remote connection. diff --git a/src/rpc/genprotocol.pl b/src/rpc/genprotocol.pl index f567260588..cb988ac565 100755 --- a/src/rpc/genprotocol.pl +++ b/src/rpc/genprotocol.pl @@ -11,19 +11,7 @@ # # Copyright (C) 2007, 2011-2013 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # Richard Jones <rjones@xxxxxxxxxx> diff --git a/tests/test-lib.sh b/tests/test-lib.sh index c19005a371..079b3d5e91 100644 --- a/tests/test-lib.sh +++ b/tests/test-lib.sh @@ -2,19 +2,7 @@ # Copyright (C) 2008-2013, 2016 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # Based on an idea from GNU coreutils diff --git a/tools/libvirt-guests.sh.in b/tools/libvirt-guests.sh.in index 534c4d5e0f..80e90c1f09 100644 --- a/tools/libvirt-guests.sh.in +++ b/tools/libvirt-guests.sh.in @@ -2,19 +2,7 @@ # Copyright (C) 2011-2014 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later sysconfdir="@sysconfdir@" localstatedir="@localstatedir@" diff --git a/tools/virt-pki-validate.in b/tools/virt-pki-validate.in index 2f7404bd94..930f62a775 100644 --- a/tools/virt-pki-validate.in +++ b/tools/virt-pki-validate.in @@ -6,19 +6,7 @@ # # Copyright (C) 2009-2013 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # Daniel Veillard <veillard@xxxxxxxxxx> # diff --git a/tools/virt-sanlock-cleanup.in b/tools/virt-sanlock-cleanup.in index 6551b0476f..62419e0d49 100644 --- a/tools/virt-sanlock-cleanup.in +++ b/tools/virt-sanlock-cleanup.in @@ -5,19 +5,7 @@ # Copyright (C) 2011, 2013 Red Hat, Inc. # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later verbose=1 if test "x$1" = "x-q" ; then diff --git a/tools/wireshark/util/genxdrstub.pl b/tools/wireshark/util/genxdrstub.pl index 8adbebdbab..02ee258972 100755 --- a/tools/wireshark/util/genxdrstub.pl +++ b/tools/wireshark/util/genxdrstub.pl @@ -3,19 +3,7 @@ # # Copyright (C) 2013 Yuto KAWAMURA(kawamuray) <kawamuray.dadada@xxxxxxxxx> # -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library 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 -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library. If not, see -# <http://www.gnu.org/licenses/>. +# SPDX-License-Identifier: LGPL-2.1-or-later # # # For XDR syntax, see http://tools.ietf.org/html/rfc4506#section-6.3 -- 2.26.2