From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 31 Jul 2023 11:11:45 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qQOwM-000Znq-4C for lore@lore.pengutronix.de; Mon, 31 Jul 2023 11:11:45 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qQOwI-0007n5-RG; Mon, 31 Jul 2023 11:11:42 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qQOwE-0007Zi-V1; Mon, 31 Jul 2023 11:11:38 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1qQOwE-0005jC-8X; Mon, 31 Jul 2023 11:11:38 +0200 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qQOwC-00FVbF-2y; Mon, 31 Jul 2023 11:11:36 +0200 From: Roland Hieber To: oss-tools@pengutronix.de Date: Mon, 31 Jul 2023 11:11:26 +0200 Message-Id: <20230731091131.3696307-5-rhi@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230731091131.3696307-1-rhi@pengutronix.de> References: <20230731091131.3696307-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [OSS-Tools] [PATCH dt-utils v2 4/9] treewide: add SPDX identifier to file with Zlib license X-BeenThere: oss-tools@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: Pengutronix Public Open-Source-Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roland Hieber , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Sender: "OSS-Tools" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: oss-tools-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false 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 Signed-off-by: Roland Hieber --- 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
-- 2.39.2