Skip to contentSkip to conversation

bpftool: Fix SPDX tag for Makefiles and .gitignore

PATCH Applied Quentin Monnet 9 participants 9 messages Nov 5, 2021 – Nov 10, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bpftool: Fix SPDX tag for Makefiles and .gitignore

Bpftool is dual-licensed under GPLv2 and BSD-2-Clause. In commit 907b22365115 ("tools: bpftool: dual license all files") we made sure that all its source files were indeed covered by the two licenses, and that they had the correct SPDX tags.

However, bpftool's Makefile, the Makefile for its documentation, and the .gitignore file were skipped at the time (their GPL-2.0-only tag was added later). Let's update the tags.

Cc Alexei Starovoitov <[email protected]>
Cc Andrii Nakryiko <[email protected]>
Cc Ilya Leoshkevich <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Jean-Philippe Brucker <[email protected]>
Cc Jesper Dangaard Brouer <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Joe Stringer <[email protected]>
Cc Peter Wu <[email protected]>
Cc Roman Gushchin <[email protected]>
Cc Song Liu <[email protected]>
Cc Stanislav Fomichev <[email protected]>
Cc Tobias Klauser <[email protected]>
---
 tools/bpf/bpftool/.gitignore             | 2 +-
 tools/bpf/bpftool/Documentation/Makefile | 2 +-
 tools/bpf/bpftool/Makefile               | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
tools/bpf/bpftool/.gitignore +1 -1
index 05ce4446b780..a736f64dc5dc 100644
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0-only
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 *.d
 /bootstrap/
 /bpftool
tools/bpf/bpftool/Documentation/Makefile +1 -1
index c49487905ceb..44b60784847b 100644
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0-only
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 include ../../../scripts/Makefile.include
 include ../../../scripts/utilities.mak
 
tools/bpf/bpftool/Makefile +1 -1
index c0c30e56988f..622568c7a9b8 100644
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0-only
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 include ../../scripts/Makefile.include
 include ../../scripts/utilities.mak
 
Signature · 1 line
2.32.0
Acked-by on v1 1/1
#1 lore raw
Quoted 6 lines · Quentin Monnet

Bpftool is dual-licensed under GPLv2 and BSD-2-Clause. In commit 907b22365115 ("tools: bpftool: dual license all files") we made sure that all its source files were indeed covered by the two licenses, and that they had the correct SPDX tags.

Quoted 6 lines

However, bpftool's Makefile, the Makefile for its documentation, and the .gitignore file were skipped at the time (their GPL-2.0-only tag was added later). Let's update the tags.

Cc Alexei Starovoitov <[email protected]>
Cc Andrii Nakryiko <[email protected]>
Quoted 51 lines
Cc Ilya Leoshkevich <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Jean-Philippe Brucker <[email protected]>
Cc Jesper Dangaard Brouer <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Joe Stringer <[email protected]>
Cc Peter Wu <[email protected]>
Cc Roman Gushchin <[email protected]>
Cc Song Liu <[email protected]>
Cc Stanislav Fomichev <[email protected]>
Cc Tobias Klauser <[email protected]>
---
 tools/bpf/bpftool/.gitignore             | 2 +-
 tools/bpf/bpftool/Documentation/Makefile | 2 +-
 tools/bpf/bpftool/Makefile               | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
tools/bpf/bpftool/.gitignore +1 -1
index 05ce4446b780..a736f64dc5dc 100644
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0-only
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 *.d
 /bootstrap/
 /bpftool
tools/bpf/bpftool/Documentation/Makefile +1 -1
index c49487905ceb..44b60784847b 100644
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0-only
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 include ../../../scripts/Makefile.include
 include ../../../scripts/utilities.mak
 
tools/bpf/bpftool/Makefile +1 -2
index c0c30e56988f..622568c7a9b8 100644
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0-only
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 include ../../scripts/Makefile.include
 include ../../scripts/utilities.mak
 
--

2.32.0

Acked-by on v1 1/1
#2 lore raw
In reply to Quentin Monnet
Quoted 9 lines · Quentin Monnet

Bpftool is dual-licensed under GPLv2 and BSD-2-Clause. In commit 907b22365115 ("tools: bpftool: dual license all files") we made sure that all its source files were indeed covered by the two licenses, and that they had the correct SPDX tags.

However, bpftool's Makefile, the Makefile for its documentation, and the .gitignore file were skipped at the time (their GPL-2.0-only tag was added later). Let's update the tags.

Quoted 13 lines
Cc Alexei Starovoitov <[email protected]>
Cc Andrii Nakryiko <[email protected]>
Cc Ilya Leoshkevich <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Jean-Philippe Brucker <[email protected]>
Cc Jesper Dangaard Brouer <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Joe Stringer <[email protected]>
Cc Peter Wu <[email protected]>
Cc Roman Gushchin <[email protected]>
Cc Song Liu <[email protected]>
Cc Stanislav Fomichev <[email protected]>
Cc Tobias Klauser <[email protected]>

Thanks

Acked-by on v1 1/1
#3 lore raw
In reply to Quentin Monnet
Quoted 13 lines · Quentin Monnet

Bpftool is dual-licensed under GPLv2 and BSD-2-Clause. In commit 907b22365115 ("tools: bpftool: dual license all files") we made sure that all its source files were indeed covered by the two licenses, and that they had the correct SPDX tags.

However, bpftool's Makefile, the Makefile for its documentation, and the .gitignore file were skipped at the time (their GPL-2.0-only tag was added later). Let's update the tags.

Quoted 14 lines
Cc Alexei Starovoitov <[email protected]>
Cc Andrii Nakryiko <[email protected]>
Cc Ilya Leoshkevich <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Jean-Philippe Brucker <[email protected]>
Cc Jesper Dangaard Brouer <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Joe Stringer <[email protected]>
Cc Peter Wu <[email protected]>
Cc Roman Gushchin <[email protected]>
Cc Song Liu <[email protected]>
Cc Stanislav Fomichev <[email protected]>
Cc Tobias Klauser <[email protected]>
Acked-by on v1 1/1
#4 lore raw
In reply to Quentin Monnet
Quoted 10 lines · Quentin Monnet

Bpftool is dual-licensed under GPLv2 and BSD-2-Clause. In commit 907b22365115 ("tools: bpftool: dual license all files") we made sure that all its source files were indeed covered by the two licenses, and that they had the correct SPDX tags.

However, bpftool's Makefile, the Makefile for its documentation, and the .gitignore file were skipped at the time (their GPL-2.0-only tag was added later). Let's update the tags.

Quoted 14 lines
Cc Alexei Starovoitov <[email protected]>
Cc Andrii Nakryiko <[email protected]>
Cc Ilya Leoshkevich <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Jean-Philippe Brucker <[email protected]>
Cc Jesper Dangaard Brouer <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Joe Stringer <[email protected]>
Cc Peter Wu <[email protected]>
Cc Roman Gushchin <[email protected]>
Cc Song Liu <[email protected]>
Cc Stanislav Fomichev <[email protected]>
Cc Tobias Klauser <[email protected]>
Acked-by on v1 1/1
#5 lore raw
In reply to Quentin Monnet
Quoted 9 lines · Quentin Monnet

Bpftool is dual-licensed under GPLv2 and BSD-2-Clause. In commit 907b22365115 ("tools: bpftool: dual license all files") we made sure that all its source files were indeed covered by the two licenses, and that they had the correct SPDX tags.

However, bpftool's Makefile, the Makefile for its documentation, and the .gitignore file were skipped at the time (their GPL-2.0-only tag was added later). Let's update the tags.

Quoted 14 lines
Cc Alexei Starovoitov <[email protected]>
Cc Andrii Nakryiko <[email protected]>
Cc Ilya Leoshkevich <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Jean-Philippe Brucker <[email protected]>
Cc Jesper Dangaard Brouer <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Joe Stringer <[email protected]>
Cc Peter Wu <[email protected]>
Cc Roman Gushchin <[email protected]>
Cc Song Liu <[email protected]>
Cc Stanislav Fomichev <[email protected]>
Cc Tobias Klauser <[email protected]>
Acked-by on v1 1/1
#6 lore raw
In reply to Quentin Monnet
Quoted 9 lines · Quentin Monnet

Bpftool is dual-licensed under GPLv2 and BSD-2-Clause. In commit 907b22365115 ("tools: bpftool: dual license all files") we made sure that all its source files were indeed covered by the two licenses, and that they had the correct SPDX tags.

However, bpftool's Makefile, the Makefile for its documentation, and the .gitignore file were skipped at the time (their GPL-2.0-only tag was added later). Let's update the tags.

Quoted 6 lines
Cc Alexei Starovoitov <[email protected]>
Cc Andrii Nakryiko <[email protected]>
Cc Ilya Leoshkevich <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Jean-Philippe Brucker <[email protected]>
Cc Jesper Dangaard Brouer <[email protected]>
Quoted 45 lines
Cc Jiri Olsa <[email protected]>
Cc Joe Stringer <[email protected]>
Cc Peter Wu <[email protected]>
Cc Roman Gushchin <[email protected]>
Cc Song Liu <[email protected]>
Cc Stanislav Fomichev <[email protected]>
Cc Tobias Klauser <[email protected]>
---
  tools/bpf/bpftool/.gitignore             | 2 +-
  tools/bpf/bpftool/Documentation/Makefile | 2 +-
  tools/bpf/bpftool/Makefile               | 2 +-
  3 files changed, 3 insertions(+), 3 deletions(-)
tools/bpf/bpftool/.gitignore +1 -1
index 05ce4446b780..a736f64dc5dc 100644
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0-only
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  *.d
  /bootstrap/
  /bpftool
tools/bpf/bpftool/Documentation/Makefile +1 -1
index c49487905ceb..44b60784847b 100644
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0-only
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  include ../../../scripts/Makefile.include
  include ../../../scripts/utilities.mak
 
tools/bpf/bpftool/Makefile +1 -1
index c0c30e56988f..622568c7a9b8 100644
@@ -1,4 +1,4 @@
-# SPDX-License-Identifier: GPL-2.0-only
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  include ../../scripts/Makefile.include
  include ../../scripts/utilities.mak
 
maintainer Acked-by on v1 1/1
#7 lore raw
In reply to Quentin Monnet
Quoted 5 lines · On Fri, 5 Nov 2021 22:19:04 +0000 Quentin Monnet wrote:

Bpftool is dual-licensed under GPLv2 and BSD-2-Clause. In commit 907b22365115 ("tools: bpftool: dual license all files") we made sure that all its source files were indeed covered by the two licenses, and that they had the correct SPDX tags.

Quoted 8 lines

However, bpftool's Makefile, the Makefile for its documentation, and the .gitignore file were skipped at the time (their GPL-2.0-only tag was added later). Let's update the tags.

Cc Alexei Starovoitov <[email protected]>
Cc Andrii Nakryiko <[email protected]>
Cc Ilya Leoshkevich <[email protected]>
Cc Jakub Kicinski <[email protected]>
#8 lore raw
Quoted 11 lines · Jakub Kicinski
Quoted 9 lines · On Fri, 5 Nov 2021 22:19:04 +0000 Quentin Monnet wrote:

Bpftool is dual-licensed under GPLv2 and BSD-2-Clause. In commit 907b22365115 ("tools: bpftool: dual license all files") we made sure that all its source files were indeed covered by the two licenses, and that they had the correct SPDX tags.

However, bpftool's Makefile, the Makefile for its documentation, and the .gitignore file were skipped at the time (their GPL-2.0-only tag was added later). Let's update the tags.

Quoted 6 lines
Quoted 4 lines
Cc Alexei Starovoitov <[email protected]>
Cc Andrii Nakryiko <[email protected]>
Cc Ilya Leoshkevich <[email protected]>
Cc Jakub Kicinski <[email protected]>

Applied. Thanks everyone.