From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 31 Jul 2023 11:42:10 +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 1qQPPn-000bb1-AY for lore@lore.pengutronix.de; Mon, 31 Jul 2023 11:42:10 +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 1qQPPk-0004gK-IS; Mon, 31 Jul 2023 11:42:08 +0200 Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qQPPi-0004g0-A1; Mon, 31 Jul 2023 11:42:06 +0200 Message-ID: Date: Mon, 31 Jul 2023 11:42:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Roland Hieber , oss-tools@pengutronix.de References: <20230731091131.3696307-1-rhi@pengutronix.de> <20230731091131.3696307-5-rhi@pengutronix.de> From: Ahmad Fatoum In-Reply-To: <20230731091131.3696307-5-rhi@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [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: =?UTF-8?Q?Uwe_Kleine-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 On 31.07.23 11:11, Roland Hieber wrote: > 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 Reviewed-by: Ahmad Fatoum > --- > 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
-- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |