All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] utils/scancpan: handles README.pod as license file
@ 2020-12-06  6:22 Francois Perrad
  2020-12-06  6:22 ` [Buildroot] [PATCH 2/2] utils/scancpan: add GPL* " Francois Perrad
  2020-12-29 22:01 ` [Buildroot] [PATCH 1/2] utils/scancpan: handles README.pod " Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Francois Perrad @ 2020-12-06  6:22 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 utils/scancpan | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/utils/scancpan b/utils/scancpan
index 327a58fc7..a1ec794ed 100755
--- a/utils/scancpan
+++ b/utils/scancpan
@@ -575,6 +575,9 @@ sub find_license_files {
     if (scalar @license_files == 0 && $manifest =~ m/(README\.md)[\n\s]/i) {
         @license_files = ($1);
     }
+    if (scalar @license_files == 0 && $manifest =~ m/(README\.pod)[\n\s]/i) {
+        @license_files = ($1);
+    }
     return @license_files;
 }
 
-- 
2.27.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 2/2] utils/scancpan: add GPL* as license file
  2020-12-06  6:22 [Buildroot] [PATCH 1/2] utils/scancpan: handles README.pod as license file Francois Perrad
@ 2020-12-06  6:22 ` Francois Perrad
  2020-12-29 22:01 ` [Buildroot] [PATCH 1/2] utils/scancpan: handles README.pod " Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Francois Perrad @ 2020-12-06  6:22 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 utils/scancpan | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/scancpan b/utils/scancpan
index a1ec794ed..3ce3203bd 100755
--- a/utils/scancpan
+++ b/utils/scancpan
@@ -567,7 +567,7 @@ sub find_license_files {
     foreach (split /\n/, $manifest) {
         next if m|/|;
         s|\s+.*$||;
-        push @license_files, $_ if m/(ARTISTIC|COPYING|COPYRIGHT|LICENSE|LICENCE)/i;
+        push @license_files, $_ if m/(ARTISTIC|COPYING|COPYRIGHT|GPL\S*|LICENSE|LICENCE)/i;
     }
     if (scalar @license_files == 0 && $manifest =~ m/(README)[\n\s]/i) {
         @license_files = ($1);
-- 
2.27.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/2] utils/scancpan: handles README.pod as license file
  2020-12-06  6:22 [Buildroot] [PATCH 1/2] utils/scancpan: handles README.pod as license file Francois Perrad
  2020-12-06  6:22 ` [Buildroot] [PATCH 2/2] utils/scancpan: add GPL* " Francois Perrad
@ 2020-12-29 22:01 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2020-12-29 22:01 UTC (permalink / raw)
  To: buildroot

On Sun,  6 Dec 2020 07:22:49 +0100
Francois Perrad <fperrad@gmail.com> wrote:

> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  utils/scancpan | 3 +++
>  1 file changed, 3 insertions(+)

Both applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-29 22:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06  6:22 [Buildroot] [PATCH 1/2] utils/scancpan: handles README.pod as license file Francois Perrad
2020-12-06  6:22 ` [Buildroot] [PATCH 2/2] utils/scancpan: add GPL* " Francois Perrad
2020-12-29 22:01 ` [Buildroot] [PATCH 1/2] utils/scancpan: handles README.pod " Thomas Petazzoni

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.