From patchwork Thu Nov 13 08:11:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Marko, Peter" X-Patchwork-Id: 74382 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A65C8CD4F52 for ; Thu, 13 Nov 2025 08:12:06 +0000 (UTC) Received: from mta-64-227.siemens.flowmailer.net (mta-64-227.siemens.flowmailer.net [185.136.64.227]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.19057.1763021516183225050 for ; Thu, 13 Nov 2025 00:11:57 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm1 header.b=CvD+FGPb; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.64.227, mailfrom: fm-256628-20251113081151a9ec6f0c9e000207a3-zahbaz@rts-flowmailer.siemens.com) Received: by mta-64-227.siemens.flowmailer.net with ESMTPSA id 20251113081151a9ec6f0c9e000207a3 for ; Thu, 13 Nov 2025 09:11:52 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc; bh=L+ZBhEkrBYTZBIXYbi+GaalLz/jWQuxMTuzp2E3gplk=; b=CvD+FGPbaIh8qQKzXEv3+gubE0SFyB+0u3ou+Z3YUatl83uSv2vVqmUJBta0fgl4XGoGVL LdL6Z6GTp63b5JMRQodiBFHkuGVzaifmynMK+U+xlpEpm16QEjU0gbTqfq7g8y1dkqNnKBqD F5wZPSAeraruNi6rnixyux06CGfT42X+G8PTC3yAvElIkZU3K/KzSaXo1QAGeIBBi+tChL5p OXZEu8A/Vc0FIwAVlpLL9FEVrmE4/wljjFzLMRb3iG3CZT7b0D/GI0XUkjSx3gK5qWtq2FWw mGPhnAYqyAzci7Xf/IyYrDW0ZL1B4i5tkbgqYWMW24ZZG1fcWWBD/LIg==; From: Peter Marko To: openembedded-core@lists.openembedded.org Cc: Peter Marko Subject: [OE-core][PATCH] go-helloworld: fix license Date: Thu, 13 Nov 2025 09:11:48 +0100 Message-Id: <20251113081148.32411-1-peter.marko@siemens.com> MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628:519-21489:flowmailer List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 13 Nov 2025 08:12:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/226231 From: Peter Marko The example repo doesn't seem to have ever been under MIT. It started with Apache-2.0, later changed to standard go license BSD-3. The license file exists in the sources, so use that one instead of taking it from the OE-Core license directory. Note that this was already fixed in scarthgap and kirkstone, but it was not submitted to master. Also the old releases still had Apache, so this patch is different now with new versioni of thie component. License-Update: Fix license declaration. Signed-off-by: Peter Marko --- meta/recipes-extended/go-examples/go-helloworld_0.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb index e12dcb15f6..0a8668dd4d 100644 --- a/meta/recipes-extended/go-examples/go-helloworld_0.1.bb +++ b/meta/recipes-extended/go-examples/go-helloworld_0.1.bb @@ -2,8 +2,8 @@ SUMMARY = "This is a simple example recipe that cross-compiles a Go program." SECTION = "examples" HOMEPAGE = "https://golang.org/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=7998cb338f82d15c0eff93b7004d272a" SRC_URI = "git://go.googlesource.com/example;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}" SRCREV = "8b405629c4a5215871be932097e099c05ec5cb2e"