mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Cc: Oliver Fendt <ofendt@googlemail.com>
Subject: [PATCH 1/2] Add SPDX License identifier for files originating from LiMon
Date: Thu, 27 Jul 2023 12:10:07 +0200	[thread overview]
Message-ID: <20230727101008.3350548-1-s.hauer@pengutronix.de> (raw)

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@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@pengutronix.de>
Reported-by: Oliver Fendt <ofendt@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@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@denx.de
+ * based on U-Boot (LiMon) code
  */
 
 #include <common.h>
-- 
2.39.2




             reply	other threads:[~2023-07-27 10:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-27 10:10 Sascha Hauer [this message]
2023-07-27 10:10 ` [PATCH 2/2] test/self/mmu.c: Fix typo in SPDX License Identifier Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230727101008.3350548-1-s.hauer@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=ofendt@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox