[rtems commit] lib: further adoption of SPDX licensing ID tags.

Sebastian Huber sebh at rtems.org
Fri Sep 9 04:43:21 UTC 2022


Module:    rtems
Branch:    master
Commit:    6fe3acd0d7b0fbb809a8998bc5462dd857b61a34
Changeset: http://git.rtems.org/rtems/commit/?id=6fe3acd0d7b0fbb809a8998bc5462dd857b61a34

Author:    Pedro F. Giffuni <pfg at FreeBSD.org>
Date:      Sun Nov 26 02:00:33 2017 +0000

lib: further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

---

 cpukit/libcrypt/crypt-md5.c    | 2 ++
 cpukit/libcrypt/crypt-sha256.c | 4 +++-
 cpukit/libcrypt/crypt-sha512.c | 4 +++-
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/cpukit/libcrypt/crypt-md5.c b/cpukit/libcrypt/crypt-md5.c
index c60dcf8973..ca86bcd9b7 100644
--- a/cpukit/libcrypt/crypt-md5.c
+++ b/cpukit/libcrypt/crypt-md5.c
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
  * Copyright (c) 2003 Poul-Henning Kamp
  * All rights reserved.
  *
diff --git a/cpukit/libcrypt/crypt-sha256.c b/cpukit/libcrypt/crypt-sha256.c
index 7a677284b5..a70b92cc85 100644
--- a/cpukit/libcrypt/crypt-sha256.c
+++ b/cpukit/libcrypt/crypt-sha256.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
  * Copyright (c) 2011 The FreeBSD Project. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/cpukit/libcrypt/crypt-sha512.c b/cpukit/libcrypt/crypt-sha512.c
index d418b8946a..901b352ec5 100644
--- a/cpukit/libcrypt/crypt-sha512.c
+++ b/cpukit/libcrypt/crypt-sha512.c
@@ -1,4 +1,6 @@
-/*
+/*-
+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
+ *
  * Copyright (c) 2011 The FreeBSD Project. All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without



More information about the vc mailing list