From patchwork Sun Nov 19 14:05:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sven Eckelmann X-Patchwork-Id: 17126 X-Patchwork-Delegate: sw@simonwunderlich.de Return-Path: X-Original-To: patchwork@open-mesh.org Delivered-To: patchwork@open-mesh.org Received: from open-mesh.org (localhost [IPv6:::1]) by open-mesh.org (Postfix) with ESMTP id B2C5282C1A; Sun, 19 Nov 2017 15:08:41 +0100 (CET) Authentication-Results: open-mesh.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=narfation.org header.i=@narfation.org header.b="zxyFxDpb"; dkim-atps=neutral Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=79.140.41.39; helo=v3-1039.vlinux.de; envelope-from=sven@narfation.org; receiver= Received: from v3-1039.vlinux.de (narfation.org [79.140.41.39]) by open-mesh.org (Postfix) with ESMTPS id 11CD982A9D for ; Sun, 19 Nov 2017 15:06:09 +0100 (CET) Received: from sven-desktop.home.narfation.org (p200300C593EBC3FD792CD3ECD963554B.dip0.t-ipconnect.de [IPv6:2003:c5:93eb:c3fd:792c:d3ec:d963:554b]) by v3-1039.vlinux.de (Postfix) with ESMTPSA id 94303110116; Sun, 19 Nov 2017 15:06:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=narfation.org; s=20121; t=1511100365; bh=EF+LtLFFzrLAdaBdZQi9j4Wz2IP6r+V4IRnTKaP/inM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zxyFxDpbCmW6R3b7hZ8Zp2z+SnhCE5ITn+G4XTOPVMyIFQCuuSAD73W+38kjng1pg N1tuDy97gzn11U/YhyxKHnEBwVzXPr3v+454tn+mhMUgdC5c3nuv3phbaRtmFjc1Bp pTFH+TiRH4gdJiXwOKCyeAUIauYYo9tPFpguC40k= From: Sven Eckelmann To: b.a.t.m.a.n@lists.open-mesh.org Date: Sun, 19 Nov 2017 15:05:58 +0100 Message-Id: <20171119140602.24504-3-sven@narfation.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171119140602.24504-1-sven@narfation.org> References: <20171119140602.24504-1-sven@narfation.org> Subject: [B.A.T.M.A.N.] [PATCH 2/6] alfred: Add License-Filename to GPL-2.0 files X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking Errors-To: b.a.t.m.a.n-bounces@lists.open-mesh.org Sender: "B.A.T.M.A.N" The FSFE REUSE practices [1] recommend to add a "License-Filename" tag to files which don't contain the complete license text. The GPL-2.0 files usually only have a small notice at the beginning of the file. The longer license is usually stored in a separate file and therefore should be referenced accordingly. Signed-off-by: Sven Eckelmann --- Makefile | 1 + alfred.h | 1 + batadv_query.c | 1 + batadv_query.h | 1 + batadv_querynl.c | 1 + batadv_querynl.h | 1 + client.c | 1 + debugfs.c | 1 + debugfs.h | 1 + gpsd/Makefile | 1 + gpsd/alfred-gpsd.c | 1 + gpsd/alfred-gpsd.h | 1 + hash.c | 1 + hash.h | 1 + list.h | 1 + main.c | 1 + netlink.c | 1 + netlink.h | 1 + netsock.c | 1 + packet.h | 1 + recv.c | 1 + send.c | 1 + server.c | 1 + unix_sock.c | 1 + util.c | 1 + vis/Makefile | 1 + vis/vis.c | 1 + vis/vis.h | 1 + 28 files changed, 28 insertions(+) diff --git a/Makefile b/Makefile index 4c1c6b5..1662412 100755 --- a/Makefile +++ b/Makefile @@ -17,6 +17,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA # +# License-Filename: LICENSES/preferred/GPL-2.0 # alfred build BINARY_NAME = alfred diff --git a/alfred.h b/alfred.h index f52e66b..df0bd9a 100644 --- a/alfred.h +++ b/alfred.h @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #ifndef SOURCE_VERSION diff --git a/batadv_query.c b/batadv_query.c index 78b92cd..387950a 100644 --- a/batadv_query.c +++ b/batadv_query.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include "alfred.h" diff --git a/batadv_query.h b/batadv_query.h index dc2b135..5633322 100644 --- a/batadv_query.h +++ b/batadv_query.h @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #ifndef _BATADV_QUERY_H #define _BATADV_QUERY_H diff --git a/batadv_querynl.c b/batadv_querynl.c index ca9ee2c..c197d24 100644 --- a/batadv_querynl.c +++ b/batadv_querynl.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include "batadv_querynl.h" diff --git a/batadv_querynl.h b/batadv_querynl.h index 4b42ed5..90f6546 100644 --- a/batadv_querynl.h +++ b/batadv_querynl.h @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #ifndef _BATADV_QUERYNL_H diff --git a/client.c b/client.c index 4102046..27dbc4a 100644 --- a/client.c +++ b/client.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include diff --git a/debugfs.c b/debugfs.c index fc39322..e90c3a8 100644 --- a/debugfs.c +++ b/debugfs.c @@ -16,6 +16,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include "debugfs.h" diff --git a/debugfs.h b/debugfs.h index b4dc6bb..5404a45 100644 --- a/debugfs.h +++ b/debugfs.h @@ -16,6 +16,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #ifndef __DEBUGFS_H__ diff --git a/gpsd/Makefile b/gpsd/Makefile index da4a553..dae2b48 100755 --- a/gpsd/Makefile +++ b/gpsd/Makefile @@ -17,6 +17,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA # +# License-Filename: LICENSES/preferred/GPL-2.0 # alfred-gpsd build BINARY_NAME = alfred-gpsd diff --git a/gpsd/alfred-gpsd.c b/gpsd/alfred-gpsd.c index 01e61a0..7147136 100644 --- a/gpsd/alfred-gpsd.c +++ b/gpsd/alfred-gpsd.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include "alfred-gpsd.h" diff --git a/gpsd/alfred-gpsd.h b/gpsd/alfred-gpsd.h index a4a8359..0a3a31f 100644 --- a/gpsd/alfred-gpsd.h +++ b/gpsd/alfred-gpsd.h @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include diff --git a/hash.c b/hash.c index 5a3cdef..ebdcb47 100644 --- a/hash.c +++ b/hash.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include "hash.h" diff --git a/hash.h b/hash.h index f6604d0..3111b49 100644 --- a/hash.h +++ b/hash.h @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #ifndef _BATMAN_HASH_H #define _BATMAN_HASH_H diff --git a/list.h b/list.h index 2ac2c87..5d4c25a 100644 --- a/list.h +++ b/list.h @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #ifndef _LINUX_LIST_H diff --git a/main.c b/main.c index cf1e460..be79fb9 100644 --- a/main.c +++ b/main.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include diff --git a/netlink.c b/netlink.c index 7ef4308..7678f99 100644 --- a/netlink.c +++ b/netlink.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include "netlink.h" diff --git a/netlink.h b/netlink.h index a4471a1..446948c 100644 --- a/netlink.h +++ b/netlink.h @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #ifndef _ALFRED_NETLINK_H diff --git a/netsock.c b/netsock.c index c00ea2e..ced8fbd 100644 --- a/netsock.c +++ b/netsock.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include diff --git a/packet.h b/packet.h index 425459f..a132326 100644 --- a/packet.h +++ b/packet.h @@ -15,6 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #ifndef _ALFRED_PACKET_H diff --git a/recv.c b/recv.c index ebc3041..0f8004e 100644 --- a/recv.c +++ b/recv.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include diff --git a/send.c b/send.c index b566503..9c1e31b 100644 --- a/send.c +++ b/send.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include diff --git a/server.c b/server.c index 63a3b2a..199d38c 100644 --- a/server.c +++ b/server.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include diff --git a/unix_sock.c b/unix_sock.c index 4a8c6e0..7f5e99c 100644 --- a/unix_sock.c +++ b/unix_sock.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include diff --git a/util.c b/util.c index ed83895..87261a0 100644 --- a/util.c +++ b/util.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include diff --git a/vis/Makefile b/vis/Makefile index b69672c..63500c9 100755 --- a/vis/Makefile +++ b/vis/Makefile @@ -17,6 +17,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA # +# License-Filename: LICENSES/preferred/GPL-2.0 # batadv-vis build BINARY_NAME = batadv-vis diff --git a/vis/vis.c b/vis/vis.c index 98ff02f..148c581 100644 --- a/vis/vis.c +++ b/vis/vis.c @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include "vis.h" diff --git a/vis/vis.h b/vis/vis.h index 4b12248..b99e745 100644 --- a/vis/vis.h +++ b/vis/vis.h @@ -17,6 +17,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA * + * License-Filename: LICENSES/preferred/GPL-2.0 */ #include