b.a.t.m.a.n.lists.open-mesh.org archive mirror
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: [B.A.T.M.A.N.] [PATCH 6/9] batman-adv: Add license headers to compat files
Date: Sun, 19 Nov 2017 15:05:14 +0100	[thread overview]
Message-ID: <20171119140517.24329-7-sven@narfation.org> (raw)
In-Reply-To: <20171119140517.24329-1-sven@narfation.org>

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 compat-include/linux/if_bridge.h    | 23 +++++++++++++++++++++++
 compat-include/linux/igmp.h         | 23 +++++++++++++++++++++++
 compat-include/linux/nl80211.h      | 23 +++++++++++++++++++++++
 compat-include/net/addrconf.h       | 23 +++++++++++++++++++++++
 compat-include/net/cfg80211.h       | 23 +++++++++++++++++++++++
 compat-include/net/ip6_checksum.h   | 23 +++++++++++++++++++++++
 compat-include/net/ipv6.h           | 23 +++++++++++++++++++++++
 compat-include/uapi/linux/nl80211.h | 23 +++++++++++++++++++++++
 compat-patches/README               |  2 ++
 compat-patches/replacements.sh      | 18 ++++++++++++++++++
 compat-sources/Makefile             | 19 +++++++++++++++++++
 gen-compat-autoconf.sh              | 18 ++++++++++++++++++
 12 files changed, 241 insertions(+)

diff --git a/compat-include/linux/if_bridge.h b/compat-include/linux/if_bridge.h
index 9aae0186..72e7afb3 100644
--- a/compat-include/linux/if_bridge.h
+++ b/compat-include/linux/if_bridge.h
@@ -1,3 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright (C) 2007-2017  B.A.T.M.A.N. contributors:
+ *
+ * Marek Lindner, Simon Wunderlich
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License 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
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * License-Filename: LICENSES/preferred/GPL-2.0
+ *
+ * This file contains macros for maintaining compatibility with older versions
+ * of the Linux kernel.
+ */
+
 #ifndef _NET_BATMAN_ADV_COMPAT_LINUX_IF_BRIDGE_H_
 #define _NET_BATMAN_ADV_COMPAT_LINUX_IF_BRIDGE_H_
 
diff --git a/compat-include/linux/igmp.h b/compat-include/linux/igmp.h
index f61ab79c..7ccf0939 100644
--- a/compat-include/linux/igmp.h
+++ b/compat-include/linux/igmp.h
@@ -1,3 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright (C) 2007-2017  B.A.T.M.A.N. contributors:
+ *
+ * Marek Lindner, Simon Wunderlich
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License 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
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * License-Filename: LICENSES/preferred/GPL-2.0
+ *
+ * This file contains macros for maintaining compatibility with older versions
+ * of the Linux kernel.
+ */
+
 #ifndef _NET_BATMAN_ADV_COMPAT_LINUX_IGMP_H_
 #define _NET_BATMAN_ADV_COMPAT_LINUX_IGMP_H_
 
diff --git a/compat-include/linux/nl80211.h b/compat-include/linux/nl80211.h
index e6654df8..ae0b3726 100644
--- a/compat-include/linux/nl80211.h
+++ b/compat-include/linux/nl80211.h
@@ -1,3 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright (C) 2007-2017  B.A.T.M.A.N. contributors:
+ *
+ * Marek Lindner, Simon Wunderlich
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License 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
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * License-Filename: LICENSES/preferred/GPL-2.0
+ *
+ * This file contains macros for maintaining compatibility with older versions
+ * of the Linux kernel.
+ */
+
 #ifndef _NET_BATMAN_ADV_COMPAT_LINUX_NL80211_H_
 #define _NET_BATMAN_ADV_COMPAT_LINUX_NL80211_H_
 
diff --git a/compat-include/net/addrconf.h b/compat-include/net/addrconf.h
index 69c45d06..9b185bbd 100644
--- a/compat-include/net/addrconf.h
+++ b/compat-include/net/addrconf.h
@@ -1,3 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright (C) 2007-2017  B.A.T.M.A.N. contributors:
+ *
+ * Marek Lindner, Simon Wunderlich
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License 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
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * License-Filename: LICENSES/preferred/GPL-2.0
+ *
+ * This file contains macros for maintaining compatibility with older versions
+ * of the Linux kernel.
+ */
+
 #ifndef _NET_BATMAN_ADV_COMPAT_NET_ADDRCONF_H_
 #define _NET_BATMAN_ADV_COMPAT_NET_ADDRCONF_H_
 
diff --git a/compat-include/net/cfg80211.h b/compat-include/net/cfg80211.h
index 6e0eca3c..475635e2 100644
--- a/compat-include/net/cfg80211.h
+++ b/compat-include/net/cfg80211.h
@@ -1,3 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright (C) 2007-2017  B.A.T.M.A.N. contributors:
+ *
+ * Marek Lindner, Simon Wunderlich
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License 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
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * License-Filename: LICENSES/preferred/GPL-2.0
+ *
+ * This file contains macros for maintaining compatibility with older versions
+ * of the Linux kernel.
+ */
+
 #ifndef _NET_BATMAN_ADV_COMPAT_NET_CFG80211_H_
 #define _NET_BATMAN_ADV_COMPAT_NET_CFG80211_H_
 
diff --git a/compat-include/net/ip6_checksum.h b/compat-include/net/ip6_checksum.h
index fda0c07d..09f191df 100644
--- a/compat-include/net/ip6_checksum.h
+++ b/compat-include/net/ip6_checksum.h
@@ -1,3 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright (C) 2007-2017  B.A.T.M.A.N. contributors:
+ *
+ * Marek Lindner, Simon Wunderlich
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License 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
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * License-Filename: LICENSES/preferred/GPL-2.0
+ *
+ * This file contains macros for maintaining compatibility with older versions
+ * of the Linux kernel.
+ */
+
 #ifndef _NET_BATMAN_ADV_COMPAT_NET_IP6_CHECKSUM_H_
 #define _NET_BATMAN_ADV_COMPAT_NET_IP6_CHECKSUM_H_
 
diff --git a/compat-include/net/ipv6.h b/compat-include/net/ipv6.h
index 1e190d85..b4a1e18f 100644
--- a/compat-include/net/ipv6.h
+++ b/compat-include/net/ipv6.h
@@ -1,3 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright (C) 2007-2017  B.A.T.M.A.N. contributors:
+ *
+ * Marek Lindner, Simon Wunderlich
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License 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
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * License-Filename: LICENSES/preferred/GPL-2.0
+ *
+ * This file contains macros for maintaining compatibility with older versions
+ * of the Linux kernel.
+ */
+
 #ifndef _NET_BATMAN_ADV_COMPAT_NET_IPV6_H_
 #define _NET_BATMAN_ADV_COMPAT_NET_IPV6_H_
 
diff --git a/compat-include/uapi/linux/nl80211.h b/compat-include/uapi/linux/nl80211.h
index 06f5625a..9b18178e 100644
--- a/compat-include/uapi/linux/nl80211.h
+++ b/compat-include/uapi/linux/nl80211.h
@@ -1,3 +1,26 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/* Copyright (C) 2007-2017  B.A.T.M.A.N. contributors:
+ *
+ * Marek Lindner, Simon Wunderlich
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License 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
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
+ *
+ * License-Filename: LICENSES/preferred/GPL-2.0
+ *
+ * This file contains macros for maintaining compatibility with older versions
+ * of the Linux kernel.
+ */
+
 #ifndef _NET_BATMAN_ADV_COMPAT_UAPI_LINUX_NL80211_H_
 #define _NET_BATMAN_ADV_COMPAT_UAPI_LINUX_NL80211_H_
 
diff --git a/compat-patches/README b/compat-patches/README
index 3bbddb3d..ceafb1da 100644
--- a/compat-patches/README
+++ b/compat-patches/README
@@ -1,3 +1,5 @@
+.. SPDX-License-Identifier: GPL-2.0
+
 WARNING
 =======
 
diff --git a/compat-patches/replacements.sh b/compat-patches/replacements.sh
index 7dcb953a..021261f5 100755
--- a/compat-patches/replacements.sh
+++ b/compat-patches/replacements.sh
@@ -1,4 +1,22 @@
 #! /bin/sh
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2007-2017  B.A.T.M.A.N. contributors:
+#
+# Marek Lindner, Simon Wunderlich
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of version 2 of the GNU General Public
+# License 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
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+# License-Filename: LICENSES/preferred/GPL-2.0
 
 set -e
 
diff --git a/compat-sources/Makefile b/compat-sources/Makefile
index c8bae49a..5903df92 100644
--- a/compat-sources/Makefile
+++ b/compat-sources/Makefile
@@ -1,3 +1,22 @@
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2007-2017  B.A.T.M.A.N. contributors:
+#
+# Marek Lindner, Simon Wunderlich
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of version 2 of the GNU General Public
+# License 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
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+# License-Filename: LICENSES/preferred/GPL-2.0
+
 batman-adv-$(CONFIG_BATMAN_ADV_MCAST) += ../../../compat-sources/net/core/skbuff.o
 batman-adv-$(CONFIG_BATMAN_ADV_MCAST) += ../../../compat-sources/net/ipv4/igmp.o
 batman-adv-$(CONFIG_BATMAN_ADV_MCAST) += ../../../compat-sources/net/ipv6/mcast_snoop.o
diff --git a/gen-compat-autoconf.sh b/gen-compat-autoconf.sh
index cf36e558..e598655e 100755
--- a/gen-compat-autoconf.sh
+++ b/gen-compat-autoconf.sh
@@ -1,4 +1,22 @@
 #! /bin/sh
+# SPDX-License-Identifier: GPL-2.0
+# Copyright (C) 2007-2017  B.A.T.M.A.N. contributors:
+#
+# Marek Lindner, Simon Wunderlich
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of version 2 of the GNU General Public
+# License 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
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
+#
+# License-Filename: LICENSES/preferred/GPL-2.0
 
 set -e
 
-- 
2.11.0


  parent reply	other threads:[~2017-11-19 14:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-19 14:05 [B.A.T.M.A.N.] [PATCH 0/9] batman-adv: License cleanup Sven Eckelmann
2017-11-19 14:05 ` [B.A.T.M.A.N.] [PATCH 1/9] batman-adv: Add GPL-2.0 as Linux's LICENSES/preferred/GPL-2.0 Sven Eckelmann
2017-11-19 14:05 ` [B.A.T.M.A.N.] [PATCH 2/9] batman-adv: Add License-Filename to GPL-2.0 files Sven Eckelmann
2017-11-19 14:05 ` [B.A.T.M.A.N.] [PATCH 3/9] batman-adv: Add SPDX license identifier above copyright header Sven Eckelmann
2017-11-19 14:05 ` [B.A.T.M.A.N.] [PATCH 4/9] batman-adv: Add SPDX license identifier to batman-adv.rst Sven Eckelmann
2017-11-19 14:05 ` [B.A.T.M.A.N.] [PATCH 5/9] batman-adv: Add license header to Kconfig Sven Eckelmann
2017-11-19 14:05 ` Sven Eckelmann [this message]
2017-11-19 14:05 ` [B.A.T.M.A.N.] [PATCH 7/9] batman-adv: Mark remaining files as GPL-2.0 Sven Eckelmann
2017-12-01 13:39   ` [B.A.T.M.A.N.] [PATCH v2 " Sven Eckelmann
2017-11-19 14:05 ` [B.A.T.M.A.N.] [PATCH 8/9] batman-adv: Change batman_adv.h license to MIT Sven Eckelmann
2017-11-20  2:01   ` Antonio Quartulli
2017-11-20  8:30   ` Matthias Schiffer
2017-11-20 12:33   ` Simon Wunderlich
2017-11-23 14:36   ` Sven Eckelmann
2017-11-23 15:43     ` Andrew Lunn
2017-11-23 18:13       ` Sven Eckelmann
2017-11-19 14:05 ` [B.A.T.M.A.N.] [PATCH 9/9] batman-adv: Import Linux's LICENSES/preferred/MIT Sven Eckelmann
2017-12-06 10:43 ` [B.A.T.M.A.N.] [PATCH 0/9] batman-adv: License cleanup Sven Eckelmann

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=20171119140517.24329-7-sven@narfation.org \
    --to=sven@narfation.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).