From patchwork Wed Sep 5 22:00:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 966701 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.136; helo=silver.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="TuiddOB6"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 425Hh02NWcz9sCh for ; Thu, 6 Sep 2018 08:00:31 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DF2C92E0D1; Wed, 5 Sep 2018 22:00:28 +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 ixo4DQiO-n8l; Wed, 5 Sep 2018 22:00:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 757202DFFF; Wed, 5 Sep 2018 22:00:27 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 594621C2D27 for ; Wed, 5 Sep 2018 22:00:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 55B3F887C5 for ; Wed, 5 Sep 2018 22:00:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uFUkZxVP7ZT5 for ; Wed, 5 Sep 2018 22:00:25 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 6BDCE88731 for ; Wed, 5 Sep 2018 22:00:25 +0000 (UTC) Received: by mail-wm0-f66.google.com with SMTP id o18-v6so9256472wmc.0 for ; Wed, 05 Sep 2018 15:00:25 -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; bh=3p6sY8lIJu6UtwJuLibxSemfjBNCzyNqcAiFLMxafag=; b=TuiddOB62DO7RsqQtbbT4wUB1zCSM673yDjyqBOJrWTX2IqywV8z/zDTylsO/YfF8i bk6xfk/1Qx54a36jUvftE1KzYtbAv62vZb3Yif494Brtg8MH6Vd0Ehugq+P6yaFpTZoB M0/qzrowCanTQTu54ra99BdhkKiX/2w43F+aIgTsR3LWTCi5ZnezVrEbpIzWM2UJ575W l5rMxlUc24a8yi/5vz7omgEZSZWf9DuwY9TZ9UWLBbbitIIb2xYHSBrYrZ1l6VmdnpB2 fi1vtuDeDhxCIeExPwrWFmCmkMHMoRDDLwKq35LZYAtDa/mzQMJ/7p1Nafu2jWnFHcjW KFaA== 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=3p6sY8lIJu6UtwJuLibxSemfjBNCzyNqcAiFLMxafag=; b=L4rI11MpJe9GaPRZPuCDKeMBW/dSifXwQc5axS1hEl3SUeac7HNgOL9baDBFgxparj 6scGRaEpeo33bOubycwe165pKld/Am+OdM3cb8LoNdllHiTv+LggLFIpm64fIDDsu3l0 qTKjOoCyhK55wa8GxHCfO5Po4aQxzI5f7E3pXTd3NPL1hfcLPmjjgSx+tjg3v4MYEpJ2 k8DPkxMo+r77pJa1dhkI6oaLtVY8exmnWJagInMiOPxKZhaTRkybMEzr7f4YmlNVwg0H Wlm/dvqq5oZom6VOovlBoO6eOkpqaPazN7V3UvOVRpJj/M0UoP/Rx2NtUqMWjCq43AMs 0smQ== X-Gm-Message-State: APzg51BWO0PMGeCd43/kaVEZS5JaFizVMdxPZ/b5QT6+YVULIh4S6mQG A0naev6s2dz/740E77rh1Lf6KQwE X-Google-Smtp-Source: ANB0VdbDwpgOn2u4zpHJ33HXzP5Fly9Z3dCY+4ey5sdAf/EioIeGtcaIEU/ggXyNVG84oyeJ/5A0MA== X-Received: by 2002:a1c:2351:: with SMTP id j78-v6mr230582wmj.68.1536184823738; Wed, 05 Sep 2018 15:00:23 -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.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 05 Sep 2018 15:00:22 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Thu, 6 Sep 2018 00:00:05 +0200 Message-Id: <1536184808-9085-1-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 2.7.4 Subject: [Buildroot] [PATCH v4 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: , 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 | 12 ++++++++++++ 5 files changed, 41 insertions(+)