From patchwork Wed Mar 31 13:45:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark Jonas X-Patchwork-Id: 1460549 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::63e; helo=mail-ej1-x63e.google.com; envelope-from=swupdate+bncbcemdfwl6alrbbh2sgbqmgqeflxrl4a@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=S6e9N67s; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=fHQKaPx/; dkim-atps=neutral Received: from mail-ej1-x63e.google.com (mail-ej1-x63e.google.com [IPv6:2a00:1450:4864:20::63e]) (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 4F9SJ827rxz9sWQ for ; Thu, 1 Apr 2021 00:45:44 +1100 (AEDT) Received: by mail-ej1-x63e.google.com with SMTP id v27sf816554ejq.0 for ; Wed, 31 Mar 2021 06:45:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617198341; cv=pass; d=google.com; s=arc-20160816; b=r7gIR1MxRUoSmeA3shZPgH5XOVG3p/VjTWcP4YoTd9a7WeonrPrj9Zf2TT8rQ5tTF1 /9hQXqYJq0f5irZogQDs8hPswtEzn5qCSMgeqdkhhxudH/65bZUmLGmWtL5VGlCCY/fD +fMj/WAcPyz2v2Nq+VvIK9pgYrF5SSkHHVoHerX8J0zgVJu6xc8kYN068oaFS/b300yD ibPWMHVNwR0hQ89yU1drH9VC6OXnFrjpyedGs5MK+zn6m2OiRw5CPw2sbPF0XCRAwNGo d/hEOn1GNaHNrVpsz9rKQtuqvHBiZGY7/DcXJJdydJllZb4RLdS7NZcvaFBCQSn/c+/q cIGg== 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:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature :dkim-signature; bh=EiOxsjGUnsqkl/orHGmA2bgpbDJQD02UTW/gj1UKkZo=; b=QwvyfOP9iIbVGO+TDy8obdQZbqyROkx2FKCkARWPD7NMI6ezIooYbdXkGQN8Kv8UEC m48/VYK1CJfhuctmmzvXVQxLWlZI36HOdwU/6MtOMsgidfjDsCLq0fvIbpFsY2VZeyil j8imu/Kktu1mFAhyOAvKUzG6LE8ca1kb6GRczbL0BQOwJQ0g43B5W30v+xPFq0I9XLO1 l0I7TULUlKrXha0pFtuOhzBl7cyb/p5XomCdlkAyZFnLkG+UQuSGF2sBokhvjmT9QjMw 9wrUZXqhZ0uWivaXPb/MwrcsOsi57o+Vf294Xr4iQh7MSbRRdcctcFTXPs1coAI0qbas exwQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UqfYHR6+; 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:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=EiOxsjGUnsqkl/orHGmA2bgpbDJQD02UTW/gj1UKkZo=; b=S6e9N67s0RAFW0QQ55TCjT/c+nHvao4YY+VMefgjnv6rrU6Wq61wlecuYB21Xi26WI UfpmCji2g6oWk3m38MaoS02Iiubrm+mKzwZjg8MTCVb+vBv/DTam+VS++c+cfiFTEjSG tv0eW6vYK9TAq4t1ks+OFv/Vamf/Xw9oYUwSMO+ZJqOQyDUbfWWE05gqVnLA2Ns90NFN s2/AOs+9zGV7H/wFbd8jwm88tONWWqJShCyiqfxD1dWVLrPeeG9IrF9tJ20tfsaUebxK 2utJIf2Wz3Hp39OfJq1/BjFz417h1SrgTck8FNI4RDo9fWnu68y9oM70EhZO/O6WCM7n bdKA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=EiOxsjGUnsqkl/orHGmA2bgpbDJQD02UTW/gj1UKkZo=; b=fHQKaPx/GwIgFTijuhxwuYsMy//NhiMo+6DX08agd3Xz+qJNPoekvTXHNfZwS8yb3D Fi4HQmPBUafsxYJfqtUMo2wQQyNx/ciWuS6LdiNAJ3NBLLZgF7uq8WM92Umvrpn5vFBL nzmSg6PfVw5p//8t6hoP8sb2dWeLvBVYf2sCxzSY+W3sa+8bqjoiDK248TmQ90Z3oZ7Q WVlQwKT+JOpvxLka3Rjxh8zeVQhCWnZHcu0aKxYesWsdHCIs8eapoiyBKsI14dYlWK4t 3ZNrDP75AOmqBUvV+J9zmCzlxuww/08Nkg3tef7GViI0nNzW10MwjIfJGWVGk3hyQVBN kHrw== 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 :in-reply-to:references:mime-version: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=EiOxsjGUnsqkl/orHGmA2bgpbDJQD02UTW/gj1UKkZo=; b=mg/XUdIZBMu0TPsAKzHN4ovlNW5RClmfV4zyxatSmBJgl9ggY2zFXD8ijVev5V7/T/ HDZleJh09VtBlbl/N9YyKK5LlhYqJ9HGf+e+yMiC/Faferb2hTuZAfuvnu4sgZlVtoKw CfjqOh4ZKXycFQ+X+kBJGysQhEofGqyn1UQ2wUiCOALDHbRkBdreNwZoWShjYVNL+Bj7 P+Ix9Crkr49gDjiehN1IJzePjDYth7fDbuIxjBRHsjRs4XIgq55fkezcntSC7Oa+sfNq Mv9XrnmcFeUIW8WpQkV5OiArGKit2aAJu4/ENRgFVa29ghkOqdBEclFzLcU/MDF8FEwv HPUA== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM530eQrJBqTUQ7G4L5DCA/qT7DIYoWWYZCoarYQMbKrf80l6zoi2+ Yn+gRApEVEVVj2rPc9f+Y40= X-Google-Smtp-Source: ABdhPJwYAun4YtfDtpb/qqk/k2RaRldrSsJGja091VYZIjg/qQVGeTXqMe3Ac4rymVABNjwPgYDogQ== X-Received: by 2002:a17:906:3488:: with SMTP id g8mr3545387ejb.282.1617198341178; Wed, 31 Mar 2021 06:45:41 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a17:907:c24:: with SMTP id ga36ls1315111ejc.9.gmail; Wed, 31 Mar 2021 06:45:40 -0700 (PDT) X-Received: by 2002:a17:906:37db:: with SMTP id o27mr3730176ejc.60.1617198340363; Wed, 31 Mar 2021 06:45:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617198340; cv=none; d=google.com; s=arc-20160816; b=U4Sa7uw0lxt61jK3R/gepBY03844+jPvDCCMKpcxp3qlLUjzBIuSuhCh2XKRJfVh90 29mLJllDiHAgLEUS88GK59lR7e7X9mUDNM7qTm3qUAuvEd/egT2uSVL/rsvgBE2jb1K2 B7Q0YxIrK1s1Xeby95zuQxal2a1hP8EU+x8Aoeud8aNrqtqtz5CpQUDB+2qdIVh8PnVZ ZucUQ+pI9ZmdkH5B6TPgF8FTBcNsfxf5rTaHiFTywT9y1vtQq/C4Pm7DNWOgbLwc6Yj3 QAslNPu0PG4JE0e4t1zW9IUbZzEdO7jDK092XOQ2r/FMbfn2Y0+rSsTOaN9WT3ptAxoO atyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=UzVaWGGszUvgQ6peLwYlwHSixD5xD4qSBnYm3tNavsQ=; b=XLYifaIwNO2w4nHMD8NLTJsJ0mgzP6UH0bSOi9ott4sXIMHWt7jYtF4/gBRX6z8oY7 h2y7aVYQ+b/WKDnQLsbitg+fLc/VZjZthVUbt8SZjxZ/C3yFerUvOAKrdifeqMDeagUk pgjKJWjpZYKadLMCAj1fH82wizTpuLw6rEI1FCB5uqxdIFyHONUOaP9SGeSe976PUKsZ Hpp/dHWy+eTvSQqrmIj8+tWkVVEZRjkCmWrKCayK2g0yiv0wIXbci+weCe0tvhlWT6lP CtloerwtIxjnrkTkNlXGm2W0NOpd+9ZewQO/rxk9XR9hr3VJ1g9OsEswO7PJzBX0xp88 wHVQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UqfYHR6+; 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 ck26si275051edb.1.2021.03.31.06.45.40 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 31 Mar 2021 06:45:40 -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 u21so30112258ejo.13 for ; Wed, 31 Mar 2021 06:45:40 -0700 (PDT) X-Received: by 2002:a17:906:5d05:: with SMTP id g5mr3559964ejt.489.1617198339763; Wed, 31 Mar 2021 06:45:39 -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.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 31 Mar 2021 06:45:38 -0700 (PDT) From: Mark Jonas To: swupdate@googlegroups.com, sbabic@denx.de Cc: Mark Jonas Subject: [swupdate] [RFC PATCH 8/8] mongoose: Make REUSE compliant Date: Wed, 31 Mar 2021 15:45:02 +0200 Message-Id: <20210331134502.17297-9-toertel@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210331134502.17297-1-toertel@gmail.com> References: <20210331134502.17297-1-toertel@gmail.com> 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=UqfYHR6+; 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: , Signed-off-by: Mark Jonas --- mongoose/Config.in | 5 +++++ mongoose/Makefile | 6 ++++++ mongoose/mongoose.c | 2 +- mongoose/mongoose.h | 6 +++--- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/mongoose/Config.in b/mongoose/Config.in index e0944fd..89a81fb 100644 --- a/mongoose/Config.in +++ b/mongoose/Config.in @@ -1,3 +1,8 @@ +# SPDX-FileCopyrightText: 2013 Stefano Babic +# SPDX-FileCopyrightText: 2018 Stefan Herbrechtsmeier +# +# SPDX-License-Identifier: GPL-2.0-or-later + menuconfig WEBSERVER bool "Web Server" select MONGOOSE diff --git a/mongoose/Makefile b/mongoose/Makefile index 851a476..620c0f4 100644 --- a/mongoose/Makefile +++ b/mongoose/Makefile @@ -1,3 +1,9 @@ +# SPDX-FileCopyrightText: 2013 Stefano Babic +# SPDX-FileCopyrightText: 2018 Stefan Herbrechtsmeier +# SPDX-FileCopyrightText: 2020 Bastian Germann +# +# SPDX-License-Identifier: GPL-2.0-or-later + ifneq ($(CONFIG_WEBSERVER),) ifneq ($(CONFIG_MONGOOSE),) KBUILD_CFLAGS += -DMG_ENABLE_HTTP_STREAMING_MULTIPART=1 diff --git a/mongoose/mongoose.c b/mongoose/mongoose.c index aa23471..03bfad3 100644 --- a/mongoose/mongoose.c +++ b/mongoose/mongoose.c @@ -3,7 +3,7 @@ * Copyright (c) 2013-2020 Cesanta Software Limited * All rights reserved * - * SPDX-License-Identifier: GPL-2.0 + * SPDX-License-Identifier: GPL-2.0-only * * This software is dual-licensed: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/mongoose/mongoose.h b/mongoose/mongoose.h index 5ee502d..cbad947 100644 --- a/mongoose/mongoose.h +++ b/mongoose/mongoose.h @@ -3,6 +3,8 @@ * Copyright (c) 2013-2020 Cesanta Software Limited * All rights reserved * + * SPDX-License-Identifier: GPL-2.0-only + * * This software is dual-licensed: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. For the terms of this @@ -15,9 +17,7 @@ * * Alternatively, you can license this software under a commercial * license, as set out in . - * - * SPDX-License-Identifier: GPL-2.0 - */ + */ #ifdef MG_MODULE_LINES #line 1 "mongoose/src/mg_common.h"