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:
Robert Schmidt
2026-03-18 14:17:06 +01:00
parent 6ae4ec37ca
commit 8107939f08
3257 changed files with 6102 additions and 41423 deletions

View File

@@ -1,3 +1,5 @@
# SPDX-License-Identifier: LicenseRef-CSSL-1.0
FROM ran-base:latest
ARG USERNAME=root
ARG USER_UID=1000

View File

@@ -1,3 +1,5 @@
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
# Containerized development environment for OAI
## Description

View File

@@ -1,4 +1,6 @@
#!/bin/bash
# SPDX-License-Identifier: MIT
set -e
CONTAINER_NAME=openair-dev-$USER
if [ "$EUID" -eq 0 ]; then

View File

@@ -1,3 +1,5 @@
# SPDX-License-Identifier: MIT
services:
openair-dev-env:
container_name: "openair-dev-${USER}"

View File

@@ -1,3 +1,5 @@
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
# Overview
Dockerized tool to list clang-format errors introduced in a branch.

View File

@@ -1,4 +1,6 @@
#!/bin/bash
# SPDX-License-Identifier: MIT
set -eo pipefail
BASE_COMMIT=$(git merge-base HEAD origin/develop)

View File

@@ -1,3 +1,5 @@
# SPDX-License-Identifier: MIT
services:
clang-formatter:
image: clang-formatter

View File

@@ -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)

View File

@@ -1,3 +1,5 @@
# SPDX-License-Identifier: MIT
services:
iwyu:
image: iwyu

View File

@@ -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)

View File

@@ -1,3 +1,5 @@
<!-- SPDX-License-Identifier: CC-BY-4.0 -->
# Plotting tools
## `ul_bler_vs_snr_graph.py`

View File

@@ -1,4 +1,5 @@
#!/bin/bash
# SPDX-License-Identifier: LicenseRef-CSSL-1.0
function die() { echo "$@"; exit 1; }

View File

@@ -1,4 +1,5 @@
#!/bin/bash
# SPDX-License-Identifier: MIT
ue_id=-1