From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 10 Jan 2025 11:44:13 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tWCUu-000KuO-32 for lore@lore.pengutronix.de; Fri, 10 Jan 2025 11:44:13 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1tWCUv-0001Ft-FS; Fri, 10 Jan 2025 11:44:13 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tWCUo-0001Er-4R; Fri, 10 Jan 2025 11:44:06 +0100 Received: from dude04.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::ac]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tWCUn-00090w-34; Fri, 10 Jan 2025 11:44:05 +0100 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1tWCUn-004ZEw-2u; Fri, 10 Jan 2025 11:44:05 +0100 From: Roland Hieber To: ptxdist@pengutronix.de Date: Fri, 10 Jan 2025 11:43:58 +0100 Message-Id: <20250110104358.1088733-1-rhi@pengutronix.de> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Mail-Followup-To: Roland Hieber , ptxdist@pengutronix.de Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH] libtracefs: fix license and add license files X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Roland Hieber Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false While the source includes a GPL-2.0 license text, this license is only used for the build scripts, and does not make it into the binary. The Bison-generated parser code is licensed under GPL-3.0-or-later with a license exception allowing it (in this case) to be released under a different license. The resulting binary is under LGPL-2.1-or-later (as mentioned in the original mail thread it uses the old SPDX identifiers). Link: https://lore.ptxdist.org/ptxdist/Z4DbKik6UoE956Sq@pengutronix.de Signed-off-by: Roland Hieber --- rules/libtracefs.make | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rules/libtracefs.make b/rules/libtracefs.make index 12f0c6e7972c..21c30d95fc61 100644 --- a/rules/libtracefs.make +++ b/rules/libtracefs.make @@ -21,7 +21,12 @@ LIBTRACEFS_SUFFIX := tar.xz LIBTRACEFS_URL := https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git;tag=libtracefs-$(LIBTRACEFS_VERSION) LIBTRACEFS_SOURCE := $(SRCDIR)/$(LIBTRACEFS).$(LIBTRACEFS_SUFFIX) LIBTRACEFS_DIR := $(BUILDDIR)/$(LIBTRACEFS) -LIBTRACEFS_LICENSE := LGPL-2.1 + GPL-2.0 +LIBTRACEFS_LICENSE := LGPL-2.1-only AND GPL-3.0-or-later WITH custom-exception +LIBTRACEFS_LICENSE_FILES := \ + file://src/tracefs-utils.c;startline=0;endline=8;md5=c6bedd276596b669012b69e9317ffade \ + file://src/sqlhist.tab.c;startline=3;endline=32;md5=67ac50d80b3ebb72edad40dafe30d75e \ + file://LICENSES/LGPL-2.1;md5=b370887980db5dd40659b50909238dbd +# note: source includes a LICENSES/GPL-2.0, but it's only used in build scripts # ---------------------------------------------------------------------------- # Prepare -- 2.39.5