From: Roland Hieber <rhi@pengutronix.de>
To: oss-tools@pengutronix.de
Cc: "Roland Hieber" <rhi@pengutronix.de>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Subject: [OSS-Tools] [PATCH dt-utils v2 4/9] treewide: add SPDX identifier to file with Zlib license
Date: Mon, 31 Jul 2023 11:11:26 +0200 [thread overview]
Message-ID: <20230731091131.3696307-5-rhi@pengutronix.de> (raw)
In-Reply-To: <20230731091131.3696307-1-rhi@pengutronix.de>
We don't have any zlib.h anyway, so the line in src/crc32.c is
meaningless. Add Zlib license from the SPDX website [1].
[1]: https://spdx.org/licenses/Zlib.html
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
PATCH v2:
* add LICENSES/Zlib.txt
PATCH v1: https://lore.pengutronix.org/oss-tools/20210326210647.8648-3-rhi@pengutronix.de
---
LICENSES/Zlib.txt | 19 +++++++++++++++++++
src/crc32.c | 2 +-
2 files changed, 20 insertions(+), 1 deletion(-)
create mode 100644 LICENSES/Zlib.txt
diff --git a/LICENSES/Zlib.txt b/LICENSES/Zlib.txt
new file mode 100644
index 000000000000..4dd43e509207
--- /dev/null
+++ b/LICENSES/Zlib.txt
@@ -0,0 +1,19 @@
+zlib License
+
+This software is provided 'as-is', without any express or implied warranty. In
+no event will the authors be held liable for any damages arising from the use of
+this software.
+
+Permission is granted to anyone to use this software for any purpose, including
+commercial applications, and to alter it and redistribute it freely, subject to
+the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must not claim
+ that you wrote the original software. If you use this software in a product,
+ an acknowledgment in the product documentation would be appreciated but is
+ not required.
+
+2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+
+3. This notice may not be removed or altered from any source distribution.
diff --git a/src/crc32.c b/src/crc32.c
index 8273d3465f6f..469dac3a5b27 100644
--- a/src/crc32.c
+++ b/src/crc32.c
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: Zlib */
/*
* This file is derived from crc32.c from the zlib-1.1.3 distribution
* by Jean-loup Gailly and Mark Adler.
@@ -5,7 +6,6 @@
/* crc32.c -- compute the CRC-32 of a data stream
* Copyright (C) 1995-1998 Mark Adler
- * For conditions of distribution and use, see copyright notice in zlib.h
*/
#include <dt/common.h>
--
2.39.2
next prev parent reply other threads:[~2023-07-31 9:11 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-31 9:11 [OSS-Tools] [PATCH dt-utils v2 0/9] make project conform to the REUSE specification Roland Hieber
2023-07-31 9:11 ` [OSS-Tools] [PATCH dt-utils v2 1/9] treewide: add SPDX identifiers to files with GPL-2.0-only license Roland Hieber
2023-07-31 9:40 ` Ahmad Fatoum
2023-07-31 9:11 ` [OSS-Tools] [PATCH dt-utils v2 2/9] treewide: add SPDX identifiers to files with GPL-2.0-or-later license Roland Hieber
2023-07-31 9:41 ` Ahmad Fatoum
2023-07-31 9:11 ` [OSS-Tools] [PATCH dt-utils v2 3/9] treewide: add SPDX identifiers to files with GPL-3.0-or-later license Roland Hieber
2023-07-31 9:41 ` Ahmad Fatoum
2023-07-31 9:11 ` Roland Hieber [this message]
2023-07-31 9:42 ` [OSS-Tools] [PATCH dt-utils v2 4/9] treewide: add SPDX identifier to file with Zlib license Ahmad Fatoum
2023-07-31 9:11 ` [OSS-Tools] [PATCH dt-utils v2 5/9] treewide: add CC0-1.0 SPDX identifiers for trivial files Roland Hieber
2023-07-31 9:43 ` Ahmad Fatoum
2023-07-31 9:11 ` [OSS-Tools] [PATCH dt-utils v2 6/9] treewide: add GPL-2.0-only SPDX identifiers to files without license Roland Hieber
2023-07-31 9:44 ` Ahmad Fatoum
2023-07-31 9:11 ` [OSS-Tools] [PATCH dt-utils v2 7/9] treewide: add trivial copyright headers Roland Hieber
2023-07-31 9:44 ` Ahmad Fatoum
2023-07-31 9:11 ` [OSS-Tools] [PATCH dt-utils v2 8/9] DCO: add SPDX license information Roland Hieber
2023-07-31 9:45 ` Ahmad Fatoum
2023-07-31 9:11 ` [OSS-Tools] [PATCH dt-utils v2 9/9] README: mention compatibility with the REUSE specification Roland Hieber
2023-07-31 9:45 ` Ahmad Fatoum
2023-08-01 10:10 ` [OSS-Tools] [PATCH dt-utils v2 0/9] make project conform to " Roland Hieber
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=20230731091131.3696307-5-rhi@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=oss-tools@pengutronix.de \
--cc=u.kleine-koenig@pengutronix.de \
/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