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
#
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software 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

View File

@@ -1,6 +1,8 @@
############################################################################
# apps/nshlib/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

View File

@@ -1,6 +1,8 @@
############################################################################
# apps/nshlib/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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_alias.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_altconsole.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_builtin.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_codeccmd.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_command.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_console.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_console.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_consolemain.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_dbgcmds.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_ddcmd.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_envcmds.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_fileapps.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_fscmds.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_fsutils.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_mmcmds.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_mntcmds.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_modcmds.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_netcmds.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_parse.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_passwdcmds.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_printf.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_proccmds.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_prompt.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_routecmds.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_script.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_session.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_syscmds.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_system.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_telnetd.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_telnetlogin.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_test.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_timcmds.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_usbconsole.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_usbtrace.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_vars.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

View File

@@ -1,6 +1,8 @@
/****************************************************************************
* apps/nshlib/nsh_wait.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