From patchwork Sun Sep 24 12:22:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schmidt X-Patchwork-Id: 13396937 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22F0CCE7A8A for ; Sun, 24 Sep 2023 12:22:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229449AbjIXMXD (ORCPT ); Sun, 24 Sep 2023 08:23:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjIXMXD (ORCPT ); Sun, 24 Sep 2023 08:23:03 -0400 Received: from proxima.lasnet.de (proxima.lasnet.de [78.47.171.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3302111F for ; Sun, 24 Sep 2023 05:22:54 -0700 (PDT) Received: from localhost.localdomain.datenfreihafen.local (p200300e9d71918519b00d9454c2dda6a.dip0.t-ipconnect.de [IPv6:2003:e9:d719:1851:9b00:d945:4c2d:da6a]) (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) (Authenticated sender: stefan@sostec.de) by proxima.lasnet.de (Postfix) with ESMTPSA id 320D2C0D81; Sun, 24 Sep 2023 14:22:48 +0200 (CEST) From: Stefan Schmidt To: linux-wpan@vger.kernel.org Cc: alex.aring@gmail.com, miquel.raynal@bootlin.com, david.girault@qorvo.com, Stefan Schmidt Subject: [PATCH 1/9] m4: remove empty folder which only holds a .gitignore file Date: Sun, 24 Sep 2023 14:22:23 +0200 Message-ID: <20230924122231.716878-2-stefan@datenfreihafen.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230924122231.716878-1-stefan@datenfreihafen.org> References: <20230924122231.716878-1-stefan@datenfreihafen.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org we have no project specific files in the m4 folder, it just gets generated from autotools. Ignore the complete folder in the top level .gitignore instead. Signed-off-by: Stefan Schmidt --- .gitignore | 1 + m4/.gitignore | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100644 m4/.gitignore diff --git a/.gitignore b/.gitignore index ef71c6a..cad8dee 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ config.* configure libtool stamp-h1 +m4/ diff --git a/m4/.gitignore b/m4/.gitignore deleted file mode 100644 index 38066dd..0000000 --- a/m4/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -libtool.m4 -ltoptions.m4 -ltsugar.m4 -ltversion.m4 -lt~obsolete.m4 From patchwork Sun Sep 24 12:22:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schmidt X-Patchwork-Id: 13396941 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C596CE7A8F for ; Sun, 24 Sep 2023 12:23:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229596AbjIXMXE (ORCPT ); Sun, 24 Sep 2023 08:23:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbjIXMXD (ORCPT ); Sun, 24 Sep 2023 08:23:03 -0400 Received: from proxima.lasnet.de (proxima.lasnet.de [78.47.171.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7AED8103 for ; Sun, 24 Sep 2023 05:22:57 -0700 (PDT) Received: from localhost.localdomain.datenfreihafen.local (p200300e9d71918519b00d9454c2dda6a.dip0.t-ipconnect.de [IPv6:2003:e9:d719:1851:9b00:d945:4c2d:da6a]) (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) (Authenticated sender: stefan@sostec.de) by proxima.lasnet.de (Postfix) with ESMTPSA id B3358C0E36; Sun, 24 Sep 2023 14:22:48 +0200 (CEST) From: Stefan Schmidt To: linux-wpan@vger.kernel.org Cc: alex.aring@gmail.com, miquel.raynal@bootlin.com, david.girault@qorvo.com, Stefan Schmidt Subject: [PATCH 2/9] license: clearly indicate license in file name and use new LICENSES folder Date: Sun, 24 Sep 2023 14:22:24 +0200 Message-ID: <20230924122231.716878-3-stefan@datenfreihafen.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230924122231.716878-1-stefan@datenfreihafen.org> References: <20230924122231.716878-1-stefan@datenfreihafen.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org For now you would need to identify the license by its actual license text. We never had mentioned ISC anywhere as the license. Make this clear by the filename (in a LICENSES folder as it is practice with reuse). Keeping the old COPYING file around as symlink. Signed-off-by: Stefan Schmidt --- COPYING | 25 +------------------------ LICENSES/ISC.txt | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) mode change 100644 => 120000 COPYING create mode 100644 LICENSES/ISC.txt diff --git a/COPYING b/COPYING deleted file mode 100644 index f579f35..0000000 --- a/COPYING +++ /dev/null @@ -1,24 +0,0 @@ -Copyright (c) 2014 Alexander Aring -Copyright (c) 2015 Stefan Schmidt - - -Code is based on iw tool. - -Original Authors: - -Copyright (c) 2007, 2008 Johannes Berg -Copyright (c) 2007 Andy Lutomirski -Copyright (c) 2007 Mike Kershaw -Copyright (c) 2008-2009 Luis R. Rodriguez - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/COPYING b/COPYING new file mode 120000 index 0000000..afdb398 --- /dev/null +++ b/COPYING @@ -0,0 +1 @@ +LICENSES/ISC.txt \ No newline at end of file diff --git a/LICENSES/ISC.txt b/LICENSES/ISC.txt new file mode 100644 index 0000000..72b508c --- /dev/null +++ b/LICENSES/ISC.txt @@ -0,0 +1,23 @@ +Copyright (c) 2014 Alexander Aring +Copyright (c) 2015 Stefan Schmidt + +Code is based on iw tool. + +Original Authors: + +Copyright (c) 2007, 2008 Johannes Berg +Copyright (c) 2007 Andy Lutomirski +Copyright (c) 2007 Mike Kershaw +Copyright (c) 2008-2009 Luis R. Rodriguez + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. From patchwork Sun Sep 24 12:22:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schmidt X-Patchwork-Id: 13396940 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D971CE7A92 for ; Sun, 24 Sep 2023 12:23:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229482AbjIXMXG (ORCPT ); Sun, 24 Sep 2023 08:23:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbjIXMXF (ORCPT ); Sun, 24 Sep 2023 08:23:05 -0400 Received: from proxima.lasnet.de (proxima.lasnet.de [78.47.171.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D102101 for ; Sun, 24 Sep 2023 05:22:55 -0700 (PDT) Received: from localhost.localdomain.datenfreihafen.local (p200300e9d71918519b00d9454c2dda6a.dip0.t-ipconnect.de [IPv6:2003:e9:d719:1851:9b00:d945:4c2d:da6a]) (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) (Authenticated sender: stefan@sostec.de) by proxima.lasnet.de (Postfix) with ESMTPSA id F02F7C0E5B; Sun, 24 Sep 2023 14:22:48 +0200 (CEST) From: Stefan Schmidt To: linux-wpan@vger.kernel.org Cc: alex.aring@gmail.com, miquel.raynal@bootlin.com, david.girault@qorvo.com, Stefan Schmidt Subject: [PATCH 3/9] wpan-ping: switch files to SPDX header for license and copyright Date: Sun, 24 Sep 2023 14:22:25 +0200 Message-ID: <20230924122231.716878-4-stefan@datenfreihafen.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230924122231.716878-1-stefan@datenfreihafen.org> References: <20230924122231.716878-1-stefan@datenfreihafen.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org Signed-off-by: Stefan Schmidt --- wpan-ping/.gitignore | 4 ++++ wpan-ping/Makefile.am | 4 ++++ wpan-ping/README.wpan-ping | 4 ++++ wpan-ping/wpan-ping.c | 22 +++++----------------- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/wpan-ping/.gitignore b/wpan-ping/.gitignore index 0e2e07a..4d78615 100644 --- a/wpan-ping/.gitignore +++ b/wpan-ping/.gitignore @@ -1,2 +1,6 @@ +# SPDX-FileCopyrightText: 2015 Stefan Schmidt +# +# SPDX-License-Identifier: ISC + .deps/ wpan-ping diff --git a/wpan-ping/Makefile.am b/wpan-ping/Makefile.am index 6021c95..5003205 100644 --- a/wpan-ping/Makefile.am +++ b/wpan-ping/Makefile.am @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2015 Stefan Schmidt +# +# SPDX-License-Identifier: ISC + bin_PROGRAMS = wpan-ping wpan_ping_SOURCES = wpan-ping.c diff --git a/wpan-ping/README.wpan-ping b/wpan-ping/README.wpan-ping index 4827e21..5d18661 100644 --- a/wpan-ping/README.wpan-ping +++ b/wpan-ping/README.wpan-ping @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2015 Stefan Schmidt +// +// SPDX-License-Identifier: ISC + wpan-ping aims to offer ping/ping6 like functionality on a IEEE 802.15.4 level. No control message protocol is defined so we will simply use DGRAM's over a diff --git a/wpan-ping/wpan-ping.c b/wpan-ping/wpan-ping.c index 791346c..d82b1f0 100644 --- a/wpan-ping/wpan-ping.c +++ b/wpan-ping/wpan-ping.c @@ -1,20 +1,8 @@ -/* - * Linux IEEE 802.15.4 ping tool - * - * Copyright (C) 2015 Stefan Schmidt - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ +// SPDX-FileCopyrightText: 2015 Stefan Schmidt +// +// SPDX-License-Identifier: ISC + +/* Linux IEEE 802.15.4 ping tool */ #ifdef HAVE_CONFIG_H #include From patchwork Sun Sep 24 12:22:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schmidt X-Patchwork-Id: 13396939 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18CFACE7A8D for ; Sun, 24 Sep 2023 12:23:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229498AbjIXMXE (ORCPT ); Sun, 24 Sep 2023 08:23:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbjIXMXD (ORCPT ); Sun, 24 Sep 2023 08:23:03 -0400 Received: from proxima.lasnet.de (proxima.lasnet.de [78.47.171.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B345109 for ; Sun, 24 Sep 2023 05:22:57 -0700 (PDT) Received: from localhost.localdomain.datenfreihafen.local (p200300e9d71918519b00d9454c2dda6a.dip0.t-ipconnect.de [IPv6:2003:e9:d719:1851:9b00:d945:4c2d:da6a]) (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) (Authenticated sender: stefan@sostec.de) by proxima.lasnet.de (Postfix) with ESMTPSA id 46183C0EB6; Sun, 24 Sep 2023 14:22:49 +0200 (CEST) From: Stefan Schmidt To: linux-wpan@vger.kernel.org Cc: alex.aring@gmail.com, miquel.raynal@bootlin.com, david.girault@qorvo.com, Stefan Schmidt Subject: [PATCH 4/9] wpan-hwsim: switch files to SPDX header for license and copyright Date: Sun, 24 Sep 2023 14:22:26 +0200 Message-ID: <20230924122231.716878-5-stefan@datenfreihafen.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230924122231.716878-1-stefan@datenfreihafen.org> References: <20230924122231.716878-1-stefan@datenfreihafen.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org Signed-off-by: Stefan Schmidt --- wpan-hwsim/Makefile.am | 4 ++++ wpan-hwsim/mac802154_hwsim.h | 4 ++++ wpan-hwsim/wpan-hwsim.c | 22 +++++----------------- 3 files changed, 13 insertions(+), 17 deletions(-) diff --git a/wpan-hwsim/Makefile.am b/wpan-hwsim/Makefile.am index 0587178..e7ff242 100644 --- a/wpan-hwsim/Makefile.am +++ b/wpan-hwsim/Makefile.am @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2018 Alexander Aring +# +# SPDX-License-Identifier: ISC + bin_PROGRAMS = wpan-hwsim wpan_hwsim_SOURCES = wpan-hwsim.c \ diff --git a/wpan-hwsim/mac802154_hwsim.h b/wpan-hwsim/mac802154_hwsim.h index 6c6e30e..62e6962 100644 --- a/wpan-hwsim/mac802154_hwsim.h +++ b/wpan-hwsim/mac802154_hwsim.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2018 Alexander Aring +// +// SPDX-License-Identifier: ISC + #ifndef __MAC802154_HWSIM_H #define __MAC802154_HWSIM_H diff --git a/wpan-hwsim/wpan-hwsim.c b/wpan-hwsim/wpan-hwsim.c index 0a7c492..e1f2fe5 100644 --- a/wpan-hwsim/wpan-hwsim.c +++ b/wpan-hwsim/wpan-hwsim.c @@ -1,20 +1,8 @@ -/* - * Linux IEEE 802.15.4 hwsim tool - * - * Copyright (C) 2018 Alexander Aring - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ +// SPDX-FileCopyrightText: 2018 Alexander Aring +// +// SPDX-License-Identifier: ISC + +/* Linux IEEE 802.15.4 hwsim tool */ #include #include From patchwork Sun Sep 24 12:22:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schmidt X-Patchwork-Id: 13396938 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D1FC5CE7A8B for ; Sun, 24 Sep 2023 12:23:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229459AbjIXMXF (ORCPT ); Sun, 24 Sep 2023 08:23:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbjIXMXE (ORCPT ); Sun, 24 Sep 2023 08:23:04 -0400 Received: from proxima.lasnet.de (proxima.lasnet.de [78.47.171.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CEFE10D for ; Sun, 24 Sep 2023 05:22:58 -0700 (PDT) Received: from localhost.localdomain.datenfreihafen.local (p200300e9d71918519b00d9454c2dda6a.dip0.t-ipconnect.de [IPv6:2003:e9:d719:1851:9b00:d945:4c2d:da6a]) (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) (Authenticated sender: stefan@sostec.de) by proxima.lasnet.de (Postfix) with ESMTPSA id 3F400C107B; Sun, 24 Sep 2023 14:22:50 +0200 (CEST) From: Stefan Schmidt To: linux-wpan@vger.kernel.org Cc: alex.aring@gmail.com, miquel.raynal@bootlin.com, david.girault@qorvo.com, Stefan Schmidt Subject: [PATCH 5/9] src/nl802154.h: switch file to SPDX header for license and copyright Date: Sun, 24 Sep 2023 14:22:27 +0200 Message-ID: <20230924122231.716878-6-stefan@datenfreihafen.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230924122231.716878-1-stefan@datenfreihafen.org> References: <20230924122231.716878-1-stefan@datenfreihafen.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org This file has its own commit as we are syncing it between the Linux kernel and this project when new netlink functionality is added. The same change needs to be done on the iLinux kernel side as well to avoid conflicts. Signed-off-by: Stefan Schmidt --- src/nl802154.h | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/src/nl802154.h b/src/nl802154.h index dbad1c9..410ee95 100644 --- a/src/nl802154.h +++ b/src/nl802154.h @@ -1,23 +1,11 @@ #ifndef __NL802154_H #define __NL802154_H -/* - * 802.15.4 netlink interface public header - * - * Copyright 2014 Alexander Aring - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - * - */ + +// SPDX-FileCopyrightText: 2014 Alexander Aring +// +// SPDX-License-Identifier: ISC + +/* 802.15.4 netlink interface public header */ #define NL802154_GENL_NAME "nl802154" From patchwork Sun Sep 24 12:22:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schmidt X-Patchwork-Id: 13396944 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 27F35CE7A8A for ; Sun, 24 Sep 2023 12:23:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229509AbjIXMXH (ORCPT ); Sun, 24 Sep 2023 08:23:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229561AbjIXMXG (ORCPT ); Sun, 24 Sep 2023 08:23:06 -0400 Received: from proxima.lasnet.de (proxima.lasnet.de [78.47.171.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C637110B for ; Sun, 24 Sep 2023 05:22:59 -0700 (PDT) Received: from localhost.localdomain.datenfreihafen.local (p200300e9d71918519b00d9454c2dda6a.dip0.t-ipconnect.de [IPv6:2003:e9:d719:1851:9b00:d945:4c2d:da6a]) (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) (Authenticated sender: stefan@sostec.de) by proxima.lasnet.de (Postfix) with ESMTPSA id ABF35C1121; Sun, 24 Sep 2023 14:22:50 +0200 (CEST) From: Stefan Schmidt To: linux-wpan@vger.kernel.org Cc: alex.aring@gmail.com, miquel.raynal@bootlin.com, david.girault@qorvo.com, Stefan Schmidt Subject: [PATCH 6/9] examples: switch files to SPDX header for license and copyright Date: Sun, 24 Sep 2023 14:22:28 +0200 Message-ID: <20230924122231.716878-7-stefan@datenfreihafen.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230924122231.716878-1-stefan@datenfreihafen.org> References: <20230924122231.716878-1-stefan@datenfreihafen.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org Signed-off-by: Stefan Schmidt --- examples/.gitignore | 4 ++++ examples/Makefile.am | 4 ++++ examples/README.examples | 4 ++++ examples/af_ieee802154_rx.c | 23 ++++------------------- examples/af_ieee802154_tx.c | 23 ++++------------------- examples/af_inet6_rx.c | 23 ++++------------------- examples/af_inet6_tx.c | 23 ++++------------------- examples/af_packet_rx.c | 23 ++++------------------- examples/af_packet_tx.c | 23 ++++------------------- 9 files changed, 36 insertions(+), 114 deletions(-) diff --git a/examples/.gitignore b/examples/.gitignore index 845e803..3dad378 100644 --- a/examples/.gitignore +++ b/examples/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd. +# +# SPDX-License-Identifier: ISC + /.deps /af_ieee802154_rx /af_ieee802154_tx diff --git a/examples/Makefile.am b/examples/Makefile.am index b475c1f..00bd991 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd. +# +# SPDX-License-Identifier: ISC + noinst_PROGRAMS = af_ieee802154_tx \ af_ieee802154_rx \ af_packet_tx \ diff --git a/examples/README.examples b/examples/README.examples index 11e9424..bf69c90 100644 --- a/examples/README.examples +++ b/examples/README.examples @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd. +// +// SPDX-License-Identifier: ISC + This folder contains various examples on how the Linux-wpan stack can be used from userspace, using the Linux socket interface. diff --git a/examples/af_ieee802154_rx.c b/examples/af_ieee802154_rx.c index 86ba707..4bfd7b6 100644 --- a/examples/af_ieee802154_rx.c +++ b/examples/af_ieee802154_rx.c @@ -1,23 +1,8 @@ -/* - * IEEE 802.15.4 socket example - * - * Copyright (C) 2016 Samsung Electronics Co., Ltd. - * - * Author: Stefan Schmidt - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ +// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd. +// +// SPDX-License-Identifier: ISC +/* IEEE 802.15.4 socket example */ /* gcc af_ieee802154_rx.c -o af_ieee802154_rx */ #include diff --git a/examples/af_ieee802154_tx.c b/examples/af_ieee802154_tx.c index faad17e..7cbc8a1 100644 --- a/examples/af_ieee802154_tx.c +++ b/examples/af_ieee802154_tx.c @@ -1,23 +1,8 @@ -/* - * IEEE 802.15.4 socket example - * - * Copyright (C) 2016 Samsung Electronics Co., Ltd. - * - * Author: Stefan Schmidt - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ +// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd. +// +// SPDX-License-Identifier: ISC +/* IEEE 802.15.4 socket example */ /* gcc af_ieee802154_tx.c -o af_ieee802154_tx */ #include diff --git a/examples/af_inet6_rx.c b/examples/af_inet6_rx.c index d512471..525e68d 100644 --- a/examples/af_inet6_rx.c +++ b/examples/af_inet6_rx.c @@ -1,23 +1,8 @@ -/* - * IEEE 802.15.4 socket example - * - * Copyright (C) 2016 Samsung Electronics Co., Ltd. - * - * Author: Stefan Schmidt - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ +// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd. +// +// SPDX-License-Identifier: ISC +/* IEEE 802.15.4 socket example */ /* gcc af_inet6_rx.c -o af_inet6_rx */ #include diff --git a/examples/af_inet6_tx.c b/examples/af_inet6_tx.c index a62f730..ece640f 100644 --- a/examples/af_inet6_tx.c +++ b/examples/af_inet6_tx.c @@ -1,23 +1,8 @@ -/* - * AF_INET6 over IEEE 802.15.4 socket example - * - * Copyright (C) 2016 Samsung Electronics Co., Ltd. - * - * Author: Stefan Schmidt - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ +// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd. +// +// SPDX-License-Identifier: ISC +/* IEEE 802.15.4 socket example */ /* gcc af_inet6_tx.c -o af_inet6_tx */ #include diff --git a/examples/af_packet_rx.c b/examples/af_packet_rx.c index 9770965..8757589 100644 --- a/examples/af_packet_rx.c +++ b/examples/af_packet_rx.c @@ -1,23 +1,8 @@ -/* - * IEEE 802.15.4 socket example - * - * Copyright (C) 2016 Samsung Electronics Co., Ltd. - * - * Author: Stefan Schmidt - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ +// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd. +// +// SPDX-License-Identifier: ISC +/* IEEE 802.15.4 socket example */ /* gcc af_packet_rx.c -o af_packet_rx */ #include diff --git a/examples/af_packet_tx.c b/examples/af_packet_tx.c index 82a15f4..e247eaf 100644 --- a/examples/af_packet_tx.c +++ b/examples/af_packet_tx.c @@ -1,23 +1,8 @@ -/* - * IEEE 802.15.4 socket example - * - * Copyright (C) 2016 Samsung Electronics Co., Ltd. - * - * Author: Stefan Schmidt - * - * Permission to use, copy, modify, and/or distribute this software for any - * purpose with or without fee is hereby granted, provided that the above - * copyright notice and this permission notice appear in all copies. - * - * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. - */ +// SPDX-FileCopyrightText: 2016 Samsung Electronics Co., Ltd. +// +// SPDX-License-Identifier: ISC +/* IEEE 802.15.4 socket example */ /* gcc af_packet_tx.c -o af_packet_tx */ #include From patchwork Sun Sep 24 12:22:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schmidt X-Patchwork-Id: 13396942 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6F4B9CE7A90 for ; Sun, 24 Sep 2023 12:23:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229644AbjIXMXG (ORCPT ); Sun, 24 Sep 2023 08:23:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbjIXMXF (ORCPT ); Sun, 24 Sep 2023 08:23:05 -0400 Received: from proxima.lasnet.de (proxima.lasnet.de [78.47.171.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C670C115 for ; Sun, 24 Sep 2023 05:22:58 -0700 (PDT) Received: from localhost.localdomain.datenfreihafen.local (p200300e9d71918519b00d9454c2dda6a.dip0.t-ipconnect.de [IPv6:2003:e9:d719:1851:9b00:d945:4c2d:da6a]) (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) (Authenticated sender: stefan@sostec.de) by proxima.lasnet.de (Postfix) with ESMTPSA id 0B0BAC125D; Sun, 24 Sep 2023 14:22:51 +0200 (CEST) From: Stefan Schmidt To: linux-wpan@vger.kernel.org Cc: alex.aring@gmail.com, miquel.raynal@bootlin.com, david.girault@qorvo.com, Stefan Schmidt Subject: [PATCH 7/9] src: switch files to SPDX header for license and copyright Date: Sun, 24 Sep 2023 14:22:29 +0200 Message-ID: <20230924122231.716878-8-stefan@datenfreihafen.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230924122231.716878-1-stefan@datenfreihafen.org> References: <20230924122231.716878-1-stefan@datenfreihafen.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org Signed-off-by: Stefan Schmidt --- src/.gitignore | 4 ++++ src/Makefile.am | 4 ++++ src/event.c | 4 ++++ src/info.c | 4 ++++ src/interface.c | 4 ++++ src/iwpan.c | 3 +++ src/iwpan.h | 4 ++++ src/mac.c | 4 ++++ src/nl_extras.h | 4 ++++ src/phy.c | 4 ++++ src/scan.c | 4 ++++ src/sections.c | 4 ++++ 12 files changed, 47 insertions(+) diff --git a/src/.gitignore b/src/.gitignore index a0a601d..efe0d9e 100644 --- a/src/.gitignore +++ b/src/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2014 Alexander Aring +# +# SPDX-License-Identifier: ISC + .deps iwpan *.o diff --git a/src/Makefile.am b/src/Makefile.am index 7933daf..23b54db 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2014 Alexander Aring +# +# SPDX-License-Identifier: ISC + bin_PROGRAMS = \ iwpan diff --git a/src/event.c b/src/event.c index 5ec597d..d47e778 100644 --- a/src/event.c +++ b/src/event.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 David Girault +// +// SPDX-License-Identifier: ISC + #include #include #include diff --git a/src/info.c b/src/info.c index 8ed5e4f..8b7e98e 100644 --- a/src/info.c +++ b/src/info.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2014 Alexander Aring +// +// SPDX-License-Identifier: ISC + #include #include #include diff --git a/src/interface.c b/src/interface.c index 85d40a8..c078a25 100644 --- a/src/interface.c +++ b/src/interface.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2014 Alexander Aring +// +// SPDX-License-Identifier: ISC + #include #include #include diff --git a/src/iwpan.c b/src/iwpan.c index 3cf5fe2..796d380 100644 --- a/src/iwpan.c +++ b/src/iwpan.c @@ -1,3 +1,6 @@ +// SPDX-FileCopyrightText: 2014 Alexander Aring +// +// SPDX-License-Identifier: ISC #include #include diff --git a/src/iwpan.h b/src/iwpan.h index 406940a..24cc926 100644 --- a/src/iwpan.h +++ b/src/iwpan.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2014 Alexander Aring +// +// SPDX-License-Identifier: ISC + #ifndef __IWPAN_H #define __IWPAN_H diff --git a/src/mac.c b/src/mac.c index 286802c..79b3ab9 100644 --- a/src/mac.c +++ b/src/mac.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2014 Alexander Aring +// +// SPDX-License-Identifier: ISC + #include #include #include diff --git a/src/nl_extras.h b/src/nl_extras.h index 37844f9..2a35f5d 100644 --- a/src/nl_extras.h +++ b/src/nl_extras.h @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2014 Alexander Aring +// +// SPDX-License-Identifier: ISC + #ifndef __NL_EXTRAS_H #define __NL_EXTRAS_H diff --git a/src/phy.c b/src/phy.c index f97900f..f042588 100644 --- a/src/phy.c +++ b/src/phy.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2014 Alexander Aring +// +// SPDX-License-Identifier: ISC + #include #include #include diff --git a/src/scan.c b/src/scan.c index e92702d..993e367 100644 --- a/src/scan.c +++ b/src/scan.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2023 David Girault +// +// SPDX-License-Identifier: ISC + #include #include #include diff --git a/src/sections.c b/src/sections.c index 40fdc94..8327fea 100644 --- a/src/sections.c +++ b/src/sections.c @@ -1,3 +1,7 @@ +// SPDX-FileCopyrightText: 2014 Alexander Aring +// +// SPDX-License-Identifier: ISC + #include "iwpan.h" SECTION(get); From patchwork Sun Sep 24 12:22:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schmidt X-Patchwork-Id: 13396943 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4AAECE7A91 for ; Sun, 24 Sep 2023 12:23:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229540AbjIXMXG (ORCPT ); Sun, 24 Sep 2023 08:23:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229606AbjIXMXG (ORCPT ); Sun, 24 Sep 2023 08:23:06 -0400 Received: from proxima.lasnet.de (proxima.lasnet.de [78.47.171.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C65D4112 for ; Sun, 24 Sep 2023 05:22:58 -0700 (PDT) Received: from localhost.localdomain.datenfreihafen.local (p200300e9d71918519b00d9454c2dda6a.dip0.t-ipconnect.de [IPv6:2003:e9:d719:1851:9b00:d945:4c2d:da6a]) (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) (Authenticated sender: stefan@sostec.de) by proxima.lasnet.de (Postfix) with ESMTPSA id 643EEC127E; Sun, 24 Sep 2023 14:22:51 +0200 (CEST) From: Stefan Schmidt To: linux-wpan@vger.kernel.org Cc: alex.aring@gmail.com, miquel.raynal@bootlin.com, david.girault@qorvo.com, Stefan Schmidt Subject: [PATCH 8/9] misc: switch remaining files to SPDX header for license and copyright Date: Sun, 24 Sep 2023 14:22:30 +0200 Message-ID: <20230924122231.716878-9-stefan@datenfreihafen.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230924122231.716878-1-stefan@datenfreihafen.org> References: <20230924122231.716878-1-stefan@datenfreihafen.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org Signed-off-by: Stefan Schmidt --- .github/workflows/main.yml | 4 ++++ .gitignore | 4 ++++ Makefile.am | 4 ++++ autogen.sh | 4 ++++ configure.ac | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c7b878f..cde0f19 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 Stefan Schmidt +# +# SPDX-License-Identifier: ISC + name: Basic compile test for wpan-tools on: push diff --git a/.gitignore b/.gitignore index cad8dee..1d2621b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2014 Alexander Aring +# +# SPDX-License-Identifier: ISC + *.o tags TAGS diff --git a/Makefile.am b/Makefile.am index 3f15825..50893e7 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2014 Alexander Aring +# +# SPDX-License-Identifier: ISC + EXTRA_DIST = CLEANFILES = ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} diff --git a/autogen.sh b/autogen.sh index 0d60b0a..db24799 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,5 +1,9 @@ #!/bin/sh -e +# SPDX-FileCopyrightText: 2014 Alexander Aring +# +# SPDX-License-Identifier: ISC + if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \ chmod +x .git/hooks/pre-commit && \ diff --git a/configure.ac b/configure.ac index f7bd7f7..fee4b44 100644 --- a/configure.ac +++ b/configure.ac @@ -1,3 +1,7 @@ +dnl SPDX-FileCopyrightText: 2014 Alexander Aring +dnl +dnl SPDX-License-Identifier: ISC + AC_PREREQ(2.60) AC_INIT([Userspace tools for Linux IEEE 802.15.4 stack], [0.9], [linux-wpan@vger.kernel.org], [wpan-tools], From patchwork Sun Sep 24 12:22:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schmidt X-Patchwork-Id: 13396945 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DF50CE7A88 for ; Sun, 24 Sep 2023 12:23:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229570AbjIXMXI (ORCPT ); Sun, 24 Sep 2023 08:23:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229569AbjIXMXH (ORCPT ); Sun, 24 Sep 2023 08:23:07 -0400 Received: from proxima.lasnet.de (proxima.lasnet.de [78.47.171.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 657A1101 for ; Sun, 24 Sep 2023 05:23:01 -0700 (PDT) Received: from localhost.localdomain.datenfreihafen.local (p200300e9d71918519b00d9454c2dda6a.dip0.t-ipconnect.de [IPv6:2003:e9:d719:1851:9b00:d945:4c2d:da6a]) (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) (Authenticated sender: stefan@sostec.de) by proxima.lasnet.de (Postfix) with ESMTPSA id A5E38C1289; Sun, 24 Sep 2023 14:22:51 +0200 (CEST) From: Stefan Schmidt To: linux-wpan@vger.kernel.org Cc: alex.aring@gmail.com, miquel.raynal@bootlin.com, david.girault@qorvo.com, Stefan Schmidt Subject: [PATCH 9/9] workflow: add reuse job to check for REUSE compliance Date: Sun, 24 Sep 2023 14:22:31 +0200 Message-ID: <20230924122231.716878-10-stefan@datenfreihafen.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230924122231.716878-1-stefan@datenfreihafen.org> References: <20230924122231.716878-1-stefan@datenfreihafen.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wpan@vger.kernel.org The linter ensures we can catch problems early on and keeps the codebase reuse compliant. A big step for ard for all downstream users who care about license compliance and SBOM generation. As extra step we generate a SBOM file as artifact. Signed-off-by: Stefan Schmidt --- .github/workflows/reuse.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/reuse.yml diff --git a/.github/workflows/reuse.yml b/.github/workflows/reuse.yml new file mode 100644 index 0000000..194a7d7 --- /dev/null +++ b/.github/workflows/reuse.yml @@ -0,0 +1,19 @@ +# SPDX-FileCopyrightText: 2023 Stefan Schmidt +# +# SPDX-License-Identifier: ISC + +name: Check for REUSE compliance of wpan-tools +on: push + +jobs: + reuse: + runs-on: ubuntu-latest + steps: + - name: Check out repository + uses: actions/checkout@v4 + - name: Install reuse tool + run: pip3 install reuse + - name: Run reuse lint + run: reuse lint + - name: Create SBOM + run: reuse spdx > sbom.txt