coreboot-kgpe-d16/util/lint
Patrick Georgi 7333a116b3 util/: Replace GPLv2 boiler plate with SPDX header
Used commands:
perl -i -p0e 's|\/\*[\s*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-only */|' $(cat filelist)

perl -i -p0e 's|This[\s*]*program[\s*]*is[\s*]*free[\s*]*software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*either[\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License,[\s*]*or[\s*]*.at[\s*]*your[\s*]*option.*[\s*]*any[\s*]*later[\s*]*version.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-2.0-or-later */|' $(cat filelist)

perl -i -p0e 's|\/\*[\s*]*.*This[\s*#]*program[\s*#]*is[\s*#]*free[\s*#]*software[;:,][\s*#]*you[\s*#]*can[\s*#]*redistribute[\s*#]*it[\s*#]*and/or[\s*#]*modify[\s*#]*it[\s*#]*under[\s*#]*the[\s*#]*terms[\s*#]*of[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*as[\s*#]*published[\s*#]*by[\s*#]*the[\s*#]*Free[\s*#]*Software[\s*#]*Foundation[;:,][\s*#]*either[\s*#]*version[\s*#]*3[\s*#]*of[\s*#]*the[\s*#]*License[;:,][\s*#]*or[\s*#]*.at[\s*#]*your[\s*#]*option.*[\s*#]*any[\s*#]*later[\s*#]*version.[\s*#]*This[\s*#]*program[\s*#]*is[\s*#]*distributed[\s*#]*in[\s*#]*the[\s*#]*hope[\s*#]*that[\s*#]*it[\s*#]*will[\s*#]*be[\s*#]*useful[;:,][\s*#]*but[\s*#]*WITHOUT[\s*#]*ANY[\s*#]*WARRANTY[;:,][\s*#]*without[\s*#]*even[\s*#]*the[\s*#]*implied[\s*#]*warranty[\s*#]*of[\s*#]*MERCHANTABILITY[\s*#]*or[\s*#]*FITNESS[\s*#]*FOR[\s*#]*A[\s*#]*PARTICULAR[\s*#]*PURPOSE.[\s*#]*See[\s*#]*the[\s*#]*GNU[\s*#]*General[\s*#]*Public[\s*#]*License[\s*#]*for[\s*#]*more[\s*#]*details.[\s*]*\*\/|/* SPDX-License-Identifier: GPL-3.0-or-later */|' $(cat filelist)

perl -i -p0e 's|(\#\#*)[\w]*.*is free software[:;][\#\s]*you[\#\s]*can[\#\s]*redistribute[\#\s]*it[\#\s]*and\/or[\#\s]*modify[\#\s]*it[\s\#]*under[\s \#]*the[\s\#]*terms[\s\#]*of[\s\#]*the[\s\#]*GNU[\s\#]*General[\s\#]*Public[\s\#]*License[\s\#]*as[\s\#]*published[\s\#]*by[\s\#]*the[\s\#]*Free[\s\#]*Software[\s\#]*Foundation[;,][\s\#]*version[\s\#]*2[\s\#]*of[\s\#]*the[\s\#]*License.*[\s\#]*This[\s\#]*program[\s\#]*is[\s\#]*distributed[\s\#]*in[\s\#]*the[\s\#]*hope[\s\#]*that[\s\#]*it[\s\#]*will[\#\s]*be[\#\s]*useful,[\#\s]*but[\#\s]*WITHOUT[\#\s]*ANY[\#\s]*WARRANTY;[\#\s]*without[\#\s]*even[\#\s]*the[\#\s]*implied[\#\s]*warranty[\#\s]*of[\#\s]*MERCHANTABILITY[\#\s]*or[\#\s]*FITNESS[\#\s]*FOR[\#\s]*A[\#\s]*PARTICULAR[\#\s]*PURPOSE.[\#\s]*See[\#\s]*the[\#\s]*GNU[\#\s]*General[\#\s]*Public[\#\s]*License[\#\s]*for[\#\s]*more[\#\s]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)

perl -i -p0e 's|(\#\#*)[\w*]*.*is free software[:;][\s*]*you[\s*]*can[\s*]*redistribute[\s*]*it[\s*]*and\/or[\s*]*modify[\s*]*it[\s*]*under[\s*]*the[\s*]*terms[\s*]*of[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*as[\s*]*published[\s*]*by[\s*]*the[\s*]*Free[\s*]*Software[\s*]*Foundation[;,][\s*]*version[\s*]*2[\s*]*of[\s*]*the[\s*]*License.[\s*]*This[\s*]*program[\s*]*is[\s*]*distributed[\s*]*in[\s*]*the[\s*]*hope[\s*]*that[\s*]*it[\s*]*will[\s*]*be[\s*]*useful,[\s*]*but[\s*]*WITHOUT[\s*]*ANY[\s*]*WARRANTY;[\s*]*without[\s*]*even[\s*]*the[\s*]*implied[\s*]*warranty[\s*]*of[\s*]*MERCHANTABILITY[\s*]*or[\s*]*FITNESS[\s*]*FOR[\s*]*A[\s*]*PARTICULAR[\s*]*PURPOSE.[\s*]*See[\s*]*the[\s*]*GNU[\s*]*General[\s*]*Public[\s*]*License[\s*]*for[\s*]*more[\s*]*details.\s(#* *\n)*|\1 SPDX-License-Identifier: GPL-2.0-only\n\n|' $(cat filelist)

Change-Id: I1008a63b804f355a916221ac994701d7584f60ff
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41177
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2020-05-09 21:22:08 +00:00
..
check-style util/lint: use env to locate the bash binary 2020-03-04 16:14:11 +00:00
check_lint_tests lint/check_lint_tests: Fix obsolete paths 2020-03-02 15:05:32 +00:00
checkpatch.pl util/lint: Make usage of IS_ENABLED() an error 2019-06-04 13:16:16 +00:00
checkpatch_json.py util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
const_structs.checkpatch util/lint: Update checkpatch & files to upstream linux 2017-06-29 14:42:26 +00:00
description.md util: Add description.md to each util 2018-07-26 13:26:50 +00:00
kconfig_lint util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
kconfig_lint_README util/lint: Make usage of IS_ENABLED() an error 2019-06-04 13:16:16 +00:00
lint util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-000-license-headers util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-001-no-global-config-in-romstage util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-007-checkpatch util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-008-kconfig util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-014-qualified-types util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-extended-007-checkpatch util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-extended-015-final-newlines util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-extended-020-signed-off-by AUTHORS, util/: Drop individual copyright notices 2020-05-09 21:21:32 +00:00
lint-stable-000-license-headers src/arch/x86: Convert to SPDX license header 2020-03-06 07:48:24 +00:00
lint-stable-003-whitespace util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-stable-004-style-labels util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-stable-005-board-status AUTHORS, util/: Drop individual copyright notices 2020-05-09 21:21:32 +00:00
lint-stable-006-board-name AUTHORS, util/: Drop individual copyright notices 2020-05-09 21:21:32 +00:00
lint-stable-008-kconfig util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-stable-009-old-licenses util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-stable-010-asm-syntax util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-stable-012-executable-bit AUTHORS, util/: Drop individual copyright notices 2020-05-09 21:21:32 +00:00
lint-stable-013-site-local AUTHORS, util/: Drop individual copyright notices 2020-05-09 21:21:32 +00:00
lint-stable-016-non-ascii util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-stable-017-configs util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-stable-018-symlinks util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-stable-019-header-files util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-stable-021-coreboot-lowercase util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-stable-022-clang-format util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
lint-stable-023-filenames util/: Replace GPLv2 boiler plate with SPDX header 2020-05-09 21:22:08 +00:00
remccoms3.sed Remove whitespace. 2012-02-17 19:04:31 +01:00
spelling.txt util/lint/spelling.txt: Disable `afe` 2020-03-18 21:39:42 +00:00