From patchwork Wed Sep 5 16:06:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 966524 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=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="WnMbJQ0P"; 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 4257r31Rwzz9sCw for ; Thu, 6 Sep 2018 02:06:58 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DED3F8840B; Wed, 5 Sep 2018 16:06:55 +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 zpAqpNfnFfKd; Wed, 5 Sep 2018 16:06:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id C9423881C8; Wed, 5 Sep 2018 16:06:54 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id C1CF31C2D2B for ; Wed, 5 Sep 2018 16:06:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BEB9C27DC5 for ; Wed, 5 Sep 2018 16:06:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4FoL2LsFFelw for ; Wed, 5 Sep 2018 16:06:45 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by silver.osuosl.org (Postfix) with ESMTPS id 5D838226F3 for ; Wed, 5 Sep 2018 16:06:44 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id b19-v6so8572032wme.3 for ; Wed, 05 Sep 2018 09:06:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id; bh=/3fF8dhYdVuBT5Pw0SMCUwQ+9Ni0+QYdP5b7PMsxxUU=; b=WnMbJQ0Pz7c0mTT9yHJiwlqk1ojxNCxiripzOGm2DNKDe+ncyAN+dPIyClgd2xDsYR XqMf6L2cVQat7meheiDs3KcrXiuS0z1294akoxQqmt/25VGh//IcHsQe02hfbJBriyK2 x+Jr3Uj9mqa+2jUvSjLi2z3bLtV2VCFbToheQ= 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; bh=/3fF8dhYdVuBT5Pw0SMCUwQ+9Ni0+QYdP5b7PMsxxUU=; b=V3EGKqN66+EG1LEAl8uRnICbK5AePZMqFhgcGIxhEOfM3ifQNaJMjA1NA9aiz7yR35 hhzn0lYGNFRfPju4ezhTr1nSYbHfkn+YHH8ZRXzVx/XLZKQ4oPleUpgr0z7Nv3YrtdAk 3feE9ykqXmxuEYfcFaVLJHE7+gb57qQeEawxbj7Neec+JNsLELmIF2BsI1Hvtjsci8dT bCrAtWXxtag/eJMHoXffMylN/QnTsy3NZKDWuQgYNjxGqculzldbw5QrWx72ez8iU4yy jGQotPeXr8giNVP8fTuzy2nFxXQsp2Lthw+ZRWxJBSwd7YGXtlFy8YjO2R7Zdm8xdcgM Ivzw== X-Gm-Message-State: APzg51BGOzBwlVVPd/RzOU9x3cj8sOr8DXS9QEsld5FIDvZ9AbAmS6kE XiEhexE3OWRY9RIgadGtdtEGg6yfmL8= X-Google-Smtp-Source: ANB0Vda1vB5+n5sYets45n7M/Wf75fdzTUWiRCr+qTNVMfxpDMfjqdUp8rh/xkxF4BZwI7lF78qDyA== X-Received: by 2002:a1c:8dc6:: with SMTP id p189-v6mr748560wmd.3.1536163602611; Wed, 05 Sep 2018 09:06:42 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.147]) by smtp.gmail.com with ESMTPSA id k34-v6sm3525308wre.18.2018.09.05.09.06.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Sep 2018 09:06:41 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Wed, 5 Sep 2018 18:06:33 +0200 Message-Id: <1536163596-5310-1-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH v3 0/3] Add tainting support to buildroot 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" Packages that need to resolve dependencies internally and use a package manager would harm the reproducibility of a build, moreover they escape the legal infrastructure not giving enough informations on licensing. This patch adds a tainting mechanism in the form of a variable FOO_TAINTS that can be used to signal that a package harms the reproducibility or licensing under certain conditions. This opens the door to include per language dependency managers in buildroot. Angelo Compagnucci (3): Makefile: add tainting support docs/manual: adding infos about tainting package/nodejs: taint the build on external modules Makefile | 10 ++++++++++ docs/manual/adding-packages-generic.txt | 6 ++++++ docs/manual/legal-notice.txt | 12 ++++++++++++ package/nodejs/nodejs.mk | 1 + package/pkg-generic.mk | 8 ++++++++ 5 files changed, 37 insertions(+)