diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-30 11:05:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-04 10:44:04 +0100 |
commit | 79834a71447f89c52c6c9ad62c9bcbf9b8e0e05b (patch) | |
tree | 52e6473c7ee9687b2c4b6c8a2eb39da9b73ddaa5 /bitbake/lib/bb/fetch2 | |
parent | 5eb53830942141bfe57251dffecda36df90a62c1 (diff) | |
download | poky-79834a71447f89c52c6c9ad62c9bcbf9b8e0e05b.tar.gz |
bitbake: bitbake: Add initial pass of SPDX license headers to source code
This adds the SPDX-License-Identifier license headers to the majority of
our source files to make it clearer exactly which license files are under.
The bulk of the files are under GPL v2.0 with one found to be under V2.0
or later, some under MIT and some have dual license. There are some files
which are potentially harder to classify where we've imported upstream code
and those can be handled specifically in later commits.
The COPYING file is replaced with LICENSE.X files which contain the full
license texts.
(Bitbake rev: ff237c33337f4da2ca06c3a2c49699bc26608a6b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/fetch2')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/bzr.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/clearcase.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/cvs.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 4 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/gitannex.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/gitsm.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/hg.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/local.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/npm.py | 3 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/osc.py | 3 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/perforce.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/repo.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/s3.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/sftp.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/ssh.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/svn.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 2 |
18 files changed, 39 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 8fecc809d4..c92844da5c 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -10,6 +10,8 @@ BitBake build tools. | |||
10 | # Copyright (C) 2003, 2004 Chris Larson | 10 | # Copyright (C) 2003, 2004 Chris Larson |
11 | # Copyright (C) 2012 Intel Corporation | 11 | # Copyright (C) 2012 Intel Corporation |
12 | # | 12 | # |
13 | # SPDX-License-Identifier: GPL-2.0-only | ||
14 | # | ||
13 | # This program is free software; you can redistribute it and/or modify | 15 | # This program is free software; you can redistribute it and/or modify |
14 | # it under the terms of the GNU General Public License version 2 as | 16 | # it under the terms of the GNU General Public License version 2 as |
15 | # published by the Free Software Foundation. | 17 | # published by the Free Software Foundation. |
diff --git a/bitbake/lib/bb/fetch2/bzr.py b/bitbake/lib/bb/fetch2/bzr.py index 658502f9a6..891fef9b9d 100644 --- a/bitbake/lib/bb/fetch2/bzr.py +++ b/bitbake/lib/bb/fetch2/bzr.py | |||
@@ -10,6 +10,8 @@ BitBake 'Fetch' implementation for bzr. | |||
10 | # BitBake build tools. | 10 | # BitBake build tools. |
11 | # Copyright (C) 2003, 2004 Chris Larson | 11 | # Copyright (C) 2003, 2004 Chris Larson |
12 | # | 12 | # |
13 | # SPDX-License-Identifier: GPL-2.0-only | ||
14 | # | ||
13 | # This program is free software; you can redistribute it and/or modify | 15 | # This program is free software; you can redistribute it and/or modify |
14 | # it under the terms of the GNU General Public License version 2 as | 16 | # it under the terms of the GNU General Public License version 2 as |
15 | # published by the Free Software Foundation. | 17 | # published by the Free Software Foundation. |
diff --git a/bitbake/lib/bb/fetch2/clearcase.py b/bitbake/lib/bb/fetch2/clearcase.py index 3a6573d0b2..ff181bb78b 100644 --- a/bitbake/lib/bb/fetch2/clearcase.py +++ b/bitbake/lib/bb/fetch2/clearcase.py | |||
@@ -47,6 +47,8 @@ User credentials: | |||
47 | """ | 47 | """ |
48 | # Copyright (C) 2014 Siemens AG | 48 | # Copyright (C) 2014 Siemens AG |
49 | # | 49 | # |
50 | # SPDX-License-Identifier: GPL-2.0-only | ||
51 | # | ||
50 | # This program is free software; you can redistribute it and/or modify | 52 | # This program is free software; you can redistribute it and/or modify |
51 | # it under the terms of the GNU General Public License version 2 as | 53 | # it under the terms of the GNU General Public License version 2 as |
52 | # published by the Free Software Foundation. | 54 | # published by the Free Software Foundation. |
diff --git a/bitbake/lib/bb/fetch2/cvs.py b/bitbake/lib/bb/fetch2/cvs.py index 0e0a3196f8..666f4be2bc 100644 --- a/bitbake/lib/bb/fetch2/cvs.py +++ b/bitbake/lib/bb/fetch2/cvs.py | |||
@@ -10,6 +10,8 @@ BitBake build tools. | |||
10 | 10 | ||
11 | # Copyright (C) 2003, 2004 Chris Larson | 11 | # Copyright (C) 2003, 2004 Chris Larson |
12 | # | 12 | # |
13 | # SPDX-License-Identifier: GPL-2.0-only | ||
14 | # | ||
13 | # This program is free software; you can redistribute it and/or modify | 15 | # This program is free software; you can redistribute it and/or modify |
14 | # it under the terms of the GNU General Public License version 2 as | 16 | # it under the terms of the GNU General Public License version 2 as |
15 | # published by the Free Software Foundation. | 17 | # published by the Free Software Foundation. |
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index c69d25c914..78ad18cc7a 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -55,7 +55,9 @@ Supported SRC_URI options are: | |||
55 | 55 | ||
56 | """ | 56 | """ |
57 | 57 | ||
58 | #Copyright (C) 2005 Richard Purdie | 58 | # Copyright (C) 2005 Richard Purdie |
59 | # | ||
60 | # SPDX-License-Identifier: GPL-2.0-only | ||
59 | # | 61 | # |
60 | # This program is free software; you can redistribute it and/or modify | 62 | # This program is free software; you can redistribute it and/or modify |
61 | # it under the terms of the GNU General Public License version 2 as | 63 | # it under the terms of the GNU General Public License version 2 as |
diff --git a/bitbake/lib/bb/fetch2/gitannex.py b/bitbake/lib/bb/fetch2/gitannex.py index a9b69caab4..3a32c85a83 100644 --- a/bitbake/lib/bb/fetch2/gitannex.py +++ b/bitbake/lib/bb/fetch2/gitannex.py | |||
@@ -7,6 +7,8 @@ BitBake 'Fetch' git annex implementation | |||
7 | # Copyright (C) 2014 Otavio Salvador | 7 | # Copyright (C) 2014 Otavio Salvador |
8 | # Copyright (C) 2014 O.S. Systems Software LTDA. | 8 | # Copyright (C) 2014 O.S. Systems Software LTDA. |
9 | # | 9 | # |
10 | # SPDX-License-Identifier: GPL-2.0-only | ||
11 | # | ||
10 | # This program is free software; you can redistribute it and/or modify | 12 | # This program is free software; you can redistribute it and/or modify |
11 | # it under the terms of the GNU General Public License version 2 as | 13 | # it under the terms of the GNU General Public License version 2 as |
12 | # published by the Free Software Foundation. | 14 | # published by the Free Software Foundation. |
diff --git a/bitbake/lib/bb/fetch2/gitsm.py b/bitbake/lib/bb/fetch2/gitsm.py index 32389130bd..e910a08390 100644 --- a/bitbake/lib/bb/fetch2/gitsm.py +++ b/bitbake/lib/bb/fetch2/gitsm.py | |||
@@ -16,6 +16,8 @@ NOTE: Switching a SRC_URI from "git://" to "gitsm://" requires a clean of your r | |||
16 | 16 | ||
17 | # Copyright (C) 2013 Richard Purdie | 17 | # Copyright (C) 2013 Richard Purdie |
18 | # | 18 | # |
19 | # SPDX-License-Identifier: GPL-2.0-only | ||
20 | # | ||
19 | # This program is free software; you can redistribute it and/or modify | 21 | # This program is free software; you can redistribute it and/or modify |
20 | # it under the terms of the GNU General Public License version 2 as | 22 | # it under the terms of the GNU General Public License version 2 as |
21 | # published by the Free Software Foundation. | 23 | # published by the Free Software Foundation. |
diff --git a/bitbake/lib/bb/fetch2/hg.py b/bitbake/lib/bb/fetch2/hg.py index 5a2985e16c..c9eeaaefca 100644 --- a/bitbake/lib/bb/fetch2/hg.py +++ b/bitbake/lib/bb/fetch2/hg.py | |||
@@ -13,6 +13,8 @@ BitBake 'Fetch' implementation for mercurial DRCS (hg). | |||
13 | # it under the terms of the GNU General Public License version 2 as | 13 | # it under the terms of the GNU General Public License version 2 as |
14 | # published by the Free Software Foundation. | 14 | # published by the Free Software Foundation. |
15 | # | 15 | # |
16 | # SPDX-License-Identifier: GPL-2.0-only | ||
17 | # | ||
16 | # This program is distributed in the hope that it will be useful, | 18 | # This program is distributed in the hope that it will be useful, |
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 19 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 20 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
diff --git a/bitbake/lib/bb/fetch2/local.py b/bitbake/lib/bb/fetch2/local.py index a114ac12e5..13e6d80b5b 100644 --- a/bitbake/lib/bb/fetch2/local.py +++ b/bitbake/lib/bb/fetch2/local.py | |||
@@ -10,6 +10,8 @@ BitBake build tools. | |||
10 | 10 | ||
11 | # Copyright (C) 2003, 2004 Chris Larson | 11 | # Copyright (C) 2003, 2004 Chris Larson |
12 | # | 12 | # |
13 | # SPDX-License-Identifier: GPL-2.0-only | ||
14 | # | ||
13 | # This program is free software; you can redistribute it and/or modify | 15 | # This program is free software; you can redistribute it and/or modify |
14 | # it under the terms of the GNU General Public License version 2 as | 16 | # it under the terms of the GNU General Public License version 2 as |
15 | # published by the Free Software Foundation. | 17 | # published by the Free Software Foundation. |
diff --git a/bitbake/lib/bb/fetch2/npm.py b/bitbake/lib/bb/fetch2/npm.py index 65bf5a3644..7235f899f4 100644 --- a/bitbake/lib/bb/fetch2/npm.py +++ b/bitbake/lib/bb/fetch2/npm.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
1 | # ex:ts=4:sw=4:sts=4:et | 4 | # ex:ts=4:sw=4:sts=4:et |
2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | 5 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- |
3 | """ | 6 | """ |
diff --git a/bitbake/lib/bb/fetch2/osc.py b/bitbake/lib/bb/fetch2/osc.py index 6c60456b53..19c0d9dcaa 100644 --- a/bitbake/lib/bb/fetch2/osc.py +++ b/bitbake/lib/bb/fetch2/osc.py | |||
@@ -1,3 +1,6 @@ | |||
1 | # | ||
2 | # SPDX-License-Identifier: GPL-2.0-only | ||
3 | # | ||
1 | # ex:ts=4:sw=4:sts=4:et | 4 | # ex:ts=4:sw=4:sts=4:et |
2 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- | 5 | # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- |
3 | """ | 6 | """ |
diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py index 903a8e61ae..366da99eab 100644 --- a/bitbake/lib/bb/fetch2/perforce.py +++ b/bitbake/lib/bb/fetch2/perforce.py | |||
@@ -8,6 +8,8 @@ BitBake 'Fetch' implementation for perforce | |||
8 | # Copyright (C) 2003, 2004 Chris Larson | 8 | # Copyright (C) 2003, 2004 Chris Larson |
9 | # Copyright (C) 2016 Kodak Alaris, Inc. | 9 | # Copyright (C) 2016 Kodak Alaris, Inc. |
10 | # | 10 | # |
11 | # SPDX-License-Identifier: GPL-2.0-only | ||
12 | # | ||
11 | # This program is free software; you can redistribute it and/or modify | 13 | # This program is free software; you can redistribute it and/or modify |
12 | # it under the terms of the GNU General Public License version 2 as | 14 | # it under the terms of the GNU General Public License version 2 as |
13 | # published by the Free Software Foundation. | 15 | # published by the Free Software Foundation. |
diff --git a/bitbake/lib/bb/fetch2/repo.py b/bitbake/lib/bb/fetch2/repo.py index 8c7e81853a..066ab08fc3 100644 --- a/bitbake/lib/bb/fetch2/repo.py +++ b/bitbake/lib/bb/fetch2/repo.py | |||
@@ -10,6 +10,8 @@ BitBake "Fetch" repo (git) implementation | |||
10 | # Based on git.py which is: | 10 | # Based on git.py which is: |
11 | #Copyright (C) 2005 Richard Purdie | 11 | #Copyright (C) 2005 Richard Purdie |
12 | # | 12 | # |
13 | # SPDX-License-Identifier: GPL-2.0-only | ||
14 | # | ||
13 | # This program is free software; you can redistribute it and/or modify | 15 | # This program is free software; you can redistribute it and/or modify |
14 | # it under the terms of the GNU General Public License version 2 as | 16 | # it under the terms of the GNU General Public License version 2 as |
15 | # published by the Free Software Foundation. | 17 | # published by the Free Software Foundation. |
diff --git a/bitbake/lib/bb/fetch2/s3.py b/bitbake/lib/bb/fetch2/s3.py index 1629288622..fae7c8b0f0 100644 --- a/bitbake/lib/bb/fetch2/s3.py +++ b/bitbake/lib/bb/fetch2/s3.py | |||
@@ -13,6 +13,8 @@ The aws tool must be correctly installed and configured prior to use. | |||
13 | # Based in part on bb.fetch2.wget: | 13 | # Based in part on bb.fetch2.wget: |
14 | # Copyright (C) 2003, 2004 Chris Larson | 14 | # Copyright (C) 2003, 2004 Chris Larson |
15 | # | 15 | # |
16 | # SPDX-License-Identifier: GPL-2.0-only | ||
17 | # | ||
16 | # This program is free software; you can redistribute it and/or modify | 18 | # This program is free software; you can redistribute it and/or modify |
17 | # it under the terms of the GNU General Public License version 2 as | 19 | # it under the terms of the GNU General Public License version 2 as |
18 | # published by the Free Software Foundation. | 20 | # published by the Free Software Foundation. |
diff --git a/bitbake/lib/bb/fetch2/sftp.py b/bitbake/lib/bb/fetch2/sftp.py index 81884a6aa4..6dea6ad6b2 100644 --- a/bitbake/lib/bb/fetch2/sftp.py +++ b/bitbake/lib/bb/fetch2/sftp.py | |||
@@ -44,6 +44,8 @@ SRC_URI = "sftp://user@host.example.com/dir/path.file.txt" | |||
44 | # Based in part on bb.fetch2.wget: | 44 | # Based in part on bb.fetch2.wget: |
45 | # Copyright (C) 2003, 2004 Chris Larson | 45 | # Copyright (C) 2003, 2004 Chris Larson |
46 | # | 46 | # |
47 | # SPDX-License-Identifier: GPL-2.0-only | ||
48 | # | ||
47 | # This program is free software; you can redistribute it and/or modify | 49 | # This program is free software; you can redistribute it and/or modify |
48 | # it under the terms of the GNU General Public License version 2 as | 50 | # it under the terms of the GNU General Public License version 2 as |
49 | # published by the Free Software Foundation. | 51 | # published by the Free Software Foundation. |
diff --git a/bitbake/lib/bb/fetch2/ssh.py b/bitbake/lib/bb/fetch2/ssh.py index 6047ee417a..d416a9db87 100644 --- a/bitbake/lib/bb/fetch2/ssh.py +++ b/bitbake/lib/bb/fetch2/ssh.py | |||
@@ -29,6 +29,8 @@ IETF secsh internet draft: | |||
29 | # Copyright 2003 Holger Schurig | 29 | # Copyright 2003 Holger Schurig |
30 | # | 30 | # |
31 | # | 31 | # |
32 | # SPDX-License-Identifier: GPL-2.0-only | ||
33 | # | ||
32 | # This program is free software; you can redistribute it and/or modify | 34 | # This program is free software; you can redistribute it and/or modify |
33 | # it under the terms of the GNU General Public License version 2 as | 35 | # it under the terms of the GNU General Public License version 2 as |
34 | # published by the Free Software Foundation. | 36 | # published by the Free Software Foundation. |
diff --git a/bitbake/lib/bb/fetch2/svn.py b/bitbake/lib/bb/fetch2/svn.py index 9dcf3eb090..4249e34c49 100644 --- a/bitbake/lib/bb/fetch2/svn.py +++ b/bitbake/lib/bb/fetch2/svn.py | |||
@@ -8,6 +8,8 @@ BitBake 'Fetch' implementation for svn. | |||
8 | # Copyright (C) 2003, 2004 Chris Larson | 8 | # Copyright (C) 2003, 2004 Chris Larson |
9 | # Copyright (C) 2004 Marcin Juszkiewicz | 9 | # Copyright (C) 2004 Marcin Juszkiewicz |
10 | # | 10 | # |
11 | # SPDX-License-Identifier: GPL-2.0-only | ||
12 | # | ||
11 | # This program is free software; you can redistribute it and/or modify | 13 | # This program is free software; you can redistribute it and/or modify |
12 | # it under the terms of the GNU General Public License version 2 as | 14 | # it under the terms of the GNU General Public License version 2 as |
13 | # published by the Free Software Foundation. | 15 | # published by the Free Software Foundation. |
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 3bb3e3bb0c..89dfd4a7b2 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -10,6 +10,8 @@ BitBake build tools. | |||
10 | 10 | ||
11 | # Copyright (C) 2003, 2004 Chris Larson | 11 | # Copyright (C) 2003, 2004 Chris Larson |
12 | # | 12 | # |
13 | # SPDX-License-Identifier: GPL-2.0-only | ||
14 | # | ||
13 | # This program is free software; you can redistribute it and/or modify | 15 | # This program is free software; you can redistribute it and/or modify |
14 | # it under the terms of the GNU General Public License version 2 as | 16 | # it under the terms of the GNU General Public License version 2 as |
15 | # published by the Free Software Foundation. | 17 | # published by the Free Software Foundation. |