From patchwork Sun May 16 12:17:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1479013 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::23e; helo=mail-lj1-x23e.google.com; envelope-from=swupdate+bncbd2zdgn6sekrbv42qscqmgqe235wz2a@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=MImEBho2; dkim-atps=neutral Received: from mail-lj1-x23e.google.com (mail-lj1-x23e.google.com [IPv6:2a00:1450:4864:20::23e]) (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 4Fjh9D42v5z9sSs for ; Sun, 16 May 2021 22:17:34 +1000 (AEST) Received: by mail-lj1-x23e.google.com with SMTP id z19-20020a2eb5330000b02900eeda415d13sf1948871ljm.23 for ; Sun, 16 May 2021 05:17:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1621167447; cv=pass; d=google.com; s=arc-20160816; b=YQn6PCCbCtBXIFZDzjFuXcNk1tUA0SXjoQM2qEFugza4U//XhsnS2FfaUEoZgsqRYU FLbuChBaQNgE+/HseEP/tlAjC5sd48ipnBGzNDY+0Dce9zWHuTlADCZtyVCsx8fa+rVE jTl9bOiStsnNT0g1k5nHpEnTxwagMe0p9bcybdYaJe8WY/Y2d2uwFnLSFYCpuqPr3Sib 5VSWwJlRbdY7MbPgJf89+YGEzz95FJSesnqO+6iKdlXDnKHRfwUBUX3zoEWBw83sJyg4 eI8+s7uQ/TNo/H1fxFK6Fc/Rvt8ppeesxqcVbnETOyCMOw2o5Y5rei+Pa5DoHsWQjD0l s4zg== 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=cffrzUtzkyZ1RSwYjS7PXV50hPpqnXnoMXlLwob8CEc=; b=FGtWv5gR0lft0U70VNjfTsem38EZKkcZeyvnYTNJXqbICeQqgiBaWTTYAi2WcDlZS2 pOHlOWIkIzTsax29hTydvk7/y9YODdmtgxHjWszMvMsnaiI7cQ5nUjDE0LwZ0Hp1zt7i H9nxCPkP3x6yv1uZue5+cNQDl41KaeK5GkUSNPgdsWMj1LG460np2mabkCVsg3zeLD8j d91pkWphrCaTwjmUCre6rqVAOIQ2N3uYFimY+MxTovrhMrxWm04Ajdcr3R1K+F/6PZkI x+cMUR5mWwriHHnt5/Koz1xB9MoHl320UsRgpdZdqgNoq81KeO/8G+YxWaXwrnWCD4yy Odjg== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 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=cffrzUtzkyZ1RSwYjS7PXV50hPpqnXnoMXlLwob8CEc=; b=MImEBho28EttWt2B928Wkxsth5y7UM+fEpdLVWLPRLRh60bafCRzUJRuBNbKZxoeUi 15ztKJtRXIYNbJKvB99Lx7Br8j2Cpw9ecIjL7+4h93KO9tjyS8rY37FwRcIFbRdtPDDQ KXAI8bieUO3jotgK0B029oKk7uzbhHm3Eke5x+JKltIuL+ekkOaT008mPyWN9C8e/Xmh bPUialw/Opg4FmVM3AvC2tCqHIRje2nNNmkS3vEx2QSJ6y14CiZg+v2Tzox4U4bOXmMw M2cAj6DDS5UMUhI/znI0i3+daIShoDmNyD+5ch433lPT02afyyT3wIOu4Rrng7tUzrBO oMsw== 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=cffrzUtzkyZ1RSwYjS7PXV50hPpqnXnoMXlLwob8CEc=; b=JgEkAuF4R6nwz3vcoBVm0M/NkEi1Xs51pqeC3lgokxDMRnPQwLZhY/IdYTKKB1yoDO Wbnx3K9h3uejntonUMXwJNPsyyXd3SQi2TmxLJ7twmjpjAkj57VSkdg0ZqUaTu5OxYGr 9/cOD8/Nn4MiBpSrVlgpeOwz/FetdyrZMgmkOWCZa5gm+8D+3561tULFI7R90/YeRUDL 8WzVgA+0YWKVBAkWClw7Y3VI5vmOOoxSAMip86aizr5AZQM9q8XgEXtywyoloYRB5O/U 0nE1g0CFcSzJSmjntYUL0ttwvUD962Bh4jSbZ8kuJtsZfvNjnW0gPuoTnK6epGEh5r1b HExw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM533BtvtHF3jOLMeVrLxRHIDLiySzCYjmj/op90cOKP6OcBGB5lPP 33cqg22zrUbH6dY2h6Ceii0= X-Google-Smtp-Source: ABdhPJzh1rSJnNFHwNWeuaNK42Uxcx7araVt6W/LDkeqRkUaJtNAwn8DnQidFILZrVDEB/oI/HYAUw== X-Received: by 2002:a2e:8e21:: with SMTP id r1mr44797058ljk.166.1621167447337; Sun, 16 May 2021 05:17:27 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a2e:9806:: with SMTP id a6ls2365861ljj.10.gmail; Sun, 16 May 2021 05:17:26 -0700 (PDT) X-Received: by 2002:a2e:90c7:: with SMTP id o7mr17052024ljg.368.1621167446533; Sun, 16 May 2021 05:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621167446; cv=none; d=google.com; s=arc-20160816; b=n+pwBmD2nUStyNMmcLpktj8moMEPvKe7wQREggcKf5ZanDMFzLL63MLDQU7aj0s5dX U0GaFJAV1pxRvWEkCJOG9h/UFYSdCYrFyvnD5MtPVwsZlayQpGLlCF3S8k9nHAvNsI6H UzC7XanM/dyL18Ay6zffVdTEICHE0mliOdX4E4cmvteiYrEKU2iV2E1XnVHFkR1l0CnC JhWB+rDbTSwMxBPmsi8j2D08b+3/HZZgDK6LHgrZDNntVI5jGAsc7ROEpG4jmNy0nw8E wHKFs3z5lnkGcHBbXgJ8v6/DPfVFw918d8n7cSEUR+7CCRqo6s6i87WFiv5bdQb9BQ9B yUiA== 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=pvVtpNPxTfO00umDJuwCTpzr+ljEP35czsLiLkZCliI=; b=DTuUgwyx47lNWb0U4ZYY8xQCBbWn0xUmgMbbIKDRpNwhw2MFAx/pVlkbubg22iB+k5 OMFEwh/qbhQUOWE1AQJ7Y91t2FEv/fR2+Hann9NxVmETOkY6O7HOvBfZJuK89tDjHJLw 1yJHrJoo62uAm20YnTOYjYDO7w6Lz3+uno8htTUtr9g22WeMzS+KxncYh7C2NBfP7S68 RY9+XKMJfcXMkkElkRKK/G/bTC8+3igyfGg5eQqS2thGXaKnHNzpY16EgGth1xWD/jna 3gltDUDqFmR98wAujOZlO+ve3Rmhe2LYCcVXEjcgb+IwfiMXBRsGqTVSLOoTaPhOBxdw Xnlg== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 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.10]) by gmr-mx.google.com with ESMTPS id o20si450307lfu.5.2021.05.16.05.17.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 May 2021 05:17:26 -0700 (PDT) Received-SPF: neutral (google.com: 212.18.0.10 is neither permitted nor denied by best guess record for domain of stefano.babic@babic.homelinux.org) client-ip=212.18.0.10; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4Fjh915JFrz1sHpG for ; Sun, 16 May 2021 14:17:25 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4Fjh9159zdz1qsb8 for ; Sun, 16 May 2021 14:17:25 +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 Movb1kPv11zB for ; Sun, 16 May 2021 14:17:24 +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 14:17:24 +0200 (CEST) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 39E5E4540D4F; Sun, 16 May 2021 14:17:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([127.0.0.1]) by localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cqSAiDxeRbmx; Sun, 16 May 2021 14:17:21 +0200 (CEST) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id 6F69945409A2; Sun, 16 May 2021 14:17:21 +0200 (CEST) From: stefano.babic@babic.homelinux.org To: swupdate@googlegroups.com Cc: Stefano Babic Subject: [swupdate] [PATCH] REUSE: add SPDX to files in examples Date: Sun, 16 May 2021 14:17:19 +0200 Message-Id: <20210516121719.61279-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.10 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 --- 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..ea590dc 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()