From patchwork Tue May 8 20:40:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yann E. MORIN" X-Patchwork-Id: 910459 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=free.fr Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="HJIZZasV"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40gWbB5H3dz9s37 for ; Wed, 9 May 2018 06:40:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id A5D2E867E8; Tue, 8 May 2018 20:40:34 +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 jiOEh8jHevDG; Tue, 8 May 2018 20:40:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 15F64867C5; Tue, 8 May 2018 20:40:34 +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 96E801CF14E for ; Tue, 8 May 2018 20:40:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8B867866A9 for ; Tue, 8 May 2018 20:40:29 +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 Jf6W4abfgyU6 for ; Tue, 8 May 2018 20:40:28 +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 ABAC8866D1 for ; Tue, 8 May 2018 20:40:27 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id f8-v6so23851259wmc.4 for ; Tue, 08 May 2018 13:40:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=dnJareMKt+lGK8ySUFQ3rlhcjHA8ivoO98HmgujIfjY=; b=HJIZZasVPX/qQMeTNfiEDq40EKv9MUqtGxm8cVAL2hWYCC+9nkUaE7WaLdtsptKI4s 45QQ3sDOueOsoo33GQOet35IfBXRlGfAYOTyw4BjoXCwGLNIEVirZ3xYAttaaZhVe1ZK IgWbK4WXjOS7p2DSMF0Zr7QnJ6ocGHqbmQYuhkaqMDkkNp5Edc9jqp8VVUjCS0DywAsm GsovKoE9Ud1/SEoZOWCLGgqQVDBjeu4LdJdV0ZNluUgOIV2Xa8iVTHeuqHXD8WekkhfR Ue+yLlyez36/kRlFSjGFflMl12Xfs/GYvCULX6Ym6wtZFoyK5YX0VD0WLXYY2kPaLkoM 5LdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=dnJareMKt+lGK8ySUFQ3rlhcjHA8ivoO98HmgujIfjY=; b=JUIAUTSgiHw3x4QdjKqir4nowMqM/qnI5qw244sr2VNW1Rw13YqsJjYpOM1LZrO6kv 6F9mJ5v3R6cmz6UpoXIEZkvlVqJDF3SYnhlOVSLlmhFKhMvqR7OQoIoy/cUIVQ9RsYUS c2tIRqxh7nEkVYFwR05mzFrBzZxHdBTXs3gl/8QbAijPhypARGGIqOa7MM96sT1NeOpB 6+7Gjoaz0Ce3jFkIlo1RHGUn6SNOcKbBS88Qiadfweb03/KcjgZzMOjbGHGWWkw46SFH BaZJ44aoxxtCHY5emcBjtpQWU22YNviKTy4bAtNTPBeaTyHOnxmPZ3fIts07SCA4Xy5j 37LA== X-Gm-Message-State: ALKqPweTfC/zJMXT6plnoxkB/P0R9FdZTgL6m1nYrlZe3xO/BeGPw4jZ hTPnP0ip2Tn8guxot1oDqMeNIw== X-Google-Smtp-Source: AB8JxZqzqQU8XIgpcguqRQvMVzHgbtHR7FP/bx6Zq5zgIfNhV6w+c6gKoiCUMBNwgSREkrjlNfiLDw== X-Received: by 10.28.166.23 with SMTP id p23mr3801778wme.152.1525812026061; Tue, 08 May 2018 13:40:26 -0700 (PDT) Received: from scaer.bzh.lan (2a01cb0886107300517c0c28e3b77189.ipv6.abo.wanadoo.fr. [2a01:cb08:8610:7300:517c:c28:e3b7:7189]) by smtp.gmail.com with ESMTPSA id v75-v6sm38772308wrc.65.2018.05.08.13.40.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 May 2018 13:40:25 -0700 (PDT) From: "Yann E. MORIN" To: buildroot@buildroot.org Date: Tue, 8 May 2018 22:40:19 +0200 Message-Id: <03be0fca5aee707e535261e66588d3b47bed4e0c.1525812011.git.yann.morin.1998@free.fr> X-Mailer: git-send-email 2.14.1 In-Reply-To: References: Subject: [Buildroot] [PATCH 6/7 v2] core/package: add host-tar dependency for downloads from repositories 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: "Yann E. MORIN" , Thomas Petazzoni MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Three of our download backends need a host tar that can generate reproducible archives: cvs, git, and svn. The other two, hbzr and hg, use their internal implementation. So, for those three that need it, and a dependency on host-tar when the system tar is not appropriate. Signed-off-by: "Yann E. MORIN" Cc: Thomas Petazzoni Cc: Arnout Vandecappelle Cc: Peter Korsgaard --- package/pkg-generic.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index 78aa751b0d..f654241bf7 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -567,6 +567,10 @@ ifneq ($(1),host-skeleton) $(2)_DEPENDENCIES += host-skeleton endif +ifneq ($$(filter cvs git svn,$$($(2)_SITE_METHOD)),) +$(2)_DOWNLOAD_DEPENDENCIES += $(BR2_TAR_HOST_DEPENDENCY) +endif + ifeq ($$(filter host-tar host-skeleton host-fakedate,$(1)),) $(2)_EXTRACT_DEPENDENCIES += $$(BR2_TAR_HOST_DEPENDENCY) endif