-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change license of python programs importing scapy to gpl v2 (#665)
* Move optional steps for testing VMs out of README.md file This may help avoid new users being confused that they must follow those instructions. Signed-off-by: Andy Fingerhut <[email protected]> * Replace Apache-2.0 license on Python files that use Scapy to GPL-2.0-only Also add doc/licenses.md file to list other Python packages that the Python code in this repository depends upon, and why we believe their licenses are compatible with this code being released as Apache-2.0. Signed-off-by: Andy Fingerhut <[email protected]> --------- Signed-off-by: Andy Fingerhut <[email protected]> Signed-off-by: Andy Fingerhut <[email protected]>
- Loading branch information
1 parent
157cfe3
commit 7273da1
Showing
18 changed files
with
92 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# Introduction | ||
|
||
The P4 Consortium's strongly recommends that all source files in this | ||
repository be licensed with the Apache-2.0 license, and marked in a | ||
comment with the line: | ||
|
||
``` | ||
# SPDX-License-Identifier: Apache-2.0 | ||
``` | ||
|
||
Exceptions to this are listed below. | ||
|
||
|
||
# Not an exception: Files that import packages released under the Apache-2.0 license | ||
|
||
That includes this list of Python packages: | ||
|
||
+ grpc - https://pypi.org/project/grpc/ | ||
+ grpcio - https://pypi.org/project/grpcio/ | ||
+ p4.v1 - part of the P4Runtime API Python code, released under Apache-2.0 | ||
+ p4.config.v1 - part of the P4Runtime API Python code, released under | ||
Apache-2.0 | ||
|
||
|
||
# Not an exception: Files that import packages released under a BSD license | ||
|
||
That includes this list of Python packages: | ||
|
||
+ mininet - https://github.com/mininet/mininet/blob/master/LICENSE | ||
+ protobuf - https://pypi.org/project/protobuf/ | ||
+ google.rpc package is auto-generated by Google protobuf | ||
+ psutil - https://pypi.org/project/psutil/ | ||
|
||
These are published under a BSD-3-Clause license. As discussed here: | ||
|
||
+ https://github.com/p4lang/p4c/blob/main/docs/licenses-apache-and-bsd.md | ||
|
||
we will publish such source files under the Apache-2.0 license, unless | ||
one of the exceptions below applies. | ||
|
||
|
||
# Exception: Files that import packages released under a GPL license | ||
|
||
That includes this list of Python packages: | ||
|
||
+ scapy - https://pypi.org/project/scapy/ | ||
|
||
As discussed here: | ||
|
||
+ https://github.com/p4lang/p4c/blob/main/docs/licenses-apache-and-gpl-v2.md | ||
|
||
we recommend that any Python source files that import the scapy | ||
package, which is released under the GPL v2 license, also be licensed | ||
as GPL-2.0-only, with this comment line: | ||
|
||
``` | ||
# SPDX-License-Identifier: GPL-2.0-only | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters