mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
Change OAI license to CSSL v1.0 (and others)
- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly
For automated changes based on OAI PL v1.1:
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml
The rest (cmake, files with missing license, cmake) manually.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: LicenseRef-CSSL-1.0
|
||||
|
||||
FROM ran-base:latest
|
||||
ARG USERNAME=root
|
||||
ARG USER_UID=1000
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
|
||||
|
||||
# Containerized development environment for OAI
|
||||
|
||||
## Description
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#!/bin/bash
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
set -e
|
||||
CONTAINER_NAME=openair-dev-$USER
|
||||
if [ "$EUID" -eq 0 ]; then
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
services:
|
||||
openair-dev-env:
|
||||
container_name: "openair-dev-${USER}"
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
|
||||
|
||||
# Overview
|
||||
|
||||
Dockerized tool to list clang-format errors introduced in a branch.
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
#!/bin/bash
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
BASE_COMMIT=$(git merge-base HEAD origin/develop)
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
services:
|
||||
clang-formatter:
|
||||
image: clang-formatter
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
|
||||
|
||||
# Overview
|
||||
|
||||
IWYU - [include what you use](https://github.com/include-what-you-use/include-what-you-use)
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
services:
|
||||
iwyu:
|
||||
image: iwyu
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: LicenseRef-CSSL-1.0
|
||||
|
||||
set(COMPONENTS_LIST "")
|
||||
|
||||
set(CPACK_PACKAGE_VERSION ${OAI_VERSION})
|
||||
@@ -16,7 +18,7 @@ if(PACKAGING_RPM)
|
||||
set(CPACK_RPM_COMPONENT_INSTALL ON)
|
||||
set(CPACK_RPM_PACKAGE_ARCHITECTURE ${CMAKE_SYSTEM_PROCESSOR})
|
||||
set(CPACK_RPM_PACKAGE_URL "https://openairinterface.org")
|
||||
set(CPACK_RPM_PACKAGE_LICENSE "OAI Public License v1.1")
|
||||
set(CPACK_RPM_PACKAGE_LICENSE "Collaborative Standards Software License v1.0")
|
||||
set(CPACK_RPM_PACKAGE_GROUP "Development/Tools")
|
||||
set(SYSTEMD_UNIT_DIR "/usr/lib/systemd/system")
|
||||
set(CPACK_RPM_DEBUGINFO_PACKAGE ON)
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
|
||||
|
||||
# Plotting tools
|
||||
|
||||
## `ul_bler_vs_snr_graph.py`
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
# SPDX-License-Identifier: LicenseRef-CSSL-1.0
|
||||
|
||||
function die() { echo "$@"; exit 1; }
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
ue_id=-1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user