mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] README: add licensing information
@ 2018-12-30  2:18 Roland Hieber
  2019-01-03 11:05 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Roland Hieber @ 2018-12-30  2:18 UTC (permalink / raw)
  To: barebox; +Cc: Roland Hieber

Now that we are moving away from boilerplate code towards SPDX license
tags in individual file headers, we should have a short note about what
these tags mean. Also, until now, there was effectively no explicit
information that barebox is licensed under GPLv2 (only). This could have
been interpolated from the existence of a GPLv2 text in ./COPYING (and
from most of the individual file headers… have fun reading all of them),
but a warranty and copyright notice was still missing. Add those as a
catch-all for the project to ease application of GPLv2 article 0:

      0. This License applies to any program or other work which contains
    a notice placed by the copyright holder saying it may be distributed
    under the terms of this General Public License. […]

and article 1:

      1. You may copy and distribute verbatim copies of the Program's
    source code as you receive it, in any medium, provided that you
    conspicuously and appropriately publish on each copy an appropriate
    copyright notice and disclaimer of warranty; […]

Since barebox goes back to U-Boot, I tried to find explicit project-wide
copyright lines, but the only one I could find was the one from U-Boot's
old README in commit 7e149c897b95b40752. If there are additional
copyright holders, those are probably only present in the respective
file headers.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 README | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/README b/README
index 940e1f96dd..dada97cab3 100644
--- a/README
+++ b/README
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
 Barebox
 -------
 
@@ -222,3 +224,33 @@ are the release rules:
   does never change, in order to make life easier for distribution
   people.
 
+
+License
+-------
+
+Copyright (C) 2000 - 2005 Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+Copyright (C) 2018 Sascha Hauer, Pengutronix, and individual contributors
+
+Barebox is free software: you can redistribute it and/or modify it under the
+terms of the GNU General Public License, version 2, as published by the Free
+Software Foundation.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License in the file
+COPYING along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+Individual files may contain the following SPDX license tags as a shorthand for
+the above copyright and warranty notices:
+
+    SPDX-License-Identifier: GPL-2.0-only
+    SPDX-License-Identifier: GPL-2.0-or-later
+
+This eases machine processing of licensing information based on the SPDX
+License Identifiers that are available at http://spdx.org/licenses/.
+
+Also note that some files in the Barebox source tree are available under
+several different GPLv2-compatible open-source licenses. This fact is noted
+clearly in the file headers of the respective files.
-- 
2.19.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH] README: add licensing information
  2018-12-30  2:18 [PATCH] README: add licensing information Roland Hieber
@ 2019-01-03 11:05 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2019-01-03 11:05 UTC (permalink / raw)
  To: Roland Hieber; +Cc: barebox

On Sun, Dec 30, 2018 at 03:18:23AM +0100, Roland Hieber wrote:
> Now that we are moving away from boilerplate code towards SPDX license
> tags in individual file headers, we should have a short note about what
> these tags mean. Also, until now, there was effectively no explicit
> information that barebox is licensed under GPLv2 (only). This could have
> been interpolated from the existence of a GPLv2 text in ./COPYING (and
> from most of the individual file headers… have fun reading all of them),
> but a warranty and copyright notice was still missing. Add those as a
> catch-all for the project to ease application of GPLv2 article 0:
> 
>       0. This License applies to any program or other work which contains
>     a notice placed by the copyright holder saying it may be distributed
>     under the terms of this General Public License. […]
> 
> and article 1:
> 
>       1. You may copy and distribute verbatim copies of the Program's
>     source code as you receive it, in any medium, provided that you
>     conspicuously and appropriately publish on each copy an appropriate
>     copyright notice and disclaimer of warranty; […]
> 
> Since barebox goes back to U-Boot, I tried to find explicit project-wide
> copyright lines, but the only one I could find was the one from U-Boot's
> old README in commit 7e149c897b95b40752. If there are additional
> copyright holders, those are probably only present in the respective
> file headers.
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  README | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)

Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2019-01-03 11:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-30  2:18 [PATCH] README: add licensing information Roland Hieber
2019-01-03 11:05 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox