From patchwork Sat Apr 3 18:02:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mark Jonas X-Patchwork-Id: 1462004 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::440; helo=mail-wr1-x440.google.com; envelope-from=swupdate+bncbcemdfwl6alrbng3ukbqmgqeopeecni@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=lK4KMdtc; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=dLf+jLLh; dkim-atps=neutral Received: from mail-wr1-x440.google.com (mail-wr1-x440.google.com [IPv6:2a00:1450:4864:20::440]) (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 4FCPs66ZgNz9sRf for ; Sun, 4 Apr 2021 04:02:32 +1000 (AEST) Received: by mail-wr1-x440.google.com with SMTP id h30sf5884609wrh.10 for ; Sat, 03 Apr 2021 11:02:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617472948; cv=pass; d=google.com; s=arc-20160816; b=fGq3e7GQAK53OCKN6lJf9/nHM6PHnItkKWjS0+kXatokeFWUZJCnqoRJtRbiTVsgGN sJv0NlIywiCV4luKGSKGttV8l3KMpOlAZA3IFQ7y5Y5eWWQatD7A81SgD03Pv5BTedzs hR88iwZgguhZE996VuRF4da4nG95+1H98CJufvAFBYlheFkcmVtYrF9NH3DNqfdSAGI9 YDUNIVSzNakLOF8ZfNhhW9bp+iRNf58kLXpWEww2y2aLwFk6RrVEIHP/XYtIh/ZD/SQc qVLwC3TGaGygBxXn9UigrePgcy6lSPQlzIXvfQuI88LOaG1iId4lE2nxeRZtdKVlVUqG Ypew== 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=Isp2Zo6Z2fipnEqMqCNeUkX5IyynUrEtmXC0J6DeRP8=; b=PEmuIkUZNwUODSpvU8C01uidV0u9VQqA4uO+F0OuWjygowMG3VWF+5DaMYiflCqhZi swJkquIKbYRWGCMnt+SPcicuQdi+MF28qnI7k9+69LkCPnE927CciMwsRWbN04tq9BiK +8MVSm5kfpwARWW6chNT7f1eK4/vXL6ULDlu+koglJ7spLuJLDy9j8jrmfgFyknaJE6D Z/p39dPSR6Zi7PQrR07dh0/V4bhzGlm/8mpFD34P9fsDS+n0ZFwxfLdzi3ARqXznYuj0 IcKRd5dzKRmcKARqpHvuFuLfsHm+sAz+SwilW239oU+Pdp9Mrh4Klv2e7hEpSpYZUFW6 r23g== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mSwH9vVK; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::62c 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=Isp2Zo6Z2fipnEqMqCNeUkX5IyynUrEtmXC0J6DeRP8=; b=lK4KMdtcb4xQ/cMTwcIKswMEbbKcMafcLhiMoqrcuJwq4ZIis4RLekhR1NHtt+esTW m+ucFDwJURZl0zOO6lWd8owEPeSCWPP2nwVuxuSnbt4+BMMKuUIzGBOkj/qEGFdFEd84 WBzAt2meoZRjjsy4uTrTrhjfjTfxDwq7s+B2O/PMZdoHF06nQusQSfsC1ihCgssceaAs cUGcUX6KsHdKwwMzXAASoGse206pfskklESCzO7rrr7GhPlE3PfLUjYPfmOKyAxEbeLs G8qiQ9P9NG8ivpcdAlilhiawLxYvO4abCsHT1pRC3fzMQ0+zL8vA07YCoIioLEW/lAgv C6RQ== 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=Isp2Zo6Z2fipnEqMqCNeUkX5IyynUrEtmXC0J6DeRP8=; b=dLf+jLLhe1e5BQD6b3NrC0f2uNqVy5VJ/JpbeMSJqzjZPxZOVgdc6lfo52AdlfGoka giPBZOxnzygLiLDuV+KmFxSskQQyhloTh0czzsxor5cSrB3n4YZMsk8zdNlaoUPMUKNF 5k9JGmuSItRSNECIGIABQMIP0dt+vLBteKlUl8PWvREDWb+KEeM7kjpx9IqcYjB8Px49 shJLYD+ORdQUWx4imkCI6YgANes4ps6pt6Jh5uQmuhFlR70MaqWfguxO0s+8P8ckLzIt Z5AJqE0PVHwVlEA2ajOiTy6CVmQmXNcWfOTmohG+MzDBEnyKYicQSZ6DzhhI8ZzLsFoe OKaQ== 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=Isp2Zo6Z2fipnEqMqCNeUkX5IyynUrEtmXC0J6DeRP8=; b=cVnM/mmDRyjoqDQ2eQM7iEapea3BtSpyTr9U/gq0zQ5Ybsn62aQsbhFMAGJy2x/JcU LLyH1nWN7CUXueLav6VJjDCQO0OMw/YmN15z2IwilwrwY3dsO7BmJ4UDTm/htBS+J2iy 5d+0tILLqm7VljlQoVeJVvqwO+3SSonesXb1o6LLz/SG4yZkCPPmkiYmR9T22r7rj6lx r5S/d1wGPtn9Bsjn3jtP/DY5AoeaQftQ9WMux87VsRGIiIRMeEOKnXBbPB6XSfSY4FOx MbLQfLhw3IhPrfZSisE9vmFmVbISM6QLsWrpnJHXFagVLbZYWdH+rqTQs520FErXQOvV oSVA== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM530guKXWxQv+csMJcrliheFozTRLPm61/eoYZ2kC331OyiApnipn XNqyvWaEeX2fOqHZ03Pb7VQ= X-Google-Smtp-Source: ABdhPJwOGuVkeeWEpSO0aa/UxJRgD0JrMz5L55A17qkUCPXAvpsw1wiQnNXvFbKrDhCtd8KjFxKRZg== X-Received: by 2002:adf:ea8b:: with SMTP id s11mr21847221wrm.413.1617472948755; Sat, 03 Apr 2021 11:02:28 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:adf:d1c8:: with SMTP id b8ls3186175wrd.3.gmail; Sat, 03 Apr 2021 11:02:28 -0700 (PDT) X-Received: by 2002:adf:eec9:: with SMTP id a9mr21159454wrp.252.1617472947991; Sat, 03 Apr 2021 11:02:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617472947; cv=none; d=google.com; s=arc-20160816; b=YdvsMIxYlk2r45SUQ33a9700EvMvOGE0M2s3xLuUWe/4zKMDu83x7jAUE4IPI+B7wF SXeXeppGeUk1+61wF+Qu3Wl4cW5niibM76yMqi7CEBzT5wj8HuXpT6Ha/Ya6/1YJoMPH x7ee0U+QohgWK3ooHa6zQtKhmhSJ/KQAwKRcFCyKQ/2Z7k2vN2wt8s5InbNwlPCuJmMQ /KOm9eIf2+ZsuuDscu/Me3O14OCRSUgZPd8MRRNkFwW3R6JhPCGhtYjBqnXTpZvJeG4S v0igal/1og+mK5eQCGPVhN7TEz9dcM7qt0DSf5/6SO//H1q8mf7BNq8grGbsrcU7ejvB WoKA== 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=MMcTAU6uid4DCYYSSDrlO3O7Xp0Ty5hxaYrea4PzZBA=; b=TW+wU9vN7iPgldhk2tWRrZT5x11B5un+gXLb8NicY7CJqSXGYZZCVicGRHnkFcDpgt xb1z9Mk3Y9Ilqj9gNDSAu7ecFb2SYn+BJc/8yOtEaU5sHTLrZxTafBktBOKlhb7USiHy 8UL8kqu1OGjHswpIcF8tC2NiwwFJkwakVhXiCQlCIY1jJeDwvb0npXFCCF5DvfQx3GQj SsWrX+8BOJQTmKrY1autnixIpeW7WrFv/Utv2V8mn/X+u/YNRkhAdP0xxGNOtNBUzX0r 9QRmQbrnPo/6sLSeu2D8w3AsVuSbLl4wfbT+M4BMOBBxc2JIqskerQ2EkJNFzrjt4WfQ gMVA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mSwH9vVK; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::62c as permitted sender) smtp.mailfrom=toertel@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com. [2a00:1450:4864:20::62c]) by gmr-mx.google.com with ESMTPS id y12si1445350wrw.3.2021.04.03.11.02.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 03 Apr 2021 11:02:27 -0700 (PDT) Received-SPF: pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::62c as permitted sender) client-ip=2a00:1450:4864:20::62c; Received: by mail-ej1-x62c.google.com with SMTP id ap14so11480160ejc.0 for ; Sat, 03 Apr 2021 11:02:27 -0700 (PDT) X-Received: by 2002:a17:906:7497:: with SMTP id e23mr7659453ejl.327.1617472947418; Sat, 03 Apr 2021 11:02:27 -0700 (PDT) Received: from gigabyte.fritz.box (p200300cfaf4fb6002147efb386033592.dip0.t-ipconnect.de. [2003:cf:af4f:b600:2147:efb3:8603:3592]) by smtp.gmail.com with ESMTPSA id k12sm7490567edr.60.2021.04.03.11.02.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 11:02:26 -0700 (PDT) From: Mark Jonas To: swupdate@googlegroups.com, sbabic@denx.de Cc: Mark Jonas Subject: [swupdate][PATCH 0/7] Start making SWUpdate REUSE-compliant Date: Sat, 3 Apr 2021 20:02:14 +0200 Message-Id: <20210403180221.7442-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=mSwH9vVK; spf=pass (google.com: domain of toertel@gmail.com designates 2a00:1450:4864:20::62c 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 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. The idea is to make it clear for everyone which part of the software is under which license. The goal 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 use SPDX license identifiers are already very well advanced in achieving REUSE compliance. 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 and bsdqueue were chosen to demonstrate what needs to be done with the source code in coming steps to achieve full REUSE compliance. Some files do neither have license nor copyright information. So both have to be added. Other files might already have one of the two 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 Another future step might be adding REUSE linting to SWUpdate's CI. Mark Jonas (7): Rename Licenses to LICENSES for REUSE compliance doc: Add BSD 1-Clause to license list LICENSES: Rename Exception to obey SPDX naming LICENSES: Remove GPL-2.0, add GPL-2.0-only text LICENSES: Rename LGPL-2.1 to match SPDX ĺist 3.0 mongoose: Make REUSE compliant bsdqueue: Make REUSE compliant .../BSD-1-Clause.txt | 0 .../BSD-2-Clause.txt | 0 .../BSD-3-Clause.txt | 0 .../gpl-2.0.txt => LICENSES/GPL-2.0-only.txt | 73 +++---------------- 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 | 7 +- include/bsdqueue.h | 6 ++ mongoose/Config.in | 4 + mongoose/Makefile | 4 + mongoose/mongoose.h | 4 +- 13 files changed, 32 insertions(+), 66 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%) rename Licenses/gpl-2.0.txt => LICENSES/GPL-2.0-only.txt (82%) 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