From patchwork Sun May 16 18:37:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1479129 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::13b; helo=mail-lf1-x13b.google.com; envelope-from=swupdate+bncbd2zdgn6sekrb5gmqwcqmgqetmgzksa@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=bZsj4nM5; dkim-atps=neutral Received: from mail-lf1-x13b.google.com (mail-lf1-x13b.google.com [IPv6:2a00:1450:4864:20::13b]) (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 4Fjrbz2lVrz9sVt for ; Mon, 17 May 2021 04:37:49 +1000 (AEST) Received: by mail-lf1-x13b.google.com with SMTP id g25-20020a19e0590000b029022452ed1b20sf59933lfj.5 for ; Sun, 16 May 2021 11:37:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1621190261; cv=pass; d=google.com; s=arc-20160816; b=ilOE9OMsbU2k0WoBWTbDdURvJi1nP/u23emIvFEyhHI1JIurimph/L5g0WWG7JuxkR ddGUxaXBxjSrPIaH+toG2RaNLJtaGzlZq1CIJN66KsV8VInoCOp0cMmxzuCdfdTnp9ck rD+Ga8HfolxDFH1MzbpluFBbrrqx9L64C4qqnXTYQSm56PyFS+ZJQfc1pKm2hhoSQ7Pg LBnliJJwPIC8Ao4YcW6vPgZpJveYm2bLR4fEm3QYm0pm7yjBjBM2jTpT/DIiEq20D5NX G2R94EScdibEeutJj3CJJVg0NCol4n147teOy15oKBHc5sOkIH1xPYSu5TbJjnP2bDqF vc2w== 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:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=KXDDBwypBoNPikWhRxbdqUCmuwUCouNnWLL0AQGWNWM=; b=bxADcG7hPK8mEJOup1/TQWtw1xKLJdhOwywWmz0U4ObuXN5PKBCQ7vpPzGimhr8LyH c6fOE4iKBdn4T4ijzpKJn++joEXv0S2wKHY3bj64n5m1poxhOGlvohfMNhAPxrla2oAQ kgQrMgtOzlHBZRGodriddMI6RLQ+WZVdsO1RAd9+Os6jmQCMpgguQMaxBKy03+EAN8Zg e1spxXFSoFBR/B/12Fw6jB/hSE0qirz3hByDcNk8jd4taOHZT9XyeaQHF0LRr/RkWqHu TiXU5mSRNO+EmqX5OR/1Nmlz1JCD9pzxtRGbWffuZSNN6cTXLGPb9Az1RXRcRWoQSj32 Mpmw== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of stefano.babic@babic.homelinux.org) smtp.mailfrom=stefano.babic@babic.homelinux.org 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 :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=KXDDBwypBoNPikWhRxbdqUCmuwUCouNnWLL0AQGWNWM=; b=bZsj4nM5XcY/50dEypLnX7y7oncTmiocdR37dPwy+oLr+LGK/wKOrKH8Fu++ZZiDYz LnAgXLr9kFNUql0PLFBYDYKw6rU8wqr3sklq2N0rp/1+pofSWvybvCA6MA4JEss/6eSQ I2lRUmULJ/LQAhlnIfyqr/23j7PksOsu7J3GR25iE+RFtLGgwmhwinKlPtYUvCyCGTnE XQFGup1QMXulFQ8A1LLNOQLkPatD7Aaory2AjhhWHJsP+SU1UoQoW8iWlzEeZsN5GJ3P lRPxoC0rwTxcGrWgndPCk1FXhIpV+PRS0yBODuF64P3Qs3proM9KKM85Byyic/KC5tC/ HSUw== 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: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=KXDDBwypBoNPikWhRxbdqUCmuwUCouNnWLL0AQGWNWM=; b=CG0YDA7tLEbrsfLNCdgo2U7NuYDMoF29LaNNUWarb+2CMshl30WMDuCqY4/Lv8Plcy ExTwDMA2nHrwN+ctprptpTWLcXPqKEwEky8/M/QzCsO+MfvHssoXQUtMmuLmb1yQrkM9 Fvvidm+u1qNt2KXWSUUUPFSyrTzmMOjupXLZL2zW2hNnY84ZzZv4iO8YyJYnoLgOC/Os gpA01qaE0SVPoc9ht5t6pZsR/3dO5ejYxqpbVpBBYZ/G266304gyJZCvXjNcG1mFNpxS qiJY7OC+Tl+gd7SgIEi07Vku0xu4hqsWNWbCsUatxJ1YZz03CwklHziKRvj0cMwOwbgY JRGA== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM532L076qjwvsYe00Nt9eWBYtQ1BotGbJ5E1ukhkULKUtcGSXb0h5 Nvx+xP10xMQXCaT0BZjcI9A= X-Google-Smtp-Source: ABdhPJxR9ez508MEy66JJo3yvXSygUOgN63Pcr5lZRUVvGaxyMrErMbh31bTvA6x6FJ3iN+fr8sOIw== X-Received: by 2002:a2e:9145:: with SMTP id q5mr44539104ljg.400.1621190261166; Sun, 16 May 2021 11:37:41 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:ac2:592a:: with SMTP id v10ls813746lfi.2.gmail; Sun, 16 May 2021 11:37:39 -0700 (PDT) X-Received: by 2002:ac2:5144:: with SMTP id q4mr2910824lfd.566.1621190259726; Sun, 16 May 2021 11:37:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621190259; cv=none; d=google.com; s=arc-20160816; b=KTQhQv/FTFDw5iB43zrByPksssstqf+GgtcKUOLJTaAuX5fZk+eEw/Z86Tbbu7Vcu5 z5YFwEb4y4wEkF0q2/m+rbJOndlPIr9Iwox/HHGwKrxOS5inaMFneHXr8XZZ5AFc9VRo 2/wVqdYodvrzwnmNSE4BFIyzdLoFiZXhKdkgngFfYtv+FgLO3r4HpRy9uyr75cZ5jPCW s/trW8buwE9KdDS+VPnHS7IUD8QlOXYzWwK4lN0XIhDKPjKkl6M06OcPAibt7upe++Y5 rsbeOfFZir2gseC6C2RF13xbGFAarbgI+uo5jwoyHcpKKdvF6i4wptouDASst/CrghlN LylA== 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; bh=FAs4xS0oL0lSeDYpDzqDnYjNgmjQnUaH4b0OSLfe/zA=; b=hM94uZQBR+TkQ3CJRGGNIKFiLFGQmqPGKRvgXoQK+Om2dEs+W+e/GtGd5TVYGaA661 wfzeFg5F1pggKd1nmtkJM11AzIX51TDXWkHCDl3wUG9S4ME5OjNIqUuMv1y6I3u78Pj2 1QhR2Fb9TvY1XICqVOTiTYSIOFnc4HwuPNhtdqSlX1UY8s4iLPfrGMlj5U5lVXvjWPud ubE3sBTi1HXWN7+6onYWcV0Q+PMsk+PqyzOeF2/rg6WsQNO8zMsLuGkNP4HaK5+2wlJB SDo1UcS0aBTiO76xvKsW6WtvAhAGV8Mm15jYwgZ2x7cOCdZ1Ifz8QCzyzB8Q/s9aFgf2 48qQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of stefano.babic@babic.homelinux.org) smtp.mailfrom=stefano.babic@babic.homelinux.org Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id w26si449809ljw.8.2021.05.16.11.37.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 May 2021 11:37:39 -0700 (PDT) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of stefano.babic@babic.homelinux.org) client-ip=212.18.0.9; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Fjrbl0VWwz1qtdD for ; Sun, 16 May 2021 20:37:39 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Fjrbl0PZWz1qqwG for ; Sun, 16 May 2021 20:37:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id Cy8iV-iq5Mq8 for ; Sun, 16 May 2021 20:37:37 +0200 (CEST) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS for ; Sun, 16 May 2021 20:37:37 +0200 (CEST) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 8353E4540E09; Sun, 16 May 2021 20:37:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([IPv6:::1]) by localhost (mail.babic.homelinux.org [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id W0TaK-rac0Gp; Sun, 16 May 2021 20:37:33 +0200 (CEST) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id 982734540305; Sun, 16 May 2021 20:37:33 +0200 (CEST) From: stefano.babic@babic.homelinux.org To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH V2] REUSE: add SPDX to files in examples Date: Sun, 16 May 2021 20:37:30 +0200 Message-Id: <20210516183730.115324-1-stefano.babic@babic.homelinux.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: stefano.babic@babic.homelinux.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by best guess record for domain of stefano.babic@babic.homelinux.org) smtp.mailfrom=stefano.babic@babic.homelinux.org 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: , From: Stefano Babic Signed-off-by: Stefano Babic Reviewed-by: Mark Jonas --- Changes since V1: - fix SPDX in examples/lua-xml/sw-description examples/configuration/swupdate.cfg | 3 +++ examples/description/multi-copy | 4 ++++ examples/description/single-copy | 4 ++++ examples/description/sw-description-libconfig | 4 ++++ examples/lua-xml/sw-description | 2 ++ examples/lua-xml/xmlparser.lua | 4 ++++ examples/scripts/emmcpart.lua | 4 ++++ examples/scripts/shellscript.sh | 3 +++ 8 files changed, 28 insertions(+) diff --git a/examples/configuration/swupdate.cfg b/examples/configuration/swupdate.cfg index 94c0484..39a4401 100644 --- a/examples/configuration/swupdate.cfg +++ b/examples/configuration/swupdate.cfg @@ -1,5 +1,8 @@ # SWUpdate configuration file # +# SPDX-FileCopyrightText: 2014-2021 Stefano Babic +# SPDX-License-Identifier: CC0-1.0 +# # This is responsible to pass configuration and parameters # to SWUpdate. Most of configuration can be overwritten # with command line parameters. diff --git a/examples/description/multi-copy b/examples/description/multi-copy index 85c690b..35cd604 100644 --- a/examples/description/multi-copy +++ b/examples/description/multi-copy @@ -1,3 +1,7 @@ +/* + * SPDX-FileCopyrightText: 2014-2021 Stefano Babic + * SPDX-License-Identifier: CC0-1.0 + */ software = { version = "0.1"; diff --git a/examples/description/single-copy b/examples/description/single-copy index f5aa990..6d555ac 100644 --- a/examples/description/single-copy +++ b/examples/description/single-copy @@ -1,3 +1,7 @@ +/* + * SPDX-FileCopyrightText: 2014-2021 Stefano Babic + * SPDX-License-Identifier: CC0-1.0 + */ software = { version = "0.1"; diff --git a/examples/description/sw-description-libconfig b/examples/description/sw-description-libconfig index a5db0dd..f528a01 100644 --- a/examples/description/sw-description-libconfig +++ b/examples/description/sw-description-libconfig @@ -1,3 +1,7 @@ +/* + * SPDX-FileCopyrightText: 2014-2021 Stefano Babic + * SPDX-License-Identifier: CC0-1.0 + */ software = { version = "0.1.0"; diff --git a/examples/lua-xml/sw-description b/examples/lua-xml/sw-description index 5ba721b..a12aa0c 100644 --- a/examples/lua-xml/sw-description +++ b/examples/lua-xml/sw-description @@ -1,4 +1,6 @@ + + Update Image 1.0.0 diff --git a/examples/lua-xml/xmlparser.lua b/examples/lua-xml/xmlparser.lua index 158bdc0..dd74d03 100644 --- a/examples/lua-xml/xmlparser.lua +++ b/examples/lua-xml/xmlparser.lua @@ -1,3 +1,7 @@ +-- SPDX-FileCopyrightText: 2014-2021 Stefano Babic +-- +-- SPDX-License-Identifier: CC0-1.0 +-- ---------------------------------------------- -- Test XML parsing with Lua ---------------------------------------------- diff --git a/examples/scripts/emmcpart.lua b/examples/scripts/emmcpart.lua index 1d02ffc..840f0a6 100644 --- a/examples/scripts/emmcpart.lua +++ b/examples/scripts/emmcpart.lua @@ -1,3 +1,7 @@ +-- SPDX-FileCopyrightText: 2014-2021 Stefano Babic +-- +-- SPDX-License-Identifier: CC0-1.0 +-- function os.capture(cmd, raw) local f = assert(io.popen(cmd, 'r')) local s = assert(f:read('*a')) diff --git a/examples/scripts/shellscript.sh b/examples/scripts/shellscript.sh index 9d601cb..e6876bc 100644 --- a/examples/scripts/shellscript.sh +++ b/examples/scripts/shellscript.sh @@ -1,4 +1,7 @@ #!/bin/sh +# SPDX-FileCopyrightText: 2021 Stefano Babic +# SPDX-License-Identifier: CC0-1.0 + #example type = "shellscript"; do_preinst()