* [dpdk-dev] [PATCH 0/5] SPDX leftovers
@ 2019-12-04 15:55 Stephen Hemminger
2019-12-04 15:55 ` [dpdk-dev] [PATCH 1/5] app/test: add SPDX tag to timer test Stephen Hemminger
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: Stephen Hemminger @ 2019-12-04 15:55 UTC (permalink / raw)
To: dev; +Cc: Stephen Hemminger
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(-)
--
2.20.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dpdk-dev] [PATCH 1/5] app/test: add SPDX tag to timer test
2019-12-04 15:55 [dpdk-dev] [PATCH 0/5] SPDX leftovers Stephen Hemminger
@ 2019-12-04 15:55 ` Stephen Hemminger
2019-12-04 15:55 ` [dpdk-dev] [PATCH 2/5] devtools: add license tag to cocci.sh Stephen Hemminger
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Stephen Hemminger @ 2019-12-04 15:55 UTC (permalink / raw)
To: dev; +Cc: Stephen Hemminger
This file was missing SPDX tag. Convert BSD boilerplate
to license tag.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
app/test/test_timer_racecond.c | 34 +++-------------------------------
1 file changed, 3 insertions(+), 31 deletions(-)
diff --git a/app/test/test_timer_racecond.c b/app/test/test_timer_racecond.c
index a9e1daf16bf4..cf0bdd63c3df 100644
--- a/app/test/test_timer_racecond.c
+++ b/app/test/test_timer_racecond.c
@@ -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"
--
2.20.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dpdk-dev] [PATCH 2/5] devtools: add license tag to cocci.sh
2019-12-04 15:55 [dpdk-dev] [PATCH 0/5] SPDX leftovers Stephen Hemminger
2019-12-04 15:55 ` [dpdk-dev] [PATCH 1/5] app/test: add SPDX tag to timer test Stephen Hemminger
@ 2019-12-04 15:55 ` Stephen Hemminger
2020-01-27 10:52 ` Mcnamara, John
2019-12-04 15:55 ` [dpdk-dev] [PATCH 3/5] devtools: add SPDX tag to load-devel-config Stephen Hemminger
` (2 subsequent siblings)
4 siblings, 1 reply; 9+ messages in thread
From: Stephen Hemminger @ 2019-12-04 15:55 UTC (permalink / raw)
To: dev; +Cc: Stephen Hemminger
This file still had original BSD boilerplate text.
Replace it with SPDX tag.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
devtools/cocci.sh | 30 +-----------------------------
1 file changed, 1 insertion(+), 29 deletions(-)
diff --git a/devtools/cocci.sh b/devtools/cocci.sh
index 8b17a8cebac3..77b7447cdfcd 100755
--- a/devtools/cocci.sh
+++ b/devtools/cocci.sh
@@ -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.
--
2.20.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dpdk-dev] [PATCH 3/5] devtools: add SPDX tag to load-devel-config
2019-12-04 15:55 [dpdk-dev] [PATCH 0/5] SPDX leftovers Stephen Hemminger
2019-12-04 15:55 ` [dpdk-dev] [PATCH 1/5] app/test: add SPDX tag to timer test Stephen Hemminger
2019-12-04 15:55 ` [dpdk-dev] [PATCH 2/5] devtools: add license tag to cocci.sh Stephen Hemminger
@ 2019-12-04 15:55 ` Stephen Hemminger
2020-02-22 14:16 ` Thomas Monjalon
2019-12-04 15:55 ` [dpdk-dev] [PATCH 4/5] examples/ipsecgw: add SPDX license tag Stephen Hemminger
2019-12-04 15:55 ` [dpdk-dev] [PATCH 5/5] examples/performance-thread: add mising SPDX tag Stephen Hemminger
4 siblings, 1 reply; 9+ messages in thread
From: Stephen Hemminger @ 2019-12-04 15:55 UTC (permalink / raw)
To: dev; +Cc: Stephen Hemminger
Trivial file was missing any license.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
devtools/load-devel-config | 2 ++
1 file changed, 2 insertions(+)
diff --git a/devtools/load-devel-config b/devtools/load-devel-config
index 380c79db41eb..ca1bc21b55e3 100644
--- a/devtools/load-devel-config
+++ b/devtools/load-devel-config
@@ -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 ||
--
2.20.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dpdk-dev] [PATCH 4/5] examples/ipsecgw: add SPDX license tag
2019-12-04 15:55 [dpdk-dev] [PATCH 0/5] SPDX leftovers Stephen Hemminger
` (2 preceding siblings ...)
2019-12-04 15:55 ` [dpdk-dev] [PATCH 3/5] devtools: add SPDX tag to load-devel-config Stephen Hemminger
@ 2019-12-04 15:55 ` Stephen Hemminger
2019-12-05 20:42 ` Ananyev, Konstantin
2019-12-04 15:55 ` [dpdk-dev] [PATCH 5/5] examples/performance-thread: add mising SPDX tag Stephen Hemminger
4 siblings, 1 reply; 9+ messages in thread
From: Stephen Hemminger @ 2019-12-04 15:55 UTC (permalink / raw)
To: dev; +Cc: Stephen Hemminger
This trivial file had no license info.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
.../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(+)
diff --git a/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh b/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh
index 875a7457d3e8..f21b01d63546 100644
--- a/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh
+++ b/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh
@@ -1,4 +1,5 @@
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/trs_aesgcm_defs.sh
diff --git a/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh b/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh
index 6968484323c2..97b9431f42a0 100644
--- a/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh
+++ b/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh
@@ -1,4 +1,5 @@
#! /bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
. ${DIR}/tun_aesgcm_defs.sh
--
2.20.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [dpdk-dev] [PATCH 5/5] examples/performance-thread: add mising SPDX tag
2019-12-04 15:55 [dpdk-dev] [PATCH 0/5] SPDX leftovers Stephen Hemminger
` (3 preceding siblings ...)
2019-12-04 15:55 ` [dpdk-dev] [PATCH 4/5] examples/ipsecgw: add SPDX license tag Stephen Hemminger
@ 2019-12-04 15:55 ` Stephen Hemminger
4 siblings, 0 replies; 9+ messages in thread
From: Stephen Hemminger @ 2019-12-04 15:55 UTC (permalink / raw)
To: dev; +Cc: Stephen Hemminger
This example had no license.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
examples/performance-thread/l3fwd-thread/test.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/examples/performance-thread/l3fwd-thread/test.sh b/examples/performance-thread/l3fwd-thread/test.sh
index b7718b6223b0..43ff10b43082 100755
--- a/examples/performance-thread/l3fwd-thread/test.sh
+++ b/examples/performance-thread/l3fwd-thread/test.sh
@@ -1,4 +1,6 @@
#!/bin/bash
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2016 Intel Corporation
case "$1" in
--
2.20.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH 4/5] examples/ipsecgw: add SPDX license tag
2019-12-04 15:55 ` [dpdk-dev] [PATCH 4/5] examples/ipsecgw: add SPDX license tag Stephen Hemminger
@ 2019-12-05 20:42 ` Ananyev, Konstantin
0 siblings, 0 replies; 9+ messages in thread
From: Ananyev, Konstantin @ 2019-12-05 20:42 UTC (permalink / raw)
To: Stephen Hemminger, dev
> This trivial file had no license info.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
> .../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(+)
>
> diff --git a/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh b/examples/ipsec-
> secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh
> index 875a7457d3e8..f21b01d63546 100644
> --- a/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh
> +++ b/examples/ipsec-secgw/test/trs_aesgcm_inline_crypto_fallback_defs.sh
> @@ -1,4 +1,5 @@
> #! /bin/bash
> +# SPDX-License-Identifier: BSD-3-Clause
>
> . ${DIR}/trs_aesgcm_defs.sh
>
> diff --git a/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh b/examples/ipsec-
> secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh
> index 6968484323c2..97b9431f42a0 100644
> --- a/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh
> +++ b/examples/ipsec-secgw/test/tun_aesgcm_inline_crypto_fallback_defs.sh
> @@ -1,4 +1,5 @@
> #! /bin/bash
> +# SPDX-License-Identifier: BSD-3-Clause
>
> . ${DIR}/tun_aesgcm_defs.sh
>
> --
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
> 2.20.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH 2/5] devtools: add license tag to cocci.sh
2019-12-04 15:55 ` [dpdk-dev] [PATCH 2/5] devtools: add license tag to cocci.sh Stephen Hemminger
@ 2020-01-27 10:52 ` Mcnamara, John
0 siblings, 0 replies; 9+ messages in thread
From: Mcnamara, John @ 2020-01-27 10:52 UTC (permalink / raw)
To: Stephen Hemminger, dev; +Cc: Olga Shern, Thomas Monjalon
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Stephen Hemminger
> Sent: Wednesday, December 4, 2019 3:55 PM
> To: dev@dpdk.org
> Cc: Stephen Hemminger <stephen@networkplumber.org>
> Subject: [dpdk-dev] [PATCH 2/5] devtools: add license tag to cocci.sh
>
> This file still had original BSD boilerplate text.
> Replace it with SPDX tag.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
> devtools/cocci.sh | 30 +-----------------------------
> 1 file changed, 1 insertion(+), 29 deletions(-)
>
> diff --git a/devtools/cocci.sh b/devtools/cocci.sh index
> 8b17a8cebac3..77b7447cdfcd 100755
> --- a/devtools/cocci.sh
> +++ b/devtools/cocci.sh
> @@ -1,34 +1,6 @@
> #! /bin/sh
> -
> -# BSD LICENSE
> -#
> +# SPDX-License-Identifier: BSD-3-Clause
> # Copyright 2015 EZchip Semiconductor Ltd.
Acked-by: John McNamara <john.mcnamara@intel.com>
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [dpdk-dev] [PATCH 3/5] devtools: add SPDX tag to load-devel-config
2019-12-04 15:55 ` [dpdk-dev] [PATCH 3/5] devtools: add SPDX tag to load-devel-config Stephen Hemminger
@ 2020-02-22 14:16 ` Thomas Monjalon
0 siblings, 0 replies; 9+ messages in thread
From: Thomas Monjalon @ 2020-02-22 14:16 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: dev
04/12/2019 16:55, Stephen Hemminger:
> Trivial file was missing any license.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Applied, thanks
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-02-22 14:17 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-04 15:55 [dpdk-dev] [PATCH 0/5] SPDX leftovers Stephen Hemminger
2019-12-04 15:55 ` [dpdk-dev] [PATCH 1/5] app/test: add SPDX tag to timer test Stephen Hemminger
2019-12-04 15:55 ` [dpdk-dev] [PATCH 2/5] devtools: add license tag to cocci.sh Stephen Hemminger
2020-01-27 10:52 ` Mcnamara, John
2019-12-04 15:55 ` [dpdk-dev] [PATCH 3/5] devtools: add SPDX tag to load-devel-config Stephen Hemminger
2020-02-22 14:16 ` Thomas Monjalon
2019-12-04 15:55 ` [dpdk-dev] [PATCH 4/5] examples/ipsecgw: add SPDX license tag Stephen Hemminger
2019-12-05 20:42 ` Ananyev, Konstantin
2019-12-04 15:55 ` [dpdk-dev] [PATCH 5/5] examples/performance-thread: add mising SPDX tag Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).