From patchwork Mon Aug 20 11:16:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher McCrory X-Patchwork-Id: 959605 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="OEqRIDUo"; 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 41vB8Q4MvNz9s3Z for ; Mon, 20 Aug 2018 21:16:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 926E985BC6; Mon, 20 Aug 2018 11:16:36 +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 NuEyk_C8hlpt; Mon, 20 Aug 2018 11:16:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 23B84859DC; Mon, 20 Aug 2018 11:16:36 +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 E886C1C0550 for ; Mon, 20 Aug 2018 11:16:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E4DB3863F4 for ; Mon, 20 Aug 2018 11:16:34 +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 rHbO+aQT7S6b for ; Mon, 20 Aug 2018 11:16:33 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pl0-f52.google.com (mail-pl0-f52.google.com [209.85.160.52]) by whitealder.osuosl.org (Postfix) with ESMTPS id CEC2686428 for ; Mon, 20 Aug 2018 11:16:33 +0000 (UTC) Received: by mail-pl0-f52.google.com with SMTP id w14-v6so6957832plp.6 for ; Mon, 20 Aug 2018 04:16:33 -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=F2A9/OmT5tC4Bho9eLJIqsQDlXV2BUpDT/cV/LBlLCk=; b=OEqRIDUopJhn1/9xNNowRT3TfQCGN3YtvkTlka6oaP0iwhsAtjpH9ZrFRJLifYsbU0 MTb+jNozgz4L4WZpEdfHPJWenaoSvegjAScygENHirhLW8YpDKxxLbDUZBXcJlFcd3as IuuaZeDPwVe5WW0AHVHzm1stSac8X6k8e2l2K21g6ZzDzz70m+GscCUYH9My6zEzM1Yz T511QEipW8kSKbljMBYo4XzQCWAprtRCbaZM3Wdlif+V1v2bWMq+BIzjV2XrYin46PUO o5UJ+1eLGyd7UF2t8sZk4TJU+wMf3SXyNJJLuo680+QqQ/uxsoUGd4nJ7rwHMn2pv9O7 QM6A== 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=F2A9/OmT5tC4Bho9eLJIqsQDlXV2BUpDT/cV/LBlLCk=; b=Aop8+Pm18c331+cSLtxkUAhUEdpwKCUWwLlqpbrkwU8g95aoPKoTFqjCM3rhdMhJVY gvBZszbJUmG3XbR/Y2Cqhe71/pYQ4659z+drVoy0Csb90GV+5gS8DtFdDbl+aPktc+NE J6KQRd/23mDUWnEcXNiGJRVDtBa2ycLNAFmz9m+LMXRh1aa9WiKTLS7EOL/5qyRU8xio oHjDswVWUcgsMW3Z8xJmQbgZ0Gkjnip54wL25eaamHciabBhZXCkiH6J7YBoLyogqli2 BZsU66cUcLnXAvpxgotobWLr4CO9o+sF9AUEbcm+fTQVCnh/IdM8MRdNOmrqHqZlp+/A 48zg== X-Gm-Message-State: AOUpUlFcgSotEX32RIs6Te78gXL7VvcEjKb+Grh9jRRxS5MAwMOIyBmo FAsLMjZ3Oz/IfEZMRl23gX67JeQP X-Google-Smtp-Source: AA+uWPzio4sV2SuvST0SSRPofkXSDIGyEj/oYQBqdZi0jzrlTeir8dIGAXDk7lRdO9CzMIYvlGJgWA== X-Received: by 2002:a17:902:b283:: with SMTP id u3-v6mr11718464plr.2.1534763793191; Mon, 20 Aug 2018 04:16:33 -0700 (PDT) Received: from localhost.localdomain ([2600:1012:b06f:afd4:7dd8:b612:92b8:cc1f]) by smtp.gmail.com with ESMTPSA id n26-v6sm10551804pgv.78.2018.08.20.04.16.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Aug 2018 04:16:32 -0700 (PDT) From: Christopher McCrory To: buildroot@buildroot.org Date: Mon, 20 Aug 2018 04:16:21 -0700 Message-Id: <20180820111623.23173-2-chrismcc@gmail.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180820111623.23173-1-chrismcc@gmail.com> References: <20180820111623.23173-1-chrismcc@gmail.com> Subject: [Buildroot] [PATCH 1/3] scancpan: wrap abstract if too long 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: Christopher McCrory MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Christopher McCrory --- utils/scancpan | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/scancpan b/utils/scancpan index 8f47521692..6c90588ed4 100755 --- a/utils/scancpan +++ b/utils/scancpan @@ -484,6 +484,8 @@ use HTTP::Tiny; use Safe; use MetaCPAN::API::Tiny; use Digest::SHA qw(sha256_hex); +use Text::Wrap; +$Text::Wrap::columns = 62; # Below, 5.026 should be aligned with the version of perl actually # bundled in Buildroot: @@ -663,7 +665,7 @@ while (my ($distname, $dist) = each %dist) { my $brname = brname( $fsname ); mkdir $dirname unless -d $dirname; if ($need_target{$distname} && ($force || !-f $cfgname)) { - my $abstract = $dist->{abstract}; + my $abstract = wrap("","\t ",$dist->{abstract}); my $homepage = $dist->{resources}->{homepage} || qq{https://metacpan.org/release/${distname}}; say qq{write ${cfgname}} unless $quiet; open my $fh, q{>}, $cfgname; From patchwork Mon Aug 20 11:16:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher McCrory X-Patchwork-Id: 959607 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="P6A0N/Sh"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41vB8b3RPrz9s3Z for ; Mon, 20 Aug 2018 21:16:47 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 56DAF86DC2; Mon, 20 Aug 2018 11:16:42 +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 9KW7YUS9ikmt; Mon, 20 Aug 2018 11:16:39 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id F0AB286D3B; Mon, 20 Aug 2018 11:16:38 +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 B326B1C0550 for ; Mon, 20 Aug 2018 11:16:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B026B86428 for ; Mon, 20 Aug 2018 11:16:35 +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 I17bqpAKfC5J for ; Mon, 20 Aug 2018 11:16:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by whitealder.osuosl.org (Postfix) with ESMTPS id 352A1863F4 for ; Mon, 20 Aug 2018 11:16:35 +0000 (UTC) Received: by mail-pf1-f177.google.com with SMTP id j26-v6so6594117pfi.10 for ; Mon, 20 Aug 2018 04:16:35 -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=t4i9c07r4Bu8ykMoN1hCLhcrGNMtLuoNqg4fshCg2jA=; b=P6A0N/ShM0bdOntoWZO7SDylpGcSACHORTamOyFWKYI0zgyR9XI0wu7yNTi8Xaipo8 oYfrevOpjsP/qQLbYKKsAkDeJtcTrGyvCJ7ZMRv7cfABPmhW3IrYtCOqPOCbP/EpOfM9 knJ2jQD87DJOMrZvr8bQScoBuVyysxfz1GW7+UPdoNnwIInmqgjbFZKfullDO9+Zm/5W CpJe4K+XaMZLjdB1z336nvhbm4vG8+Rj05xYiENslZtrngUjG4q+jTkzjP0cRAOpFV7r 9B/bPu1g2NkEyP/b9mgr/lSwS8MT2tTTH04sbR3CdgzlR9kexpF1moC34zBiSg2DG0iV BOkA== 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=t4i9c07r4Bu8ykMoN1hCLhcrGNMtLuoNqg4fshCg2jA=; b=dmV/9h67POt8lpZMEKAMxjmakRvNINUjt+Te7kh6zcjAdJrV5AWwKvVnLfYP0/ZtTq oap29c9KGaIEf/uT28/zsLztw+W0C2upeMtwmusghljADzVUoWqCZd57VGaInfmLg1HH xutxr4pxAh4bHwpRlvBQsIEvzuKB+W5Y2KkEZQ4dlBa+M2zlmJTkS8665flCd+jDPiht YILHOTBQsnrcn9U87dNchEXaHzAUdIYWf5PG1G8GCdY2oiL17Bgn5WbldAR0bLMnVBCK MKoEhnowxQPrBKWlw09obbnYq2Vg1m/Jcy3pBJCjLa5zen77a8AFS5GatGO0dBabVgos BEiw== X-Gm-Message-State: AOUpUlHPfBq8w3mEcV3sJrIx/2MVB8LB2WUpwe3QmgGhPcyJ+wSmHJVK rGpnMzWCZdteTyAL0sXp4q6mE3YN X-Google-Smtp-Source: AA+uWPyjnhJXQtsFS/K2AmMh9+FKSTCcXjET3/qNvYjo5WGTF5fB/fFcjbbvolShjAzWM4/wlTtQJg== X-Received: by 2002:a63:cb04:: with SMTP id p4-v6mr13358028pgg.197.1534763794566; Mon, 20 Aug 2018 04:16:34 -0700 (PDT) Received: from localhost.localdomain ([2600:1012:b06f:afd4:7dd8:b612:92b8:cc1f]) by smtp.gmail.com with ESMTPSA id n26-v6sm10551804pgv.78.2018.08.20.04.16.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Aug 2018 04:16:34 -0700 (PDT) From: Christopher McCrory To: buildroot@buildroot.org Date: Mon, 20 Aug 2018 04:16:22 -0700 Message-Id: <20180820111623.23173-3-chrismcc@gmail.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180820111623.23173-1-chrismcc@gmail.com> References: <20180820111623.23173-1-chrismcc@gmail.com> Subject: [Buildroot] [PATCH 2/3] scancpan: skip Dist::Zilla 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: Christopher McCrory MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Christopher McCrory --- utils/scancpan | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/scancpan b/utils/scancpan index 6c90588ed4..c83730fa13 100755 --- a/utils/scancpan +++ b/utils/scancpan @@ -603,6 +603,7 @@ sub fetch { # we could use the host Module::CoreList data, because host perl and # target perl have the same major version next if ${$dep}{phase} eq q{develop}; + next if ${$dep}{phase} eq q{x_Dist_Zilla}; next if !($test && $top) && ${$dep}{phase} eq q{test}; my $distname = $mcpan->module( $modname )->{distribution}; if (${$dep}{phase} eq q{runtime}) { From patchwork Mon Aug 20 11:16:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher McCrory X-Patchwork-Id: 959608 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="XZEeA4h3"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41vB8c6PLgz9s3Z for ; Mon, 20 Aug 2018 21:16:48 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 828C285A4E; Mon, 20 Aug 2018 11:16:45 +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 8SvXKP5aloCp; Mon, 20 Aug 2018 11:16:43 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 6248485472; Mon, 20 Aug 2018 11:16:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 03FE91CF2D1 for ; Mon, 20 Aug 2018 11:16:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 0222286D78 for ; Mon, 20 Aug 2018 11:16:40 +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 5aSikwHY8x6M for ; Mon, 20 Aug 2018 11:16:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by hemlock.osuosl.org (Postfix) with ESMTPS id 8CAEB86B44 for ; Mon, 20 Aug 2018 11:16:36 +0000 (UTC) Received: by mail-pg1-f179.google.com with SMTP id h8-v6so175460pgs.4 for ; Mon, 20 Aug 2018 04:16:36 -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=0daKDsGSz8bayw9aoICkIukbB/QoW8j23TXTgWkzdtY=; b=XZEeA4h39QdHEv0hFl/zYjgvuDh8iDzWORNKJq7wagVFqhIMYAulBNESxS0E8/2PmP ym1o+0HnDTotn5a9gW5WizndeNl2ClZmCM0aavb+NvPzV32uhVPtB5TxH8iDDrEVP2gR wOzZFStw248P23L0vHVTPqhzq8ByAkJjDG0XFzMxCHR6nK2O10WWxNN5e1f6elvmBrmA zbIqqGBQakhHF+vz+UkQAgKSjpuGWRwLal5YVLkVueIaAjgAmZLuHnRZ5AcJf/r8tJPw 3sSS1Vku87Mm9UqFelw7VlQ9QojAsOFgxiSkUnlE45IkCNm8N3BvTs+7+IFU22S662Bm u59g== 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=0daKDsGSz8bayw9aoICkIukbB/QoW8j23TXTgWkzdtY=; b=Awujy8NHeRBbe0Jw9PYYioLo/LWSoCKOFp+a+GkXnjfs5aBAXKpY6udVuSHQo41Ja7 P3rYxGShK5WP1SEnZFe3Da/MwivENV4HuNdUqAh4D6+zuwqQ2UDeg1FEMfjwm09ohJ/i uaxidq368gGUbGH7DfOMmdq2X477bPG0wXG5uvV1eaR1N26gjTqV1IkbnxbfM0gS6pzq mK8aW6qPkhM97Fd0KCrdS0hfcOSs91kxN3B3v+TC/CMClM22/Xq5ZsTkI9pnSk4u0qSv N/VjKCV70eGS/ynW6zK8toC+5tMWWU9Vp16/w195aGbtHNZZcZuWYkHBZoJuGCJ1pPMj eIFQ== X-Gm-Message-State: AOUpUlE/IQzqr5BEzjGkxhkEjU2t+wQuRD+9BWxxkDMfLYT4HH1Oa5rQ ktC4/QoKD65W80Kfray0b6wN4J1i X-Google-Smtp-Source: AA+uWPzpQ040f4oaLxN4uRKX177kWO6Auckbjky/CpD5GXl5t73UrApovrCvA76OIJTxuSUVHzZXGA== X-Received: by 2002:a63:8f03:: with SMTP id n3-v6mr43280037pgd.166.1534763795879; Mon, 20 Aug 2018 04:16:35 -0700 (PDT) Received: from localhost.localdomain ([2600:1012:b06f:afd4:7dd8:b612:92b8:cc1f]) by smtp.gmail.com with ESMTPSA id n26-v6sm10551804pgv.78.2018.08.20.04.16.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Aug 2018 04:16:35 -0700 (PDT) From: Christopher McCrory To: buildroot@buildroot.org Date: Mon, 20 Aug 2018 04:16:23 -0700 Message-Id: <20180820111623.23173-4-chrismcc@gmail.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180820111623.23173-1-chrismcc@gmail.com> References: <20180820111623.23173-1-chrismcc@gmail.com> Subject: [Buildroot] [PATCH 3/3] scancpan: support more licenses 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: Christopher McCrory MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Christopher McCrory Reviewed-by: Francois Perrad --- utils/scancpan | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/utils/scancpan b/utils/scancpan index c83730fa13..5db4decc5e 100755 --- a/utils/scancpan +++ b/utils/scancpan @@ -702,9 +702,16 @@ while (my ($distname, $dist) = each %dist) { ? join q{ or }, @{$dist->{license}} : $dist->{license}; # BR requires license name as in http://spdx.org/licenses/ + $license =~ s|apache_1_1|Apache-1.1|; $license =~ s|apache_2_0|Apache-2.0|; + $license =~ s|artistic|Artistic-1.0|; $license =~ s|artistic_2|Artistic-2.0|; + $license =~ s|lgpl_2_1|LGPL-2.1|; + $license =~ s|lgpl_3_0|LGPL-3.0|; + $license =~ s|gpl_2|GPL-2.0|; + $license =~ s|gpl_3|GPL-3.0|; $license =~ s|mit|MIT|; + $license =~ s|mozilla_1_1|Mozilla-1.1|; $license =~ s|openssl|OpenSSL|; $license =~ s|perl_5|Artistic or GPL-1.0+|; my $license_files = join q{ }, keys %{$license_files{$distname}};