Skip to content

Commit 830f8f4

Browse files
michel-slmdanielocfb
authored andcommitted
Fix licenses
- The LGPL license file had a typo, rename - Fix symlinks in the libbpf-* crates - Add missing license symlinks from examples - Update `Cargo.toml` files; `LGPL-2.1` is a deprecated SPDX tag. Replace with `LGPL-2.1-only` per https://spdx.org/licenses/LGPL-2.1.html - also update the main `LICENSE` file Signed-off-by: Michel Alexandre Salim <[email protected]>
1 parent e1fd131 commit 830f8f4

28 files changed

+25
-10
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
LGPL-2.1 OR BSD-2-Clause
1+
LGPL-2.1-only OR BSD-2-Clause

LICENSE.LPGL-2.1 LICENSE.LGPL-2.1

File renamed without changes.

examples/bpf_query/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "bpf_query"
33
version = "0.1.0"
44
authors = ["Daniel Xu <[email protected]>"]
5-
license = "LGPL-2.1 OR BSD-2-Clause"
5+
license = "LGPL-2.1-only OR BSD-2-Clause"
66
edition = "2021"
77

88
[dependencies]

examples/bpf_query/LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE.BSD-2-Clause

examples/bpf_query/LICENSE.LGPL-2.1

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE-LGPL-2.1

examples/capable/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "capable"
33
version = "0.1.0"
44
authors = ["Devasia Thomas <https://www.linkedin.com/in/devasiathomas>"]
5-
license = "LGPL-2.1 OR BSD-2-Clause"
5+
license = "LGPL-2.1-only OR BSD-2-Clause"
66
edition = "2021"
77

88
[dependencies]

examples/capable/LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE

examples/capable/LICENSE.BSD-2-Clause

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE.BSD-2-Clause

examples/capable/LICENSE.LGPL-2.1

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE-LGPL-2.1

examples/runqslower/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "runqslower"
33
version = "0.1.0"
44
authors = ["Daniel Xu <[email protected]>"]
5-
license = "LGPL-2.1 OR BSD-2-Clause"
5+
license = "LGPL-2.1-only OR BSD-2-Clause"
66
edition = "2021"
77

88
[dependencies]

examples/runqslower/LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE
+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE.BSD-2-Clause

examples/runqslower/LICENSE.LGPL-2.1

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE-LGPL-2.1

examples/tc_port_whitelist/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "tc_whitelist_ports"
33
version = "0.1.0"
44
authors = ["Michael Mullin <[email protected]>"]
5-
license = "LGPL-2.1 OR BSD-2-Clause"
5+
license = "LGPL-2.1-only OR BSD-2-Clause"
66
edition = "2021"
77

88
[dependencies]

examples/tc_port_whitelist/LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE.BSD-2-Clause
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE-LGPL-2.1

examples/tproxy/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "tproxy"
33
version = "0.1.0"
44
authors = ["Daniel Xu <[email protected]>"]
5-
license = "LGPL-2.1 OR BSD-2-Clause"
5+
license = "LGPL-2.1-only OR BSD-2-Clause"
66
edition = "2021"
77

88
[[bin]]

examples/tproxy/LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE

examples/tproxy/LICENSE.BSD-2-Clause

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE.BSD-2-Clause

examples/tproxy/LICENSE.LGPL-2.1

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../LICENSE-LGPL-2.1

libbpf-cargo/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version = "0.13.1"
99
authors = ["Daniel Xu <[email protected]>"]
1010
edition = "2021"
1111
rust-version = "1.58"
12-
license = "LGPL-2.1 OR BSD-2-Clause"
12+
license = "LGPL-2.1-only OR BSD-2-Clause"
1313
keywords = ["bpf", "ebpf", "libbpf"]
1414

1515
[badges]

libbpf-cargo/LICENSE.LGPL-2.1

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE.LGPL-2.1

libbpf-cargo/LICENSE.LPGL-2.1

-1
This file was deleted.

libbpf-rs/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version = "0.19.1"
88
authors = ["Daniel Xu <[email protected]>"]
99
edition = "2021"
1010
rust-version = "1.58"
11-
license = "LGPL-2.1 OR BSD-2-Clause"
11+
license = "LGPL-2.1-only OR BSD-2-Clause"
1212
keywords = ["bpf", "ebpf", "libbpf"]
1313

1414
[badges]

libbpf-rs/LICENSE.LGPL-2.1

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../LICENSE.LGPL-2.1

libbpf-rs/LICENSE.LPGL-2.1

-1
This file was deleted.

0 commit comments

Comments
 (0)