From 5d2c3bcb989781366668b604e779d9081bcaf49a Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Fri, 20 Dec 2024 02:49:33 +0100 Subject: [PATCH 1/9] inertial: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea --- inertial/CMakeLists.txt | 2 ++ inertial/Make.defs | 2 ++ inertial/Makefile | 2 ++ inertial/madgwick/Make.defs | 2 ++ inertial/madgwick/Makefile | 2 ++ 5 files changed, 10 insertions(+) diff --git a/inertial/CMakeLists.txt b/inertial/CMakeLists.txt index fb213b9eebc..66cfc9e2738 100644 --- a/inertial/CMakeLists.txt +++ b/inertial/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/inertial/CMakeLists.txt # +# SPDX-License-Identifier: BSD-3-Clause +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/inertial/Make.defs b/inertial/Make.defs index 03113ac85de..d19af339753 100644 --- a/inertial/Make.defs +++ b/inertial/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/inertial/Make.defs # +# SPDX-License-Identifier: BSD-3-Clause +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/inertial/Makefile b/inertial/Makefile index e05b10cd28d..e12c1d62347 100644 --- a/inertial/Makefile +++ b/inertial/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/inertial/Makefile # +# SPDX-License-Identifier: BSD-3-Clause +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/inertial/madgwick/Make.defs b/inertial/madgwick/Make.defs index 814fb83af50..e16d25d84eb 100644 --- a/inertial/madgwick/Make.defs +++ b/inertial/madgwick/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/inertial/madgwick/Make.defs # +# SPDX-License-Identifier: BSD-3-Clause +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/inertial/madgwick/Makefile b/inertial/madgwick/Makefile index 936d28219f8..38dac5227b1 100644 --- a/inertial/madgwick/Makefile +++ b/inertial/madgwick/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/inertial/madgwick/Makefile # +# SPDX-License-Identifier: BSD-3-Clause +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The From 968cba8630f43fada69f76ceb8b454e070631214 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Fri, 20 Dec 2024 03:49:25 +0100 Subject: [PATCH 2/9] interpreters: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea --- interpreters/CMakeLists.txt | 2 + interpreters/Make.defs | 2 + interpreters/Makefile | 2 + interpreters/bas/CMakeLists.txt | 2 + interpreters/bas/Make.defs | 2 + interpreters/bas/Makefile | 2 + interpreters/bas/bas.c | 3 +- interpreters/bas/bas.h | 3 +- interpreters/bas/bas_auto.c | 4 +- interpreters/bas/bas_auto.h | 3 +- interpreters/bas/bas_autotypes.h | 3 +- interpreters/bas/bas_error.h | 3 +- interpreters/bas/bas_fs.c | 4 +- interpreters/bas/bas_fs.h | 3 +- interpreters/bas/bas_global.c | 4 +- interpreters/bas/bas_global.h | 3 +- interpreters/bas/bas_main.c | 3 +- interpreters/bas/bas_program.c | 4 +- interpreters/bas/bas_program.h | 3 +- interpreters/bas/bas_programtypes.h | 3 +- interpreters/bas/bas_statement.c | 3 +- interpreters/bas/bas_statement.h | 3 +- interpreters/bas/bas_str.c | 4 +- interpreters/bas/bas_str.h | 3 +- interpreters/bas/bas_token.c | 21 ++++++++ interpreters/bas/bas_token.h | 3 +- interpreters/bas/bas_token.l | 22 ++++++++ interpreters/bas/bas_value.c | 3 +- interpreters/bas/bas_value.h | 3 +- interpreters/bas/bas_var.c | 3 +- interpreters/bas/bas_var.h | 3 +- interpreters/bas/bas_vt100.c | 2 + interpreters/bas/bas_vt100.h | 2 + interpreters/duktape/Make.defs | 2 + interpreters/duktape/Makefile | 2 + interpreters/ficl/Make.defs | 2 + interpreters/ficl/Makefile | 2 + interpreters/ficl/configure.sh | 22 ++++++++ interpreters/ficl/src/nuttx.c | 50 ++++++++----------- interpreters/ficl/src/nuttx.h | 2 + interpreters/lua/CMakeLists.txt | 2 + interpreters/lua/Make.defs | 2 + interpreters/lua/Makefile | 2 + interpreters/lua/Module.mk | 2 + interpreters/lua/nuttx_linit.c | 2 + .../luajit/0001-luajit-armv7m-nuttx.patch | 6 +-- interpreters/luajit/Make.defs | 2 + interpreters/luajit/Makefile | 2 + interpreters/luamodules/CMakeLists.txt | 2 + interpreters/luamodules/Make.defs | 2 + interpreters/luamodules/Makefile | 2 + interpreters/luamodules/cjson/Make.defs | 2 + interpreters/luamodules/cjson/Makefile | 2 + interpreters/luamodules/lfs/Make.defs | 2 + interpreters/luamodules/lfs/Makefile | 2 + .../luamodules/luasyslog/CMakeLists.txt | 2 + interpreters/luamodules/luasyslog/Make.defs | 2 + interpreters/luamodules/luasyslog/Makefile | 2 + interpreters/luamodules/luv/Make.defs | 2 + interpreters/luamodules/luv/Makefile | 2 + interpreters/minibasic/CMakeLists.txt | 2 + interpreters/minibasic/Make.defs | 2 + interpreters/minibasic/Makefile | 2 + interpreters/minibasic/basic.c | 50 ++++++++----------- interpreters/minibasic/script.c | 49 ++++++++---------- interpreters/python/Make.defs | 2 + interpreters/python/Makefile | 2 + interpreters/python/mount_modules.c | 2 + interpreters/quickjs/CMakeLists.txt | 2 + interpreters/quickjs/Make.defs | 2 + interpreters/quickjs/Makefile | 2 + interpreters/quickjs/qjsmini.c | 2 + interpreters/toywasm/Make.defs | 2 + interpreters/toywasm/Makefile | 2 + interpreters/toywasm/include/toywasm_config.h | 2 + .../toywasm/include/toywasm_version.h | 2 + interpreters/toywasm/regen.sh | 21 ++++++++ interpreters/toywasm/src/toywasm_config.c | 2 + interpreters/toywasm/tmpl/c-sections.in | 20 ++++++++ interpreters/toywasm/tmpl/license.in | 2 +- interpreters/wamr/CMakeLists.txt | 2 + interpreters/wamr/Make.defs | 2 + interpreters/wamr/Makefile | 2 + interpreters/wamr/Module.mk | 2 + interpreters/wamr/Toolchain.defs | 2 + interpreters/wamr/wamr_custom_init.c | 2 + interpreters/wasm3/Make.defs | 2 + interpreters/wasm3/Makefile | 2 + 88 files changed, 328 insertions(+), 119 deletions(-) diff --git a/interpreters/CMakeLists.txt b/interpreters/CMakeLists.txt index 3141c68123f..94592ab058a 100644 --- a/interpreters/CMakeLists.txt +++ b/interpreters/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/interpreters/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/interpreters/Make.defs b/interpreters/Make.defs index 0ead58c3b37..64c220bbd47 100644 --- a/interpreters/Make.defs +++ b/interpreters/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/Makefile b/interpreters/Makefile index ec2e50c1cfb..63f027808ca 100644 --- a/interpreters/Makefile +++ b/interpreters/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/bas/CMakeLists.txt b/interpreters/bas/CMakeLists.txt index 18aa8cfc259..86219418a90 100644 --- a/interpreters/bas/CMakeLists.txt +++ b/interpreters/bas/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/interpreters/bas/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/interpreters/bas/Make.defs b/interpreters/bas/Make.defs index 6cf5db783c4..e17fec9a6c3 100644 --- a/interpreters/bas/Make.defs +++ b/interpreters/bas/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/bas/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/bas/Makefile b/interpreters/bas/Makefile index 55edb4d70d7..332cb17dfde 100644 --- a/interpreters/bas/Makefile +++ b/interpreters/bas/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/bas/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/bas/bas.c b/interpreters/bas/bas.c index 46a5c85df61..3ccaea3b9d8 100644 --- a/interpreters/bas/bas.c +++ b/interpreters/bas/bas.c @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas.c * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas.h b/interpreters/bas/bas.h index 4373ad7ad66..eb4890d5066 100644 --- a/interpreters/bas/bas.h +++ b/interpreters/bas/bas.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas.h * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_auto.c b/interpreters/bas/bas_auto.c index 13f4222a088..25d14a6cd92 100644 --- a/interpreters/bas/bas_auto.c +++ b/interpreters/bas/bas_auto.c @@ -1,8 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_auto.c - * BASIC file system interface. * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_auto.h b/interpreters/bas/bas_auto.h index d608a575fb1..4aaa6878b55 100644 --- a/interpreters/bas/bas_auto.h +++ b/interpreters/bas/bas_auto.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_auto.h * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_autotypes.h b/interpreters/bas/bas_autotypes.h index ac08d144fc9..b1dd547b910 100644 --- a/interpreters/bas/bas_autotypes.h +++ b/interpreters/bas/bas_autotypes.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_autotypes.h * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_error.h b/interpreters/bas/bas_error.h index 0d2697aeb46..58fe4dd2ddd 100644 --- a/interpreters/bas/bas_error.h +++ b/interpreters/bas/bas_error.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_error.h * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_fs.c b/interpreters/bas/bas_fs.c index 1d0863bbe9e..199f41bb94d 100644 --- a/interpreters/bas/bas_fs.c +++ b/interpreters/bas/bas_fs.c @@ -1,8 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_fs.c - * BASIC file system interface. * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_fs.h b/interpreters/bas/bas_fs.h index 54ffb22e5db..38ddb155305 100644 --- a/interpreters/bas/bas_fs.h +++ b/interpreters/bas/bas_fs.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_fs.h * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_global.c b/interpreters/bas/bas_global.c index ef5b682cd29..480ac47db52 100644 --- a/interpreters/bas/bas_global.c +++ b/interpreters/bas/bas_global.c @@ -1,8 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_global.c - * Global variables and functions. * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_global.h b/interpreters/bas/bas_global.h index 197c51bc6f5..f51aae78dd9 100644 --- a/interpreters/bas/bas_global.h +++ b/interpreters/bas/bas_global.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_global.h * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_main.c b/interpreters/bas/bas_main.c index 986ac1d2f33..4bb2d0f12de 100644 --- a/interpreters/bas/bas_main.c +++ b/interpreters/bas/bas_main.c @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_main.c * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_program.c b/interpreters/bas/bas_program.c index 51fda65bd1c..4d281da630b 100644 --- a/interpreters/bas/bas_program.c +++ b/interpreters/bas/bas_program.c @@ -1,8 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_program.c - * Program storage. * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_program.h b/interpreters/bas/bas_program.h index 3243e1023b4..712918af927 100644 --- a/interpreters/bas/bas_program.h +++ b/interpreters/bas/bas_program.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_program.h * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_programtypes.h b/interpreters/bas/bas_programtypes.h index 9174f6595ed..d328f58193e 100644 --- a/interpreters/bas/bas_programtypes.h +++ b/interpreters/bas/bas_programtypes.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_programtypes.h * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_statement.c b/interpreters/bas/bas_statement.c index 5172bdfb3ab..b95a38a3c08 100644 --- a/interpreters/bas/bas_statement.c +++ b/interpreters/bas/bas_statement.c @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_statement.c * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_statement.h b/interpreters/bas/bas_statement.h index 3421aab14c3..5b1fe9fcd48 100644 --- a/interpreters/bas/bas_statement.h +++ b/interpreters/bas/bas_statement.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/statement.h * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_str.c b/interpreters/bas/bas_str.c index 421a10e7989..1c68982dd0a 100644 --- a/interpreters/bas/bas_str.c +++ b/interpreters/bas/bas_str.c @@ -1,8 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_str.c - * Dynamic strings. * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_str.h b/interpreters/bas/bas_str.h index c9a49395a09..e70fe8711b0 100644 --- a/interpreters/bas/bas_str.h +++ b/interpreters/bas/bas_str.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_str.h * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_token.c b/interpreters/bas/bas_token.c index 51448a01845..f4c2fbd2663 100644 --- a/interpreters/bas/bas_token.c +++ b/interpreters/bas/bas_token.c @@ -1,3 +1,24 @@ +/**************************************************************************** + * apps/interpreters/bas/bas_token.c + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ #line 3 "" diff --git a/interpreters/bas/bas_token.h b/interpreters/bas/bas_token.h index ffe3fc4cd3b..7cb15d3a3f9 100644 --- a/interpreters/bas/bas_token.h +++ b/interpreters/bas/bas_token.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_token.h * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_token.l b/interpreters/bas/bas_token.l index d68fb900a1e..131544262e0 100644 --- a/interpreters/bas/bas_token.l +++ b/interpreters/bas/bas_token.l @@ -1,3 +1,25 @@ +/**************************************************************************** + * apps/interpreters/bas/bas_token.l + * + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + /* Tokens and token sequence arrays. */ %{ #include diff --git a/interpreters/bas/bas_value.c b/interpreters/bas/bas_value.c index 901eb55beab..3c99281d029 100644 --- a/interpreters/bas/bas_value.c +++ b/interpreters/bas/bas_value.c @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_value.c * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_value.h b/interpreters/bas/bas_value.h index c60037c09a7..5a428bd5d21 100644 --- a/interpreters/bas/bas_value.h +++ b/interpreters/bas/bas_value.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_value.h * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_var.c b/interpreters/bas/bas_var.c index a5cf9fe0f8e..1e26dca222f 100644 --- a/interpreters/bas/bas_var.c +++ b/interpreters/bas/bas_var.c @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_var.c * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_var.h b/interpreters/bas/bas_var.h index 022d1422b85..1f5f0444bb5 100644 --- a/interpreters/bas/bas_var.h +++ b/interpreters/bas/bas_var.h @@ -1,7 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_var.h * - * Copyright (c) 1999-2014 Michael Haardt + * SPDX-License-Identifier: MIT + * SPDX-FileCopyrightText: 1999-2014 Michael Haardt * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), diff --git a/interpreters/bas/bas_vt100.c b/interpreters/bas/bas_vt100.c index ebdd60b54f4..84410232d68 100644 --- a/interpreters/bas/bas_vt100.c +++ b/interpreters/bas/bas_vt100.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_vt100.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/interpreters/bas/bas_vt100.h b/interpreters/bas/bas_vt100.h index 45ade3d26b4..fc7b5d2c56e 100644 --- a/interpreters/bas/bas_vt100.h +++ b/interpreters/bas/bas_vt100.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/interpreters/bas/bas_vt100.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/interpreters/duktape/Make.defs b/interpreters/duktape/Make.defs index b9d4fbfd623..e0627acf7b5 100644 --- a/interpreters/duktape/Make.defs +++ b/interpreters/duktape/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/duktape/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/duktape/Makefile b/interpreters/duktape/Makefile index 37dacaaa4b5..c6a0a621e8d 100644 --- a/interpreters/duktape/Makefile +++ b/interpreters/duktape/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/duktape/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/ficl/Make.defs b/interpreters/ficl/Make.defs index fb76bd5a47c..95cbe50b95a 100644 --- a/interpreters/ficl/Make.defs +++ b/interpreters/ficl/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/ficl/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/ficl/Makefile b/interpreters/ficl/Makefile index 6b3308c6fbc..46d058e1346 100644 --- a/interpreters/ficl/Makefile +++ b/interpreters/ficl/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/ficl/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/ficl/configure.sh b/interpreters/ficl/configure.sh index d84e0d4fc21..d7e232d3abc 100755 --- a/interpreters/ficl/configure.sh +++ b/interpreters/ficl/configure.sh @@ -1,4 +1,26 @@ #!/usr/bin/env bash +############################################################################ +# apps/interpreters/ficl/configure.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +############################################################################ + USAGE="$0 " diff --git a/interpreters/ficl/src/nuttx.c b/interpreters/ficl/src/nuttx.c index 5d01b8c8427..86cc1712b49 100644 --- a/interpreters/ficl/src/nuttx.c +++ b/interpreters/ficl/src/nuttx.c @@ -1,39 +1,31 @@ /**************************************************************************** * apps/interpreters/ficl/src/nuttx.c * - * Copyright (C) 2016 Gregory Nutt. All rights reserved. + * SPDX-License-Identifier: Apache-2.0 * - * This file was taken from Mini Basic, versino 1.0 developed by Malcolm - * McLean, Leeds University. Mini Basic version 1.0 was released the - * Creative Commons Attribution license which, from my reading, appears to - * be compatible with the NuttX BSD-style license: + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: + * http://www.apache.org/licenses/LICENSE-2.0 * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. 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. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * - * 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. + ***************************************************************************/ + +/**************************************************************************** + * + * This file was taken from Mini Basic, versino 1.0 developed by Malcolm + * McLean, Leeds University. Mini Basic version 1.0 was released the + * Creative Commons Attribution license which, from my reading, appears to + * be compatible with the NuttX license. * ****************************************************************************/ diff --git a/interpreters/ficl/src/nuttx.h b/interpreters/ficl/src/nuttx.h index 87887e757d3..d1b94a17021 100644 --- a/interpreters/ficl/src/nuttx.h +++ b/interpreters/ficl/src/nuttx.h @@ -1,6 +1,8 @@ /*************************************************************************** * apps/interpreters/ficl/src/nuttx.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/interpreters/lua/CMakeLists.txt b/interpreters/lua/CMakeLists.txt index ace2c604b8c..8083a605d8a 100644 --- a/interpreters/lua/CMakeLists.txt +++ b/interpreters/lua/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/interpreters/lua/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/interpreters/lua/Make.defs b/interpreters/lua/Make.defs index 52f0b68df5e..a0cf323abbd 100644 --- a/interpreters/lua/Make.defs +++ b/interpreters/lua/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/lua/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/lua/Makefile b/interpreters/lua/Makefile index 6f9dbfceead..86e446667e7 100644 --- a/interpreters/lua/Makefile +++ b/interpreters/lua/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/lua/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/lua/Module.mk b/interpreters/lua/Module.mk index 675ef51bd4d..52e9023c0db 100644 --- a/interpreters/lua/Module.mk +++ b/interpreters/lua/Module.mk @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/lua/Module.mk # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/lua/nuttx_linit.c b/interpreters/lua/nuttx_linit.c index c15b1ab8c15..3e47a9c9992 100644 --- a/interpreters/lua/nuttx_linit.c +++ b/interpreters/lua/nuttx_linit.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/interpreters/lua/nuttx_linit.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/interpreters/luajit/0001-luajit-armv7m-nuttx.patch b/interpreters/luajit/0001-luajit-armv7m-nuttx.patch index fda4d75059b..d6c20879ef1 100644 --- a/interpreters/luajit/0001-luajit-armv7m-nuttx.patch +++ b/interpreters/luajit/0001-luajit-armv7m-nuttx.patch @@ -18,9 +18,9 @@ index 00000000..8f94ba40 +++ b/dynasm/dasm_armv7m.h @@ -0,0 +1,563 @@ +/* -+** DynASM ARM encoding engine. -+** Copyright (C) 2018 Jernej Turnsek. All rights reserved. -+** Copyright (C) 2005-2017 Mike Pall. All rights reserved. ++** SPDX-License-Identifier: MIT ++** SPDX-FileCopyrightText: 2018 Jernej Turnsek. All rights reserved. ++** SPDX-FileCopyrightText: 2005-2017 Mike Pall. All rights reserved. +** Released under the MIT license. See dynasm.lua for full copyright notice. +*/ + diff --git a/interpreters/luajit/Make.defs b/interpreters/luajit/Make.defs index 066d3922fff..c9957001c65 100644 --- a/interpreters/luajit/Make.defs +++ b/interpreters/luajit/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/luajit/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/luajit/Makefile b/interpreters/luajit/Makefile index 778d0ed4a44..1d7f2dfb4f5 100644 --- a/interpreters/luajit/Makefile +++ b/interpreters/luajit/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/luajit/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/luamodules/CMakeLists.txt b/interpreters/luamodules/CMakeLists.txt index 92f6b8d5f21..9ac42149c8d 100644 --- a/interpreters/luamodules/CMakeLists.txt +++ b/interpreters/luamodules/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/interpreters/luamodules/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/interpreters/luamodules/Make.defs b/interpreters/luamodules/Make.defs index 224a325c5f7..1dd614d1334 100644 --- a/interpreters/luamodules/Make.defs +++ b/interpreters/luamodules/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/luamodules/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/luamodules/Makefile b/interpreters/luamodules/Makefile index 2943f21ea22..b18df0fb3b8 100644 --- a/interpreters/luamodules/Makefile +++ b/interpreters/luamodules/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/luamodules/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/luamodules/cjson/Make.defs b/interpreters/luamodules/cjson/Make.defs index ef9e639c22a..863ba0ba418 100644 --- a/interpreters/luamodules/cjson/Make.defs +++ b/interpreters/luamodules/cjson/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/luamodules/cjson/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/luamodules/cjson/Makefile b/interpreters/luamodules/cjson/Makefile index 2fd7411574e..f9986df4d35 100644 --- a/interpreters/luamodules/cjson/Makefile +++ b/interpreters/luamodules/cjson/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/luamodules/cjson/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/luamodules/lfs/Make.defs b/interpreters/luamodules/lfs/Make.defs index 868d80cdd56..0ce0cadffc4 100644 --- a/interpreters/luamodules/lfs/Make.defs +++ b/interpreters/luamodules/lfs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/luamodules/lfs/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/luamodules/lfs/Makefile b/interpreters/luamodules/lfs/Makefile index 2987ff3c244..f41313aac29 100644 --- a/interpreters/luamodules/lfs/Makefile +++ b/interpreters/luamodules/lfs/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/luamodules/lfs/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/luamodules/luasyslog/CMakeLists.txt b/interpreters/luamodules/luasyslog/CMakeLists.txt index 9f6bf0b0ad3..6f1fc2e1186 100644 --- a/interpreters/luamodules/luasyslog/CMakeLists.txt +++ b/interpreters/luamodules/luasyslog/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/interpreters/luamodules/luasyslog/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/interpreters/luamodules/luasyslog/Make.defs b/interpreters/luamodules/luasyslog/Make.defs index 6b1d990788b..7861da2e2bc 100644 --- a/interpreters/luamodules/luasyslog/Make.defs +++ b/interpreters/luamodules/luasyslog/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/luamodules/luasyslog/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/luamodules/luasyslog/Makefile b/interpreters/luamodules/luasyslog/Makefile index 52f188d3520..2421472f81d 100644 --- a/interpreters/luamodules/luasyslog/Makefile +++ b/interpreters/luamodules/luasyslog/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/luamodules/luasyslog/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/luamodules/luv/Make.defs b/interpreters/luamodules/luv/Make.defs index c1af97de20d..2f1a4ae5015 100644 --- a/interpreters/luamodules/luv/Make.defs +++ b/interpreters/luamodules/luv/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/luamodules/luv/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/luamodules/luv/Makefile b/interpreters/luamodules/luv/Makefile index 9eb0111639d..8f4c2535706 100644 --- a/interpreters/luamodules/luv/Makefile +++ b/interpreters/luamodules/luv/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/luamodules/luv/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/minibasic/CMakeLists.txt b/interpreters/minibasic/CMakeLists.txt index cead0f358c1..7c1e1401dff 100644 --- a/interpreters/minibasic/CMakeLists.txt +++ b/interpreters/minibasic/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/interpreters/minibasic/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/interpreters/minibasic/Make.defs b/interpreters/minibasic/Make.defs index da9cb2bfe3c..518bfb561ea 100644 --- a/interpreters/minibasic/Make.defs +++ b/interpreters/minibasic/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/minibasic/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/minibasic/Makefile b/interpreters/minibasic/Makefile index ced37e10055..40f59775013 100644 --- a/interpreters/minibasic/Makefile +++ b/interpreters/minibasic/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/minibasic/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/minibasic/basic.c b/interpreters/minibasic/basic.c index 8a3a404a4e4..791463a304f 100644 --- a/interpreters/minibasic/basic.c +++ b/interpreters/minibasic/basic.c @@ -1,39 +1,31 @@ /**************************************************************************** * apps/interpreters/minibasic/basic.c * - * Copyright (C) 2016 Gregory Nutt. All rights reserved. + * SPDX-License-Identifier: Apache-2.0 * - * This file was taken from Mini Basic, versino 1.0 developed by Malcolm - * McLean, Leeds University. Mini Basic version 1.0 was released the - * Creative Commons Attribution license which, from my reading, appears to - * be compatible with the NuttX BSD-style license: + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: + * http://www.apache.org/licenses/LICENSE-2.0 * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. 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. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +/**************************************************************************** * - * 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. + * This file was taken from Mini Basic, versino 1.0 developed by Malcolm + * McLean, Leeds University. Mini Basic version 1.0 was released the + * Creative Commons Attribution license which, from my reading, appears to + * be compatible with the NuttX license: * ****************************************************************************/ diff --git a/interpreters/minibasic/script.c b/interpreters/minibasic/script.c index 1710433b670..af3b668f935 100644 --- a/interpreters/minibasic/script.c +++ b/interpreters/minibasic/script.c @@ -1,41 +1,32 @@ /**************************************************************************** * apps/interpreters/minibasic/script.c - * Driver file for MiniBasic. * - * Copyright (C) 2016 Gregory Nutt. All rights reserved. + * SPDX-License-Identifier: Apache-2.0 + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +/**************************************************************************** * * This file was taken from Mini Basic, versino 1.0 developed by Malcolm * McLean, Leeds University. Mini Basic version 1.0 was released the * Creative Commons Attribution license which, from my reading, appears to * be compatible with the NuttX BSD-style license: * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. 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. - * 3. Neither the name NuttX 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. - * ****************************************************************************/ /**************************************************************************** diff --git a/interpreters/python/Make.defs b/interpreters/python/Make.defs index a1aecbdb4bc..39472e7a1c5 100644 --- a/interpreters/python/Make.defs +++ b/interpreters/python/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/python/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/python/Makefile b/interpreters/python/Makefile index e3cda75dfef..4b6c42eac39 100644 --- a/interpreters/python/Makefile +++ b/interpreters/python/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/python/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/python/mount_modules.c b/interpreters/python/mount_modules.c index 89a7bc377a5..681031579c4 100644 --- a/interpreters/python/mount_modules.c +++ b/interpreters/python/mount_modules.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/interpreters/python/mount_modules.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/interpreters/quickjs/CMakeLists.txt b/interpreters/quickjs/CMakeLists.txt index eae0b3763bc..38c4b26e8f4 100644 --- a/interpreters/quickjs/CMakeLists.txt +++ b/interpreters/quickjs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/interpreters/quickjs/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/interpreters/quickjs/Make.defs b/interpreters/quickjs/Make.defs index d08b683fadb..8a39b85239b 100644 --- a/interpreters/quickjs/Make.defs +++ b/interpreters/quickjs/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/quickjs/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/quickjs/Makefile b/interpreters/quickjs/Makefile index 52d38c5c752..fb522ebcbf0 100644 --- a/interpreters/quickjs/Makefile +++ b/interpreters/quickjs/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/quickjs/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/quickjs/qjsmini.c b/interpreters/quickjs/qjsmini.c index 18957f93954..d7932b81cb1 100644 --- a/interpreters/quickjs/qjsmini.c +++ b/interpreters/quickjs/qjsmini.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/interpreters/quickjs/qjsmini.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/interpreters/toywasm/Make.defs b/interpreters/toywasm/Make.defs index 70dcf9673ad..08f1857c56f 100644 --- a/interpreters/toywasm/Make.defs +++ b/interpreters/toywasm/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/toywasm/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/toywasm/Makefile b/interpreters/toywasm/Makefile index 4ed98d4c666..6a012b808be 100644 --- a/interpreters/toywasm/Makefile +++ b/interpreters/toywasm/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/toywasm/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/toywasm/include/toywasm_config.h b/interpreters/toywasm/include/toywasm_config.h index 26db93dabe2..022a0fa588e 100644 --- a/interpreters/toywasm/include/toywasm_config.h +++ b/interpreters/toywasm/include/toywasm_config.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/interpreters/toywasm/include/toywasm_config.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/interpreters/toywasm/include/toywasm_version.h b/interpreters/toywasm/include/toywasm_version.h index d3d3025927b..903f6778fe4 100644 --- a/interpreters/toywasm/include/toywasm_version.h +++ b/interpreters/toywasm/include/toywasm_version.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/interpreters/toywasm/include/toywasm_version.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/interpreters/toywasm/regen.sh b/interpreters/toywasm/regen.sh index 091484cd087..927666be6ee 100755 --- a/interpreters/toywasm/regen.sh +++ b/interpreters/toywasm/regen.sh @@ -1,4 +1,25 @@ #! /bin/sh +############################################################################ +# apps/interpreters/toywasm/regen.sh +# +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +# +############################################################################ # A script to generate a few files for nuttx-apps build. diff --git a/interpreters/toywasm/src/toywasm_config.c b/interpreters/toywasm/src/toywasm_config.c index 0f89af96470..2877e824cbe 100644 --- a/interpreters/toywasm/src/toywasm_config.c +++ b/interpreters/toywasm/src/toywasm_config.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/interpreters/toywasm/src/toywasm_config.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/interpreters/toywasm/tmpl/c-sections.in b/interpreters/toywasm/tmpl/c-sections.in index 46a3315126d..723a3f7b4a6 100644 --- a/interpreters/toywasm/tmpl/c-sections.in +++ b/interpreters/toywasm/tmpl/c-sections.in @@ -1,3 +1,23 @@ +/**************************************************************************** + * apps/interpreters/toywasm/tmpl/c-sections.in + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + /**************************************************************************** * Private Functions ****************************************************************************/ diff --git a/interpreters/toywasm/tmpl/license.in b/interpreters/toywasm/tmpl/license.in index 90da07e105a..97d002a8452 100644 --- a/interpreters/toywasm/tmpl/license.in +++ b/interpreters/toywasm/tmpl/license.in @@ -1,5 +1,5 @@ /**************************************************************************** - * apps/interpreters/toywasm/FILENAME + * apps/interpreters/toywasm/tmpl/license.in * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with diff --git a/interpreters/wamr/CMakeLists.txt b/interpreters/wamr/CMakeLists.txt index 827f13af0ff..f155e61bfc0 100644 --- a/interpreters/wamr/CMakeLists.txt +++ b/interpreters/wamr/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/interpreters/wamr/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/interpreters/wamr/Make.defs b/interpreters/wamr/Make.defs index 0c53a3614e0..a7e45544b73 100644 --- a/interpreters/wamr/Make.defs +++ b/interpreters/wamr/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/wamr/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/wamr/Makefile b/interpreters/wamr/Makefile index f52d5adaaf9..4e78fa7bdfa 100644 --- a/interpreters/wamr/Makefile +++ b/interpreters/wamr/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/wamr/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/wamr/Module.mk b/interpreters/wamr/Module.mk index b30eb6c8775..4e7de6334d6 100644 --- a/interpreters/wamr/Module.mk +++ b/interpreters/wamr/Module.mk @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/wamr/Module.mk # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/wamr/Toolchain.defs b/interpreters/wamr/Toolchain.defs index 98a84861898..c0a6c5b362f 100644 --- a/interpreters/wamr/Toolchain.defs +++ b/interpreters/wamr/Toolchain.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/wamr/Toolchain.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/wamr/wamr_custom_init.c b/interpreters/wamr/wamr_custom_init.c index 1c4dd430368..9c895e0a227 100644 --- a/interpreters/wamr/wamr_custom_init.c +++ b/interpreters/wamr/wamr_custom_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/interpreters/wamr/wamr_custom_init.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/interpreters/wasm3/Make.defs b/interpreters/wasm3/Make.defs index db0e96c8cfb..a78510e7a45 100644 --- a/interpreters/wasm3/Make.defs +++ b/interpreters/wasm3/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/wasm3/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/interpreters/wasm3/Makefile b/interpreters/wasm3/Makefile index eeb9aa3d404..2c87f998889 100644 --- a/interpreters/wasm3/Makefile +++ b/interpreters/wasm3/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/interpreters/wasm3/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The From 3cae5cf8eee61095448ea258db1939aca3720eac Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Fri, 20 Dec 2024 04:11:06 +0100 Subject: [PATCH 3/9] logging: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea --- logging/CMakeLists.txt | 2 ++ logging/Make.defs | 2 ++ logging/Makefile | 2 ++ logging/embedlog/CMakeLists.txt | 2 ++ logging/embedlog/Make.defs | 2 ++ logging/embedlog/Makefile | 2 ++ logging/nxscope/CMakeLists.txt | 2 ++ logging/nxscope/Make.defs | 2 ++ logging/nxscope/Makefile | 2 ++ logging/nxscope/nxscope.c | 2 ++ logging/nxscope/nxscope_chan.c | 2 ++ logging/nxscope/nxscope_idummy.c | 2 ++ logging/nxscope/nxscope_internals.c | 2 ++ logging/nxscope/nxscope_internals.h | 2 ++ logging/nxscope/nxscope_iser.c | 2 ++ logging/nxscope/nxscope_pser.c | 2 ++ 16 files changed, 32 insertions(+) diff --git a/logging/CMakeLists.txt b/logging/CMakeLists.txt index 4591b75c4f3..99615502ab2 100644 --- a/logging/CMakeLists.txt +++ b/logging/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/logging/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/logging/Make.defs b/logging/Make.defs index 458180da9ca..ebfb6482939 100644 --- a/logging/Make.defs +++ b/logging/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/logging/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/logging/Makefile b/logging/Makefile index e838062546d..f7971ba9598 100644 --- a/logging/Makefile +++ b/logging/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/logging/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/logging/embedlog/CMakeLists.txt b/logging/embedlog/CMakeLists.txt index edef25f1290..f9684075e28 100644 --- a/logging/embedlog/CMakeLists.txt +++ b/logging/embedlog/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/logging/embedlog/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/logging/embedlog/Make.defs b/logging/embedlog/Make.defs index 4d3d4f7a98c..1b59e6ef3f5 100644 --- a/logging/embedlog/Make.defs +++ b/logging/embedlog/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/logging/embedlog/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/logging/embedlog/Makefile b/logging/embedlog/Makefile index 747b7ec5cbc..e4e6f2b4c38 100644 --- a/logging/embedlog/Makefile +++ b/logging/embedlog/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/logging/embedlog/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/logging/nxscope/CMakeLists.txt b/logging/nxscope/CMakeLists.txt index 7a277e6a8b1..378ebefd565 100644 --- a/logging/nxscope/CMakeLists.txt +++ b/logging/nxscope/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/logging/nxscope/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/logging/nxscope/Make.defs b/logging/nxscope/Make.defs index 1007faa7e37..92db87b7979 100644 --- a/logging/nxscope/Make.defs +++ b/logging/nxscope/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/logging/nxscope/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/logging/nxscope/Makefile b/logging/nxscope/Makefile index d089adfd863..3e45148fc4a 100644 --- a/logging/nxscope/Makefile +++ b/logging/nxscope/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/logging/nxscope/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/logging/nxscope/nxscope.c b/logging/nxscope/nxscope.c index 011aa93c2a5..123ff047e3b 100644 --- a/logging/nxscope/nxscope.c +++ b/logging/nxscope/nxscope.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/logging/nxscope/nxscope.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/logging/nxscope/nxscope_chan.c b/logging/nxscope/nxscope_chan.c index eac54897c43..3af048c60d4 100644 --- a/logging/nxscope/nxscope_chan.c +++ b/logging/nxscope/nxscope_chan.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/logging/nxscope/nxscope_chan.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/logging/nxscope/nxscope_idummy.c b/logging/nxscope/nxscope_idummy.c index 650dbb3b8d0..83206e9e70e 100644 --- a/logging/nxscope/nxscope_idummy.c +++ b/logging/nxscope/nxscope_idummy.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/logging/nxscope/nxscope_idummy.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/logging/nxscope/nxscope_internals.c b/logging/nxscope/nxscope_internals.c index 0c25895df4d..43ffdd610e3 100644 --- a/logging/nxscope/nxscope_internals.c +++ b/logging/nxscope/nxscope_internals.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/logging/nxscope/nxscope_internals.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/logging/nxscope/nxscope_internals.h b/logging/nxscope/nxscope_internals.h index cfb921baba9..622268b67ab 100644 --- a/logging/nxscope/nxscope_internals.h +++ b/logging/nxscope/nxscope_internals.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/logging/nxscope/nxscope_internals.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/logging/nxscope/nxscope_iser.c b/logging/nxscope/nxscope_iser.c index d91cf61d52d..c36d6e3504e 100644 --- a/logging/nxscope/nxscope_iser.c +++ b/logging/nxscope/nxscope_iser.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/logging/nxscope/nxscope_iser.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/logging/nxscope/nxscope_pser.c b/logging/nxscope/nxscope_pser.c index ca0648fead8..95bbb60d883 100644 --- a/logging/nxscope/nxscope_pser.c +++ b/logging/nxscope/nxscope_pser.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/logging/nxscope/nxscope_pser.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The From 0791bc66f0ba3053dd520662799ab528ecb7834d Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Fri, 20 Dec 2024 04:22:12 +0100 Subject: [PATCH 4/9] lte: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea --- lte/CMakeLists.txt | 2 + lte/Make.defs | 41 +++++++------------ lte/Makefile | 41 +++++++------------ lte/alt1250/CMakeLists.txt | 2 + lte/alt1250/Make.defs | 2 + lte/alt1250/Makefile | 2 + lte/alt1250/alt1250_atcmd.c | 2 + lte/alt1250/alt1250_atcmd.h | 2 + lte/alt1250/alt1250_container.c | 2 + lte/alt1250/alt1250_container.h | 2 + lte/alt1250/alt1250_daemon.h | 2 + lte/alt1250/alt1250_dbg.h | 2 + lte/alt1250/alt1250_devevent.c | 2 + lte/alt1250/alt1250_devevent.h | 2 + lte/alt1250/alt1250_devif.c | 2 + lte/alt1250/alt1250_devif.h | 2 + lte/alt1250/alt1250_main.c | 2 + lte/alt1250/alt1250_netdev.c | 2 + lte/alt1250/alt1250_netdev.h | 2 + lte/alt1250/alt1250_postproc.h | 2 + lte/alt1250/alt1250_reset_seq.c | 2 + lte/alt1250/alt1250_reset_seq.h | 2 + lte/alt1250/alt1250_select.c | 2 + lte/alt1250/alt1250_select.h | 2 + lte/alt1250/alt1250_socket.c | 2 + lte/alt1250/alt1250_socket.h | 2 + lte/alt1250/alt1250_usockevent.c | 2 + lte/alt1250/alt1250_usockevent.h | 2 + lte/alt1250/alt1250_usockif.c | 2 + lte/alt1250/alt1250_usockif.h | 2 + lte/alt1250/alt1250_util.c | 2 + lte/alt1250/alt1250_util.h | 2 + lte/alt1250/callback_handlers/alt1250_evt.c | 2 + lte/alt1250/callback_handlers/alt1250_evt.h | 2 + .../usock_handlers/alt1250_accepthdlr.c | 2 + lte/alt1250/usock_handlers/alt1250_bindhdlr.c | 2 + .../usock_handlers/alt1250_closehdlr.c | 2 + .../usock_handlers/alt1250_connecthdlr.c | 2 + lte/alt1250/usock_handlers/alt1250_fwupdate.h | 2 + .../usock_handlers/alt1250_getpeernamehdlr.c | 2 + .../usock_handlers/alt1250_getsocknamehdlr.c | 2 + .../usock_handlers/alt1250_getsockopthdlr.c | 2 + .../alt1250_ioctl_denyinetsock.c | 2 + .../usock_handlers/alt1250_ioctl_event.c | 2 + .../usock_handlers/alt1250_ioctl_fwupdate.c | 2 + .../usock_handlers/alt1250_ioctl_ifreq.c | 2 + .../usock_handlers/alt1250_ioctl_ltecmd.c | 2 + .../usock_handlers/alt1250_ioctl_lwm2m.c | 2 + .../usock_handlers/alt1250_ioctl_normal.c | 2 + .../usock_handlers/alt1250_ioctl_other.c | 2 + .../usock_handlers/alt1250_ioctl_power.c | 2 + .../usock_handlers/alt1250_ioctl_subhdlr.h | 2 + .../usock_handlers/alt1250_ioctlhdlr.c | 2 + .../usock_handlers/alt1250_listenhdlr.c | 2 + .../usock_handlers/alt1250_recvfromhdlr.c | 2 + .../usock_handlers/alt1250_sendtohdlr.c | 2 + .../usock_handlers/alt1250_setsockopthdlr.c | 2 + .../usock_handlers/alt1250_shutdownhdlr.c | 2 + lte/alt1250/usock_handlers/alt1250_sms.c | 2 + lte/alt1250/usock_handlers/alt1250_sms.h | 2 + .../usock_handlers/alt1250_sockethdlr.c | 2 + .../usock_handlers/alt1250_usrsock_hdlr.h | 2 + lte/lapi/CMakeLists.txt | 2 + lte/lapi/Make.defs | 2 + lte/lapi/Makefile | 2 + lte/lapi/src/Make.defs | 2 + lte/lapi/src/lapi_dbg.h | 2 + lte/lapi/src/lapi_evt.c | 2 + lte/lapi/src/lapi_firmware.c | 2 + lte/lapi/src/lapi_log.c | 2 + lte/lapi/src/lapi_lwm2m.c | 2 + lte/lapi/src/lapi_net.c | 2 + lte/lapi/src/lapi_other.c | 2 + lte/lapi/src/lapi_pdn.c | 2 + lte/lapi/src/lapi_pin.c | 2 + lte/lapi/src/lapi_power.c | 2 + lte/lapi/src/lapi_psave.c | 2 + lte/lapi/src/lapi_radio.c | 2 + lte/lapi/src/lapi_sim.c | 2 + 79 files changed, 182 insertions(+), 54 deletions(-) diff --git a/lte/CMakeLists.txt b/lte/CMakeLists.txt index 01e72ea15bd..44b08a29240 100644 --- a/lte/CMakeLists.txt +++ b/lte/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/lte/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/lte/Make.defs b/lte/Make.defs index 89c366ca2fa..70956ea219a 100644 --- a/lte/Make.defs +++ b/lte/Make.defs @@ -1,36 +1,23 @@ ############################################################################ # apps/lte/Make.defs # -# Copyright 2021 Sony Semiconductor Solutions Corporation +# SPDX-License-Identifier: Apache-2.0 # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: +# Licensed to the Apache Software Foundation (ASF) under one or more contributor +# license agreements. See the NOTICE file distributed with this work for +# additional information regarding copyright ownership. The ASF licenses this +# file to you under the Apache License, Version 2.0 (the "License"); you may not +# use this file except in compliance with the License. You may obtain a copy of +# the License at # -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. 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. -# 3. Neither the name of Sony Semiconductor Solutions Corporation nor -# the names of its contributors may be used to endorse or promote -# products derived from this software without specific prior written -# permission. +# http://www.apache.org/licenses/LICENSE-2.0 # -# 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. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations under +# the License. # -############################################################################ +# ############################################################################## include $(wildcard lte/*/Make.defs) diff --git a/lte/Makefile b/lte/Makefile index 79ab0d8fbba..4fe43e7e942 100644 --- a/lte/Makefile +++ b/lte/Makefile @@ -1,37 +1,24 @@ ############################################################################ # apps/lte/Makefile # -# Copyright 2021 Sony Semiconductor Solutions Corporation +# SPDX-License-Identifier: Apache-2.0 # -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: +# Licensed to the Apache Software Foundation (ASF) under one or more contributor +# license agreements. See the NOTICE file distributed with this work for +# additional information regarding copyright ownership. The ASF licenses this +# file to you under the Apache License, Version 2.0 (the "License"); you may not +# use this file except in compliance with the License. You may obtain a copy of +# the License at # -# 1. Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# 2. 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. -# 3. Neither the name of Sony Semiconductor Solutions Corporation nor -# the names of its contributors may be used to endorse or promote -# products derived from this software without specific prior written -# permission. +# http://www.apache.org/licenses/LICENSE-2.0 # -# 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. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations under +# the License. # -############################################################################ +# ############################################################################## MENUDESC = "LTE Libraries and NSH Add-Ons" diff --git a/lte/alt1250/CMakeLists.txt b/lte/alt1250/CMakeLists.txt index 9ed2f85ec36..c54f8e1e072 100644 --- a/lte/alt1250/CMakeLists.txt +++ b/lte/alt1250/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/lte/alt1250/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/lte/alt1250/Make.defs b/lte/alt1250/Make.defs index e5b7a3f9298..4b0fbab09f9 100644 --- a/lte/alt1250/Make.defs +++ b/lte/alt1250/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/lte/alt1250/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/Makefile b/lte/alt1250/Makefile index 138b2bed4b5..7f1ee1e2c24 100644 --- a/lte/alt1250/Makefile +++ b/lte/alt1250/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/lte/alt1250/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_atcmd.c b/lte/alt1250/alt1250_atcmd.c index bdd7e285351..2b45585181b 100644 --- a/lte/alt1250/alt1250_atcmd.c +++ b/lte/alt1250/alt1250_atcmd.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_atcmd.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_atcmd.h b/lte/alt1250/alt1250_atcmd.h index d732a331384..4a9e275e636 100644 --- a/lte/alt1250/alt1250_atcmd.h +++ b/lte/alt1250/alt1250_atcmd.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_atcmd.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_container.c b/lte/alt1250/alt1250_container.c index 5c285011023..21ec1b31a29 100644 --- a/lte/alt1250/alt1250_container.c +++ b/lte/alt1250/alt1250_container.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_container.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_container.h b/lte/alt1250/alt1250_container.h index 894ff5aa472..2e45e12ce95 100644 --- a/lte/alt1250/alt1250_container.h +++ b/lte/alt1250/alt1250_container.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_container.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_daemon.h b/lte/alt1250/alt1250_daemon.h index c385d23ce75..45d8a923b8c 100644 --- a/lte/alt1250/alt1250_daemon.h +++ b/lte/alt1250/alt1250_daemon.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_daemon.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_dbg.h b/lte/alt1250/alt1250_dbg.h index edffed181cb..82b9bb27af6 100644 --- a/lte/alt1250/alt1250_dbg.h +++ b/lte/alt1250/alt1250_dbg.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_dbg.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_devevent.c b/lte/alt1250/alt1250_devevent.c index f58fe71708a..cdd2da524d4 100644 --- a/lte/alt1250/alt1250_devevent.c +++ b/lte/alt1250/alt1250_devevent.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_devevent.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_devevent.h b/lte/alt1250/alt1250_devevent.h index 03667fe0bcc..c4e27aa229c 100644 --- a/lte/alt1250/alt1250_devevent.h +++ b/lte/alt1250/alt1250_devevent.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_devevent.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_devif.c b/lte/alt1250/alt1250_devif.c index d58f3c75ffc..a742938fbf7 100644 --- a/lte/alt1250/alt1250_devif.c +++ b/lte/alt1250/alt1250_devif.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_devif.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_devif.h b/lte/alt1250/alt1250_devif.h index 5a01b647df7..c537754df19 100644 --- a/lte/alt1250/alt1250_devif.h +++ b/lte/alt1250/alt1250_devif.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_devif.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_main.c b/lte/alt1250/alt1250_main.c index d78adacc402..db40a6bf92c 100644 --- a/lte/alt1250/alt1250_main.c +++ b/lte/alt1250/alt1250_main.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_main.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_netdev.c b/lte/alt1250/alt1250_netdev.c index 8e40afd92b0..f0e8719fa7f 100644 --- a/lte/alt1250/alt1250_netdev.c +++ b/lte/alt1250/alt1250_netdev.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_netdev.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_netdev.h b/lte/alt1250/alt1250_netdev.h index a6931e37e7c..3d9c67f4295 100644 --- a/lte/alt1250/alt1250_netdev.h +++ b/lte/alt1250/alt1250_netdev.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_netdev.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_postproc.h b/lte/alt1250/alt1250_postproc.h index 25cd32a2e05..4e4b819fe11 100644 --- a/lte/alt1250/alt1250_postproc.h +++ b/lte/alt1250/alt1250_postproc.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_postproc.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_reset_seq.c b/lte/alt1250/alt1250_reset_seq.c index 3dc836803c5..f6080887c49 100644 --- a/lte/alt1250/alt1250_reset_seq.c +++ b/lte/alt1250/alt1250_reset_seq.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_reset_seq.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_reset_seq.h b/lte/alt1250/alt1250_reset_seq.h index 720a948adba..d5769522fd3 100644 --- a/lte/alt1250/alt1250_reset_seq.h +++ b/lte/alt1250/alt1250_reset_seq.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_reset_seq.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_select.c b/lte/alt1250/alt1250_select.c index e608e3532cf..dd44d38f243 100644 --- a/lte/alt1250/alt1250_select.c +++ b/lte/alt1250/alt1250_select.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_select.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_select.h b/lte/alt1250/alt1250_select.h index 4336e5f66a8..c386255343a 100644 --- a/lte/alt1250/alt1250_select.h +++ b/lte/alt1250/alt1250_select.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_select.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_socket.c b/lte/alt1250/alt1250_socket.c index 94af4bff5a4..d6eccf7104a 100644 --- a/lte/alt1250/alt1250_socket.c +++ b/lte/alt1250/alt1250_socket.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_socket.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_socket.h b/lte/alt1250/alt1250_socket.h index 64409e96c98..77b8286ae40 100644 --- a/lte/alt1250/alt1250_socket.h +++ b/lte/alt1250/alt1250_socket.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_socket.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_usockevent.c b/lte/alt1250/alt1250_usockevent.c index 9c4b637a5aa..5bc76555bd7 100644 --- a/lte/alt1250/alt1250_usockevent.c +++ b/lte/alt1250/alt1250_usockevent.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_usockevent.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_usockevent.h b/lte/alt1250/alt1250_usockevent.h index 6309ee85bb8..922f0b3a436 100644 --- a/lte/alt1250/alt1250_usockevent.h +++ b/lte/alt1250/alt1250_usockevent.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_usockevent.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_usockif.c b/lte/alt1250/alt1250_usockif.c index f85d05a6186..ec188775ceb 100644 --- a/lte/alt1250/alt1250_usockif.c +++ b/lte/alt1250/alt1250_usockif.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_usockif.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_usockif.h b/lte/alt1250/alt1250_usockif.h index df33f4cc73d..2ffcc02e46a 100644 --- a/lte/alt1250/alt1250_usockif.h +++ b/lte/alt1250/alt1250_usockif.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_usockif.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_util.c b/lte/alt1250/alt1250_util.c index 9346a6f4214..75fc00a3d33 100644 --- a/lte/alt1250/alt1250_util.c +++ b/lte/alt1250/alt1250_util.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_util.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/alt1250_util.h b/lte/alt1250/alt1250_util.h index 85be0c992e1..ac60e05aa5c 100644 --- a/lte/alt1250/alt1250_util.h +++ b/lte/alt1250/alt1250_util.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/alt1250_util.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/callback_handlers/alt1250_evt.c b/lte/alt1250/callback_handlers/alt1250_evt.c index 73bf1a840c2..59cfe0bed95 100644 --- a/lte/alt1250/callback_handlers/alt1250_evt.c +++ b/lte/alt1250/callback_handlers/alt1250_evt.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/callback_handlers/alt1250_evt.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/callback_handlers/alt1250_evt.h b/lte/alt1250/callback_handlers/alt1250_evt.h index b87a4fcc884..9df097fe83b 100644 --- a/lte/alt1250/callback_handlers/alt1250_evt.h +++ b/lte/alt1250/callback_handlers/alt1250_evt.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/callback_handlers/alt1250_evt.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_accepthdlr.c b/lte/alt1250/usock_handlers/alt1250_accepthdlr.c index 9b2bf1d526d..4151425d802 100644 --- a/lte/alt1250/usock_handlers/alt1250_accepthdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_accepthdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_accepthdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_bindhdlr.c b/lte/alt1250/usock_handlers/alt1250_bindhdlr.c index b79ea10cb65..85a12b0ee34 100644 --- a/lte/alt1250/usock_handlers/alt1250_bindhdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_bindhdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_bindhdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_closehdlr.c b/lte/alt1250/usock_handlers/alt1250_closehdlr.c index c2c25dd1a48..6391046df67 100644 --- a/lte/alt1250/usock_handlers/alt1250_closehdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_closehdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_closehdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_connecthdlr.c b/lte/alt1250/usock_handlers/alt1250_connecthdlr.c index 7df629b846f..cad728ab392 100644 --- a/lte/alt1250/usock_handlers/alt1250_connecthdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_connecthdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_connecthdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_fwupdate.h b/lte/alt1250/usock_handlers/alt1250_fwupdate.h index 23b23266819..38281cdc01c 100644 --- a/lte/alt1250/usock_handlers/alt1250_fwupdate.h +++ b/lte/alt1250/usock_handlers/alt1250_fwupdate.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_fwupdate.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_getpeernamehdlr.c b/lte/alt1250/usock_handlers/alt1250_getpeernamehdlr.c index aa42593255d..5374b06c81e 100644 --- a/lte/alt1250/usock_handlers/alt1250_getpeernamehdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_getpeernamehdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_getpeernamehdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_getsocknamehdlr.c b/lte/alt1250/usock_handlers/alt1250_getsocknamehdlr.c index b6df948874f..23350cf1ab2 100644 --- a/lte/alt1250/usock_handlers/alt1250_getsocknamehdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_getsocknamehdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_getsocknamehdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_getsockopthdlr.c b/lte/alt1250/usock_handlers/alt1250_getsockopthdlr.c index 28174fce83f..2805cd57472 100644 --- a/lte/alt1250/usock_handlers/alt1250_getsockopthdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_getsockopthdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_getsockopthdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_ioctl_denyinetsock.c b/lte/alt1250/usock_handlers/alt1250_ioctl_denyinetsock.c index 8de3ff1423c..d85ca7ac054 100644 --- a/lte/alt1250/usock_handlers/alt1250_ioctl_denyinetsock.c +++ b/lte/alt1250/usock_handlers/alt1250_ioctl_denyinetsock.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_ioctl_denyinetsock.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_ioctl_event.c b/lte/alt1250/usock_handlers/alt1250_ioctl_event.c index 913f456d4e7..cf7ee532aff 100644 --- a/lte/alt1250/usock_handlers/alt1250_ioctl_event.c +++ b/lte/alt1250/usock_handlers/alt1250_ioctl_event.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_ioctl_event.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_ioctl_fwupdate.c b/lte/alt1250/usock_handlers/alt1250_ioctl_fwupdate.c index 7fa67e29871..dfd6c41ae91 100644 --- a/lte/alt1250/usock_handlers/alt1250_ioctl_fwupdate.c +++ b/lte/alt1250/usock_handlers/alt1250_ioctl_fwupdate.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_ioctl_fwupdate.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_ioctl_ifreq.c b/lte/alt1250/usock_handlers/alt1250_ioctl_ifreq.c index 875361681b2..6a948c653ae 100644 --- a/lte/alt1250/usock_handlers/alt1250_ioctl_ifreq.c +++ b/lte/alt1250/usock_handlers/alt1250_ioctl_ifreq.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_ioctl_ifreq.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_ioctl_ltecmd.c b/lte/alt1250/usock_handlers/alt1250_ioctl_ltecmd.c index 82e211f6f62..889f9b41f2d 100644 --- a/lte/alt1250/usock_handlers/alt1250_ioctl_ltecmd.c +++ b/lte/alt1250/usock_handlers/alt1250_ioctl_ltecmd.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_ioctl_ltecmd.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_ioctl_lwm2m.c b/lte/alt1250/usock_handlers/alt1250_ioctl_lwm2m.c index ea82ad92b8f..e68704a8723 100644 --- a/lte/alt1250/usock_handlers/alt1250_ioctl_lwm2m.c +++ b/lte/alt1250/usock_handlers/alt1250_ioctl_lwm2m.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_ioctl_lwm2m.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_ioctl_normal.c b/lte/alt1250/usock_handlers/alt1250_ioctl_normal.c index 8c116833ae6..90b3a678f12 100644 --- a/lte/alt1250/usock_handlers/alt1250_ioctl_normal.c +++ b/lte/alt1250/usock_handlers/alt1250_ioctl_normal.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_ioctl_normal.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_ioctl_other.c b/lte/alt1250/usock_handlers/alt1250_ioctl_other.c index 5010c84d5b8..057553a5cd6 100644 --- a/lte/alt1250/usock_handlers/alt1250_ioctl_other.c +++ b/lte/alt1250/usock_handlers/alt1250_ioctl_other.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_ioctl_other.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_ioctl_power.c b/lte/alt1250/usock_handlers/alt1250_ioctl_power.c index 21e62462ddf..c910060c168 100644 --- a/lte/alt1250/usock_handlers/alt1250_ioctl_power.c +++ b/lte/alt1250/usock_handlers/alt1250_ioctl_power.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_ioctl_power.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_ioctl_subhdlr.h b/lte/alt1250/usock_handlers/alt1250_ioctl_subhdlr.h index 6ce7a1b74e7..fcd3b00f8ee 100644 --- a/lte/alt1250/usock_handlers/alt1250_ioctl_subhdlr.h +++ b/lte/alt1250/usock_handlers/alt1250_ioctl_subhdlr.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_ioctl_subhdlr.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_ioctlhdlr.c b/lte/alt1250/usock_handlers/alt1250_ioctlhdlr.c index 568d199282d..43d638024e7 100644 --- a/lte/alt1250/usock_handlers/alt1250_ioctlhdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_ioctlhdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_ioctlhdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_listenhdlr.c b/lte/alt1250/usock_handlers/alt1250_listenhdlr.c index a3c3bed263a..4c66beeafe3 100644 --- a/lte/alt1250/usock_handlers/alt1250_listenhdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_listenhdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_listenhdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_recvfromhdlr.c b/lte/alt1250/usock_handlers/alt1250_recvfromhdlr.c index 906a0b9bb81..b2c45f1391b 100644 --- a/lte/alt1250/usock_handlers/alt1250_recvfromhdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_recvfromhdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_recvfromhdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_sendtohdlr.c b/lte/alt1250/usock_handlers/alt1250_sendtohdlr.c index e47b26d9f5d..2894354f23c 100644 --- a/lte/alt1250/usock_handlers/alt1250_sendtohdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_sendtohdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_sendtohdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_setsockopthdlr.c b/lte/alt1250/usock_handlers/alt1250_setsockopthdlr.c index f4c5106b116..247053bedf4 100644 --- a/lte/alt1250/usock_handlers/alt1250_setsockopthdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_setsockopthdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_setsockopthdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_shutdownhdlr.c b/lte/alt1250/usock_handlers/alt1250_shutdownhdlr.c index 0c8a9765b00..30a507c52f3 100644 --- a/lte/alt1250/usock_handlers/alt1250_shutdownhdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_shutdownhdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_shutdownhdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_sms.c b/lte/alt1250/usock_handlers/alt1250_sms.c index 610669cfc5e..5f70beff846 100644 --- a/lte/alt1250/usock_handlers/alt1250_sms.c +++ b/lte/alt1250/usock_handlers/alt1250_sms.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_sms.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_sms.h b/lte/alt1250/usock_handlers/alt1250_sms.h index 8f0707a80b8..11f9b4dce36 100644 --- a/lte/alt1250/usock_handlers/alt1250_sms.h +++ b/lte/alt1250/usock_handlers/alt1250_sms.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_sms.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_sockethdlr.c b/lte/alt1250/usock_handlers/alt1250_sockethdlr.c index 8d632187950..e6046f36e4c 100644 --- a/lte/alt1250/usock_handlers/alt1250_sockethdlr.c +++ b/lte/alt1250/usock_handlers/alt1250_sockethdlr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_sockethdlr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/alt1250/usock_handlers/alt1250_usrsock_hdlr.h b/lte/alt1250/usock_handlers/alt1250_usrsock_hdlr.h index 7bd85b2ae8e..5142389fc18 100644 --- a/lte/alt1250/usock_handlers/alt1250_usrsock_hdlr.h +++ b/lte/alt1250/usock_handlers/alt1250_usrsock_hdlr.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/alt1250/usock_handlers/alt1250_usrsock_hdlr.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/CMakeLists.txt b/lte/lapi/CMakeLists.txt index 53ea4de4a44..45c0d852d22 100644 --- a/lte/lapi/CMakeLists.txt +++ b/lte/lapi/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/lte/lapi/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/lte/lapi/Make.defs b/lte/lapi/Make.defs index 77996b20e17..9fd239fc243 100644 --- a/lte/lapi/Make.defs +++ b/lte/lapi/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/lte/lapi/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/Makefile b/lte/lapi/Makefile index 55d9362f7cc..936206501f4 100644 --- a/lte/lapi/Makefile +++ b/lte/lapi/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/lte/lapi/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/Make.defs b/lte/lapi/src/Make.defs index daa28436505..4a6816e8644 100644 --- a/lte/lapi/src/Make.defs +++ b/lte/lapi/src/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/lte/lapi/src/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/lapi_dbg.h b/lte/lapi/src/lapi_dbg.h index 092e13f88d1..403847653af 100644 --- a/lte/lapi/src/lapi_dbg.h +++ b/lte/lapi/src/lapi_dbg.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/lapi/src/lapi_dbg.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/lapi_evt.c b/lte/lapi/src/lapi_evt.c index cc047584b17..3826a5073bc 100644 --- a/lte/lapi/src/lapi_evt.c +++ b/lte/lapi/src/lapi_evt.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/lapi/src/lapi_evt.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/lapi_firmware.c b/lte/lapi/src/lapi_firmware.c index a02113f0a53..203c4afb7ff 100644 --- a/lte/lapi/src/lapi_firmware.c +++ b/lte/lapi/src/lapi_firmware.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/lapi/src/lapi_firmware.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/lapi_log.c b/lte/lapi/src/lapi_log.c index 547b1b1fd95..1ddf2e4f2c8 100644 --- a/lte/lapi/src/lapi_log.c +++ b/lte/lapi/src/lapi_log.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/lapi/src/lapi_log.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/lapi_lwm2m.c b/lte/lapi/src/lapi_lwm2m.c index 8542f680763..47a5d9f59c5 100644 --- a/lte/lapi/src/lapi_lwm2m.c +++ b/lte/lapi/src/lapi_lwm2m.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/lapi/src/lapi_lwm2m.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/lapi_net.c b/lte/lapi/src/lapi_net.c index e68583b3523..9eaae54afb4 100644 --- a/lte/lapi/src/lapi_net.c +++ b/lte/lapi/src/lapi_net.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/lapi/src/lapi_net.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/lapi_other.c b/lte/lapi/src/lapi_other.c index 4897bed85b0..b7d6a2b64b6 100644 --- a/lte/lapi/src/lapi_other.c +++ b/lte/lapi/src/lapi_other.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/lapi/src/lapi_other.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/lapi_pdn.c b/lte/lapi/src/lapi_pdn.c index 5fc0451b0c4..def048d70fe 100644 --- a/lte/lapi/src/lapi_pdn.c +++ b/lte/lapi/src/lapi_pdn.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/lapi/src/lapi_pdn.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/lapi_pin.c b/lte/lapi/src/lapi_pin.c index 31135b7fa56..0a0496fa7c4 100644 --- a/lte/lapi/src/lapi_pin.c +++ b/lte/lapi/src/lapi_pin.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/lapi/src/lapi_pin.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/lapi_power.c b/lte/lapi/src/lapi_power.c index c37e45474fe..31ae86df08b 100644 --- a/lte/lapi/src/lapi_power.c +++ b/lte/lapi/src/lapi_power.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/lapi/src/lapi_power.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/lapi_psave.c b/lte/lapi/src/lapi_psave.c index 10defd44c30..8bc3aab0281 100644 --- a/lte/lapi/src/lapi_psave.c +++ b/lte/lapi/src/lapi_psave.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/lapi/src/lapi_psave.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/lapi_radio.c b/lte/lapi/src/lapi_radio.c index 0ba12362f62..09ce0aa0585 100644 --- a/lte/lapi/src/lapi_radio.c +++ b/lte/lapi/src/lapi_radio.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/lapi/src/lapi_radio.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/lte/lapi/src/lapi_sim.c b/lte/lapi/src/lapi_sim.c index dcf7efc1bc3..7de40441767 100644 --- a/lte/lapi/src/lapi_sim.c +++ b/lte/lapi/src/lapi_sim.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/lte/lapi/src/lapi_sim.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The From b458db6ababa28d731eecc8e6294d749cce29c29 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Fri, 20 Dec 2024 05:33:23 +0100 Subject: [PATCH 5/9] math: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea --- math/CMakeLists.txt | 2 ++ math/Make.defs | 2 ++ math/Makefile | 2 ++ math/gemmlowp/CMakeLists.txt | 2 ++ math/gemmlowp/Make.defs | 2 ++ math/gemmlowp/Makefile | 2 ++ math/kissfft/CMakeLists.txt | 2 ++ math/kissfft/Make.defs | 2 ++ math/kissfft/Makefile | 2 ++ math/libtommath/CMakeLists.txt | 2 ++ math/libtommath/Make.defs | 2 ++ math/libtommath/Makefile | 2 ++ math/ruy/CMakeLists.txt | 2 ++ math/ruy/Make.defs | 2 ++ math/ruy/Makefile | 4 +++- 15 files changed, 31 insertions(+), 1 deletion(-) diff --git a/math/CMakeLists.txt b/math/CMakeLists.txt index a6f7d9ccc57..1b9defeae0f 100644 --- a/math/CMakeLists.txt +++ b/math/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/math/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/math/Make.defs b/math/Make.defs index 36941e940a0..33017a5a22f 100644 --- a/math/Make.defs +++ b/math/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/math/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/math/Makefile b/math/Makefile index de43fcc1908..e90cc1048b3 100644 --- a/math/Makefile +++ b/math/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/math/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/math/gemmlowp/CMakeLists.txt b/math/gemmlowp/CMakeLists.txt index acff6f11304..b13b1279485 100644 --- a/math/gemmlowp/CMakeLists.txt +++ b/math/gemmlowp/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/math/gemmlowp/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/math/gemmlowp/Make.defs b/math/gemmlowp/Make.defs index ecd7abd03fd..a89b55ebb29 100644 --- a/math/gemmlowp/Make.defs +++ b/math/gemmlowp/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/math/gemmlowp/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/math/gemmlowp/Makefile b/math/gemmlowp/Makefile index 3f5b76456ac..cceda46d5b5 100644 --- a/math/gemmlowp/Makefile +++ b/math/gemmlowp/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/math/gemmlowp/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/math/kissfft/CMakeLists.txt b/math/kissfft/CMakeLists.txt index 86841307542..7273f0e091b 100644 --- a/math/kissfft/CMakeLists.txt +++ b/math/kissfft/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/math/kissfft/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/math/kissfft/Make.defs b/math/kissfft/Make.defs index 3da1486c9b2..847608309e7 100644 --- a/math/kissfft/Make.defs +++ b/math/kissfft/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/math/kissfft/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/math/kissfft/Makefile b/math/kissfft/Makefile index 3a3b2e824c9..ff4fe9ee3bc 100644 --- a/math/kissfft/Makefile +++ b/math/kissfft/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/math/kissfft/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/math/libtommath/CMakeLists.txt b/math/libtommath/CMakeLists.txt index b6c5c6f0a21..211c755e198 100644 --- a/math/libtommath/CMakeLists.txt +++ b/math/libtommath/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/math/libtommath/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/math/libtommath/Make.defs b/math/libtommath/Make.defs index 6531ad3ae33..61dcb1f655b 100644 --- a/math/libtommath/Make.defs +++ b/math/libtommath/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/math/libtommath/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/math/libtommath/Makefile b/math/libtommath/Makefile index 4c54d99edb4..91b47d46376 100644 --- a/math/libtommath/Makefile +++ b/math/libtommath/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/math/libtommath/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/math/ruy/CMakeLists.txt b/math/ruy/CMakeLists.txt index b31f497f271..79ac2ac2b0d 100644 --- a/math/ruy/CMakeLists.txt +++ b/math/ruy/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/math/ruy/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/math/ruy/Make.defs b/math/ruy/Make.defs index bdba60a4857..bd91a3663ec 100644 --- a/math/ruy/Make.defs +++ b/math/ruy/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/math/ruy/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/math/ruy/Makefile b/math/ruy/Makefile index aa9b2be5e7b..188b81fff93 100644 --- a/math/ruy/Makefile +++ b/math/ruy/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/math/ruy/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The @@ -39,4 +41,4 @@ endif CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/math/ruy/ruy CXXFLAGS += ${INCDIR_PREFIX}$(APPDIR)/math/ruy/ruy -include $(APPDIR)/Application.mk \ No newline at end of file +include $(APPDIR)/Application.mk From 9f9ff810f6df52c01b79f98e01ddb3b455696a6d Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Fri, 20 Dec 2024 05:44:24 +0100 Subject: [PATCH 6/9] mlearning: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea --- mlearning/CMakeLists.txt | 2 ++ mlearning/Make.defs | 2 ++ mlearning/Makefile | 2 ++ mlearning/cmsis-nn/CMakeLists.txt | 2 ++ mlearning/cmsis-nn/Make.defs | 2 ++ mlearning/cmsis-nn/Makefile | 2 ++ mlearning/cmsis/Make.defs | 2 ++ mlearning/cmsis/Makefile | 2 ++ mlearning/cmsis/cmsis-nn-support_nnabla.patch | 20 +++++++++---------- mlearning/cmsis/libcmsisdsp/Make.defs | 2 ++ mlearning/cmsis/libcmsisdsp/Makefile | 2 ++ mlearning/cmsis/libcmsisnn/Make.defs | 2 ++ mlearning/cmsis/libcmsisnn/Makefile | 2 ++ mlearning/darknet/Make.defs | 2 ++ mlearning/darknet/Makefile | 2 ++ mlearning/libnnablart/Make.defs | 2 ++ mlearning/libnnablart/Makefile | 2 ++ mlearning/tflite-micro/CMakeLists.txt | 2 ++ mlearning/tflite-micro/Make.defs | 2 ++ mlearning/tflite-micro/Makefile | 2 ++ .../operators/neon/arm_convolve_s8.c | 5 ++--- .../operators/neon/arm_elementwise_add_s8.c | 5 ++--- .../neon/arm_nn_mat_mult_kernel_s8_s16.c | 5 ++--- .../neon/arm_q7_to_q15_with_offset.c | 5 ++--- mlearning/tflite-micro/tflm_syslog.cc | 2 ++ mlearning/tflite-micro/tflm_tool.cc | 2 ++ 26 files changed, 60 insertions(+), 22 deletions(-) diff --git a/mlearning/CMakeLists.txt b/mlearning/CMakeLists.txt index c4b8742ba35..78ba1da4ae3 100644 --- a/mlearning/CMakeLists.txt +++ b/mlearning/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/mlearning/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/mlearning/Make.defs b/mlearning/Make.defs index 5ad683160eb..6b5d35fe887 100644 --- a/mlearning/Make.defs +++ b/mlearning/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/Makefile b/mlearning/Makefile index bf7d539bba0..435024a1151 100644 --- a/mlearning/Makefile +++ b/mlearning/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/cmsis-nn/CMakeLists.txt b/mlearning/cmsis-nn/CMakeLists.txt index 43cbcfe8941..e5997cb35b4 100644 --- a/mlearning/cmsis-nn/CMakeLists.txt +++ b/mlearning/cmsis-nn/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/mlearning/cmsis-nn/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/mlearning/cmsis-nn/Make.defs b/mlearning/cmsis-nn/Make.defs index 669ca73a283..760173037f1 100644 --- a/mlearning/cmsis-nn/Make.defs +++ b/mlearning/cmsis-nn/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/cmsis/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/cmsis-nn/Makefile b/mlearning/cmsis-nn/Makefile index 9254c850202..cd81172758a 100644 --- a/mlearning/cmsis-nn/Makefile +++ b/mlearning/cmsis-nn/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/cmsis-nn/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/cmsis/Make.defs b/mlearning/cmsis/Make.defs index e36031b92dc..845fa6017e1 100644 --- a/mlearning/cmsis/Make.defs +++ b/mlearning/cmsis/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/cmsis/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/cmsis/Makefile b/mlearning/cmsis/Makefile index 8bed4380ed7..0ddb4b33079 100644 --- a/mlearning/cmsis/Makefile +++ b/mlearning/cmsis/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/cmsis/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/cmsis/cmsis-nn-support_nnabla.patch b/mlearning/cmsis/cmsis-nn-support_nnabla.patch index 4de8d687289..58e3a3d8d12 100644 --- a/mlearning/cmsis/cmsis-nn-support_nnabla.patch +++ b/mlearning/cmsis/cmsis-nn-support_nnabla.patch @@ -11,10 +11,10 @@ to add the following function prototypes: +++ CMSIS_5/CMSIS/NN/Include/arm_nnfunctions_nnabla.h @@ -0,0 +1,217 @@ +/* -+ * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. -+ * Copyright 2018 Sony Corporation + * + * SPDX-License-Identifier: Apache-2.0 ++ * SPDX-FileCopyrightText: 2010-2018 Arm Limited or its affiliates. ++ * SPDX-FileCopyrightText: 2018 Sony Corporation + * + * Licensed under the Apache License, Version 2.0 (the License); you may + * not use this file except in compliance with the License. @@ -237,10 +237,10 @@ Sony Corporation added this file to 5.4.0 for these reasons: +++ CMSIS_5/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_CHW_f32_basic_nonsquare.c @@ -0,0 +1,207 @@ +/* -+ * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. -+ * Copyright 2018 Sony Corporation + * + * SPDX-License-Identifier: Apache-2.0 ++ * SPDX-FileCopyrightText: 2010-2018 Arm Limited or its affiliates. ++ * SPDX-FileCopyrightText: 2018 Sony Corporation + * + * Licensed under the Apache License, Version 2.0 (the License); you may + * not use this file except in compliance with the License. @@ -451,10 +451,10 @@ Sony Corporation added this file to 5.4.0 to support the CHW tensor layout +++ CMSIS_5/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_CHW_q15_basic_nonsquare.c @@ -0,0 +1,231 @@ +/* -+ * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. -+ * Copyright 2018 Sony Corporation + * + * SPDX-License-Identifier: Apache-2.0 ++ * SPDX-FileCopyrightText: 2010-2018 Arm Limited or its affiliates. ++ * SPDX-FileCopyrightText: 2018 Sony Corporation + * + * Licensed under the Apache License, Version 2.0 (the License); you may + * not use this file except in compliance with the License. @@ -689,10 +689,10 @@ Sony Corporation added this file to 5.4.0 to support the CHW tensor layout +++ CMSIS_5/CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_CHW_q7_basic_nonsquare.c @@ -0,0 +1,214 @@ +/* -+ * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. -+ * Copyright 2018 Sony Corporation + * + * SPDX-License-Identifier: Apache-2.0 ++ * SPDX-FileCopyrightText: 2010-2018 Arm Limited or its affiliates. ++ * SPDX-FileCopyrightText: 2018 Sony Corporation + * + * Licensed under the Apache License, Version 2.0 (the License); you may + * not use this file except in compliance with the License. @@ -910,10 +910,10 @@ Sony Corporation added this file to 5.4.0 to support the CHW tensor layout +++ CMSIS_5/CMSIS/NN/Source/ConvolutionFunctions/arm_nn_CHW_mat_mult_kernel_q7_q15.c @@ -0,0 +1,196 @@ +/* -+ * Copyright (C) 2010-2018 Arm Limited or its affiliates. All rights reserved. -+ * Copyright 2018 Sony Corporation + * + * SPDX-License-Identifier: Apache-2.0 ++ * SPDX-FileCopyrightText: 2010-2018 Arm Limited or its affiliates. ++ * SPDX-FileCopyrightText: 2018 Sony Corporation + * + * Licensed under the Apache License, Version 2.0 (the License); you may + * not use this file except in compliance with the License. diff --git a/mlearning/cmsis/libcmsisdsp/Make.defs b/mlearning/cmsis/libcmsisdsp/Make.defs index de9d8ea51d0..df93ea67807 100644 --- a/mlearning/cmsis/libcmsisdsp/Make.defs +++ b/mlearning/cmsis/libcmsisdsp/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/cmsis/libcmsisdsp/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/cmsis/libcmsisdsp/Makefile b/mlearning/cmsis/libcmsisdsp/Makefile index 8fd73168550..141b7cafac4 100644 --- a/mlearning/cmsis/libcmsisdsp/Makefile +++ b/mlearning/cmsis/libcmsisdsp/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/cmsis/libcmsisdsp/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/cmsis/libcmsisnn/Make.defs b/mlearning/cmsis/libcmsisnn/Make.defs index 187ff5557f3..5119cdb3d0c 100644 --- a/mlearning/cmsis/libcmsisnn/Make.defs +++ b/mlearning/cmsis/libcmsisnn/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/cmsis/libcmsisnn/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/cmsis/libcmsisnn/Makefile b/mlearning/cmsis/libcmsisnn/Makefile index 759b05f4cd6..63cb79e7c48 100644 --- a/mlearning/cmsis/libcmsisnn/Makefile +++ b/mlearning/cmsis/libcmsisnn/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/cmsis/libcmsisnn/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/darknet/Make.defs b/mlearning/darknet/Make.defs index b06d5b5349e..41c1569e817 100644 --- a/mlearning/darknet/Make.defs +++ b/mlearning/darknet/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/darknet/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/darknet/Makefile b/mlearning/darknet/Makefile index cfb379466ac..627245fbd1e 100644 --- a/mlearning/darknet/Makefile +++ b/mlearning/darknet/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/darknet/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/libnnablart/Make.defs b/mlearning/libnnablart/Make.defs index 8733fa2c900..2f57a0af653 100644 --- a/mlearning/libnnablart/Make.defs +++ b/mlearning/libnnablart/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/libnnablart/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/libnnablart/Makefile b/mlearning/libnnablart/Makefile index 32735670fc7..8d7c726c68b 100644 --- a/mlearning/libnnablart/Makefile +++ b/mlearning/libnnablart/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/libnnablart/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/tflite-micro/CMakeLists.txt b/mlearning/tflite-micro/CMakeLists.txt index 0c072a88a07..e3a2830d1da 100644 --- a/mlearning/tflite-micro/CMakeLists.txt +++ b/mlearning/tflite-micro/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/mlearning/tflite-micro/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/mlearning/tflite-micro/Make.defs b/mlearning/tflite-micro/Make.defs index bd375253968..2148d663b47 100644 --- a/mlearning/tflite-micro/Make.defs +++ b/mlearning/tflite-micro/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/tflite-micro/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/tflite-micro/Makefile b/mlearning/tflite-micro/Makefile index dd0c1c6ad71..aba043805e7 100644 --- a/mlearning/tflite-micro/Makefile +++ b/mlearning/tflite-micro/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/mlearning/tflite-micro/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/mlearning/tflite-micro/operators/neon/arm_convolve_s8.c b/mlearning/tflite-micro/operators/neon/arm_convolve_s8.c index 3d8e5af5ce8..64a3150e10e 100644 --- a/mlearning/tflite-micro/operators/neon/arm_convolve_s8.c +++ b/mlearning/tflite-micro/operators/neon/arm_convolve_s8.c @@ -1,10 +1,9 @@ /**************************************************************************** * apps/mlearning/tflite-micro/operators/neon/arm_convolve_s8.c * - * SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or - * its affiliates - * * SPDX-License-Identifier: Apache-2.0 + * SPDX-FileCopyrightText: 2010-2023 Arm Limited and/or its affiliates + * * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. diff --git a/mlearning/tflite-micro/operators/neon/arm_elementwise_add_s8.c b/mlearning/tflite-micro/operators/neon/arm_elementwise_add_s8.c index d7147fbcec1..82718f94b74 100644 --- a/mlearning/tflite-micro/operators/neon/arm_elementwise_add_s8.c +++ b/mlearning/tflite-micro/operators/neon/arm_elementwise_add_s8.c @@ -1,10 +1,9 @@ /**************************************************************************** * apps/mlearning/tflite-micro/operators/neon/arm_elementwise_add_s8.c * - * SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or - * its affiliates - * * SPDX-License-Identifier: Apache-2.0 + * SPDX-FileCopyrightText: 2010-2023 Arm Limited and/or its affiliates + * * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. diff --git a/mlearning/tflite-micro/operators/neon/arm_nn_mat_mult_kernel_s8_s16.c b/mlearning/tflite-micro/operators/neon/arm_nn_mat_mult_kernel_s8_s16.c index 190edb74c7e..9d39cd37d3e 100644 --- a/mlearning/tflite-micro/operators/neon/arm_nn_mat_mult_kernel_s8_s16.c +++ b/mlearning/tflite-micro/operators/neon/arm_nn_mat_mult_kernel_s8_s16.c @@ -1,10 +1,9 @@ /**************************************************************************** * apps/mlearning/tflite-micro/operators/neon/arm_nn_mat_mult_kernel_s8_s16.c * - * SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or - * its affiliates - * * SPDX-License-Identifier: Apache-2.0 + * SPDX-FileCopyrightText: 2010-2023 Arm Limited and/or its affiliates + * * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. diff --git a/mlearning/tflite-micro/operators/neon/arm_q7_to_q15_with_offset.c b/mlearning/tflite-micro/operators/neon/arm_q7_to_q15_with_offset.c index 770e1a88cca..27349c2316b 100644 --- a/mlearning/tflite-micro/operators/neon/arm_q7_to_q15_with_offset.c +++ b/mlearning/tflite-micro/operators/neon/arm_q7_to_q15_with_offset.c @@ -1,10 +1,9 @@ /**************************************************************************** * apps/mlearning/tflite-micro/operators/neon/arm_q7_to_q15_with_offset.c * - * SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or - * its affiliates - * * SPDX-License-Identifier: Apache-2.0 + * SPDX-FileCopyrightText: 2010-2023 Arm Limited and/or its affiliates + * * * Licensed under the Apache License, Version 2.0 (the License); you may * not use this file except in compliance with the License. diff --git a/mlearning/tflite-micro/tflm_syslog.cc b/mlearning/tflite-micro/tflm_syslog.cc index f306a9153bf..9a795eeba68 100644 --- a/mlearning/tflite-micro/tflm_syslog.cc +++ b/mlearning/tflite-micro/tflm_syslog.cc @@ -1,6 +1,8 @@ /**************************************************************************** * apps/mlearning/tflite-micro/tflm_syslog.cc * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/mlearning/tflite-micro/tflm_tool.cc b/mlearning/tflite-micro/tflm_tool.cc index df71500b2d2..8edcf45a49b 100644 --- a/mlearning/tflite-micro/tflm_tool.cc +++ b/mlearning/tflite-micro/tflm_tool.cc @@ -1,6 +1,8 @@ /**************************************************************************** * apps/mlearning/tflite-micro/tflm_tool.cc * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The From 8b074003a5fdf786f755fcd0d09d31b1c9ec6810 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Fri, 20 Dec 2024 05:58:52 +0100 Subject: [PATCH 7/9] modbus: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea --- modbus/CMakeLists.txt | 20 +------------------- modbus/Make.defs | 2 ++ modbus/Makefile | 2 ++ modbus/ascii/Make.defs | 2 ++ modbus/ascii/mbascii.c | 5 ++--- modbus/ascii/mbascii.h | 5 ++--- modbus/functions/Make.defs | 2 ++ modbus/functions/mbfunccoils.c | 5 ++--- modbus/functions/mbfunccoils_m.c | 5 ++--- modbus/functions/mbfuncdiag.c | 5 ++--- modbus/functions/mbfuncdisc.c | 5 ++--- modbus/functions/mbfuncdisc_m.c | 5 ++--- modbus/functions/mbfuncholding.c | 5 ++--- modbus/functions/mbfuncholding_m.c | 5 ++--- modbus/functions/mbfuncinput.c | 5 ++--- modbus/functions/mbfuncinput_m.c | 5 ++--- modbus/functions/mbfuncother.c | 5 ++--- modbus/functions/mbutils.c | 5 ++--- modbus/mb.c | 5 ++--- modbus/mb_m.c | 4 ++-- modbus/nuttx/Make.defs | 2 ++ modbus/nuttx/port.h | 5 ++--- modbus/nuttx/portevent.c | 5 ++--- modbus/nuttx/portevent_m.c | 7 +++---- modbus/nuttx/portother.c | 5 ++--- modbus/nuttx/portother_m.c | 5 ++--- modbus/nuttx/portserial.c | 5 ++--- modbus/nuttx/portserial_m.c | 7 +++---- modbus/nuttx/porttimer.c | 5 ++--- modbus/nuttx/porttimer_m.c | 7 +++---- modbus/rtu/Make.defs | 2 ++ modbus/rtu/mbcrc.c | 5 ++--- modbus/rtu/mbcrc.h | 5 ++--- modbus/rtu/mbrtu.c | 5 ++--- modbus/rtu/mbrtu.h | 5 ++--- modbus/rtu/mbrtu_m.c | 5 ++--- modbus/rtu/mbrtu_m.h | 5 ++--- modbus/tcp/Make.defs | 2 ++ modbus/tcp/mbtcp.c | 5 ++--- modbus/tcp/mbtcp.h | 5 ++--- 40 files changed, 82 insertions(+), 117 deletions(-) diff --git a/modbus/CMakeLists.txt b/modbus/CMakeLists.txt index 27acd1fbe8d..ca4f56b5eaf 100644 --- a/modbus/CMakeLists.txt +++ b/modbus/CMakeLists.txt @@ -1,25 +1,7 @@ # ############################################################################## # apps/modbus/CMakeLists.txt # -# Licensed to the Apache Software Foundation (ASF) under one or more contributor -# license agreements. See the NOTICE file distributed with this work for -# additional information regarding copyright ownership. The ASF licenses this -# file to you under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. -# -# ############################################################################## - -# ############################################################################## -# apps/modbus/CMakeLists.txt +# SPDX-License-Identifier: Apache-2.0 # # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for diff --git a/modbus/Make.defs b/modbus/Make.defs index 99d262bf082..10fd914c3af 100644 --- a/modbus/Make.defs +++ b/modbus/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/modbus/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/modbus/Makefile b/modbus/Makefile index 3589d9017da..ce7eac1d5d0 100644 --- a/modbus/Makefile +++ b/modbus/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/modbus/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/modbus/ascii/Make.defs b/modbus/ascii/Make.defs index 4d671d314a6..972cd903fff 100644 --- a/modbus/ascii/Make.defs +++ b/modbus/ascii/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/modbus/ascii/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/modbus/ascii/mbascii.c b/modbus/ascii/mbascii.c index a4bf5a1861a..2394ecca5f4 100644 --- a/modbus/ascii/mbascii.c +++ b/modbus/ascii/mbascii.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/ascii/mbascii.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/ascii/mbascii.h b/modbus/ascii/mbascii.h index 71d63117b19..355484103ef 100644 --- a/modbus/ascii/mbascii.h +++ b/modbus/ascii/mbascii.h @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/ascii/mbascii.h * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/functions/Make.defs b/modbus/functions/Make.defs index 979cf5d7988..a4e6ea90c40 100644 --- a/modbus/functions/Make.defs +++ b/modbus/functions/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/modbus/functions/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/modbus/functions/mbfunccoils.c b/modbus/functions/mbfunccoils.c index 0be07d56fb5..b742de0643b 100644 --- a/modbus/functions/mbfunccoils.c +++ b/modbus/functions/mbfunccoils.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/functions/mbfunccoils.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/functions/mbfunccoils_m.c b/modbus/functions/mbfunccoils_m.c index 710504268ec..c258d757db8 100644 --- a/modbus/functions/mbfunccoils_m.c +++ b/modbus/functions/mbfunccoils_m.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/functions/mbfunccoils_m.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (C) 2013 Armink - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013 Armink * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/functions/mbfuncdiag.c b/modbus/functions/mbfuncdiag.c index a6ee8fa685a..b34581e6e7d 100644 --- a/modbus/functions/mbfuncdiag.c +++ b/modbus/functions/mbfuncdiag.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/functions/mbfuncdiag.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/functions/mbfuncdisc.c b/modbus/functions/mbfuncdisc.c index 058bdd643c0..3f29072776d 100644 --- a/modbus/functions/mbfuncdisc.c +++ b/modbus/functions/mbfuncdisc.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/functions/mbfuncdisc.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/functions/mbfuncdisc_m.c b/modbus/functions/mbfuncdisc_m.c index 24b620cb754..29386996d51 100644 --- a/modbus/functions/mbfuncdisc_m.c +++ b/modbus/functions/mbfuncdisc_m.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/functions/mbfuncdisc_m.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (C) 2013 Armink - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013 Armink * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/functions/mbfuncholding.c b/modbus/functions/mbfuncholding.c index 1f8b9989806..964db7a7941 100644 --- a/modbus/functions/mbfuncholding.c +++ b/modbus/functions/mbfuncholding.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/functions/mbfuncholding.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/functions/mbfuncholding_m.c b/modbus/functions/mbfuncholding_m.c index 0407825633b..b017be7154d 100644 --- a/modbus/functions/mbfuncholding_m.c +++ b/modbus/functions/mbfuncholding_m.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/functions/mbfuncholding_m.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (C) 2013 Armink - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013 Armink * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/functions/mbfuncinput.c b/modbus/functions/mbfuncinput.c index 73eebb0564d..3874cf9660b 100644 --- a/modbus/functions/mbfuncinput.c +++ b/modbus/functions/mbfuncinput.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/functions/mbfuncinput.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/functions/mbfuncinput_m.c b/modbus/functions/mbfuncinput_m.c index b9577a5cb3c..4ca7e811349 100644 --- a/modbus/functions/mbfuncinput_m.c +++ b/modbus/functions/mbfuncinput_m.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/functions/mbfuncinput_m.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (C) 2013 Armink - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013 Armink * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/functions/mbfuncother.c b/modbus/functions/mbfuncother.c index b0ebaaa5930..ede3fae0cda 100644 --- a/modbus/functions/mbfuncother.c +++ b/modbus/functions/mbfuncother.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/functions/mbfuncother.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/functions/mbutils.c b/modbus/functions/mbutils.c index 3db155eb0b3..816fbe8b2ab 100644 --- a/modbus/functions/mbutils.c +++ b/modbus/functions/mbutils.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/functions/mbutils.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/mb.c b/modbus/mb.c index 7a8155779ee..16f5567d887 100644 --- a/modbus/mb.c +++ b/modbus/mb.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/mb.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/mb_m.c b/modbus/mb_m.c index 16323d7709d..108fdf67831 100644 --- a/modbus/mb_m.c +++ b/modbus/mb_m.c @@ -1,8 +1,8 @@ /**************************************************************************** * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. * - * Copyright (C) 2013 Armink - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013 Armink * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/nuttx/Make.defs b/modbus/nuttx/Make.defs index 11f82abacb0..7960ecee463 100644 --- a/modbus/nuttx/Make.defs +++ b/modbus/nuttx/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/modbus/nuttx/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/modbus/nuttx/port.h b/modbus/nuttx/port.h index 4b75aceabf5..aada110ed26 100644 --- a/modbus/nuttx/port.h +++ b/modbus/nuttx/port.h @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/nuttx/port.h * - * FreeModbus Library: NuttX Port - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/nuttx/portevent.c b/modbus/nuttx/portevent.c index d45c8bad619..bce6e9c5454 100644 --- a/modbus/nuttx/portevent.c +++ b/modbus/nuttx/portevent.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/nuttx/portevent.c * - * FreeModbus Library: NuttX Port - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/nuttx/portevent_m.c b/modbus/nuttx/portevent_m.c index 2f6143943f7..fb40f4dee24 100644 --- a/modbus/nuttx/portevent_m.c +++ b/modbus/nuttx/portevent_m.c @@ -1,10 +1,9 @@ /**************************************************************************** * apps/modbus/nuttx/portevent_m.c * - * FreeModbus Library: NuttX Modbus Master Port - * Original work (c) 2006 Christian Walter - * Modified work (c) 2016 Vytautas Lukenskas - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter + * SPDX-FileCopyrightText: 2016 Vytautas Lukenskas * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/nuttx/portother.c b/modbus/nuttx/portother.c index 7cb453819be..797ede0dc72 100644 --- a/modbus/nuttx/portother.c +++ b/modbus/nuttx/portother.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/nuttx/portother.c * - * FreeModbus Library: NuttX Port - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/nuttx/portother_m.c b/modbus/nuttx/portother_m.c index 799cef6c683..1d703c1926e 100644 --- a/modbus/nuttx/portother_m.c +++ b/modbus/nuttx/portother_m.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/nuttx/portother_m.c * - * FreeModbus Library: NuttX Port - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/nuttx/portserial.c b/modbus/nuttx/portserial.c index 3bf88794086..35155a732f5 100644 --- a/modbus/nuttx/portserial.c +++ b/modbus/nuttx/portserial.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/nuttx/portserial.c * - * FreeModbus Library: NuttX Port - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/nuttx/portserial_m.c b/modbus/nuttx/portserial_m.c index ea3ad317438..98c11eb2842 100644 --- a/modbus/nuttx/portserial_m.c +++ b/modbus/nuttx/portserial_m.c @@ -1,10 +1,9 @@ /**************************************************************************** * apps/modbus/nuttx/portserial_m.c * - * FreeModbus Library: NuttX Modbus Master Port - * Original work (c) 2006 Christian Walter - * Modified work (c) 2016 Vytautas Lukenskas - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter + * SPDX-FileCopyrightText: 2016 Vytautas Lukenskas * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/nuttx/porttimer.c b/modbus/nuttx/porttimer.c index 2a68654cf15..1685df6eeb1 100644 --- a/modbus/nuttx/porttimer.c +++ b/modbus/nuttx/porttimer.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/nuttx/porttimer.c * - * FreeModbus Library: NuttX Port - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/nuttx/porttimer_m.c b/modbus/nuttx/porttimer_m.c index 96b355cc338..1e878aa00a6 100644 --- a/modbus/nuttx/porttimer_m.c +++ b/modbus/nuttx/porttimer_m.c @@ -1,10 +1,9 @@ /**************************************************************************** * apps/modbus/nuttx/porttimer_m.c * - * FreeModbus Library: NuttX Modbus Master Port - * Original work (c) 2006 Christian Walter - * Modified work (c) 2016 Vytautas Lukenskas - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter + * SPDX-FileCopyrightText: 2016 Vytautas Lukenskas * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/rtu/Make.defs b/modbus/rtu/Make.defs index bc5ce1829a6..ac4ab7e2aa4 100644 --- a/modbus/rtu/Make.defs +++ b/modbus/rtu/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/modbus/rtu/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/modbus/rtu/mbcrc.c b/modbus/rtu/mbcrc.c index 5996f640815..dcaddec7193 100644 --- a/modbus/rtu/mbcrc.c +++ b/modbus/rtu/mbcrc.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/rtu/mbcrc.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/rtu/mbcrc.h b/modbus/rtu/mbcrc.h index 707feb8ef66..56d3db5f890 100644 --- a/modbus/rtu/mbcrc.h +++ b/modbus/rtu/mbcrc.h @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modutils/rtu/mbcrc.h * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/rtu/mbrtu.c b/modbus/rtu/mbrtu.c index eb0d57d6261..cc6b1088e71 100644 --- a/modbus/rtu/mbrtu.c +++ b/modbus/rtu/mbrtu.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/rtu/mbrtu.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/rtu/mbrtu.h b/modbus/rtu/mbrtu.h index 7ef009f17e7..418311bffd1 100644 --- a/modbus/rtu/mbrtu.h +++ b/modbus/rtu/mbrtu.h @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/rtu/mbrtu.h * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/rtu/mbrtu_m.c b/modbus/rtu/mbrtu_m.c index 3fde5067002..85827472998 100644 --- a/modbus/rtu/mbrtu_m.c +++ b/modbus/rtu/mbrtu_m.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/rtu/mbrtu_m.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2013 China Beijing Armink - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013 China Beijing Armink * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/rtu/mbrtu_m.h b/modbus/rtu/mbrtu_m.h index 2a58a31305b..5fb2eee43ef 100644 --- a/modbus/rtu/mbrtu_m.h +++ b/modbus/rtu/mbrtu_m.h @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/rtu/mbrtu_m.h * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2013 China Beijing Armink - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2013 China Beijing Armink * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/tcp/Make.defs b/modbus/tcp/Make.defs index 9503ca16bc3..dfd220f4107 100644 --- a/modbus/tcp/Make.defs +++ b/modbus/tcp/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/modbus/tcp/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/modbus/tcp/mbtcp.c b/modbus/tcp/mbtcp.c index 67d503ec7ae..ca9c41c433c 100644 --- a/modbus/tcp/mbtcp.c +++ b/modbus/tcp/mbtcp.c @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/tcp/mbtcp.c * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/modbus/tcp/mbtcp.h b/modbus/tcp/mbtcp.h index b44de01f102..39fa9c8ce44 100644 --- a/modbus/tcp/mbtcp.h +++ b/modbus/tcp/mbtcp.h @@ -1,9 +1,8 @@ /**************************************************************************** * apps/modbus/tcp/mbtcp.h * - * FreeModbus Library: A portable Modbus implementation for Modbus ASCII/RTU. - * Copyright (c) 2006 Christian Walter - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2006 Christian Walter * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions From 370a19039e3259e2aba291288e56386d9436ec5c Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Fri, 20 Dec 2024 06:46:20 +0100 Subject: [PATCH 8/9] Cmake: migrate the license to ASF Xiaomi has submitted the SGA and we can migate the license to ASF Signed-off-by: Alin Jerpelea --- netutils/mqttc/CMakeLists.txt | 22 ++++++++++++++-------- netutils/nng/CMakeLists.txt | 22 ++++++++++++++-------- 2 files changed, 28 insertions(+), 16 deletions(-) diff --git a/netutils/mqttc/CMakeLists.txt b/netutils/mqttc/CMakeLists.txt index 664539d9f42..246cd191941 100644 --- a/netutils/mqttc/CMakeLists.txt +++ b/netutils/mqttc/CMakeLists.txt @@ -1,18 +1,24 @@ +############################################################################ +# apps/netutils/mqttc/CMakeLists.txt # -# Copyright (C) 2024 Xiaomi Corporation +# SPDX-License-Identifier: Apache-2.0 # -# Licensed under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. # +############################################################################ if(CONFIG_NETUTILS_MQTTC) diff --git a/netutils/nng/CMakeLists.txt b/netutils/nng/CMakeLists.txt index 4aa74131d6a..e4fc48cb38e 100644 --- a/netutils/nng/CMakeLists.txt +++ b/netutils/nng/CMakeLists.txt @@ -1,18 +1,24 @@ +############################################################################ +# apps/netutils/nng/CMakeLists.txt # -# Copyright (C) 2024 Xiaomi Corporation +# SPDX-License-Identifier: Apache-2.0 # -# Licensed under the Apache License, Version 2.0 (the "License"); you may not -# use this file except in compliance with the License. You may obtain a copy of -# the License at +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. The +# ASF licenses this file to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance with the +# License. You may obtain a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the specific language governing permissions and limitations under -# the License. +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. # +############################################################################ if(CONFIG_NETUTILS_NNG) From 8746e7fbbf0a7e90b12fc9d8c69cb6365d0ad798 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Fri, 20 Dec 2024 07:57:56 +0100 Subject: [PATCH 9/9] netutils: migrate the license to ASF Xiaomi has submitted the SGA and we can migate the license to ASF Signed-off-by: Alin Jerpelea --- netutils/CMakeLists.txt | 2 + netutils/Make.defs | 2 + netutils/Makefile | 2 + netutils/chat/CMakeLists.txt | 2 + netutils/chat/Make.defs | 2 + netutils/chat/Makefile | 2 + netutils/chat/chat.c | 7 +-- netutils/chat/chat.h | 5 +- netutils/cjson/CMakeLists.txt | 2 + netutils/cjson/Make.defs | 2 + netutils/cjson/Makefile | 2 + netutils/codecs/CMakeLists.txt | 2 + netutils/codecs/Make.defs | 2 + netutils/codecs/Makefile | 2 + netutils/codecs/base64.c | 8 ++-- netutils/codecs/md5.c | 48 ++++++++------------ netutils/codecs/urldecode.c | 39 ++++++---------- netutils/connectedhomeip/CMakeLists.txt | 2 + netutils/cwebsocket/Make.defs | 2 + netutils/cwebsocket/Makefile | 2 + netutils/dhcp6c/CMakeLists.txt | 2 + netutils/dhcp6c/Make.defs | 2 + netutils/dhcp6c/Makefile | 2 + netutils/dhcp6c/dhcp6c.c | 2 + netutils/dhcpc/CMakeLists.txt | 2 + netutils/dhcpc/Make.defs | 2 + netutils/dhcpc/Makefile | 2 + netutils/dhcpc/dhcpc.c | 13 ++---- netutils/dhcpd/CMakeLists.txt | 2 + netutils/dhcpd/Make.defs | 2 + netutils/dhcpd/Makefile | 2 + netutils/dhcpd/dhcpd.c | 2 + netutils/discover/CMakeLists.txt | 2 + netutils/discover/Make.defs | 2 + netutils/discover/Makefile | 2 + netutils/discover/discover.c | 2 + netutils/esp8266/CMakeLists.txt | 2 + netutils/esp8266/Make.defs | 2 + netutils/esp8266/Makefile | 2 + netutils/esp8266/esp8266.c | 2 + netutils/ftpc/CMakeLists.txt | 2 + netutils/ftpc/Make.defs | 2 + netutils/ftpc/Makefile | 2 + netutils/ftpc/ftpc_cdup.c | 2 + netutils/ftpc/ftpc_chdir.c | 2 + netutils/ftpc/ftpc_chmod.c | 2 + netutils/ftpc/ftpc_cmd.c | 2 + netutils/ftpc/ftpc_config.h | 2 + netutils/ftpc/ftpc_connect.c | 2 + netutils/ftpc/ftpc_disconnect.c | 2 + netutils/ftpc/ftpc_filesize.c | 2 + netutils/ftpc/ftpc_filetime.c | 2 + netutils/ftpc/ftpc_getfile.c | 2 + netutils/ftpc/ftpc_getreply.c | 2 + netutils/ftpc/ftpc_help.c | 2 + netutils/ftpc/ftpc_idle.c | 2 + netutils/ftpc/ftpc_internal.h | 2 + netutils/ftpc/ftpc_listdir.c | 2 + netutils/ftpc/ftpc_login.c | 2 + netutils/ftpc/ftpc_mkdir.c | 2 + netutils/ftpc/ftpc_noop.c | 2 + netutils/ftpc/ftpc_putfile.c | 2 + netutils/ftpc/ftpc_quit.c | 2 + netutils/ftpc/ftpc_rename.c | 2 + netutils/ftpc/ftpc_response.c | 2 + netutils/ftpc/ftpc_rmdir.c | 2 + netutils/ftpc/ftpc_rpwd.c | 2 + netutils/ftpc/ftpc_socket.c | 2 + netutils/ftpc/ftpc_transfer.c | 2 + netutils/ftpc/ftpc_unlink.c | 2 + netutils/ftpc/ftpc_utils.c | 2 + netutils/ftpd/CMakeLists.txt | 2 + netutils/ftpd/Make.defs | 2 + netutils/ftpd/Makefile | 2 + netutils/ftpd/ftpd.c | 13 ++---- netutils/ftpd/ftpd.h | 2 + netutils/iperf/CMakeLists.txt | 2 + netutils/iperf/Make.defs | 3 +- netutils/iperf/Makefile | 2 + netutils/iperf/iperf.c | 2 + netutils/iperf/iperf.h | 2 + netutils/iperf/iperf_main.c | 2 + netutils/iptables/CMakeLists.txt | 2 + netutils/iptables/Make.defs | 2 + netutils/iptables/Makefile | 2 + netutils/iptables/xtables.c | 2 + netutils/jsoncpp/CMakeLists.txt | 2 + netutils/jsoncpp/Make.defs | 2 + netutils/jsoncpp/Makefile | 2 + netutils/libcoap/CMakeLists.txt | 2 + netutils/libcoap/Make.defs | 2 + netutils/libcoap/Makefile | 2 + netutils/libcoap/coap_config.h | 8 ++-- netutils/libcurl4nx/CMakeLists.txt | 2 + netutils/libcurl4nx/Make.defs | 2 + netutils/libcurl4nx/Makefile | 2 + netutils/libcurl4nx/curl4nx_easy_cleanup.c | 2 + netutils/libcurl4nx/curl4nx_easy_duphandle.c | 2 + netutils/libcurl4nx/curl4nx_easy_escape.c | 2 + netutils/libcurl4nx/curl4nx_easy_getinfo.c | 2 + netutils/libcurl4nx/curl4nx_easy_init.c | 2 + netutils/libcurl4nx/curl4nx_easy_perform.c | 2 + netutils/libcurl4nx/curl4nx_easy_reset.c | 2 + netutils/libcurl4nx/curl4nx_easy_setopt.c | 2 + netutils/libcurl4nx/curl4nx_easy_unescape.c | 2 + netutils/libcurl4nx/curl4nx_private.h | 2 + netutils/libwebsockets/Make.defs | 2 + netutils/libwebsockets/Makefile | 2 + netutils/libwebsockets/lws_config.h | 2 + netutils/libwebsockets/lws_config_private.h | 4 +- netutils/mqttc/Make.defs | 2 + netutils/mqttc/Makefile | 2 + netutils/nanopb/Make.defs | 2 + netutils/nanopb/Makefile | 2 + netutils/netcat/CMakeLists.txt | 2 + netutils/netcat/Make.defs | 3 +- netutils/netcat/Makefile | 3 +- netutils/netcat/netcat_main.c | 3 +- netutils/netinit/CMakeLists.txt | 2 + netutils/netinit/Make.defs | 2 + netutils/netinit/Makefile | 2 + netutils/netinit/netinit.c | 2 + netutils/netinit/netinit_associate.c | 2 + netutils/netlib/CMakeLists.txt | 2 + netutils/netlib/Make.defs | 2 + netutils/netlib/Makefile | 2 + netutils/netlib/netlib_addipv6addr.c | 2 + netutils/netlib/netlib_autoconfig.c | 2 + netutils/netlib/netlib_conntrack.c | 2 + netutils/netlib/netlib_delarp.c | 2 + netutils/netlib/netlib_delipv6addr.c | 2 + netutils/netlib/netlib_eaddrconv.c | 2 + netutils/netlib/netlib_ethaddrconv.c | 16 +++---- netutils/netlib/netlib_getarp.c | 2 + netutils/netlib/netlib_getarptab.c | 2 + netutils/netlib/netlib_getdevs.c | 2 + netutils/netlib/netlib_getdripv4addr.c | 2 + netutils/netlib/netlib_getessid.c | 2 + netutils/netlib/netlib_getifstatistics.c | 2 + netutils/netlib/netlib_getifstatus.c | 2 + netutils/netlib/netlib_getipv4addr.c | 2 + netutils/netlib/netlib_getipv4netmask.c | 2 + netutils/netlib/netlib_getipv6addr.c | 2 + netutils/netlib/netlib_getmacaddr.c | 2 + netutils/netlib/netlib_getnbtab.c | 2 + netutils/netlib/netlib_getnodeaddr.c | 2 + netutils/netlib/netlib_getpanid.c | 2 + netutils/netlib/netlib_getproperties.c | 2 + netutils/netlib/netlib_getroute.c | 2 + netutils/netlib/netlib_ip6tables.c | 2 + netutils/netlib/netlib_ipmsfilter.c | 2 + netutils/netlib/netlib_iptables.c | 2 + netutils/netlib/netlib_ipv4adaptor.c | 2 + netutils/netlib/netlib_ipv4addrconv.c | 15 +++--- netutils/netlib/netlib_ipv4route.c | 2 + netutils/netlib/netlib_ipv4router.c | 2 + netutils/netlib/netlib_ipv6adaptor.c | 2 + netutils/netlib/netlib_ipv6netmask2prefix.c | 2 + netutils/netlib/netlib_ipv6route.c | 2 + netutils/netlib/netlib_ipv6router.c | 2 + netutils/netlib/netlib_listenon.c | 2 + netutils/netlib/netlib_nodeaddrconv.c | 2 + netutils/netlib/netlib_obtainipv4addr.c | 2 + netutils/netlib/netlib_obtainipv6addr.c | 2 + netutils/netlib/netlib_parsehttpurl.c | 2 + netutils/netlib/netlib_parseurl.c | 2 + netutils/netlib/netlib_prefix2ipv6netmask.c | 2 + netutils/netlib/netlib_saddrconv.c | 2 + netutils/netlib/netlib_server.c | 2 + netutils/netlib/netlib_setarp.c | 2 + netutils/netlib/netlib_setdripv4addr.c | 2 + netutils/netlib/netlib_setdripv6addr.c | 2 + netutils/netlib/netlib_seteaddr.c | 2 + netutils/netlib/netlib_setessid.c | 2 + netutils/netlib/netlib_setifstatus.c | 2 + netutils/netlib/netlib_setipv4addr.c | 2 + netutils/netlib/netlib_setipv4dnsaddr.c | 2 + netutils/netlib/netlib_setipv4netmask.c | 2 + netutils/netlib/netlib_setipv6addr.c | 2 + netutils/netlib/netlib_setipv6dnsaddr.c | 2 + netutils/netlib/netlib_setipv6netmask.c | 2 + netutils/netlib/netlib_setmacaddr.c | 2 + netutils/netlib/netlib_setmtu.c | 2 + netutils/netlib/netlib_setnodeaddr.c | 2 + netutils/nng/Make.defs | 2 + netutils/nng/Makefile | 2 + netutils/ntpclient/CMakeLists.txt | 2 + netutils/ntpclient/Make.defs | 2 + netutils/ntpclient/Makefile | 2 + netutils/ntpclient/ntpclient.c | 2 + netutils/ntpclient/ntpv3.h | 2 + netutils/ping/CMakeLists.txt | 2 + netutils/ping/Make.defs | 2 + netutils/ping/Makefile | 2 + netutils/ping/icmp_ping.c | 2 + netutils/ping/icmpv6_ping.c | 2 + netutils/pppd/CMakeLists.txt | 2 + netutils/pppd/Make.defs | 2 + netutils/pppd/Makefile | 2 + netutils/ptpd/Make.defs | 2 + netutils/ptpd/Makefile | 2 + netutils/ptpd/ptpd.c | 2 + netutils/ptpd/ptpv2.h | 2 + netutils/rexec/CMakeLists.txt | 2 + netutils/rexec/Make.defs | 2 + netutils/rexec/Makefile | 2 + netutils/rexec/rexec.c | 2 + netutils/rexecd/CMakeLists.txt | 2 + netutils/rexecd/Make.defs | 2 + netutils/rexecd/Makefile | 2 + netutils/rexecd/rexecd.c | 2 + netutils/rtptools/CMakeLists.txt | 2 + netutils/rtptools/Make.defs | 2 + netutils/rtptools/Makefile | 2 + netutils/rtptools/config.h | 2 + netutils/smtp/CMakeLists.txt | 2 + netutils/smtp/Make.defs | 2 + netutils/smtp/Makefile | 2 + netutils/smtp/smtp.c | 22 +++------ netutils/telnetc/CMakeLists.txt | 2 + netutils/telnetc/Make.defs | 2 + netutils/telnetc/Makefile | 2 + netutils/telnetc/telnetc.c | 2 + netutils/telnetd/CMakeLists.txt | 2 + netutils/telnetd/Make.defs | 2 + netutils/telnetd/Makefile | 2 + netutils/telnetd/telnetd_daemon.c | 2 + netutils/tftpc/CMakeLists.txt | 2 + netutils/tftpc/Make.defs | 2 + netutils/tftpc/Makefile | 2 + netutils/tftpc/tftpc_get.c | 2 + netutils/tftpc/tftpc_internal.h | 2 + netutils/tftpc/tftpc_packets.c | 2 + netutils/tftpc/tftpc_put.c | 2 + netutils/thttpd/CMakeLists.txt | 2 + netutils/thttpd/Make.defs | 2 + netutils/thttpd/Makefile | 2 + netutils/thttpd/cgi-src/Makefile | 2 + netutils/thttpd/cgi-src/phf.c | 12 ++--- netutils/thttpd/cgi-src/redirect.c | 12 ++--- netutils/thttpd/cgi-src/ssi.c | 12 ++--- netutils/thttpd/config.h | 2 + netutils/thttpd/fdwatch.c | 12 ++--- netutils/thttpd/fdwatch.h | 11 ++--- netutils/thttpd/libhttpd.c | 15 +++--- netutils/thttpd/libhttpd.h | 15 +++--- netutils/thttpd/mime_types.h | 48 ++++++++------------ netutils/thttpd/tdate_parse.c | 12 ++--- netutils/thttpd/tdate_parse.h | 11 ++--- netutils/thttpd/thttpd.c | 14 +++--- netutils/thttpd/thttpd_alloc.c | 2 + netutils/thttpd/thttpd_alloc.h | 39 ++++++---------- netutils/thttpd/thttpd_cgi.c | 15 +++--- netutils/thttpd/thttpd_cgi.h | 15 +++--- netutils/thttpd/thttpd_strings.c | 14 +++--- netutils/thttpd/thttpd_strings.h | 14 +++--- netutils/thttpd/timers.c | 13 ++---- netutils/thttpd/timers.h | 14 +++--- netutils/wakaama/CMakeLists.txt | 2 + netutils/wakaama/examples.cmake | 2 + netutils/wakeonlan/CMakeLists.txt | 2 + netutils/wakeonlan/Make.defs | 2 + netutils/wakeonlan/Makefile | 2 + netutils/wakeonlan/wol_main.c | 2 + netutils/webclient/CMakeLists.txt | 2 + netutils/webclient/Make.defs | 2 + netutils/webclient/Makefile | 2 + netutils/webclient/webclient.c | 17 +++---- netutils/webserver/CMakeLists.txt | 2 + netutils/webserver/Make.defs | 2 + netutils/webserver/Makefile | 2 + netutils/webserver/httpd.c | 19 +++----- netutils/webserver/httpd.h | 14 +++--- netutils/webserver/httpd_cgi.c | 7 ++- netutils/webserver/httpd_cgi.h | 14 +++--- netutils/webserver/httpd_dirlist.c | 2 + netutils/webserver/httpd_fs.c | 14 +++--- netutils/webserver/httpd_mmap.c | 2 + netutils/webserver/httpd_sendfile.c | 2 + netutils/xmlrpc/CMakeLists.txt | 2 + netutils/xmlrpc/Make.defs | 2 + netutils/xmlrpc/Makefile | 2 + netutils/xmlrpc/response.c | 18 ++++---- netutils/xmlrpc/xmlparser.c | 18 ++++---- 284 files changed, 738 insertions(+), 375 deletions(-) diff --git a/netutils/CMakeLists.txt b/netutils/CMakeLists.txt index 62601fd7e9a..e950ed6fff9 100644 --- a/netutils/CMakeLists.txt +++ b/netutils/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/Make.defs b/netutils/Make.defs index d08431e24bc..bd7c0e0cc7d 100644 --- a/netutils/Make.defs +++ b/netutils/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/Makefile b/netutils/Makefile index 6ec7c188436..87fb891a139 100644 --- a/netutils/Makefile +++ b/netutils/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/chat/CMakeLists.txt b/netutils/chat/CMakeLists.txt index 66a4f73485f..eb847a45383 100644 --- a/netutils/chat/CMakeLists.txt +++ b/netutils/chat/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/chat/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/chat/Make.defs b/netutils/chat/Make.defs index 06540e51bc5..db5c1371711 100644 --- a/netutils/chat/Make.defs +++ b/netutils/chat/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/chat/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/chat/Makefile b/netutils/chat/Makefile index 61b61b7fcc0..1c461c85255 100644 --- a/netutils/chat/Makefile +++ b/netutils/chat/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/chat/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/chat/chat.c b/netutils/chat/chat.c index 38ab5dc9201..3849631dfd4 100644 --- a/netutils/chat/chat.c +++ b/netutils/chat/chat.c @@ -1,9 +1,10 @@ /**************************************************************************** * apps/netutils/chat/chat.c * - * Copyright (C) 2016 Vladimir Komendantskiy. All rights reserved. - * Author: Vladimir Komendantskiy - * Partly based on code by Max Nekludov + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2016 Vladimir Komendantskiy. All rights reserved. + * SPDX-FileContributor: Vladimir Komendantskiy + * SPDX-FileContributor: Max Nekludov * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/chat/chat.h b/netutils/chat/chat.h index 61fcef637a4..4c9a9126800 100644 --- a/netutils/chat/chat.h +++ b/netutils/chat/chat.h @@ -1,8 +1,9 @@ /**************************************************************************** * apps/netutils/chat/chat.h * - * Copyright (C) 2016 Vladimir Komendantskiy. All rights reserved. - * Author: Vladimir Komendantskiy + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2016 Vladimir Komendantskiy. All rights reserved. + * SPDX-FileContributor: Vladimir Komendantskiy * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/cjson/CMakeLists.txt b/netutils/cjson/CMakeLists.txt index 0261b694c7e..9749f42f12f 100644 --- a/netutils/cjson/CMakeLists.txt +++ b/netutils/cjson/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/cjson/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/cjson/Make.defs b/netutils/cjson/Make.defs index 78c8220075a..e8f6d6d8090 100644 --- a/netutils/cjson/Make.defs +++ b/netutils/cjson/Make.defs @@ -1,6 +1,8 @@ ############################################################################# # apps/netutils/cjson/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/cjson/Makefile b/netutils/cjson/Makefile index 7d7c423b059..d8993373d2b 100644 --- a/netutils/cjson/Makefile +++ b/netutils/cjson/Makefile @@ -1,6 +1,8 @@ ############################################################################# # apps/netutils/cjson/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/codecs/CMakeLists.txt b/netutils/codecs/CMakeLists.txt index d4ae752befe..ee93eacd291 100644 --- a/netutils/codecs/CMakeLists.txt +++ b/netutils/codecs/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/codecs/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/codecs/Make.defs b/netutils/codecs/Make.defs index 7d2f0592fc1..b17090ec21d 100644 --- a/netutils/codecs/Make.defs +++ b/netutils/codecs/Make.defs @@ -1,6 +1,8 @@ ############################################################################# # apps/netutils/codecs/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/codecs/Makefile b/netutils/codecs/Makefile index 68b3bba9b8f..b6a1dee8907 100644 --- a/netutils/codecs/Makefile +++ b/netutils/codecs/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/codecs/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/codecs/base64.c b/netutils/codecs/base64.c index 442a06bad96..36485b85a55 100644 --- a/netutils/codecs/base64.c +++ b/netutils/codecs/base64.c @@ -1,10 +1,10 @@ /**************************************************************************** * apps/netutils/codecs/base64.c * - * This file is part of the NuttX RTOS: - * - * Copyright (C) 2012, 2018 Gregory Nutt. All rights reserved. - * Author: Darcy Gong + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012, 2018 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2005, Jouni Malinen + * SPDX-FileContributor: Darcy Gong * * Reference: * diff --git a/netutils/codecs/md5.c b/netutils/codecs/md5.c index 38c637dc61c..75dfe3f0c56 100644 --- a/netutils/codecs/md5.c +++ b/netutils/codecs/md5.c @@ -1,11 +1,26 @@ /**************************************************************************** * apps/netutils/codecs/md5.c * - * This file is part of the NuttX RTOS: + * SPDX-License-Identifier: Apache-2.0 * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Author: Darcy Gong + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +/**************************************************************************** * Reference: * * This code implements the MD5 message-digest algorithm. @@ -25,33 +40,6 @@ * * See README and COPYING for more details. * - * And is re-released under the NuttX modified BSD license: - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. 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. - * 3. Neither the name of the Institute 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 INSTITUTE 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 INSTITUTE 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. - * ****************************************************************************/ /**************************************************************************** diff --git a/netutils/codecs/urldecode.c b/netutils/codecs/urldecode.c index 1e1a105fe89..5328f311b14 100644 --- a/netutils/codecs/urldecode.c +++ b/netutils/codecs/urldecode.c @@ -1,35 +1,22 @@ /**************************************************************************** * apps/netutils/codecs/urldecode.c * - * This file is part of the NuttX RTOS: + * SPDX-License-Identifier: Apache-2.0 * - * Copyright (C) 2012 Gregory Nutt. All rights reserved. - * Author: Darcy Gong + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: + * http://www.apache.org/licenses/LICENSE-2.0 * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. 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. - * 3. Neither the name of the Institute 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 INSTITUTE 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 INSTITUTE 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. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * ****************************************************************************/ diff --git a/netutils/connectedhomeip/CMakeLists.txt b/netutils/connectedhomeip/CMakeLists.txt index 546fbe7335c..1031b472794 100644 --- a/netutils/connectedhomeip/CMakeLists.txt +++ b/netutils/connectedhomeip/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/connectedhomeip/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/cwebsocket/Make.defs b/netutils/cwebsocket/Make.defs index 9d068ef8e10..c08da360db1 100644 --- a/netutils/cwebsocket/Make.defs +++ b/netutils/cwebsocket/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/cwebsocket/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/cwebsocket/Makefile b/netutils/cwebsocket/Makefile index 01ffd9fb219..c9e6bbcd342 100644 --- a/netutils/cwebsocket/Makefile +++ b/netutils/cwebsocket/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/cwebsocket/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcp6c/CMakeLists.txt b/netutils/dhcp6c/CMakeLists.txt index 6ded1078b37..63b061cce86 100644 --- a/netutils/dhcp6c/CMakeLists.txt +++ b/netutils/dhcp6c/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/dhcp6c/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/dhcp6c/Make.defs b/netutils/dhcp6c/Make.defs index 39c2c4a3248..120d94f7881 100644 --- a/netutils/dhcp6c/Make.defs +++ b/netutils/dhcp6c/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/dhcp6c/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcp6c/Makefile b/netutils/dhcp6c/Makefile index c4c659693dc..e7be145f304 100644 --- a/netutils/dhcp6c/Makefile +++ b/netutils/dhcp6c/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/dhcp6c/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcp6c/dhcp6c.c b/netutils/dhcp6c/dhcp6c.c index a264721315b..5418c0a98a5 100644 --- a/netutils/dhcp6c/dhcp6c.c +++ b/netutils/dhcp6c/dhcp6c.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/dhcp6c/dhcp6c.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcpc/CMakeLists.txt b/netutils/dhcpc/CMakeLists.txt index 3fdea80c226..7bc2ba17e2b 100644 --- a/netutils/dhcpc/CMakeLists.txt +++ b/netutils/dhcpc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/dhcpc/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/dhcpc/Make.defs b/netutils/dhcpc/Make.defs index 2022610d84e..84be9ecdc91 100644 --- a/netutils/dhcpc/Make.defs +++ b/netutils/dhcpc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/dhcpc/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcpc/Makefile b/netutils/dhcpc/Makefile index 4eaea283a8a..43b62a53c67 100644 --- a/netutils/dhcpc/Makefile +++ b/netutils/dhcpc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/dhcpc/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcpc/dhcpc.c b/netutils/dhcpc/dhcpc.c index 2e365e122e7..38de90b2ea4 100644 --- a/netutils/dhcpc/dhcpc.c +++ b/netutils/dhcpc/dhcpc.c @@ -1,14 +1,11 @@ /**************************************************************************** * apps/netutils/dhcpc/dhcpc.c * - * Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Based heavily on portions of uIP: - * - * Author: Adam Dunkels - * Copyright (c) 2005, Swedish Institute of Computer Science - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2007, 2009, 2011-2012 Gregory Nutt. + * SPDX-FileCopyrightText: 2005, Swedish Institute of Computer Science + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/dhcpd/CMakeLists.txt b/netutils/dhcpd/CMakeLists.txt index ab53fa881e5..5c859f23044 100644 --- a/netutils/dhcpd/CMakeLists.txt +++ b/netutils/dhcpd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/dhcpd/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/dhcpd/Make.defs b/netutils/dhcpd/Make.defs index f91aa017e27..7b676ed3352 100644 --- a/netutils/dhcpd/Make.defs +++ b/netutils/dhcpd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/dhcpd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcpd/Makefile b/netutils/dhcpd/Makefile index be43f42096d..41e2f971cf0 100644 --- a/netutils/dhcpd/Makefile +++ b/netutils/dhcpd/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/dhcpd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/dhcpd/dhcpd.c b/netutils/dhcpd/dhcpd.c index 2f8f280d5cd..367dda5265d 100644 --- a/netutils/dhcpd/dhcpd.c +++ b/netutils/dhcpd/dhcpd.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/dhcpd/dhcpd.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/discover/CMakeLists.txt b/netutils/discover/CMakeLists.txt index 040744fca76..32337dcbf2b 100644 --- a/netutils/discover/CMakeLists.txt +++ b/netutils/discover/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/discover/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/discover/Make.defs b/netutils/discover/Make.defs index 6fcbe4d68bc..95a7a9b451c 100644 --- a/netutils/discover/Make.defs +++ b/netutils/discover/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/discover/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/discover/Makefile b/netutils/discover/Makefile index e38c97571b8..43bd51b7c05 100644 --- a/netutils/discover/Makefile +++ b/netutils/discover/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/discover/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/discover/discover.c b/netutils/discover/discover.c index fd77447a801..6bb3f675b8b 100644 --- a/netutils/discover/discover.c +++ b/netutils/discover/discover.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/discover/discover.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/esp8266/CMakeLists.txt b/netutils/esp8266/CMakeLists.txt index 9ed0bbfe5fd..b9232cc6072 100644 --- a/netutils/esp8266/CMakeLists.txt +++ b/netutils/esp8266/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/esp8266/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/esp8266/Make.defs b/netutils/esp8266/Make.defs index d78ee97f713..6f9a2f463b1 100644 --- a/netutils/esp8266/Make.defs +++ b/netutils/esp8266/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/esp8266/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/esp8266/Makefile b/netutils/esp8266/Makefile index 357bcb83e8b..faf0f91a393 100644 --- a/netutils/esp8266/Makefile +++ b/netutils/esp8266/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/esp8266/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/esp8266/esp8266.c b/netutils/esp8266/esp8266.c index 5b8b7f62ab8..ac64b4b2f67 100644 --- a/netutils/esp8266/esp8266.c +++ b/netutils/esp8266/esp8266.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/esp8266/esp8266.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/CMakeLists.txt b/netutils/ftpc/CMakeLists.txt index 290f7131070..073e22c3c7a 100644 --- a/netutils/ftpc/CMakeLists.txt +++ b/netutils/ftpc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/ftpc/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/ftpc/Make.defs b/netutils/ftpc/Make.defs index 185126699c7..df47acf29a2 100644 --- a/netutils/ftpc/Make.defs +++ b/netutils/ftpc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ftpc/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/Makefile b/netutils/ftpc/Makefile index 16e2850d1f8..8a7ee81f9c5 100644 --- a/netutils/ftpc/Makefile +++ b/netutils/ftpc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ftpc/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_cdup.c b/netutils/ftpc/ftpc_cdup.c index 25eee22838b..6959918560f 100644 --- a/netutils/ftpc/ftpc_cdup.c +++ b/netutils/ftpc/ftpc_cdup.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_cdup.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_chdir.c b/netutils/ftpc/ftpc_chdir.c index de356ed8e51..fcfba68ed04 100644 --- a/netutils/ftpc/ftpc_chdir.c +++ b/netutils/ftpc/ftpc_chdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_chdir.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_chmod.c b/netutils/ftpc/ftpc_chmod.c index 6e949ee0ec2..5710b7c8bc0 100644 --- a/netutils/ftpc/ftpc_chmod.c +++ b/netutils/ftpc/ftpc_chmod.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_chmod.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_cmd.c b/netutils/ftpc/ftpc_cmd.c index 08d3070414f..b6b7556b565 100644 --- a/netutils/ftpc/ftpc_cmd.c +++ b/netutils/ftpc/ftpc_cmd.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_cmd.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_config.h b/netutils/ftpc/ftpc_config.h index ff429f1d7b5..9ac5e08ed86 100644 --- a/netutils/ftpc/ftpc_config.h +++ b/netutils/ftpc/ftpc_config.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_config.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_connect.c b/netutils/ftpc/ftpc_connect.c index ff1759fa5fc..8624f4905c2 100644 --- a/netutils/ftpc/ftpc_connect.c +++ b/netutils/ftpc/ftpc_connect.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_connect.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_disconnect.c b/netutils/ftpc/ftpc_disconnect.c index 60224ffe713..794b1a06bce 100644 --- a/netutils/ftpc/ftpc_disconnect.c +++ b/netutils/ftpc/ftpc_disconnect.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_disconnect.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_filesize.c b/netutils/ftpc/ftpc_filesize.c index 2593eac04d9..67df7da3d85 100644 --- a/netutils/ftpc/ftpc_filesize.c +++ b/netutils/ftpc/ftpc_filesize.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_filesize.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_filetime.c b/netutils/ftpc/ftpc_filetime.c index 5f3ab5e81f8..8a9611803de 100644 --- a/netutils/ftpc/ftpc_filetime.c +++ b/netutils/ftpc/ftpc_filetime.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_filetime.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_getfile.c b/netutils/ftpc/ftpc_getfile.c index 902d61aba17..83524df4e24 100644 --- a/netutils/ftpc/ftpc_getfile.c +++ b/netutils/ftpc/ftpc_getfile.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_getfile.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_getreply.c b/netutils/ftpc/ftpc_getreply.c index 9dd3415384f..d5a3d098368 100644 --- a/netutils/ftpc/ftpc_getreply.c +++ b/netutils/ftpc/ftpc_getreply.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_getreply.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_help.c b/netutils/ftpc/ftpc_help.c index fcf28190d43..b1c777f4a3d 100644 --- a/netutils/ftpc/ftpc_help.c +++ b/netutils/ftpc/ftpc_help.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_help.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_idle.c b/netutils/ftpc/ftpc_idle.c index eea2c054b2c..42e2fdbef50 100644 --- a/netutils/ftpc/ftpc_idle.c +++ b/netutils/ftpc/ftpc_idle.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_idle.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_internal.h b/netutils/ftpc/ftpc_internal.h index c01cb1b694a..70e9bb7b91e 100644 --- a/netutils/ftpc/ftpc_internal.h +++ b/netutils/ftpc/ftpc_internal.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_internal.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_listdir.c b/netutils/ftpc/ftpc_listdir.c index 44c7c9c44b7..92461f6e3ab 100644 --- a/netutils/ftpc/ftpc_listdir.c +++ b/netutils/ftpc/ftpc_listdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_listdir.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_login.c b/netutils/ftpc/ftpc_login.c index 7691ae44d66..9e99c0dc525 100644 --- a/netutils/ftpc/ftpc_login.c +++ b/netutils/ftpc/ftpc_login.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_login.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_mkdir.c b/netutils/ftpc/ftpc_mkdir.c index c065e34ebc4..53817a378e7 100644 --- a/netutils/ftpc/ftpc_mkdir.c +++ b/netutils/ftpc/ftpc_mkdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_mkdir.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_noop.c b/netutils/ftpc/ftpc_noop.c index f96a4c989fd..bc72985b933 100644 --- a/netutils/ftpc/ftpc_noop.c +++ b/netutils/ftpc/ftpc_noop.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_noop.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_putfile.c b/netutils/ftpc/ftpc_putfile.c index feeaf431354..9ac75cc0e76 100644 --- a/netutils/ftpc/ftpc_putfile.c +++ b/netutils/ftpc/ftpc_putfile.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_putfile.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_quit.c b/netutils/ftpc/ftpc_quit.c index 0669e1d952e..28e5acd867a 100644 --- a/netutils/ftpc/ftpc_quit.c +++ b/netutils/ftpc/ftpc_quit.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_quit.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_rename.c b/netutils/ftpc/ftpc_rename.c index 90c1f2efc11..8b3e761ffab 100644 --- a/netutils/ftpc/ftpc_rename.c +++ b/netutils/ftpc/ftpc_rename.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_rename.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_response.c b/netutils/ftpc/ftpc_response.c index eb381163680..ac2040e39f0 100644 --- a/netutils/ftpc/ftpc_response.c +++ b/netutils/ftpc/ftpc_response.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_response.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_rmdir.c b/netutils/ftpc/ftpc_rmdir.c index f2f90bffc54..b8db51dc15b 100644 --- a/netutils/ftpc/ftpc_rmdir.c +++ b/netutils/ftpc/ftpc_rmdir.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_rmdir.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_rpwd.c b/netutils/ftpc/ftpc_rpwd.c index fce28e621fa..8ff608d9bbe 100644 --- a/netutils/ftpc/ftpc_rpwd.c +++ b/netutils/ftpc/ftpc_rpwd.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_rpwd.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_socket.c b/netutils/ftpc/ftpc_socket.c index 0856ba2556d..db9b4ccd0c7 100644 --- a/netutils/ftpc/ftpc_socket.c +++ b/netutils/ftpc/ftpc_socket.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_socket.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_transfer.c b/netutils/ftpc/ftpc_transfer.c index 16864791831..7d294d52dc4 100644 --- a/netutils/ftpc/ftpc_transfer.c +++ b/netutils/ftpc/ftpc_transfer.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_transfer.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_unlink.c b/netutils/ftpc/ftpc_unlink.c index 2d99d19628d..42ba48d4882 100644 --- a/netutils/ftpc/ftpc_unlink.c +++ b/netutils/ftpc/ftpc_unlink.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_unlink.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpc/ftpc_utils.c b/netutils/ftpc/ftpc_utils.c index 23e461fc06b..829aa8672fc 100644 --- a/netutils/ftpc/ftpc_utils.c +++ b/netutils/ftpc/ftpc_utils.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpc/ftpc_utils.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpd/CMakeLists.txt b/netutils/ftpd/CMakeLists.txt index a75bc2ff0d6..c8e742a0989 100644 --- a/netutils/ftpd/CMakeLists.txt +++ b/netutils/ftpd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/ftpd/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/ftpd/Make.defs b/netutils/ftpd/Make.defs index 772fadd8358..21ed7f819d1 100644 --- a/netutils/ftpd/Make.defs +++ b/netutils/ftpd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ftpd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpd/Makefile b/netutils/ftpd/Makefile index 2a61453fe47..244f740d1bd 100644 --- a/netutils/ftpd/Makefile +++ b/netutils/ftpd/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ftpd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ftpd/ftpd.c b/netutils/ftpd/ftpd.c index 9df08a1a65e..12491030a46 100644 --- a/netutils/ftpd/ftpd.c +++ b/netutils/ftpd/ftpd.c @@ -1,14 +1,11 @@ /**************************************************************************** * apps/netutils/ftpd/ftpd.c * - * Copyright (C) 2012, 2015, 2020 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Includes original code as well as logic adapted from hwport_ftpd, written - * by Jaehyuk Cho which is released under a BSD license. - * - * Copyright (C) hwport.com. All rights reserved. - * Author: Jaehyuk Cho + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012, 2015, 2020 Gregory Nutt. + * SPDX-FileCopyrightText: hwport.com. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Jaehyuk Cho * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/ftpd/ftpd.h b/netutils/ftpd/ftpd.h index 31f3ca3e62c..5acea4a2886 100644 --- a/netutils/ftpd/ftpd.h +++ b/netutils/ftpd/ftpd.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ftpd/ftpd.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/iperf/CMakeLists.txt b/netutils/iperf/CMakeLists.txt index feea71ea6e4..a566030c7bf 100644 --- a/netutils/iperf/CMakeLists.txt +++ b/netutils/iperf/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/iperf/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/iperf/Make.defs b/netutils/iperf/Make.defs index 0e121368233..893564b3f37 100644 --- a/netutils/iperf/Make.defs +++ b/netutils/iperf/Make.defs @@ -1,6 +1,7 @@ ############################################################################ # apps/netutils/iperf/Make.defs -# Adds selected applications to apps/ build +# +# SPDX-License-Identifier: Apache-2.0 # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/netutils/iperf/Makefile b/netutils/iperf/Makefile index 9db5e0cc5f9..148026eccda 100644 --- a/netutils/iperf/Makefile +++ b/netutils/iperf/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/iperf/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/iperf/iperf.c b/netutils/iperf/iperf.c index 55ee3ca8e94..cda61f68edc 100644 --- a/netutils/iperf/iperf.c +++ b/netutils/iperf/iperf.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/iperf/iperf.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/iperf/iperf.h b/netutils/iperf/iperf.h index 14b295a9f9f..86739cd5f82 100644 --- a/netutils/iperf/iperf.h +++ b/netutils/iperf/iperf.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/iperf/iperf.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/iperf/iperf_main.c b/netutils/iperf/iperf_main.c index fc42c13a862..67ff3855ef0 100644 --- a/netutils/iperf/iperf_main.c +++ b/netutils/iperf/iperf_main.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/iperf/iperf_main.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/iptables/CMakeLists.txt b/netutils/iptables/CMakeLists.txt index 94f1816d6ee..b049971c235 100644 --- a/netutils/iptables/CMakeLists.txt +++ b/netutils/iptables/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/iptables/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/iptables/Make.defs b/netutils/iptables/Make.defs index 17e09d4f913..2ea07def710 100644 --- a/netutils/iptables/Make.defs +++ b/netutils/iptables/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/iptables/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/iptables/Makefile b/netutils/iptables/Makefile index 08559b73bbc..4b0fe6ee722 100644 --- a/netutils/iptables/Makefile +++ b/netutils/iptables/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/iptables/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/iptables/xtables.c b/netutils/iptables/xtables.c index 6691706a05e..9786db4727d 100644 --- a/netutils/iptables/xtables.c +++ b/netutils/iptables/xtables.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/iptables/xtables.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/jsoncpp/CMakeLists.txt b/netutils/jsoncpp/CMakeLists.txt index 61422e948d5..3f8d1790370 100644 --- a/netutils/jsoncpp/CMakeLists.txt +++ b/netutils/jsoncpp/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/jsoncpp/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/jsoncpp/Make.defs b/netutils/jsoncpp/Make.defs index 3803ab9c064..b66b557f2b9 100644 --- a/netutils/jsoncpp/Make.defs +++ b/netutils/jsoncpp/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/jsoncpp/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/jsoncpp/Makefile b/netutils/jsoncpp/Makefile index 58f301ff5a6..c7218eaaf19 100644 --- a/netutils/jsoncpp/Makefile +++ b/netutils/jsoncpp/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/jsoncpp/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libcoap/CMakeLists.txt b/netutils/libcoap/CMakeLists.txt index 5e26c4d350f..404fd9956e1 100644 --- a/netutils/libcoap/CMakeLists.txt +++ b/netutils/libcoap/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/libcoap/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/libcoap/Make.defs b/netutils/libcoap/Make.defs index e53c8d306a5..c2d7c3ffb86 100644 --- a/netutils/libcoap/Make.defs +++ b/netutils/libcoap/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/libcoap/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libcoap/Makefile b/netutils/libcoap/Makefile index e69c9be1700..877fdb8437c 100644 --- a/netutils/libcoap/Makefile +++ b/netutils/libcoap/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/libcoap/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libcoap/coap_config.h b/netutils/libcoap/coap_config.h index 4e44e5e8103..b05bb6433d6 100644 --- a/netutils/libcoap/coap_config.h +++ b/netutils/libcoap/coap_config.h @@ -1,11 +1,11 @@ /**************************************************************************** * apps/netutils/libcoap/coap_config.h * - * Copyright (C) 2020 Carlos Gomes Martinho - * - * Copyright (C) 2021-2023 Jon Shallow - * * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2020 Carlos Gomes Martinho + * + * SPDX-FileCopyrightText: 2021-2023 Jon Shallow + * * * This file is part of the CoAP library libcoap. Please see README for terms * of use. diff --git a/netutils/libcurl4nx/CMakeLists.txt b/netutils/libcurl4nx/CMakeLists.txt index 7fbf7615809..4a565fd3954 100644 --- a/netutils/libcurl4nx/CMakeLists.txt +++ b/netutils/libcurl4nx/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/libcurl4nx/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/libcurl4nx/Make.defs b/netutils/libcurl4nx/Make.defs index e4be480e14f..f3a3a4350dc 100644 --- a/netutils/libcurl4nx/Make.defs +++ b/netutils/libcurl4nx/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/libcurl4nx/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/Makefile b/netutils/libcurl4nx/Makefile index 43dde03f448..47eeba9aa48 100644 --- a/netutils/libcurl4nx/Makefile +++ b/netutils/libcurl4nx/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/libcurl4nx/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_cleanup.c b/netutils/libcurl4nx/curl4nx_easy_cleanup.c index 353bdf9c273..1c30006716c 100644 --- a/netutils/libcurl4nx/curl4nx_easy_cleanup.c +++ b/netutils/libcurl4nx/curl4nx_easy_cleanup.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_cleanup.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_duphandle.c b/netutils/libcurl4nx/curl4nx_easy_duphandle.c index f6a10fdc08c..4de16e0aff8 100644 --- a/netutils/libcurl4nx/curl4nx_easy_duphandle.c +++ b/netutils/libcurl4nx/curl4nx_easy_duphandle.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_duphandle.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_escape.c b/netutils/libcurl4nx/curl4nx_easy_escape.c index cdd77eb1dcc..ff76d6d8cd5 100644 --- a/netutils/libcurl4nx/curl4nx_easy_escape.c +++ b/netutils/libcurl4nx/curl4nx_easy_escape.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_escape.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_getinfo.c b/netutils/libcurl4nx/curl4nx_easy_getinfo.c index 274bcec426f..ed8e90a9d46 100644 --- a/netutils/libcurl4nx/curl4nx_easy_getinfo.c +++ b/netutils/libcurl4nx/curl4nx_easy_getinfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_getinfo.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_init.c b/netutils/libcurl4nx/curl4nx_easy_init.c index 0fd3d6aec20..1817bf73464 100644 --- a/netutils/libcurl4nx/curl4nx_easy_init.c +++ b/netutils/libcurl4nx/curl4nx_easy_init.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_init.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_perform.c b/netutils/libcurl4nx/curl4nx_easy_perform.c index 0fdaa1b5aa1..466b3efe7d2 100644 --- a/netutils/libcurl4nx/curl4nx_easy_perform.c +++ b/netutils/libcurl4nx/curl4nx_easy_perform.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_perform.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_reset.c b/netutils/libcurl4nx/curl4nx_easy_reset.c index d40806f5234..7ece89011ba 100644 --- a/netutils/libcurl4nx/curl4nx_easy_reset.c +++ b/netutils/libcurl4nx/curl4nx_easy_reset.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_reset.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_setopt.c b/netutils/libcurl4nx/curl4nx_easy_setopt.c index 02fe5d12e4e..03f8ff5d1e0 100644 --- a/netutils/libcurl4nx/curl4nx_easy_setopt.c +++ b/netutils/libcurl4nx/curl4nx_easy_setopt.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_setopt.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_easy_unescape.c b/netutils/libcurl4nx/curl4nx_easy_unescape.c index 8d1c1bca3a4..23f169afecb 100644 --- a/netutils/libcurl4nx/curl4nx_easy_unescape.c +++ b/netutils/libcurl4nx/curl4nx_easy_unescape.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_easy_unescape.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libcurl4nx/curl4nx_private.h b/netutils/libcurl4nx/curl4nx_private.h index 96fcdd93eeb..a67fd0ab098 100644 --- a/netutils/libcurl4nx/curl4nx_private.h +++ b/netutils/libcurl4nx/curl4nx_private.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libcurl4nx/curl4nx_private.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libwebsockets/Make.defs b/netutils/libwebsockets/Make.defs index 7094809e5bb..13fe3849c63 100644 --- a/netutils/libwebsockets/Make.defs +++ b/netutils/libwebsockets/Make.defs @@ -1,6 +1,8 @@ ############################################################################# # apps/netutils/libwebsockets/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libwebsockets/Makefile b/netutils/libwebsockets/Makefile index f95e77ecbcf..ad8c0c5e6c8 100644 --- a/netutils/libwebsockets/Makefile +++ b/netutils/libwebsockets/Makefile @@ -1,6 +1,8 @@ ############################################################################# # apps/netutils/libwebsockets/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/libwebsockets/lws_config.h b/netutils/libwebsockets/lws_config.h index d4903b8a433..3fe970b4772 100644 --- a/netutils/libwebsockets/lws_config.h +++ b/netutils/libwebsockets/lws_config.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libwebsockets/lws_config.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/libwebsockets/lws_config_private.h b/netutils/libwebsockets/lws_config_private.h index 893e02f0524..8f5170faff9 100644 --- a/netutils/libwebsockets/lws_config_private.h +++ b/netutils/libwebsockets/lws_config_private.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/libwebsockets/lws_config_private.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The @@ -150,4 +152,4 @@ /* Defined if you have the header file. */ #define LWS_HAVE_INTTYPES_H -#endif \ No newline at end of file +#endif diff --git a/netutils/mqttc/Make.defs b/netutils/mqttc/Make.defs index 7c9d235d2df..dc27a70466d 100644 --- a/netutils/mqttc/Make.defs +++ b/netutils/mqttc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/mqttc/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/mqttc/Makefile b/netutils/mqttc/Makefile index 89f3a7fc702..730ce5139bd 100644 --- a/netutils/mqttc/Makefile +++ b/netutils/mqttc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/mqttc/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/nanopb/Make.defs b/netutils/nanopb/Make.defs index 6cd3bef2608..a59e73d5cdc 100644 --- a/netutils/nanopb/Make.defs +++ b/netutils/nanopb/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/nanopb/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/nanopb/Makefile b/netutils/nanopb/Makefile index 8bc6982474c..c3624e7ad27 100644 --- a/netutils/nanopb/Makefile +++ b/netutils/nanopb/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/nanopb/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/netcat/CMakeLists.txt b/netutils/netcat/CMakeLists.txt index 9efd885122b..7ac7d78309e 100644 --- a/netutils/netcat/CMakeLists.txt +++ b/netutils/netcat/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/netcat/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/netcat/Make.defs b/netutils/netcat/Make.defs index 7e55c357130..5356f19a1c0 100644 --- a/netutils/netcat/Make.defs +++ b/netutils/netcat/Make.defs @@ -1,6 +1,7 @@ ############################################################################# # apps/netutils/netcat/Make.defs -# netcat sample networking application +# +# SPDX-License-Identifier: Apache-2.0 # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/netutils/netcat/Makefile b/netutils/netcat/Makefile index cc09c0c24f7..c4c3022b3d4 100644 --- a/netutils/netcat/Makefile +++ b/netutils/netcat/Makefile @@ -1,6 +1,7 @@ ############################################################################# # apps/netutils/netcat/Makefile -# Netcat networking application +# +# SPDX-License-Identifier: Apache-2.0 # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/netutils/netcat/netcat_main.c b/netutils/netcat/netcat_main.c index 155de558fc7..4c5d9670414 100644 --- a/netutils/netcat/netcat_main.c +++ b/netutils/netcat/netcat_main.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/netutils/netcat/netcat_main.c - * netcat networking application + * + * SPDX-License-Identifier: Apache-2.0 * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with diff --git a/netutils/netinit/CMakeLists.txt b/netutils/netinit/CMakeLists.txt index 899a6ebf8a5..694ea93dfe5 100644 --- a/netutils/netinit/CMakeLists.txt +++ b/netutils/netinit/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/netinit/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/netinit/Make.defs b/netutils/netinit/Make.defs index effb3f05f25..634118797cb 100644 --- a/netutils/netinit/Make.defs +++ b/netutils/netinit/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/netinit/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/netinit/Makefile b/netutils/netinit/Makefile index 8ee21511fe9..aecf0932546 100644 --- a/netutils/netinit/Makefile +++ b/netutils/netinit/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/netinit/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/netinit/netinit.c b/netutils/netinit/netinit.c index 6a72c3bfe2a..4433eb4a564 100644 --- a/netutils/netinit/netinit.c +++ b/netutils/netinit/netinit.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netinit/netinit.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netinit/netinit_associate.c b/netutils/netinit/netinit_associate.c index 161a3545b88..0ce4beff044 100644 --- a/netutils/netinit/netinit_associate.c +++ b/netutils/netinit/netinit_associate.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netinit/netinit_associate.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/CMakeLists.txt b/netutils/netlib/CMakeLists.txt index 068fa68fe08..d97307e6d03 100644 --- a/netutils/netlib/CMakeLists.txt +++ b/netutils/netlib/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/netlib/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/netlib/Make.defs b/netutils/netlib/Make.defs index 15a44d43fec..144e6fcac86 100644 --- a/netutils/netlib/Make.defs +++ b/netutils/netlib/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/netlib/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/Makefile b/netutils/netlib/Makefile index dc8be99d2b6..93508ef859c 100644 --- a/netutils/netlib/Makefile +++ b/netutils/netlib/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/netlib/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_addipv6addr.c b/netutils/netlib/netlib_addipv6addr.c index 142e3e1e3b6..77c18a6f199 100644 --- a/netutils/netlib/netlib_addipv6addr.c +++ b/netutils/netlib/netlib_addipv6addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_addipv6addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_autoconfig.c b/netutils/netlib/netlib_autoconfig.c index 56f169de756..92bde61a63c 100644 --- a/netutils/netlib/netlib_autoconfig.c +++ b/netutils/netlib/netlib_autoconfig.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_autoconfig.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_conntrack.c b/netutils/netlib/netlib_conntrack.c index fda39476ab9..b6312dd5cc1 100644 --- a/netutils/netlib/netlib_conntrack.c +++ b/netutils/netlib/netlib_conntrack.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_conntrack.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_delarp.c b/netutils/netlib/netlib_delarp.c index 77778ad4295..7a263211c33 100644 --- a/netutils/netlib/netlib_delarp.c +++ b/netutils/netlib/netlib_delarp.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_delarp.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_delipv6addr.c b/netutils/netlib/netlib_delipv6addr.c index d83ffa8077b..bea37aace52 100644 --- a/netutils/netlib/netlib_delipv6addr.c +++ b/netutils/netlib/netlib_delipv6addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_delipv6addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_eaddrconv.c b/netutils/netlib/netlib_eaddrconv.c index 2f97e05f94b..9039e10b5bf 100644 --- a/netutils/netlib/netlib_eaddrconv.c +++ b/netutils/netlib/netlib_eaddrconv.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_eaddrconv.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ethaddrconv.c b/netutils/netlib/netlib_ethaddrconv.c index 5f42547d9f8..f83bc779d02 100644 --- a/netutils/netlib/netlib_ethaddrconv.c +++ b/netutils/netlib/netlib_ethaddrconv.c @@ -1,16 +1,12 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ethaddrconv.c - * Various uIP library functions. * - * Copyright (C) 2007, 2009, 2011, 2016 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Based on uIP which also has a BSD style license: - * - * Author: Adam Dunkels - * Copyright (c) 2004, Adam Dunkels and the Swedish Institute of - * Computer Science. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2007, 2009, 2011, 2016 Gregory Nutt. + * SPDX-FileCopyrightText: 2004 Adam Dunkels. + * SPDX-FileCopyrightText: 2004 Swedish Institute of Computer Science. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/netlib/netlib_getarp.c b/netutils/netlib/netlib_getarp.c index 63ec03b0c78..d023bce300d 100644 --- a/netutils/netlib/netlib_getarp.c +++ b/netutils/netlib/netlib_getarp.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getarp.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getarptab.c b/netutils/netlib/netlib_getarptab.c index f38b9a89dd2..8efb5e89196 100644 --- a/netutils/netlib/netlib_getarptab.c +++ b/netutils/netlib/netlib_getarptab.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getarptab.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getdevs.c b/netutils/netlib/netlib_getdevs.c index 64260e4a034..0e56fe5c564 100644 --- a/netutils/netlib/netlib_getdevs.c +++ b/netutils/netlib/netlib_getdevs.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getdevs.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getdripv4addr.c b/netutils/netlib/netlib_getdripv4addr.c index 32398baa921..b6415124e17 100644 --- a/netutils/netlib/netlib_getdripv4addr.c +++ b/netutils/netlib/netlib_getdripv4addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getdripv4addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getessid.c b/netutils/netlib/netlib_getessid.c index 6204c174549..0eb2702c504 100644 --- a/netutils/netlib/netlib_getessid.c +++ b/netutils/netlib/netlib_getessid.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getessid.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getifstatistics.c b/netutils/netlib/netlib_getifstatistics.c index a6ac33e6c4d..b838d556dc9 100644 --- a/netutils/netlib/netlib_getifstatistics.c +++ b/netutils/netlib/netlib_getifstatistics.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getifstatistics.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getifstatus.c b/netutils/netlib/netlib_getifstatus.c index 378a0bec14b..753e869c337 100644 --- a/netutils/netlib/netlib_getifstatus.c +++ b/netutils/netlib/netlib_getifstatus.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getifstatus.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getipv4addr.c b/netutils/netlib/netlib_getipv4addr.c index 56a61853a89..ec9736b958e 100644 --- a/netutils/netlib/netlib_getipv4addr.c +++ b/netutils/netlib/netlib_getipv4addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getipv4addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getipv4netmask.c b/netutils/netlib/netlib_getipv4netmask.c index a341774b196..d1a0d037663 100644 --- a/netutils/netlib/netlib_getipv4netmask.c +++ b/netutils/netlib/netlib_getipv4netmask.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getipv4netmask.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getipv6addr.c b/netutils/netlib/netlib_getipv6addr.c index 1260e1f09df..15697d5e2e7 100644 --- a/netutils/netlib/netlib_getipv6addr.c +++ b/netutils/netlib/netlib_getipv6addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getipv6addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getmacaddr.c b/netutils/netlib/netlib_getmacaddr.c index 4a0b7bce73e..1bce3098d97 100644 --- a/netutils/netlib/netlib_getmacaddr.c +++ b/netutils/netlib/netlib_getmacaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getmacaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getnbtab.c b/netutils/netlib/netlib_getnbtab.c index 519f89fbd8e..521746f211b 100644 --- a/netutils/netlib/netlib_getnbtab.c +++ b/netutils/netlib/netlib_getnbtab.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getnbtab.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getnodeaddr.c b/netutils/netlib/netlib_getnodeaddr.c index 19724456b30..d35d29eba08 100644 --- a/netutils/netlib/netlib_getnodeaddr.c +++ b/netutils/netlib/netlib_getnodeaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getnodeaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getpanid.c b/netutils/netlib/netlib_getpanid.c index ca63db1b34e..c6b236559fd 100644 --- a/netutils/netlib/netlib_getpanid.c +++ b/netutils/netlib/netlib_getpanid.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getpanid.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getproperties.c b/netutils/netlib/netlib_getproperties.c index d0f2c4cf2c0..9ffbc66bfb8 100644 --- a/netutils/netlib/netlib_getproperties.c +++ b/netutils/netlib/netlib_getproperties.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getproperties.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_getroute.c b/netutils/netlib/netlib_getroute.c index 07db740704a..ff7c318bc74 100644 --- a/netutils/netlib/netlib_getroute.c +++ b/netutils/netlib/netlib_getroute.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_getroute.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ip6tables.c b/netutils/netlib/netlib_ip6tables.c index 59915077bc7..d966e432d2a 100644 --- a/netutils/netlib/netlib_ip6tables.c +++ b/netutils/netlib/netlib_ip6tables.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ip6tables.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipmsfilter.c b/netutils/netlib/netlib_ipmsfilter.c index 29af7746dcd..d7f9b0ff16d 100644 --- a/netutils/netlib/netlib_ipmsfilter.c +++ b/netutils/netlib/netlib_ipmsfilter.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipmsfilter.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_iptables.c b/netutils/netlib/netlib_iptables.c index adfb442d853..e27576a33a2 100644 --- a/netutils/netlib/netlib_iptables.c +++ b/netutils/netlib/netlib_iptables.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_iptables.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv4adaptor.c b/netutils/netlib/netlib_ipv4adaptor.c index c38bd0df10f..92cd73c9433 100644 --- a/netutils/netlib/netlib_ipv4adaptor.c +++ b/netutils/netlib/netlib_ipv4adaptor.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv4adaptor.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv4addrconv.c b/netutils/netlib/netlib_ipv4addrconv.c index 1341eab76fd..27325ca0a18 100644 --- a/netutils/netlib/netlib_ipv4addrconv.c +++ b/netutils/netlib/netlib_ipv4addrconv.c @@ -1,15 +1,12 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv4addrconv.c * - * Copyright (C) 2007, 2009, 2011, 2016 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Based on uIP which also has a BSD style license: - * - * Author: Adam Dunkels - * Copyright (c) 2004, Adam Dunkels and the Swedish Institute of - * Computer Science. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2007, 2009, 2011, 2016 Gregory Nutt. + * SPDX-FileCopyrightText: 2004 Adam Dunkels. + * SPDX-FileCopyrightText: 2004 Swedish Institute of Computer Science. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/netlib/netlib_ipv4route.c b/netutils/netlib/netlib_ipv4route.c index f5343801cac..225b68c0b2f 100644 --- a/netutils/netlib/netlib_ipv4route.c +++ b/netutils/netlib/netlib_ipv4route.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv4route.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv4router.c b/netutils/netlib/netlib_ipv4router.c index 73f672daf55..f1877fbc062 100644 --- a/netutils/netlib/netlib_ipv4router.c +++ b/netutils/netlib/netlib_ipv4router.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv4router.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv6adaptor.c b/netutils/netlib/netlib_ipv6adaptor.c index 7cfdd3308ee..cb979cc02c8 100644 --- a/netutils/netlib/netlib_ipv6adaptor.c +++ b/netutils/netlib/netlib_ipv6adaptor.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv6adaptor.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv6netmask2prefix.c b/netutils/netlib/netlib_ipv6netmask2prefix.c index a3ce602bf26..b2fb5d1bfb4 100644 --- a/netutils/netlib/netlib_ipv6netmask2prefix.c +++ b/netutils/netlib/netlib_ipv6netmask2prefix.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv6netmask2prefix.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv6route.c b/netutils/netlib/netlib_ipv6route.c index c35e26f4ac5..a0e10fa7c77 100644 --- a/netutils/netlib/netlib_ipv6route.c +++ b/netutils/netlib/netlib_ipv6route.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv6route.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_ipv6router.c b/netutils/netlib/netlib_ipv6router.c index bb7ff3dbe07..ce041373f5b 100644 --- a/netutils/netlib/netlib_ipv6router.c +++ b/netutils/netlib/netlib_ipv6router.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_ipv6router.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_listenon.c b/netutils/netlib/netlib_listenon.c index 13482541155..608937ff755 100644 --- a/netutils/netlib/netlib_listenon.c +++ b/netutils/netlib/netlib_listenon.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_listenon.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_nodeaddrconv.c b/netutils/netlib/netlib_nodeaddrconv.c index 76816725f2e..67c6ee2f75e 100644 --- a/netutils/netlib/netlib_nodeaddrconv.c +++ b/netutils/netlib/netlib_nodeaddrconv.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_nodeaddrconv.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_obtainipv4addr.c b/netutils/netlib/netlib_obtainipv4addr.c index 53e8ea7251d..6156445f627 100644 --- a/netutils/netlib/netlib_obtainipv4addr.c +++ b/netutils/netlib/netlib_obtainipv4addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_obtainipv4addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_obtainipv6addr.c b/netutils/netlib/netlib_obtainipv6addr.c index f5054c3e053..f556677051f 100644 --- a/netutils/netlib/netlib_obtainipv6addr.c +++ b/netutils/netlib/netlib_obtainipv6addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_obtainipv6addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_parsehttpurl.c b/netutils/netlib/netlib_parsehttpurl.c index 0cba03d0bb1..d56a800567e 100644 --- a/netutils/netlib/netlib_parsehttpurl.c +++ b/netutils/netlib/netlib_parsehttpurl.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_parsehttpurl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_parseurl.c b/netutils/netlib/netlib_parseurl.c index a806129667b..b6bfda64396 100644 --- a/netutils/netlib/netlib_parseurl.c +++ b/netutils/netlib/netlib_parseurl.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_parseurl.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_prefix2ipv6netmask.c b/netutils/netlib/netlib_prefix2ipv6netmask.c index c8f7a71d983..b82bbbcb46e 100644 --- a/netutils/netlib/netlib_prefix2ipv6netmask.c +++ b/netutils/netlib/netlib_prefix2ipv6netmask.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_prefix2ipv6netmask.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_saddrconv.c b/netutils/netlib/netlib_saddrconv.c index 069ba11eb81..d3dda010fce 100644 --- a/netutils/netlib/netlib_saddrconv.c +++ b/netutils/netlib/netlib_saddrconv.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_saddrconv.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_server.c b/netutils/netlib/netlib_server.c index 3c9bdf69cef..98ff5e907fb 100644 --- a/netutils/netlib/netlib_server.c +++ b/netutils/netlib/netlib_server.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_server.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setarp.c b/netutils/netlib/netlib_setarp.c index edb566089c1..88dbba81044 100644 --- a/netutils/netlib/netlib_setarp.c +++ b/netutils/netlib/netlib_setarp.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setarp.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setdripv4addr.c b/netutils/netlib/netlib_setdripv4addr.c index 019c50b0310..1b5ad5052e7 100644 --- a/netutils/netlib/netlib_setdripv4addr.c +++ b/netutils/netlib/netlib_setdripv4addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setdripv4addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setdripv6addr.c b/netutils/netlib/netlib_setdripv6addr.c index 4da663e6c5c..2f1a1b7e09a 100644 --- a/netutils/netlib/netlib_setdripv6addr.c +++ b/netutils/netlib/netlib_setdripv6addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setdripv6addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_seteaddr.c b/netutils/netlib/netlib_seteaddr.c index 6008fc3aa87..fdabc726906 100644 --- a/netutils/netlib/netlib_seteaddr.c +++ b/netutils/netlib/netlib_seteaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_seteaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setessid.c b/netutils/netlib/netlib_setessid.c index ab91d09bf8a..0a45e42fa98 100644 --- a/netutils/netlib/netlib_setessid.c +++ b/netutils/netlib/netlib_setessid.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setessid.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setifstatus.c b/netutils/netlib/netlib_setifstatus.c index 6a36eaa9025..8a3f58db111 100644 --- a/netutils/netlib/netlib_setifstatus.c +++ b/netutils/netlib/netlib_setifstatus.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setifstatus.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setipv4addr.c b/netutils/netlib/netlib_setipv4addr.c index 8ada0e48a53..db03ddb6114 100644 --- a/netutils/netlib/netlib_setipv4addr.c +++ b/netutils/netlib/netlib_setipv4addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setipv4addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setipv4dnsaddr.c b/netutils/netlib/netlib_setipv4dnsaddr.c index f95af1c9d0d..ae155eabee9 100644 --- a/netutils/netlib/netlib_setipv4dnsaddr.c +++ b/netutils/netlib/netlib_setipv4dnsaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setipv4dnsaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setipv4netmask.c b/netutils/netlib/netlib_setipv4netmask.c index c34b017f6a9..9abd0aaa665 100644 --- a/netutils/netlib/netlib_setipv4netmask.c +++ b/netutils/netlib/netlib_setipv4netmask.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setipv4netmask.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setipv6addr.c b/netutils/netlib/netlib_setipv6addr.c index 79cad9bd06b..6c2ee0b3d3f 100644 --- a/netutils/netlib/netlib_setipv6addr.c +++ b/netutils/netlib/netlib_setipv6addr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setipv6addr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setipv6dnsaddr.c b/netutils/netlib/netlib_setipv6dnsaddr.c index ee7b5afe0e6..123951c47a4 100644 --- a/netutils/netlib/netlib_setipv6dnsaddr.c +++ b/netutils/netlib/netlib_setipv6dnsaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setipv6dnsaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setipv6netmask.c b/netutils/netlib/netlib_setipv6netmask.c index 985d55ed749..443adcafe08 100644 --- a/netutils/netlib/netlib_setipv6netmask.c +++ b/netutils/netlib/netlib_setipv6netmask.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setipv6netmask.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setmacaddr.c b/netutils/netlib/netlib_setmacaddr.c index 07c3263cea1..d794ec45e01 100644 --- a/netutils/netlib/netlib_setmacaddr.c +++ b/netutils/netlib/netlib_setmacaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setmacaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setmtu.c b/netutils/netlib/netlib_setmtu.c index 8c36b2c277e..18b81809cb7 100644 --- a/netutils/netlib/netlib_setmtu.c +++ b/netutils/netlib/netlib_setmtu.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setmtu.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/netlib/netlib_setnodeaddr.c b/netutils/netlib/netlib_setnodeaddr.c index 7e41e59c6e8..7bc58cafc8a 100644 --- a/netutils/netlib/netlib_setnodeaddr.c +++ b/netutils/netlib/netlib_setnodeaddr.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/netlib/netlib_setnodeaddr.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/nng/Make.defs b/netutils/nng/Make.defs index 0eea850157f..e0e9193372d 100644 --- a/netutils/nng/Make.defs +++ b/netutils/nng/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/nng/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/nng/Makefile b/netutils/nng/Makefile index 8d45e2130ce..e3e1a0f8981 100644 --- a/netutils/nng/Makefile +++ b/netutils/nng/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/nng/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ntpclient/CMakeLists.txt b/netutils/ntpclient/CMakeLists.txt index df273e02e94..3a6a47d5e00 100644 --- a/netutils/ntpclient/CMakeLists.txt +++ b/netutils/ntpclient/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/ntpclient/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/ntpclient/Make.defs b/netutils/ntpclient/Make.defs index 691ddfe4b34..d97f3db49a1 100644 --- a/netutils/ntpclient/Make.defs +++ b/netutils/ntpclient/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ntpclient/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ntpclient/Makefile b/netutils/ntpclient/Makefile index 27233557646..d528591dae3 100644 --- a/netutils/ntpclient/Makefile +++ b/netutils/ntpclient/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ntpclient/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ntpclient/ntpclient.c b/netutils/ntpclient/ntpclient.c index ac48a3e091d..66aaacb4aaa 100644 --- a/netutils/ntpclient/ntpclient.c +++ b/netutils/ntpclient/ntpclient.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ntpclient/ntpclient.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ntpclient/ntpv3.h b/netutils/ntpclient/ntpv3.h index 0f439a32ee3..837722697eb 100644 --- a/netutils/ntpclient/ntpv3.h +++ b/netutils/ntpclient/ntpv3.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ntpclient/ntpv3.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ping/CMakeLists.txt b/netutils/ping/CMakeLists.txt index e250aaa97de..9f362a5ba4a 100644 --- a/netutils/ping/CMakeLists.txt +++ b/netutils/ping/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/ping/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/ping/Make.defs b/netutils/ping/Make.defs index 753819bf283..70680487ffd 100644 --- a/netutils/ping/Make.defs +++ b/netutils/ping/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ping/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ping/Makefile b/netutils/ping/Makefile index 847950a80f8..f65b1744596 100644 --- a/netutils/ping/Makefile +++ b/netutils/ping/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ping/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ping/icmp_ping.c b/netutils/ping/icmp_ping.c index 024bbeb2dac..efbc8a61a78 100644 --- a/netutils/ping/icmp_ping.c +++ b/netutils/ping/icmp_ping.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ping/icmp_ping.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ping/icmpv6_ping.c b/netutils/ping/icmpv6_ping.c index 96bdae10ded..74cd59ee975 100644 --- a/netutils/ping/icmpv6_ping.c +++ b/netutils/ping/icmpv6_ping.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ping/icmpv6_ping.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/pppd/CMakeLists.txt b/netutils/pppd/CMakeLists.txt index 5d160b28951..0c35f1cbb7f 100644 --- a/netutils/pppd/CMakeLists.txt +++ b/netutils/pppd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/pppd/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/pppd/Make.defs b/netutils/pppd/Make.defs index 7d0412ec4ee..cad4791fcf3 100644 --- a/netutils/pppd/Make.defs +++ b/netutils/pppd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/pppd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/pppd/Makefile b/netutils/pppd/Makefile index ca97e72bb17..b5a8c98e853 100644 --- a/netutils/pppd/Makefile +++ b/netutils/pppd/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/pppd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ptpd/Make.defs b/netutils/ptpd/Make.defs index c3f5f60ffb0..5034710eca0 100644 --- a/netutils/ptpd/Make.defs +++ b/netutils/ptpd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ptpd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ptpd/Makefile b/netutils/ptpd/Makefile index 3f3e98a361b..95b19a640e5 100644 --- a/netutils/ptpd/Makefile +++ b/netutils/ptpd/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/ptpd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/ptpd/ptpd.c b/netutils/ptpd/ptpd.c index 080e7b2cafc..309f78a07f1 100644 --- a/netutils/ptpd/ptpd.c +++ b/netutils/ptpd/ptpd.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ptpd/ptpd.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/ptpd/ptpv2.h b/netutils/ptpd/ptpv2.h index 93bc667f2d0..8b031567b74 100644 --- a/netutils/ptpd/ptpv2.h +++ b/netutils/ptpd/ptpv2.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/ptpd/ptpv2.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/rexec/CMakeLists.txt b/netutils/rexec/CMakeLists.txt index ee95badb9e2..1c6d63d6ba4 100644 --- a/netutils/rexec/CMakeLists.txt +++ b/netutils/rexec/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/rexec/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/rexec/Make.defs b/netutils/rexec/Make.defs index bcc9bbd6589..deb3b2de6df 100644 --- a/netutils/rexec/Make.defs +++ b/netutils/rexec/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/rexec/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/rexec/Makefile b/netutils/rexec/Makefile index 98d7f5e33f6..c033850779f 100644 --- a/netutils/rexec/Makefile +++ b/netutils/rexec/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/rexec/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/rexec/rexec.c b/netutils/rexec/rexec.c index 69346d87235..3276ac56a43 100644 --- a/netutils/rexec/rexec.c +++ b/netutils/rexec/rexec.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/rexec/rexec.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/rexecd/CMakeLists.txt b/netutils/rexecd/CMakeLists.txt index 1e37e9acebd..0da40f5bd63 100644 --- a/netutils/rexecd/CMakeLists.txt +++ b/netutils/rexecd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/rexecd/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/rexecd/Make.defs b/netutils/rexecd/Make.defs index 4bb13e4538c..9f0533f291e 100644 --- a/netutils/rexecd/Make.defs +++ b/netutils/rexecd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/rexecd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/rexecd/Makefile b/netutils/rexecd/Makefile index c39d9ca65cf..ea332bea600 100644 --- a/netutils/rexecd/Makefile +++ b/netutils/rexecd/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/rexecd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/rexecd/rexecd.c b/netutils/rexecd/rexecd.c index 431ea26c48f..5c301c62a99 100644 --- a/netutils/rexecd/rexecd.c +++ b/netutils/rexecd/rexecd.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/rexecd/rexecd.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/rtptools/CMakeLists.txt b/netutils/rtptools/CMakeLists.txt index 6627bef78c2..76c8a0ab47c 100644 --- a/netutils/rtptools/CMakeLists.txt +++ b/netutils/rtptools/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/rtptools/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/rtptools/Make.defs b/netutils/rtptools/Make.defs index 0c4cf384026..be02f518f33 100644 --- a/netutils/rtptools/Make.defs +++ b/netutils/rtptools/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/rtptools/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/rtptools/Makefile b/netutils/rtptools/Makefile index b6b3a970424..91080291b68 100644 --- a/netutils/rtptools/Makefile +++ b/netutils/rtptools/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/rtptools/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/rtptools/config.h b/netutils/rtptools/config.h index dd077ee99e0..975e6a00537 100644 --- a/netutils/rtptools/config.h +++ b/netutils/rtptools/config.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/rtptools/config.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/smtp/CMakeLists.txt b/netutils/smtp/CMakeLists.txt index 680d8336f89..29402455a6f 100644 --- a/netutils/smtp/CMakeLists.txt +++ b/netutils/smtp/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/smtp/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/smtp/Make.defs b/netutils/smtp/Make.defs index 8a2184741ac..9736ebb534d 100644 --- a/netutils/smtp/Make.defs +++ b/netutils/smtp/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/smtp/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/smtp/Makefile b/netutils/smtp/Makefile index 55878ae13d4..d0866399d6a 100644 --- a/netutils/smtp/Makefile +++ b/netutils/smtp/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/smtp/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/smtp/smtp.c b/netutils/smtp/smtp.c index 83081361dda..2a8d2334600 100644 --- a/netutils/smtp/smtp.c +++ b/netutils/smtp/smtp.c @@ -1,22 +1,12 @@ /**************************************************************************** * apps/netutils/smtp/smtp.c - * smtp SMTP E-mail sender * - * Copyright (C) 2007, 2009, 2011, 2015, 2020 Gregory Nutt. All rights - * reserved. - * Author: Gregory Nutt - * - * Heavily leveraged from uIP 1.0 which also has a BSD-like license: - * - * The Simple Mail Transfer Protocol (SMTP) as defined by RFC821 is - * the standard way of sending and transferring e-mail on the - * Internet. This simple example implementation is intended as an - * example of how to implement protocols in uIP, and is able to send - * out e-mail but has not been extensively tested. - * - * Author: Adam Dunkels - * Copyright (c) 2004, Adam Dunkels. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2015, 2020 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2007, 2009, 2011, Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2004, Adam Dunkels. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/telnetc/CMakeLists.txt b/netutils/telnetc/CMakeLists.txt index 1f24a3b05c7..ec92b08b36a 100644 --- a/netutils/telnetc/CMakeLists.txt +++ b/netutils/telnetc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/telnetc/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/telnetc/Make.defs b/netutils/telnetc/Make.defs index a9da1ef00b9..7e989f656c9 100644 --- a/netutils/telnetc/Make.defs +++ b/netutils/telnetc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/telnetc/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/telnetc/Makefile b/netutils/telnetc/Makefile index e0361e70de5..4d0a7291718 100644 --- a/netutils/telnetc/Makefile +++ b/netutils/telnetc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/telnetc/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/telnetc/telnetc.c b/netutils/telnetc/telnetc.c index 73d5f422be0..24f63c206d1 100644 --- a/netutils/telnetc/telnetc.c +++ b/netutils/telnetc/telnetc.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/telnetc/telnetc.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/telnetd/CMakeLists.txt b/netutils/telnetd/CMakeLists.txt index e46969021d1..322868ae094 100644 --- a/netutils/telnetd/CMakeLists.txt +++ b/netutils/telnetd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/telnetd/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/telnetd/Make.defs b/netutils/telnetd/Make.defs index d2903dae047..7dcdc877628 100644 --- a/netutils/telnetd/Make.defs +++ b/netutils/telnetd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/telnetd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/telnetd/Makefile b/netutils/telnetd/Makefile index 9eab6856e59..d53bcacf415 100644 --- a/netutils/telnetd/Makefile +++ b/netutils/telnetd/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/telnetd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/telnetd/telnetd_daemon.c b/netutils/telnetd/telnetd_daemon.c index b78e9f5db17..ed02b156909 100644 --- a/netutils/telnetd/telnetd_daemon.c +++ b/netutils/telnetd/telnetd_daemon.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/telnetd/telnetd_daemon.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/tftpc/CMakeLists.txt b/netutils/tftpc/CMakeLists.txt index f0eaee92aab..bb808b15f66 100644 --- a/netutils/tftpc/CMakeLists.txt +++ b/netutils/tftpc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/tftpc/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/tftpc/Make.defs b/netutils/tftpc/Make.defs index aeb33fe947a..f6abbc18c54 100644 --- a/netutils/tftpc/Make.defs +++ b/netutils/tftpc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/tftpc/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/tftpc/Makefile b/netutils/tftpc/Makefile index b2594517d91..3fe7a411943 100644 --- a/netutils/tftpc/Makefile +++ b/netutils/tftpc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/tftpc/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/tftpc/tftpc_get.c b/netutils/tftpc/tftpc_get.c index 4432e1e960f..36227e29a6a 100644 --- a/netutils/tftpc/tftpc_get.c +++ b/netutils/tftpc/tftpc_get.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/tftpc/tftpc_get.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/tftpc/tftpc_internal.h b/netutils/tftpc/tftpc_internal.h index 83443b85416..337bbeb6822 100644 --- a/netutils/tftpc/tftpc_internal.h +++ b/netutils/tftpc/tftpc_internal.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/tftpc/tftpc_internal.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/tftpc/tftpc_packets.c b/netutils/tftpc/tftpc_packets.c index 4c981a43efd..05d56083ca3 100644 --- a/netutils/tftpc/tftpc_packets.c +++ b/netutils/tftpc/tftpc_packets.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/tftpc/tftpc_packets.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/tftpc/tftpc_put.c b/netutils/tftpc/tftpc_put.c index a30e3579871..3f3a9c849ce 100644 --- a/netutils/tftpc/tftpc_put.c +++ b/netutils/tftpc/tftpc_put.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/tftpc/tftpc_put.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/thttpd/CMakeLists.txt b/netutils/thttpd/CMakeLists.txt index d7da13a19e3..232cfc71045 100644 --- a/netutils/thttpd/CMakeLists.txt +++ b/netutils/thttpd/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/thttpd/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/thttpd/Make.defs b/netutils/thttpd/Make.defs index abd53b55bd8..7847dbf24ac 100644 --- a/netutils/thttpd/Make.defs +++ b/netutils/thttpd/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/thttpd/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/thttpd/Makefile b/netutils/thttpd/Makefile index 65a5f42e8dc..78d39ce7bde 100644 --- a/netutils/thttpd/Makefile +++ b/netutils/thttpd/Makefile @@ -1,6 +1,8 @@ ############################################################################# # apps/netutils/thttpd/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/thttpd/cgi-src/Makefile b/netutils/thttpd/cgi-src/Makefile index 4be27bb696a..dfe18f95425 100644 --- a/netutils/thttpd/cgi-src/Makefile +++ b/netutils/thttpd/cgi-src/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/thttpd/cgi-src/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/thttpd/cgi-src/phf.c b/netutils/thttpd/cgi-src/phf.c index 9e065df91c5..4155ae98e86 100644 --- a/netutils/thttpd/cgi-src/phf.c +++ b/netutils/thttpd/cgi-src/phf.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/cgi-src/phf.c - * Cracker trap * - * Copyright (C) 2009, 2015 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright © 1996 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009, 2015 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1996 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/cgi-src/redirect.c b/netutils/thttpd/cgi-src/redirect.c index 87811af241e..3b24bb11160 100644 --- a/netutils/thttpd/cgi-src/redirect.c +++ b/netutils/thttpd/cgi-src/redirect.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/cgi-src/redirect.c - * Simple redirection CGI program * - * Copyright (C) 2009, 2015 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright © 1995 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009, 2015 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/cgi-src/ssi.c b/netutils/thttpd/cgi-src/ssi.c index 6608ba77f76..9c7f4681700 100644 --- a/netutils/thttpd/cgi-src/ssi.c +++ b/netutils/thttpd/cgi-src/ssi.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/cgi-src/ssi.c - * Server-side-includes CGI program * - * Copyright (C) 2009, 2015 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright 1995 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009, 2015 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/config.h b/netutils/thttpd/config.h index acbbef4a605..dee2eb54245 100644 --- a/netutils/thttpd/config.h +++ b/netutils/thttpd/config.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/thttpd/config.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/thttpd/fdwatch.c b/netutils/thttpd/fdwatch.c index a58b012b601..320cf1a8571 100644 --- a/netutils/thttpd/fdwatch.c +++ b/netutils/thttpd/fdwatch.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/fdwatch.c - * FD watcher routines for poll() * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright (C) 1999,2000 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1999,2000 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/fdwatch.h b/netutils/thttpd/fdwatch.h index 4cb67aaa418..b985e17f9e2 100644 --- a/netutils/thttpd/fdwatch.h +++ b/netutils/thttpd/fdwatch.h @@ -1,13 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/fdwatch.h * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in THTTPD: - * - * Copyright (C) 1999 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1999 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/libhttpd.c b/netutils/thttpd/libhttpd.c index 697dd1d50cc..9bb8d20d7ef 100644 --- a/netutils/thttpd/libhttpd.c +++ b/netutils/thttpd/libhttpd.c @@ -1,14 +1,13 @@ /**************************************************************************** * apps/netutils/thttpd/libhttpd.c - * HTTP Protocol Library * - * Copyright (C) 2011, 2013, 2015-2016 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright 1995,1998,1999,2000,2001 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2015, 2016 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2011, 2013 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/libhttpd.h b/netutils/thttpd/libhttpd.h index e5c3486716d..310b9f625fd 100644 --- a/netutils/thttpd/libhttpd.h +++ b/netutils/thttpd/libhttpd.h @@ -1,15 +1,12 @@ /**************************************************************************** * apps/netutils/thttpd/libhttpd.h - * HTTP Protocol Library Definitions * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright (C) 1995,1998,1999,2000,2001 by Jef Poskanzer - * . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/mime_types.h b/netutils/thttpd/mime_types.h index 8889cd3f735..4b0ba121eb1 100644 --- a/netutils/thttpd/mime_types.h +++ b/netutils/thttpd/mime_types.h @@ -1,39 +1,29 @@ /**************************************************************************** * apps/netutils/thttpd/mime_types.h - * Provides mappings between filename extensions, MIME types and encodings. * - * Based on mime_encodings.txt and mime_types.txt by Jef Poskanser which - * contained no copyright information. + * SPDX-License-Identifier: Apache-2.0 * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: + * http://www.apache.org/licenses/LICENSE-2.0 * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. 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. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. + * + ****************************************************************************/ + +/**************************************************************************** * - * 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. + * Based on mime_encodings.txt and mime_types.txt by Jef Poskanser which + * contained no copyright information. * ****************************************************************************/ diff --git a/netutils/thttpd/tdate_parse.c b/netutils/thttpd/tdate_parse.c index 3622ffe9725..113059223d0 100644 --- a/netutils/thttpd/tdate_parse.c +++ b/netutils/thttpd/tdate_parse.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/tdate_parse.c - * Parse string dates into internal form, stripped-down version * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright © 1995 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/tdate_parse.h b/netutils/thttpd/tdate_parse.h index 8b984301dd9..efec65900fc 100644 --- a/netutils/thttpd/tdate_parse.h +++ b/netutils/thttpd/tdate_parse.h @@ -1,13 +1,10 @@ /**************************************************************************** * apps/netutils/thttpd/tdate_parse.h * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in THTTPD: - * - * Copyright (C) 1995 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/thttpd.c b/netutils/thttpd/thttpd.c index 58c6a290b43..22338665b16 100644 --- a/netutils/thttpd/thttpd.c +++ b/netutils/thttpd/thttpd.c @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd.c - * Tiny HTTP Server * - * Copyright (C) 2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright (C) 1995,1998,1999,2000,2001 by - * Jef Poskanzer . All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009, 2011 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/thttpd_alloc.c b/netutils/thttpd/thttpd_alloc.c index 15640575fdc..7999f7823a7 100644 --- a/netutils/thttpd/thttpd_alloc.c +++ b/netutils/thttpd/thttpd_alloc.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd_alloc.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/thttpd/thttpd_alloc.h b/netutils/thttpd/thttpd_alloc.h index 639e74dadf9..eab3208a1ea 100644 --- a/netutils/thttpd/thttpd_alloc.h +++ b/netutils/thttpd/thttpd_alloc.h @@ -1,35 +1,22 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd_alloc.h * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt + * SPDX-License-Identifier: Apache-2.0 * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. The + * ASF licenses this file to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance with the + * License. You may obtain a copy of the License at * - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. 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. - * 3. Neither the name NuttX nor the names of its contributors may be - * used to endorse or promote products derived from this software - * without specific prior written permission. + * http://www.apache.org/licenses/LICENSE-2.0 * - * 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. + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT + * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the + * License for the specific language governing permissions and limitations + * under the License. * ****************************************************************************/ diff --git a/netutils/thttpd/thttpd_cgi.c b/netutils/thttpd/thttpd_cgi.c index 456350b42b9..5c891456005 100644 --- a/netutils/thttpd/thttpd_cgi.c +++ b/netutils/thttpd/thttpd_cgi.c @@ -1,14 +1,13 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd_cgi.c - * CGI support * - * Copyright (C) 2009, 2011, 2016 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file libhttpd.c in the original THTTPD package: - * - * Copyright © 1995,1998,1999,2000,2001 by - * Jef Poskanzer . All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2011, 2016 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/thttpd_cgi.h b/netutils/thttpd/thttpd_cgi.h index 2d5c34bc198..2adcc676768 100644 --- a/netutils/thttpd/thttpd_cgi.h +++ b/netutils/thttpd/thttpd_cgi.h @@ -1,15 +1,12 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd_cgi.h - * CGI support * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file libhttpd.c in the original THTTPD package: - * - * Copyright (C) 1995,1998,1999,2000,2001 by Jef Poskanzer - * . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/thttpd_strings.c b/netutils/thttpd/thttpd_strings.c index d541b7dcd0e..60f78e14dc4 100644 --- a/netutils/thttpd/thttpd_strings.c +++ b/netutils/thttpd/thttpd_strings.c @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd_strings.c - * HTTP strings * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright © 1995,1998,1999,2000,2001 by Jef Poskanzer - * . All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/thttpd_strings.h b/netutils/thttpd/thttpd_strings.h index 9b8d64d5a8c..ae063f63acf 100644 --- a/netutils/thttpd/thttpd_strings.h +++ b/netutils/thttpd/thttpd_strings.h @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/thttpd/thttpd_strings.h - * HTTP strings * - * Copyright (C) 2009, 2015 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright (C) 1995,1998,1999,2000,2001 by Jef Poskanzer - * . All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009, 2015 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000, 2001 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/timers.c b/netutils/thttpd/timers.c index 828756d607a..a3bd898310c 100644 --- a/netutils/thttpd/timers.c +++ b/netutils/thttpd/timers.c @@ -1,14 +1,11 @@ /**************************************************************************** * apps/netutils/thttpd/timers.c - * Simple Timer Routines * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in the original THTTPD package: - * - * Copyright © 1995,1998,2000 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 1998, 2000 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/thttpd/timers.h b/netutils/thttpd/timers.h index 4975a980918..dab16e29726 100644 --- a/netutils/thttpd/timers.h +++ b/netutils/thttpd/timers.h @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/thttpd/timers.h - * Header file for THTTPD timers package * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Derived from the file of the same name in THTTPD: - * - * Copyright (C) 1995,1998,1999,2000 by Jef Poskanzer . - * All rights reserved. + * SPDX-License-Identifier: BSD-2-Clause + * SPDX-FileCopyrightText: 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2000 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1998, 1999 by Jef Poskanzer . + * SPDX-FileCopyrightText: 1995 by Jef Poskanzer . + * SPDX-FileContributor: Gregory Nutt * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/wakaama/CMakeLists.txt b/netutils/wakaama/CMakeLists.txt index 4f56ebb135e..97a6823c28e 100644 --- a/netutils/wakaama/CMakeLists.txt +++ b/netutils/wakaama/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/wakaama/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/wakaama/examples.cmake b/netutils/wakaama/examples.cmake index bfce0ffb068..3c4e6257f97 100644 --- a/netutils/wakaama/examples.cmake +++ b/netutils/wakaama/examples.cmake @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/wakaama/examples.cmake # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/wakeonlan/CMakeLists.txt b/netutils/wakeonlan/CMakeLists.txt index b773dd3ef58..c881d7c7792 100644 --- a/netutils/wakeonlan/CMakeLists.txt +++ b/netutils/wakeonlan/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/wakeonlan/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/wakeonlan/Make.defs b/netutils/wakeonlan/Make.defs index e673d0be0d0..b36aab16713 100644 --- a/netutils/wakeonlan/Make.defs +++ b/netutils/wakeonlan/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/wakeonlan/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/wakeonlan/Makefile b/netutils/wakeonlan/Makefile index dc767528ed9..1e1cfc2b2ad 100644 --- a/netutils/wakeonlan/Makefile +++ b/netutils/wakeonlan/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/wakeonlan/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/wakeonlan/wol_main.c b/netutils/wakeonlan/wol_main.c index e756e178004..9c289bf1687 100644 --- a/netutils/wakeonlan/wol_main.c +++ b/netutils/wakeonlan/wol_main.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/wakeonlan/wol_main.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/webclient/CMakeLists.txt b/netutils/webclient/CMakeLists.txt index 2c09042174d..b3dfaf22d2d 100644 --- a/netutils/webclient/CMakeLists.txt +++ b/netutils/webclient/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/webclient/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/webclient/Make.defs b/netutils/webclient/Make.defs index b0277210a70..4f775bfc16e 100644 --- a/netutils/webclient/Make.defs +++ b/netutils/webclient/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/webclient/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/webclient/Makefile b/netutils/webclient/Makefile index 22b347f8b97..6446c8f8076 100644 --- a/netutils/webclient/Makefile +++ b/netutils/webclient/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/webclient/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/webclient/webclient.c b/netutils/webclient/webclient.c index d16db2f0720..8784b68b562 100644 --- a/netutils/webclient/webclient.c +++ b/netutils/webclient/webclient.c @@ -1,16 +1,13 @@ /**************************************************************************** * apps/netutils/webclient/webclient.c - * Implementation of the HTTP client. * - * Copyright (C) 2007, 2009, 2011-2012, 2014, 2020 Gregory Nutt. - * All rights reserved. - * Author: Gregory Nutt - * - * Based on uIP which also has a BSD style license: - * - * Author: Adam Dunkels - * Copyright (c) 2002, Adam Dunkels. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2014, 2020 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2011-2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2007, 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2002 Adam Dunkels. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/webserver/CMakeLists.txt b/netutils/webserver/CMakeLists.txt index 1d76e6592f5..fa7e37dd8d2 100644 --- a/netutils/webserver/CMakeLists.txt +++ b/netutils/webserver/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/webserver/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/webserver/Make.defs b/netutils/webserver/Make.defs index f61c832a0eb..c80c3d703a1 100644 --- a/netutils/webserver/Make.defs +++ b/netutils/webserver/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/webserver/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/webserver/Makefile b/netutils/webserver/Makefile index 2e46ff02511..32406ccdc5a 100644 --- a/netutils/webserver/Makefile +++ b/netutils/webserver/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/webserver/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/webserver/httpd.c b/netutils/webserver/httpd.c index 5916cbc63cd..23f69a94956 100644 --- a/netutils/webserver/httpd.c +++ b/netutils/webserver/httpd.c @@ -1,19 +1,12 @@ /**************************************************************************** * apps/netutils/webserver/httpd.c - * httpd Web server * - * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * This is a leverage of similar logic from uIP: - * - * Author: Adam Dunkels - * Copyright (c) 2004, Adam Dunkels. - * All rights reserved. - * - * The uIP web server is a very simplistic implementation of an HTTP - * server. It can serve web pages and files from a read-only ROM - * filesystem, and provides a very small scripting language. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2011-2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2007-2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2004 Adam Dunkels. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/webserver/httpd.h b/netutils/webserver/httpd.h index 0a28fce1259..253adfcf1da 100644 --- a/netutils/webserver/httpd.h +++ b/netutils/webserver/httpd.h @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/webserver/httpd.h * - * Copyright (C) 2007, 2009, 2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Based on uIP which also has a BSD style license: - * - * Author: Adam Dunkels - * Copyright (c) 2001-2005, Adam Dunkels. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2007,2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2001-2005 Adam Dunkels. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/webserver/httpd_cgi.c b/netutils/webserver/httpd_cgi.c index f917ebd16a9..aed510d54bb 100644 --- a/netutils/webserver/httpd_cgi.c +++ b/netutils/webserver/httpd_cgi.c @@ -1,10 +1,9 @@ /**************************************************************************** * apps/netutils/webserver/httpd_cgi.c - * Web server script interface - * Author: Adam Dunkels * - * Copyright (c) 2001-2006, Adam Dunkels. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2001-2006 Adam Dunkels. All rights reserved. + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/webserver/httpd_cgi.h b/netutils/webserver/httpd_cgi.h index 2a23664d645..b6f35aaed39 100644 --- a/netutils/webserver/httpd_cgi.h +++ b/netutils/webserver/httpd_cgi.h @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/webserver/httpd_cgi.h * - * Copyright (C) 2007, 2009, 2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Based on uIP which also has a BSD style license: - * - * Author: Adam Dunkels - * Copyright (c) 2001-2005, Adam Dunkels. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2007, 2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2001-2005 Adam Dunkels. All rights reserved. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/webserver/httpd_dirlist.c b/netutils/webserver/httpd_dirlist.c index cf2e0114aa1..bac1b2d77c2 100644 --- a/netutils/webserver/httpd_dirlist.c +++ b/netutils/webserver/httpd_dirlist.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/webserver/httpd_dirlist.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/webserver/httpd_fs.c b/netutils/webserver/httpd_fs.c index fb095c0636b..a32b7c4d490 100644 --- a/netutils/webserver/httpd_fs.c +++ b/netutils/webserver/httpd_fs.c @@ -1,14 +1,12 @@ /**************************************************************************** * apps/netutils/webserver/httpd_fs.c * - * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt - * - * Based on uIP which also has a BSD style license: - * - * Author: Adam Dunkels - * Copyright (c) 2001, Swedish Institute of Computer Science. - * All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2011-2012 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2007-2009 Gregory Nutt. All rights reserved. + * SPDX-FileCopyrightText: 2001, Swedish Institute of Computer Science. + * SPDX-FileContributor: Gregory Nutt + * SPDX-FileContributor: Adam Dunkels * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/netutils/webserver/httpd_mmap.c b/netutils/webserver/httpd_mmap.c index 10686c40ccb..a4f47427dee 100644 --- a/netutils/webserver/httpd_mmap.c +++ b/netutils/webserver/httpd_mmap.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/webserver/httpd_mmap.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/webserver/httpd_sendfile.c b/netutils/webserver/httpd_sendfile.c index 58847fd7da3..7ff8a5ccd7f 100644 --- a/netutils/webserver/httpd_sendfile.c +++ b/netutils/webserver/httpd_sendfile.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/netutils/webserver/httpd_sendfile.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/netutils/xmlrpc/CMakeLists.txt b/netutils/xmlrpc/CMakeLists.txt index f17396c0747..e03521be796 100644 --- a/netutils/xmlrpc/CMakeLists.txt +++ b/netutils/xmlrpc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/netutils/xmlrpc/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/netutils/xmlrpc/Make.defs b/netutils/xmlrpc/Make.defs index 1758a6c8405..287e261ee78 100644 --- a/netutils/xmlrpc/Make.defs +++ b/netutils/xmlrpc/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/xmlrpc/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/xmlrpc/Makefile b/netutils/xmlrpc/Makefile index ccd7ec72979..b01f2eee061 100644 --- a/netutils/xmlrpc/Makefile +++ b/netutils/xmlrpc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/netutils/xmlrpc/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/netutils/xmlrpc/response.c b/netutils/xmlrpc/response.c index 54577be7422..c9eef6b737d 100644 --- a/netutils/xmlrpc/response.c +++ b/netutils/xmlrpc/response.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/xmlrpc/response.c * - * Copyright (C) 2012 Max Holtzberg. All rights reserved. - * Author: Max Holtzberg - * - * Based on the embeddable lightweight XML-RPC server code discussed - * in the article at: http://www.drdobbs.com/web-development/\ - * an-embeddable-lightweight-xml-rpc-server/184405364 - * - * Copyright (c) 2002 Cogito LLC. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Max Holtzberg. All rights reserved. + * SPDX-FileCopyrightText: 2002 Cogito LLC. All rights reserved. + * SPDX-FileContributor: Max Holtzberg * * Redistribution and use in source and binary forms, with or * without modification, is hereby granted without fee provided @@ -40,6 +36,12 @@ * POSSIBILITY OF SUCH DAMAGE. ****************************************************************************/ +/**************************************************************************** + * Based on the embeddable lightweight XML-RPC server code discussed + * in the article at: http://www.drdobbs.com/web-development/\ + * an-embeddable-lightweight-xml-rpc-server/184405364 + ****************************************************************************/ + /* Lightweight Embedded XML-RPC Server Response Generator * * mtj@cogitollc.com diff --git a/netutils/xmlrpc/xmlparser.c b/netutils/xmlrpc/xmlparser.c index a7276e734da..4c0203a67ac 100644 --- a/netutils/xmlrpc/xmlparser.c +++ b/netutils/xmlrpc/xmlparser.c @@ -1,14 +1,10 @@ /**************************************************************************** * apps/netutils/xmlrpc/xmlparser.c * - * Copyright (C) 2012 Max Holtzberg. All rights reserved. - * Author: Max Holtzberg - * - * Based on the embeddable lightweight XML-RPC server code discussed - * in the article at: http://www.drdobbs.com/web-development/\ - * an-embeddable-lightweight-xml-rpc-server/184405364 - * - * Copyright (c) 2002 Cogito LLC. All rights reserved. + * SPDX-License-Identifier: BSD-3-Clause + * SPDX-FileCopyrightText: 2012 Max Holtzberg. All rights reserved. + * SPDX-FileCopyrightText: 2002 Cogito LLC. All rights reserved. + * SPDX-FileContributor: Max Holtzberg * * Redistribution and use in source and binary forms, with or * without modification, is hereby granted without fee provided @@ -40,6 +36,12 @@ * POSSIBILITY OF SUCH DAMAGE. ****************************************************************************/ +/**************************************************************************** + * Based on the embeddable lightweight XML-RPC server code discussed + * in the article at: http://www.drdobbs.com/web-development/\ + * an-embeddable-lightweight-xml-rpc-server/184405364 + ****************************************************************************/ + /* Lightweight Embedded XML-RPC Server XML Parser * * mtj@cogitollc.com