From patchwork Thu Oct 11 16:12:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 982588 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=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="XCAXFvm6"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42WGHF2Mtkz9s3l for ; Fri, 12 Oct 2018 03:13:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 530F786D2D; Thu, 11 Oct 2018 16:13:42 +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 QSONYzOBRkys; Thu, 11 Oct 2018 16:13:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id BB94486AD1; Thu, 11 Oct 2018 16:13:41 +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 D53011BF487 for ; Thu, 11 Oct 2018 16:13:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D286F87822 for ; Thu, 11 Oct 2018 16:13:40 +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 gn6wkibKS+Jp for ; Thu, 11 Oct 2018 16:13:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2875487800 for ; Thu, 11 Oct 2018 16:13:40 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id a13-v6so10354114wrt.5 for ; Thu, 11 Oct 2018 09:13:40 -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=cQ+2ZridAtVPWOlzQyMZy7gz02WRh9PsG2y7fRgo6Qc=; b=XCAXFvm6TyINMohiWRAcNOEvtGw6qCs4Y8eJjh0hNDLAstgic1T/8PJK7befHmsFkl UwbFV5pcnsY0cmIDxIi70nOeII2TAlfLQz/m2kDB8v27+mLX4+SwUYEQYvqVPu3/m7YQ aYJ42ykNQt6x8gBBcsbOH5oAvjBBPp4E0Dso8rDmHVA8KFEV72+VXahQy2ERMdnmjnDJ WZmwfooUrdbqWMhrYoLU388ETRVrzAIL+djy9dw+Ub7/9aOMYJzyUG8dLHN7F7BDbP7Y A/TxrSvp1G+Jjs/x7Tgc5gpEKhb7kOZyCX69eHsxiQ7aPoXCVrhqmqkyM3CQWYuNt2Q7 voog== 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=cQ+2ZridAtVPWOlzQyMZy7gz02WRh9PsG2y7fRgo6Qc=; b=VRm/LCUb8e/R+266WuTpoiX4nLCgLAOmHe5qmY+Jk7+nIInSzr1W1jrajI7jvNOHYu T3xO//S1e8B9fbYyaY3F2fv1HR5/Bd8EurlV/z1hGcqgNZnZkUDhbOeyMbE1+xHSPRqb LdZ6RuLnsqXIVfdmedUrLs7MbQwLJ6Z71KOVYN8mueKjeywvV/U8fOnLikQRFloXgHXQ woEqbvr0aEXMjYliZmZh+7sQpdn97sT3CSj9OzTKsoTXQMxwwTorDrVzcn2NNsqPAb2d wOhJ0uaSvvUDHsv4D09aRvOUstEGCUBMYm6dg+LwGpEV+0MXGVEEXp7lk7lZ4TCNiZ8Q V19g== X-Gm-Message-State: ABuFfoiTaB4wg3jOFgUb+HVj8Qr0qKSHLwxrgOwqiQddOX9a17h6IFdV xoChNcwSGMCAj0E78de3L8WX3nxO X-Google-Smtp-Source: ACcGV62Z1yPOMTSYgMwt+fSdTJB2QugnB+bEV0u8LuGPpi5XU58QfnFM/fts8Wxu3/vijJc7nbKBmQ== X-Received: by 2002:a05:6000:12c5:: with SMTP id l5mr2123160wrx.215.1539274418190; Thu, 11 Oct 2018 09:13:38 -0700 (PDT) Received: from vb-18.04 (37.176.132.77.rev.sfr.net. [77.132.176.37]) by smtp.gmail.com with ESMTPSA id 77-v6sm37609687wmv.6.2018.10.11.09.13.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 09:13:37 -0700 (PDT) From: Francois Perrad X-Google-Original-From: Francois Perrad To: buildroot@busybox.net Date: Thu, 11 Oct 2018 18:12:47 +0200 Message-Id: <20181011161248.13457-4-francois.perrad@gadz.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181011161248.13457-1-francois.perrad@gadz.org> References: <20181011161248.13457-1-francois.perrad@gadz.org> Subject: [Buildroot] [V2 3/4] pkg-perl: add a target which upgrades all packages from metacpan X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 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" Signed-off-by: Francois Perrad --- package/pkg-perl.mk | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/package/pkg-perl.mk b/package/pkg-perl.mk index 07348bd5d..74a116075 100644 --- a/package/pkg-perl.mk +++ b/package/pkg-perl.mk @@ -57,6 +57,10 @@ endif # used no matter the setting $(2)_PREFER_INSTALLER ?= MB +ifeq ($(4),target) +SCANCPAN_ALL_DISTRIB += $$($(2)_DISTNAME) +endif + # # Configure step. Only define it if not already defined by the package # .mk file. And take care of the differences between host and target @@ -199,6 +203,11 @@ $(call inner-generic-package,$(1),$(2),$(3),$(4)) endef +# global target which upgrades all packages +.PHONY: scancpan +scancpan: + utils/scancpan -force -target $(SCANCPAN_ALL_DISTRIB) + ################################################################################ # perl-package -- the target generator macro for Perl packages ################################################################################