From patchwork Wed Sep 5 22:00:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 966704 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="NU+DiKmS"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 425Hh75fX6z9sCq for ; Thu, 6 Sep 2018 08:00:39 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 5DE8988D90; Wed, 5 Sep 2018 22:00:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kVW1ruuhMFod; Wed, 5 Sep 2018 22:00:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E9B8C88D8E; Wed, 5 Sep 2018 22:00:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 688351C2D27 for ; Wed, 5 Sep 2018 22:00:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6581B8786F for ; Wed, 5 Sep 2018 22:00:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LTLEwV-0cWXj for ; Wed, 5 Sep 2018 22:00:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by fraxinus.osuosl.org (Postfix) with ESMTPS id A2BFA87746 for ; Wed, 5 Sep 2018 22:00:30 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id y139-v6so9378870wmc.2 for ; Wed, 05 Sep 2018 15:00:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aZM0igE/6hUdFD6NlB7u8kZ9/Vx/ldBrGGis32HAhHw=; b=NU+DiKmSp4tuPfIeC0+XdAqD915JHdDEGzpsVXhwxYXbFPKhRicLmi5bGM/4eRkJes RdypS8ViXTehUKOHkAKzyE5jEIIqpM4v+pzKmFxuUvoFJhCsvC74pxJPA7HGwZtZWWts j+MSJYgfgYhPkSttYQzCMQCNanQB9efoPGS2cdPN7w1U0u6usVnI3OTLp09iw7wI6z1a s/BvimlUbcEnrxRxJjV3n9uyLkxenlsfulgYL2rUuV6ZLiFKFdwpZkHmc2kLDhVnnbDu gR5LK+XiJFRMzVWc0FQR0l/dcfKJC2pr3vyHEt/lDArETPVQcz9vvGl2ssGwJYZtwKwE WR1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=aZM0igE/6hUdFD6NlB7u8kZ9/Vx/ldBrGGis32HAhHw=; b=ddCggpBTlTMjFGtl95zJT7fabXsjbeiYFbr/vMCZhViWRmIaBMvMAfTmvP5iFkP2rY lm2xizoW0QzvJPiumsszZKXiIbLF7WcYHCc5t/ZrkTw2mZuGwXz0bjGEQ8NI6HTT43t9 zfLMro2k63HIjf2EGIOz1Ao6G2NqGANTRt0cIEoGDVqSu4uvckj4Sjq/ekAmCPY08Av9 DYHEyvda6otin7s1K0qlDOzI16+jhWp1erFPu+GrjsvkUSONDK/UB7l6ncfru3qKv4Oj 4i5XFyqpXVmDqMU4H0/4mhLlfE880Qk+SDiH2ImySJRZkexu2iH9Ln9d6najuoBIrTsW tsjA== X-Gm-Message-State: APzg51Ct9e1E9Q5rDsBTAQMycoB1PFbX2d9j5hoOXveeHlC0eCX9GPc8 Nvi4dgZhqVmAXwNnNNhib29TZKGC X-Google-Smtp-Source: ANB0VdbtaWAhZqtY8/dsMpC+hASgg1KMv3VLUkGwvfH7Tg7wmNRr+GJciNdfDR6hF2HmAn+4K7JlgA== X-Received: by 2002:a1c:114:: with SMTP id 20-v6mr220830wmb.4.1536184828948; Wed, 05 Sep 2018 15:00:28 -0700 (PDT) Received: from localhost.localdomain ([37.162.44.87]) by smtp.gmail.com with ESMTPSA id h82-v6sm3029168wme.11.2018.09.05.15.00.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Sep 2018 15:00:28 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Thu, 6 Sep 2018 00:00:07 +0200 Message-Id: <1536184808-9085-3-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1536184808-9085-1-git-send-email-angelo.compagnucci@gmail.com> References: <1536184808-9085-1-git-send-email-angelo.compagnucci@gmail.com> Subject: [Buildroot] [PATCH v4 2/3] docs/manual: adding infos about tainting X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Angelo Compagnucci Adding documentation about the usage of LIBFOO_TAINTS and "make check-tainted". Signed-off-by: Angelo Compagnucci Signed-off-by: Angelo Compagnucci --- docs/manual/adding-packages-generic.txt | 6 ++++++ docs/manual/legal-notice.txt | 12 ++++++++++++ 2 files changed, 18 insertions(+) diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt index 7be1754..6495157 100644 --- a/docs/manual/adding-packages-generic.txt +++ b/docs/manual/adding-packages-generic.txt @@ -445,6 +445,12 @@ not and can not work as people would expect it should: to let you know, and +not saved+ will appear in the +license files+ field of the manifest file for this package. +* +LIBFOO_TAINTS+ shoud be set to YES if a package taints a Buildroot + configuration. A Buildroot configuration is tainted when a packages uses + external dependencies for which Buildroot cannot clearly recover licensing + informations. If a configuration is tainted, it means that the licensing + information produced by +make legal-info+ could not be accurate. + * +LIBFOO_ACTUAL_SOURCE_TARBALL+ only applies to packages whose +LIBFOO_SITE+ / +LIBTOO_SOURCE+ pair points to an archive that does not actually contain source code, but binary code. This a very diff --git a/docs/manual/legal-notice.txt b/docs/manual/legal-notice.txt index 6975328..7fde09a 100644 --- a/docs/manual/legal-notice.txt +++ b/docs/manual/legal-notice.txt @@ -73,6 +73,18 @@ distribution is required). When you run +make legal-info+, Buildroot produces warnings in the +README+ file to inform you of relevant material that could not be saved. +Furthermore, a Buildroot configuration could be tainted from a package that uses +some custom external dependencies from the Buildroot tree. An example could be +a package manager for a software stack that downloads the required dependencies +during the building of a package. In such cases, Buildroot cannot check the +licensing of the downloaded software and thus giving accurate licensing +informations. +To check if your configuration is tainted, run: + +-------------------- +make check-tainted +-------------------- + Finally, keep in mind that the output of +make legal-info+ is based on declarative statements in each of the packages recipes. The Buildroot developers try to do their best to keep those declarative statements as