SPDX leftovers
cover SPDX leftovers
These are tests and scripts with missing SPDX tags.
Stephen Hemminger (5):
app/test: add SPDX tag to timer test
devtools: add license tag to cocci.sh
devtools: add SPDX tag to load-devel-config examples/ipsecgw: add SPDX license tag examples/performance-thread: add mising SPDX tag
app/test/test_timer_racecond.c | 34 ++----------------- devtools/cocci.sh | 30 +--------------- devtools/load-devel-config | 2 ++ .../trs_aesgcm_inline_crypto_fallback_defs.sh | 1 + .../tun_aesgcm_inline_crypto_fallback_defs.sh | 1 + .../performance-thread/l3fwd-thread/test.sh | 2 ++ 6 files changed, 10 insertions(+), 60 deletions(-)
Signature · 1 line
2.20.1
PATCH 1/5 app/test: add SPDX tag to timer test
This file was missing SPDX tag. Convert BSD boilerplate to license tag.
--- app/test/test_timer_racecond.c | 34 +++------------------------------- 1 file changed, 3 insertions(+), 31 deletions(-)
app/test/test_timer_racecond.c +3 -31
@@ -1,34 +1,6 @@ -/*- -* BSD LICENSE -* -* Copyright(c) 2015 Akamai Technologies. -* All rights reserved. -* -* Redistribution and use in source and binary forms, with or without -* modification, are permitted provided that the following conditions -* are met: -* -* * Redistributions of source code must retain the above copyright -* notice, this list of conditions and the following disclaimer. -* * 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. -* * Neither the name of Intel Corporation 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. +/* SPDX-License-Identifier: BSD-3-Clause +* Copyright(c) 2015 Akamai Technologies. +* All rights reserved. */ #include "test.h"
Signature · 1 line
2.20.1
PATCH 2/5 devtools: add license tag to cocci.sh
In reply to Stephen HemmingerThis file still had original BSD boilerplate text. Replace it with SPDX tag.
--- devtools/cocci.sh | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-)
devtools/cocci.sh +1 -29
@@ -1,34 +1,6 @@ #! /bin/sh - -# BSD LICENSE -# +# SPDX-License-Identifier: BSD-3-Clause # Copyright 2015 EZchip Semiconductor Ltd. -# -# Redistribution and use in source and binary forms, with or without -# modification, are permitted provided that the following conditions -# are met: -# -# * Redistributions of source code must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# * 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. -# * Neither the name of EZchip Semiconductor 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. # Apply coccinelle transforms.
Signature · 1 line
2.20.1
Re: [dpdk-dev] [PATCH 2/5] devtools: add license tag to cocci.sh
Quoted 20 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Stephen Hemminger
Sent: Wednesday, December 4, 2019 3:55 PM
To: [email protected]
Cc: Stephen Hemminger <[email protected]>
Subject: [dpdk-dev] [PATCH 2/5] devtools: add license tag tococci.shThis file still had original BSD boilerplate text. Replace it with SPDX tag.
Signed-off-by Stephen Hemminger <[email protected]>--- devtools/cocci.sh | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-)devtools/cocci.sh index renamed from devtools/cocci.sh +0
-0
8b17a8cebac3..77b7447cdfcd100755
devtools/cocci.sh line 3
Quoted 6 lines
devtools/cocci.sh +1
-3@@ -1,34 +1,6 @@ #! /bin/sh - -# BSD LICENSE -# +# SPDX-License-Identifier: BSD-3-Clause # Copyright 2015 EZchip Semiconductor Ltd.
Can we please merge this (and the other SPDX patches but this one in particular) since the header gets flagged in an IP compliance tool that we use in Intel.
Since the original copyright was with EZchip I presume that Mellanox can now sign off on this or change the copyright if they wish. CC olga and Thomas.
John
PATCH 3/5 devtools: add SPDX tag to load-devel-config
In reply to Stephen HemmingerTrivial file was missing any license.
--- devtools/load-devel-config | 2 ++ 1 file changed, 2 insertions(+)
devtools/load-devel-config +2 -0
@@ -1,3 +1,5 @@ +# SPDX-License-Identifier: BSD-3-Clause +# This file is intended to be sourced into shell # Load DPDK devel config and allow override # from system file test ! -r /etc/dpdk/devel.config ||
Signature · 1 line
2.20.1
Re: [dpdk-dev] [PATCH 3/5] devtools: add SPDX tag to load-devel-config
04/12/2019 16:55, Stephen Hemminger:
Quoted 3 lines
Trivial file was missing any license.
Signed-off-by Stephen Hemminger <[email protected]>
Applied, thanks
PATCH 4/5 examples/ipsecgw: add SPDX license tag
In reply to Stephen HemmingerThis trivial file had no license info.
--- .../ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh | 1 + .../ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh | 1 + 2 files changed, 2 insertions(+)
examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh +1 -0
@@ -1,4 +1,5 @@ #! /bin/bash +# SPDX-License-Identifier: BSD-3-Clause . ${DIR}/trs_aesgcm_defs.sh
examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh +1 -0
@@ -1,4 +1,5 @@ #! /bin/bash +# SPDX-License-Identifier: BSD-3-Clause . ${DIR}/tun_aesgcm_defs.sh
Signature · 1 line
2.20.1
Re: [dpdk-dev] [PATCH 4/5] examples/ipsecgw: add SPDX license tag
Quoted 25 lines
This trivial file had no license info.
Signed-off-by Stephen Hemminger <[email protected]>--- .../ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh | 1 + .../ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh | 1 + 2 files changed, 2 insertions(+)examples/ipsec- renamed from examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh +0
-0
secgw/test/trs_aesgcm_inline_crypto_fallback_defs.shindex875a7457d3e8..f21b01d63546100644examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh +1
-0@@ -1,4 +1,5 @@ #! /bin/bash +# SPDX-License-Identifier: BSD-3-Clause . ${DIR}/trs_aesgcm_defs.shexamples/ipsec- renamed from examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh +0
-0
secgw/test/tun_aesgcm_inline_crypto_fallback_defs.shindex6968484323c2..97b9431f42a0100644
examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh
Quoted 6 lines
examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh +1
-1@@ -1,4 +1,5 @@ #! /bin/bash +# SPDX-License-Identifier: BSD-3-Clause . ${DIR}/tun_aesgcm_defs.sh --
Quoted 1 line
2.20.1
PATCH 5/5 examples/performance-thread: add mising SPDX tag
In reply to Stephen HemmingerThis example had no license.
--- examples/performance-thread/l3fwd-thread/test.sh | 2 ++ 1 file changed, 2 insertions(+)
examples/performance-thread/l3fwd-thread/test.sh +2 -0
@@ -1,4 +1,6 @@ #!/bin/bash +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2010-2016 Intel Corporation case "$1" in
Signature · 1 line
2.20.1