nshlib: 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 <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2024-12-29 12:24:52 +01:00 committed by Xiang Xiao
parent c341185423
commit 27d8ae36ba
42 changed files with 84 additions and 0 deletions

View file

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# apps/nshlib/CMakeLists.txt # apps/nshlib/CMakeLists.txt
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View file

@ -1,6 +1,8 @@
############################################################################ ############################################################################
# apps/nshlib/Make.defs # apps/nshlib/Make.defs
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with # contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The # this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################ ############################################################################
# apps/nshlib/Makefile # apps/nshlib/Makefile
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with # contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The # this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh.h * apps/nshlib/nsh.h
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_alias.c * apps/nshlib/nsh_alias.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_altconsole.c * apps/nshlib/nsh_altconsole.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_builtin.c * apps/nshlib/nsh_builtin.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_codeccmd.c * apps/nshlib/nsh_codeccmd.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_command.c * apps/nshlib/nsh_command.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_console.c * apps/nshlib/nsh_console.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_console.h * apps/nshlib/nsh_console.h
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_consolemain.c * apps/nshlib/nsh_consolemain.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_dbgcmds.c * apps/nshlib/nsh_dbgcmds.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_ddcmd.c * apps/nshlib/nsh_ddcmd.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_envcmds.c * apps/nshlib/nsh_envcmds.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_fileapps.c * apps/nshlib/nsh_fileapps.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_fscmds.c * apps/nshlib/nsh_fscmds.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_fsutils.c * apps/nshlib/nsh_fsutils.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_init.c * apps/nshlib/nsh_init.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_login.c * apps/nshlib/nsh_login.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_mmcmds.c * apps/nshlib/nsh_mmcmds.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_mntcmds.c * apps/nshlib/nsh_mntcmds.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_modcmds.c * apps/nshlib/nsh_modcmds.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_netcmds.c * apps/nshlib/nsh_netcmds.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_parse.c * apps/nshlib/nsh_parse.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_passwdcmds.c * apps/nshlib/nsh_passwdcmds.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_printf.c * apps/nshlib/nsh_printf.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_proccmds.c * apps/nshlib/nsh_proccmds.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_prompt.c * apps/nshlib/nsh_prompt.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_routecmds.c * apps/nshlib/nsh_routecmds.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_script.c * apps/nshlib/nsh_script.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_session.c * apps/nshlib/nsh_session.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_syscmds.c * apps/nshlib/nsh_syscmds.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_system.c * apps/nshlib/nsh_system.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_telnetd.c * apps/nshlib/nsh_telnetd.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_telnetlogin.c * apps/nshlib/nsh_telnetlogin.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_test.c * apps/nshlib/nsh_test.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_timcmds.c * apps/nshlib/nsh_timcmds.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_usbconsole.c * apps/nshlib/nsh_usbconsole.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_usbtrace.c * apps/nshlib/nsh_usbtrace.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_vars.c * apps/nshlib/nsh_vars.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/nshlib/nsh_wait.c * apps/nshlib/nsh_wait.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The