[PATCH 1/2] Add SPDX License identifier for files originating from LiMon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The header of some LiMon imported files reference a License file which
does not exist in barebox.
These files were originally licensed under GPLv2 as can be seen in this
U-Boot commit:

| commit 2ea9103924048637d28baf0f7b1dd410f6704c32
| Author: Wolfgang Denk <wd@xxxxxxx>
| Date:   Tue Sep 30 10:44:01 2014 +0200
|
|     SPDX License cleanup for LiMon imported files
|
|     A number of network related files were imported from the LiMon
|     project; these contain a somewhat unclear license statement:
|
|             Copyright 1994 - 2000 Neil Russell.
|             (See License)
|
|     I analyzed the source code of LiMon v1.4.2 which was used for this
|     import.  It does not contain any "License" file, but the top level
|     directory contains a file "COPYING", which turns out to be GPL v2
|     of June 1991.  So it is legitimate to conclude that the LiMon derived
|     files are also to be released under GPLv2.  Mark them as such.

Based on this commit add the correct SPDX License identifier. While at it
drop the reference to the non-existing License file and also remove the
long unmaintained file history.

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
Reported-by: Oliver Fendt <ofendt@xxxxxxxxxxxxxx>
---
 include/net.h | 11 ++++-------
 net/dhcp.c    | 13 +++++++------
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/include/net.h b/include/net.h
index b7cbab7d72..b5a5e1b616 100644
--- a/include/net.h
+++ b/include/net.h
@@ -1,12 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0
+// SPDX-FileCopyrightText: 1994-2000 Neil Russell
 /*
- *	LiMon Monitor (LiMon) - Network.
+ * net.h - barebox networking support
  *
- *	Copyright 1994 - 2000 Neil Russell.
- *	(See License)
- *
- *
- * History
- *	9/16/00	  bor  adapted to TQM823L/STK8xxL board, RARP/TFTP boot added
+ * based on U-Boot (LiMon) code
  */
 
 #ifndef __NET_H__
diff --git a/net/dhcp.c b/net/dhcp.c
index d28c37c693..93738e5a6b 100644
--- a/net/dhcp.c
+++ b/net/dhcp.c
@@ -1,11 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0
+// SPDX-FileCopyrightText: 1994, 1995, 2000 Neil Russell
+// SPDX-FileCopyrightText: 2000 Roland Borde
+// SPDX-FileCopyrightText: 2000 Paolo Scaffardi
+// SPDX-FileCopyrightText: 2000-2004 Wolfgang Denk, wd@xxxxxxx
 /*
- *	Based on LiMon - BOOTP.
+ * dhcp.c - barebox dhcp support
  *
- *	Copyright 1994, 1995, 2000 Neil Russell.
- *	(See License)
- *	Copyright 2000 Roland Borde
- *	Copyright 2000 Paolo Scaffardi
- *	Copyright 2000-2004 Wolfgang Denk, wd@xxxxxxx
+ * based on U-Boot (LiMon) code
  */
 
 #include <common.h>
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux