All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christopher McCrory <chrismcc@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] scancpan: support more licenses
Date: Mon, 20 Aug 2018 04:16:23 -0700	[thread overview]
Message-ID: <20180820111623.23173-4-chrismcc@gmail.com> (raw)
In-Reply-To: <20180820111623.23173-1-chrismcc@gmail.com>

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
---
 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}};
-- 
2.14.4

  parent reply	other threads:[~2018-08-20 11:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-20 11:16 [Buildroot] [PATCH 0/3] scancpan patches Christopher McCrory
2018-08-20 11:16 ` [Buildroot] [PATCH 1/3] scancpan: wrap abstract if too long Christopher McCrory
2018-08-21  5:52   ` François Perrad
2018-09-20 22:04   ` Thomas Petazzoni
2018-08-20 11:16 ` [Buildroot] [PATCH 2/3] scancpan: skip Dist::Zilla Christopher McCrory
2018-08-21  5:46   ` François Perrad
2018-09-20 22:03   ` Thomas Petazzoni
2018-08-20 11:16 ` Christopher McCrory [this message]
2018-08-21  5:55   ` [Buildroot] [PATCH 3/3] scancpan: support more licenses François Perrad
2018-09-20 22:01   ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180820111623.23173-4-chrismcc@gmail.com \
    --to=chrismcc@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.