[PATCH 1/2] Add SPDX License identifier for files originating from LiMon
Sascha Hauer
s.hauer at pengutronix.de
Thu Jul 27 03:10:07 PDT 2023
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 at denx.de>
| 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 at pengutronix.de>
Reported-by: Oliver Fendt <ofendt at googlemail.com>
---
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 at denx.de
/*
- * 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 at denx.de
+ * based on U-Boot (LiMon) code
*/
#include <common.h>
--
2.39.2
More information about the barebox
mailing list