doc: Add SPDX license guidelines

This commit is contained in:
André Apitzsch
2024-07-04 13:54:47 +02:00
committed by Tom Henderson
parent 8bc94a1cc3
commit bd4c735b15
4 changed files with 7 additions and 55 deletions

View File

@@ -649,18 +649,7 @@ statement.
/*
* Copyright (c) YEAR COPYRIGHTHOLDER
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* SPDX-License-Identifier: GPL-2.0-only
*
* Author: MyName <myemail@example.com>
*/
@@ -719,7 +708,7 @@ The ``my-class.cc`` file is structured similarly:
/*
* Copyright (c) YEAR COPYRIGHTHOLDER
*
* 3-paragraph GPL blurb
* SPDX-License-Identifier: GPL-2.0-only
*
* Author: MyName <myemail@foo.com>
*/

View File

@@ -98,9 +98,7 @@ An example placement of a copyright statement can be found in the file
/*
* Copyright (c) 2005,2006 INRIA
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
* SPDX-License-Identifier: GPL-2.0-only
Copyright on existing files
===========================
@@ -115,9 +113,7 @@ of code that is covered by the new copyright. An example is the program
* Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari
* Copyright (c) 2018 Fraunhofer ESK : RLF extensions
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
* SPDX-License-Identifier: GPL-2.0-only
Here, Fraunhofer ESK added extensions to support radio link failure (RLF),
and the copyright statement clarifies the extension (separated from the