Overview
In general, two types of licensing text insertions are needed:
- At the begging of each code file, a license claim block is to be added in the language specific comment format;
- At the root of each repo, a LICENSES.txt file is added to provide umbrella coverage for the repo.
Depends on which charter a repo belongs to, below lists the specific text blocks to be used in different situations.
O-RAN Software Community (Apache 2)
Code File Header Claim
The following text is to be placed as comment at the beginning of each code file, modified for contributor specific copyright statement and language specific comment framing. The example below is for bash/yaml like comment format.
################################################################################ # Copyright (c) [years] [company name] # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at # # # # http://www.apache.org/licenses/LICENSE-2.0 # # # # Unless required by applicable law or agreed to in writing, software # # distributed under the License is distributed on an "AS IS" BASIS, # # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # # See the License for the specific language governing permissions and # # limitations under the License. # ################################################################################
LICENSES.txt
(This file needs to be placed air the root of every repo hosting Apache 2 code to provide umbrella licensing coverage.)
Unless otherwise specified, all software contained herein is licensed under the Apache License, Version 2.0 (the "Software License"); you may not use this software except in compliance with the Software License. You may obtain a copy of the Software License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the Software License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Software License for the specific language governing permissions and limitations under the Software License. Unless otherwise specified, all documentation contained herein is licensed under the Creative Commons License, Attribution 4.0 Intl. (the "Documentation License"); you may not use this documentation except in compliance with the Documentation License. You may obtain a copy of the Documentation License at https://creativecommons.org/licenses/by/4.0/ Unless required by applicable law or agreed to in writing, documentation distributed under the Documentation License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Documentation License for the specific language governing permissions and limitations under the Documentation License.
O-RAN Specification Code Project (O-RAN Software License)
Code File Header Claim
The following text is to be placed as comment at the beginning of each code file in every scp repo (repos hosting O-RAN Software License code are named with scp/ prefix), modified for contributor specific copyright statement and language specific comment framing. The example below is for C/C++ like comment format.
/* * Copyright [years] [Company] * * Licensed under the O-RAN Software License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.o-ran.org/software * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */
LICENSES.txt
(This file needs to be placed at the root of every scp repo hosting O-RAN Software License code to provide umbrella licensing coverage.)
Unless otherwise specified, all software contained herein is licensed under the O-RAN Software License, Version 1.0 (the "Software License"); you may not use this software except in compliance with the Software License. You may obtain a copy of the Software License at https://www.o-ran.org/software Unless required by applicable law or agreed to in writing, software distributed under the Software License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Software License for the specific language governing permissions and limitations under the Software License. Unless otherwise specified, all documentation contained herein is licensed under the Creative Commons License, Attribution 4.0 Intl. (the "Documentation License"); you may not use this documentation except in compliance with the Documentation License. You may obtain a copy of the Documentation License at https://creativecommons.org/licenses/by/4.0/ Unless required by applicable law or agreed to in writing, documentation distributed under the Documentation License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Documentation License for the specific language governing permissions and limitations under the Documentation License.