From patchwork Wed Mar 31 13:44:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mark Jonas X-Patchwork-Id: 1460542 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::43a; helo=mail-wr1-x43a.google.com; envelope-from=swupdate+bncbcemdfwl6alrb7hzsgbqmgqehhunxci@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=r+hSo9xU; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=hM4oobso; dkim-atps=neutral Received: from mail-wr1-x43a.google.com (mail-wr1-x43a.google.com [IPv6:2a00:1450:4864:20::43a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4F9SJ34H3bz9sCD for ; Thu, 1 Apr 2021 00:45:38 +1100 (AEDT) Received: by mail-wr1-x43a.google.com with SMTP id e10sf1025834wru.13 for ; Wed, 31 Mar 2021 06:45:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617198332; cv=pass; d=google.com; s=arc-20160816; b=XVgLllRE/Ruh7piErBLXoez+y0yM4BsWHN/BUxOptKd8sVqeeH+RXAWqWISuGxtyV5 ieBVmDSk/uiCzQWyGuOkPlOgVhasJ8s1HolzFwqhpc+K0dr+Bo74Uj4wK5AyljLEgFKu Fpzdpc0wrLAAAfArMMlcPnkFYZPpuivVD1G/vwdSO+sw7gOArD/Q+KiQTOX78vdFCmTh I96j/NDdCNenFHARcGGDKltX8VKi/vr1YmBtoqMS1rVDqUouAjzHliS0fogUXIlXu6tu E7lpY87t9fh7Q65yO6vkMifnwZHK/qwsWjc1MRN1/f+1kj+dqZ2GJhGO26KgyZBDz3Gs 4J+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:sender :dkim-signature:dkim-signature; bh=a9HaATEmUoDSfWz4LSWfwVlLuYpfcvYAgv2hst+XhMo=; b=kd4swvhX1DXup13VRL9J3SS2tcqMTKQc4L9jjgvqZia/ZLmxBqQbTRlgXxDctWuvGx yrDUXIUbD/kOUbPhzsDdM1girlaPoB32HUA7v0fyFHyv63NVFGmANkCcQ45uqcO7MJzq 5MF3BxCcxIP0sbnrkyPOpCIqtW4jptT1NkrKYJn2Xlpu+ZKEP6gKeIGC/As/8W/S+8Rb JEzM4oJnaRBKLqn/OFMN2u9meCQNJ6ki5xPhAr99vJ2FmKAVhWHr+AwEEKTRhnwwNj82 k1Y5zBgB8dvnzBpV/67Apxlc+af0K59lNyoVP1ObAYHYCR0MUWPBj+6F+xr3kFdgGVmy Qiuw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TrtZmh8n; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=toertel@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=a9HaATEmUoDSfWz4LSWfwVlLuYpfcvYAgv2hst+XhMo=; b=r+hSo9xUY7iin0qrlRZzcV68QJ/lV9XS2SCt43t1cAxcz0JtcUB9tahnfz/+6HztYT nlrZ6dtWVZD6wLMr3Z542PPgUfR28ClZmBvV30jk4n9s5AnCxP7ItAPGsKBe0gDsqOYR 9bjsCOoosNfVKRQckV/zmtfE6PvlPi7SORTpwW3A5yDnfoP09TFXiVhm6YKdxlFK5CTy Zsr1FIx08hgeD5EMz55YCyGFGBnoUMNMmYGfCrwROLASCYdQRR4Utj/gD2fZhpEcLRWB UoR/t+2MbDwSvMaGmWP4BbkWlovHnOH79BjjtIgLe6wHz48b/ViTTVMKO0ktvaHr7Z7J MBzg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=a9HaATEmUoDSfWz4LSWfwVlLuYpfcvYAgv2hst+XhMo=; b=hM4oobsoD0MmnHphJAT1qRE5cxuMMzHh67VU9fW6Pvt9IjfB0hCBvvbx3pdnq8UBqz mvFePmwnUaV7cffJErpSS1cN1Cc80ZJxD+GsJ8NFgPhraTKhfFcqB06l+8/GSh4QZZ8i y+NOJNvx02k7VJukspypfqj0Z+hBTSzkl+N3+YIyot5A5awTRg9oBysmt+4//O5mvf8R yDShAUs1rByfPUT3TehiZt6f25LUMYWZlsqOOlaeRBRYG1+T5VCgVcsXYbXl0pXUIL4Y DfOD5659d1BTnMlFXP3poTKgddYYAcQia6QJCfMffMYm96sfDpp+omLXph8IMSmF8WI2 67MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=a9HaATEmUoDSfWz4LSWfwVlLuYpfcvYAgv2hst+XhMo=; b=VjBVXsBSRSx5DRA0iZbzNSg6CT40eEc969SCr+hAW/XSiQqITQc/GdVO58Z0kvHIoy eXUfVOWUVa8rLWsUJDmMwi1ysVvMTj3QmJwYT1SX6HwR2zBqtKGAIK/64GOt1x6Q0kWS sNpwRc7ME1uJ1qQFOXML3FrS8PmP9vKwS1/jB3wetf4V/5r9O3JjHxnvkSsIzEhvyAUN vIcucBh5srSOPqsFoAK0GF2nLZ832e9E/tKrqls7DD/qs/ZDxXizrYjXcequKETAG0XB dzg0Gh3xWMqA+YYpylqrsr2hoeGBnOqX6ajfLA1vuyRH2F8akiRdQzjW3FBAo0sqJwpQ dPHg== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM532HGtW29jNON2gIiO6/HzEf9d6FUjnD6fPoGoGGuXwrseDZpgNt uW9iPvAojzAIFEk7Er7ztNs= X-Google-Smtp-Source: ABdhPJylCpjVLiFAO58MRb/97aGYFqJQmz5APEckTr6EdXxqfuWJrBY+0C1I4hx2V0wGdW0ZobrSiA== X-Received: by 2002:a1c:b48a:: with SMTP id d132mr3174245wmf.108.1617198332562; Wed, 31 Mar 2021 06:45:32 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a7b:cc94:: with SMTP id p20ls1288284wma.0.gmail; Wed, 31 Mar 2021 06:45:31 -0700 (PDT) X-Received: by 2002:a1c:3d8b:: with SMTP id k133mr3334787wma.6.1617198331677; Wed, 31 Mar 2021 06:45:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617198331; cv=none; d=google.com; s=arc-20160816; b=CBQjyJTCsAycGxX+1VsLm2aC5sEQoA8XaPk12odZ+thc5pHa2elwkJXcIIdNJkDGd+ siBLQTcaeycFY+ySFum7/yMykvT1HZxEOE/SpAArzOyqxnTWiD4j4H9XnpSw5mrH92SH vRGYcCRk7HUZhsVyQAVH6RP0oRRsov905Krgxnd3OTYL7b9KEGz+VxEVcnq2LdVklaYS aDNjYCHBWSaNG4SQrtaI0ZEFJi/N6bOzILIax/Hzo+yrUUgw2F0NgUbEDJFu5D+FGwF5 0jEFSoo+Qq5NZujQxAstgYxf55i6XbWxX50b2r9y3L/uFXDsT/oGf6as5o0rV6JrNfjM 2Cpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=d8n3dqZ8IUgWQCuU/CC7iMAYu1rDvJ69q1U0IruJLDA=; b=mSvc12ssRZqFq1KRsLAUuONQzTQct7B0jdrGWcBP1m5GyiANysaQSWVsd6c6/41mon 98sJa2Oz2P3FopDlLQ34HN6YFU1Edr+zDF3k0A3ng6BwwUPcCPAES3wRZSh3M2u2ad/M Fq/d2KZvBMiRCSVe7AVS5dnASSlOt2JxryQuFfBMK6BFoNOqbpzumQQ6Qm4IKMq2OW0J BSpoZwhDDlg/ajsAcWp228vdShdtFm7nAVR2eINlao9LmchuRztp1BDCykTLSrAVbQvT W7Grlk2VZbOjtqI72OkqJEp7tiR9Ko1gVkJ4PeRW4WnZeXLdUjqI31VQBY7z/xgLoE9W Rscw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TrtZmh8n; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=toertel@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com. [2a00:1450:4864:20::632]) by gmr-mx.google.com with ESMTPS id y12si166073wrw.3.2021.03.31.06.45.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Mar 2021 06:45:31 -0700 (PDT) Received-SPF: pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) client-ip=2a00:1450:4864:20::632; Received: by mail-ej1-x632.google.com with SMTP id e14so30117774ejz.11 for ; Wed, 31 Mar 2021 06:45:31 -0700 (PDT) X-Received: by 2002:a17:906:4bce:: with SMTP id x14mr3525354ejv.383.1617198331151; Wed, 31 Mar 2021 06:45:31 -0700 (PDT) Received: from gigabyte.fritz.box (p200300cfaf00600080f6010d660fd809.dip0.t-ipconnect.de. [2003:cf:af00:6000:80f6:10d:660f:d809]) by smtp.gmail.com with ESMTPSA id w18sm1250043ejn.23.2021.03.31.06.45.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Mar 2021 06:45:30 -0700 (PDT) From: Mark Jonas To: swupdate@googlegroups.com, sbabic@denx.de Cc: Mark Jonas Subject: [swupdate] [RFC PATCH 0/8] Make SWUpdate REUSE-compliant Date: Wed, 31 Mar 2021 15:44:54 +0200 Message-Id: <20210331134502.17297-1-toertel@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: toertel@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TrtZmh8n; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::632 as permitted sender) smtp.mailfrom=toertel@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Intention of this RFC patch series is to start a process of making SWUpdate REUSE-compliant. https://reuse.software/ REUSE is a FSFE initiative to make it easier to communicate license requirements and copyright statements so it is clear for everyone which parts of the software is under which license. The idea is that this information shall be easy to read for humans as well as for machines. The concept is based on the SPDX standard. Thus, many projects which already use SPDX license identifiers are already very far in achieving REUSE compliance. These patch must not be immediately applied. It shall first serve as a base for further discussion. Additionally, it will break OpenEmbedded / Yocto Project builds because all license files had to be renamed. The first patches make sure that the license files are in the right place and have the correct name according to the REUSE specification. Also the missing GPL-2.0-only license will be added. Each patch documents the details. The mongoose directory was chosen to demonstrate what needs to be done with the source code. Some files do neither have license nor copyright information. So both have to be added. Other files might already have one but are lacking the other. REUSE has a linter for automatic checking of the code. One way to run the linter is to use its Docker image. docker run --rm --volume $(pwd):/data fsfe/reuse lint Mark Jonas (8): Rename Licenses to LICENSES for REUSE compliance doc: Correct documentation on license declaration doc: Add BSD 1-Clause to license list LICENSES: Rename Exception to obey SPDX naming LICENSES: Add GPL-2.0-only license text LICENSES: Rename GPL-2.0 to match SPDX ĺist 3.0 LICENSES: Rename LGPL-2.1 to match SPDX ĺist 3.0 mongoose: Make REUSE compliant .../BSD-1-Clause.txt | 0 .../BSD-2-Clause.txt | 0 .../BSD-3-Clause.txt | 0 LICENSES/GPL-2.0-only.txt | 288 ++++++++++++++++++ .../GPL-2.0-or-later.txt | 0 Licenses/isc.txt => LICENSES/ISC.txt | 0 .../LGPL-2.1-or-later.txt | 0 .../LicenseRef-OpenSSL-Exception.txt | 0 Licenses/mit.txt => LICENSES/MIT.txt | 0 doc/source/licensing.rst | 20 +- mongoose/Config.in | 5 + mongoose/Makefile | 6 + mongoose/mongoose.c | 2 +- mongoose/mongoose.h | 6 +- 14 files changed, 315 insertions(+), 12 deletions(-) rename Licenses/bsd-1-clause.txt => LICENSES/BSD-1-Clause.txt (100%) rename Licenses/bsd-2-clause.txt => LICENSES/BSD-2-Clause.txt (100%) rename Licenses/bsd-3-clause.txt => LICENSES/BSD-3-Clause.txt (100%) create mode 100644 LICENSES/GPL-2.0-only.txt rename Licenses/gpl-2.0.txt => LICENSES/GPL-2.0-or-later.txt (100%) rename Licenses/isc.txt => LICENSES/ISC.txt (100%) rename Licenses/lgpl-2.1.txt => LICENSES/LGPL-2.1-or-later.txt (100%) rename Licenses/Exceptions => LICENSES/LicenseRef-OpenSSL-Exception.txt (100%) rename Licenses/mit.txt => LICENSES/MIT.txt (100%) --- 2.25.1