[PATCH] firmware-utils: seama.h replace LGPL-2.1-or-later boilerplate with SPDX

Adrian Schmutzler mail at adrianschmutzler.de
Sun Aug 22 06:55:46 PDT 2021


Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Rafal Milecki
> Sent: Freitag, 6. August 2021 13:00
> To: openwrt-devel at lists.openwrt.org
> Cc: Rafał Miłecki
> Subject: [PATCH] firmware-utils: seama.h replace LGPL-2.1-or-later
> boilerplate with SPDX
> 
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> This was missed because scancode license scanner was confused by a slightly
> different than expected license text (96,75% license score).
> 
> License text included "file" instead of "library" in the main part of the
> licensing info. It also used "The GNU C Library" instead of the standard "This
> library" in 2nd and 3rd paragraphs.
> 
> The first paragraph clearly mentions LGPL-2.1-or-later and the use of "file"
> instead of "library" should not affect licensing.

Acked-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>

A ":" is missing after seama.h in the commit title.

Note that checkpatch.pl wants /* */ comments here:

WARNING: Improper SPDX comment style for 'tools/firmware-utils/src/seama.h', ple                                                   ase use '/*' instead
#190: FILE: tools/firmware-utils/src/seama.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

WARNING: Missing or malformed SPDX-License-Identifier tag in line 1
#190: FILE: tools/firmware-utils/src/seama.h:1:
+// SPDX-License-Identifier: LGPL-2.1-or-later

I'm not sure whether this is valid and whether it would also apply to your recently merged replacements as well.

Best

Adrian

> 
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
> ---
>  tools/firmware-utils/src/seama.h | 16 +---------------
>  1 file changed, 1 insertion(+), 15 deletions(-)
> 
> diff --git a/tools/firmware-utils/src/seama.h b/tools/firmware-
> utils/src/seama.h
> index 02683b6e98..bc58338a62 100644
> --- a/tools/firmware-utils/src/seama.h
> +++ b/tools/firmware-utils/src/seama.h
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: LGPL-2.1-or-later
>  /* vi: set sw=4 ts=4: */
>  /*
>   *	(SEA)ttle i(MA)ge is the image which used in project seattle.
>   *
>   *	Created by David Hsieh <david_hsieh at alphanetworks.com>
>   *	Copyright (C) 2008-2009 Alpha Networks, Inc.
> - *
> - *	This file is free software; you can redistribute it and/or
> - *	modify it under the terms of the GNU Lesser General Public
> - *	License as published by the Free Software Foundation; either'
> - *	version 2.1 of the License, or (at your option) any later version.
> - *
> - *	The GNU C Library is distributed in the hope that it will be useful,'
> - *	but WITHOUT ANY WARRANTY; without even the implied warranty of
> - *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
> GNU
> - *	Lesser General Public License for more details.
> - *
> - *	You should have received a copy of the GNU Lesser General Public
> - *	License along with the GNU C Library; if not, write to the Free
> - *	Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
> - *	02111-1307 USA.
>   */
> 
>  #ifndef __SEAMA_HEADER_FILE__
> --
> 2.26.2
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210822/482f7cba/attachment.sig>


More information about the openwrt-devel mailing list