[v2,5/6] batctl: Mark remaining files as GPL-2.0

Message ID 20171201134042.8531-1-sven@narfation.org (mailing list archive)
State Accepted, archived
Delegated to: Sven Eckelmann
Headers
Series batctl: License cleanup |

Commit Message

Sven Eckelmann Dec. 1, 2017, 1:40 p.m. UTC
  Some files were not explicitly marked with any license. It is therefore
assumed that these are licensed under the GPL-2.0. Make this unambiguous by
adding this information direct to the file using the SPDX license
identifier. The FSFE REUSE *.license annotation file is used for files
which don't allow comments.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
v2:
- Removed CHANGELOG.license README.license
---
 .gitattributes   | 3 +++
 bat-hosts.sample | 3 +++
 man/batctl.8     | 2 ++
 3 files changed, 8 insertions(+)
  

Patch

diff --git a/.gitattributes b/.gitattributes
index 1d2a7e9..402ecae 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,3 +1,6 @@ 
+# SPDX-License-Identifier: GPL-2.0
+# License-Filename: LICENSES/preferred/GPL-2.0
+
 /.gitignore export-ignore
 /.gitattributes export-ignore
 *.c   diff=cpp
diff --git a/bat-hosts.sample b/bat-hosts.sample
index 6042b35..ba0d776 100644
--- a/bat-hosts.sample
+++ b/bat-hosts.sample
@@ -1 +1,4 @@ 
+# SPDX-License-Identifier: GPL-2.0
+# License-Filename: LICENSES/preferred/GPL-2.0
+
 0:d2:58:ca:91:e8	example
diff --git a/man/batctl.8 b/man/batctl.8
index 9ee0e31..7cf66ca 100644
--- a/man/batctl.8
+++ b/man/batctl.8
@@ -1,3 +1,5 @@ 
+.\" SPDX-License-Identifier: GPL-2.0
+.\" License-Filename: LICENSES/preferred/GPL-2.0
 .\"                                      Hey, EMACS: -*- nroff -*-
 .\" First parameter, NAME, should be all caps
 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection