mirror of
https://git.netfilter.org/nftables
synced 2026-01-26 02:27:52 +00:00
src: Add GPLv2+ header to .c files of recent creation
This patch comes after a proposal of mine at NFWS 2022 that resulted in
agreement to license recent .c files under GPLv2+ by the attendees at this
meeting:
- Stefano Brivio
- Fernando F. Mancera
- Phil Sutter
- Jozsef Kadlecsik
- Florian Westphal
- Laura Garcia
- Arturo Borrero
- Pablo Neira
It has already happened that one of the external library dependencies
was moved to GPLv3+ (libreadline), resulting in a change to libedit by
default in b4dded0ca78d ("configure: default to libedit for cli").
I have added the GPLv2+ header to the following files:
Authors
-------
src/cmd.c Pablo
src/fib.c Florian
src/hash.c Pablo
src/iface.c Pablo
src/json.c Phil + fixes from occasional contributors
src/libnftables.c Eric Leblond and Phil
src/mergesort.c Elise Lenion
src/misspell.c Pablo
src/mnl.c Pablo + fixes from occasional contributors
src/monitor.c Arturo
src/numgen.c Pablo
src/osf.c Fernando
src/owner.c Pablo
src/parser_json.c Phil + fixes from occasional contributors
src/print.c Phil
src/xfrm.c Florian
src/xt.c Pablo
Eric Leblond and Elise Lennion did not attend NFWS 2022, but they
acknowledged this license update already in the past when I proposed
this to them in private emails.
Update COPYING file too to refer that we are now moving towards GPLv2 or
any later.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
bf9164215c
commit
77fd4fa282
8
COPYING
8
COPYING
@ -1,8 +1,8 @@
|
||||
Original author of nftables distributed the code under the terms of the
|
||||
GPL version 2 *only*. New code though is moving to GPL version 2 or any
|
||||
later which is the preferred license for this project these days.
|
||||
|
||||
nftables is distributed under the terms of the GPL version 2. Note that
|
||||
*only* version 2 of the GPL applies, not "any later version".
|
||||
|
||||
Patrick McHardy <kaber@trash.net>
|
||||
Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
|
||||
@ -1,3 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2020 Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <erec.h>
|
||||
#include <mnl.h>
|
||||
#include <cmd.h>
|
||||
|
||||
@ -4,8 +4,8 @@
|
||||
* Copyright (c) Red Hat GmbH. Author: Florian Westphal <fw@strlen.de>
|
||||
*
|
||||
* This program 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.
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <nftables.h>
|
||||
|
||||
@ -4,8 +4,8 @@
|
||||
* Copyright (c) 2016 Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
*
|
||||
* This program 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.
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <nftables.h>
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
* Copyright (c) 2015 Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
*
|
||||
* This program 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.
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@ -1,3 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) Red Hat GmbH. Author: Phil Sutter <phil@nwl.cc>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -2,9 +2,8 @@
|
||||
* Copyright (c) 2017 Eric Leblond <eric@regit.org>
|
||||
*
|
||||
* This program 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.
|
||||
*
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
#include <nftables/libnftables.h>
|
||||
#include <erec.h>
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
* Copyright (c) 2017 Elise Lennion <elise.lennion@gmail.com>
|
||||
*
|
||||
* This program 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.
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@ -1,3 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2018 Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
* Copyright (c) 2013-2017 Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
*
|
||||
* This program 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.
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*
|
||||
* Development of this code funded by Astaro AG (http://www.astaro.com/)
|
||||
*/
|
||||
|
||||
@ -2,8 +2,8 @@
|
||||
* Copyright (c) 2015 Arturo Borrero Gonzalez <arturo@netfilter.org>
|
||||
*
|
||||
* This program 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.
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@ -4,8 +4,8 @@
|
||||
* Copyright (c) 2016 Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
*
|
||||
* This program 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.
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <nftables.h>
|
||||
|
||||
@ -1,3 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2018 Fernando Fernandez Mancera <ffmancera@riseup.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <nftables.h>
|
||||
#include <expression.h>
|
||||
#include <utils.h>
|
||||
|
||||
@ -1,3 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@ -1,3 +1,11 @@
|
||||
/*
|
||||
* Copyright (c) Red Hat GmbH. Author: Phil Sutter <phil@nwl.cc>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <errno.h>
|
||||
#include <stdint.h> /* needed by gmputil.h */
|
||||
|
||||
@ -2,9 +2,8 @@
|
||||
* Copyright (c) 2017 Phil Sutter <phil@nwl.cc>
|
||||
*
|
||||
* This program 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.
|
||||
*
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
@ -1,9 +1,11 @@
|
||||
/*
|
||||
* XFRM (ipsec) expression
|
||||
*
|
||||
* Copyright (c) Red Hat GmbH. Author: Florian Westphal <fw@strlen.de>
|
||||
*
|
||||
* This program 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.
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <nftables.h>
|
||||
|
||||
6
src/xt.c
6
src/xt.c
@ -2,9 +2,9 @@
|
||||
* Copyright (c) 2013-2015 Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
* Copyright (c) 2015 Arturo Borrero Gonzalez <arturo@debian.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modifyi
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 (or any
|
||||
* later) as published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user