Use SPDX License Identifiers in headers
Phil Sutter
reviewerPATCH v2 1/1 Use SPDX License Identifiers in headers
Replace the copyright notice in header comments by an equivalent SPDX-License-Identifier string as separate comment in line 1. Drop resulting empty lines if duplicate or at the bottom of the comment. Leave any other header comment content in place.
This also fixes for an incomplete notice in examples/nft-ruleset-get.c since commit c335442eefcca ("src: incorrect header refers to GPLv2 only").
---
Changes since v1:
- Put the label into its own comment in line 1, as suggested by Pablo.
--- examples/nft-chain-add.c | 6 +----- examples/nft-chain-del.c | 6 +----- examples/nft-chain-get.c | 6 +----- examples/nft-compat-get.c | 6 +----- examples/nft-ct-expectation-add.c | 6 +----- examples/nft-ct-expectation-del.c | 6 +----- examples/nft-ct-expectation-get.c | 6 +----- examples/nft-ct-helper-add.c | 6 +----- examples/nft-ct-helper-del.c | 6 +----- examples/nft-ct-helper-get.c | 6 +----- examples/nft-ct-timeout-add.c | 6 +----- examples/nft-ct-timeout-del.c | 6 +----- examples/nft-ct-timeout-get.c | 6 +----- examples/nft-events.c | 6 +----- examples/nft-map-add.c | 6 +----- examples/nft-obj-add.c | 6 +----- examples/nft-obj-del.c | 6 +----- examples/nft-obj-get.c | 6 +----- examples/nft-rule-add.c | 6 +----- examples/nft-rule-ct-expectation-add.c | 6 +----- examples/nft-rule-ct-helper-add.c | 6 +----- examples/nft-rule-ct-timeout-add.c | 6 +----- examples/nft-rule-del.c | 6 +----- examples/nft-rule-get.c | 6 +----- examples/nft-ruleset-get.c | 6 +----- examples/nft-set-add.c | 6 +----- examples/nft-set-del.c | 6 +----- examples/nft-set-elem-add.c | 6 +----- examples/nft-set-elem-del.c | 6 +----- examples/nft-set-elem-get.c | 6 +----- examples/nft-set-get.c | 6 +----- examples/nft-table-add.c | 6 +----- examples/nft-table-del.c | 6 +----- examples/nft-table-get.c | 6 +----- examples/nft-table-upd.c | 6 +----- src/batch.c | 6 +----- src/chain.c | 6 +----- src/common.c | 6 +----- src/expr.c | 6 +----- src/expr/bitwise.c | 6 +----- src/expr/byteorder.c | 6 +----- src/expr/cmp.c | 6 +----- src/expr/connlimit.c | 6 +----- src/expr/counter.c | 6 +----- src/expr/ct.c | 6 +----- src/expr/data_reg.c | 6 +----- src/expr/dup.c | 6 +----- src/expr/dynset.c | 6 +----- src/expr/exthdr.c | 6 +----- src/expr/fib.c | 6 +----- src/expr/fwd.c | 6 +----- src/expr/hash.c | 7 +------ src/expr/immediate.c | 6 +----- src/expr/inner.c | 6 +----- src/expr/last.c | 6 +----- src/expr/limit.c | 6 +----- src/expr/log.c | 6 +----- src/expr/lookup.c | 6 +----- src/expr/masq.c | 6 +----- src/expr/match.c | 6 +----- src/expr/meta.c | 6 +----- src/expr/nat.c | 6 +----- src/expr/numgen.c | 7 +------ src/expr/objref.c | 6 +----- src/expr/payload.c | 6 +----- src/expr/queue.c | 7 +------ src/expr/quota.c | 6 +----- src/expr/range.c | 6 +----- src/expr/redir.c | 6 +----- src/expr/reject.c | 6 +----- src/expr/rt.c | 6 +----- src/expr/socket.c | 6 +----- src/expr/target.c | 6 +----- src/expr/tproxy.c | 6 +----- src/expr/tunnel.c | 6 +----- src/expr/xfrm.c | 7 +------ src/gen.c | 6 +----- src/obj/counter.c | 6 +----- src/obj/ct_expect.c | 6 +----- src/obj/ct_helper.c | 6 +----- src/obj/ct_timeout.c | 6 +----- src/obj/limit.c | 6 +----- src/obj/quota.c | 6 +----- src/obj/secmark.c | 6 +----- src/obj/tunnel.c | 6 +----- src/object.c | 6 +----- src/rule.c | 6 +----- src/ruleset.c | 6 +----- src/set.c | 6 +----- src/set_elem.c | 6 +----- src/str_array.c | 3 +-- src/table.c | 6 +----- src/trace.c | 6 +----- src/udata.c | 6 +----- src/utils.c | 6 +----- tests/nft-chain-test.c | 7 +------ tests/nft-expr_bitwise-test.c | 7 +------ tests/nft-expr_byteorder-test.c | 7 +------ tests/nft-expr_cmp-test.c | 7 +------ tests/nft-expr_counter-test.c | 7 +------ tests/nft-expr_ct-test.c | 7 +------ tests/nft-expr_dup-test.c | 7 +------ tests/nft-expr_exthdr-test.c | 7 +------ tests/nft-expr_fwd-test.c | 7 +------ tests/nft-expr_hash-test.c | 7 +------ tests/nft-expr_immediate-test.c | 7 +------ tests/nft-expr_limit-test.c | 7 +------ tests/nft-expr_log-test.c | 7 +------ tests/nft-expr_lookup-test.c | 7 +------ tests/nft-expr_masq-test.c | 7 +------ tests/nft-expr_match-test.c | 7 +------ tests/nft-expr_meta-test.c | 7 +------ tests/nft-expr_nat-test.c | 7 +------ tests/nft-expr_numgen-test.c | 7 +------ tests/nft-expr_objref-test.c | 7 +------ tests/nft-expr_payload-test.c | 7 +------ tests/nft-expr_queue-test.c | 7 +------ tests/nft-expr_quota-test.c | 7 +------ tests/nft-expr_range-test.c | 7 +------ tests/nft-expr_redir-test.c | 7 +------ tests/nft-expr_reject-test.c | 7 +------ tests/nft-expr_target-test.c | 7 +------ tests/nft-object-test.c | 7 +------ tests/nft-rule-test.c | 7 +------ tests/nft-set-test.c | 7 +------ tests/nft-table-test.c | 7 +------ 126 files changed, 126 insertions(+), 662 deletions(-)
examples/nft-chain-add.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-chain-del.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-chain-get.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-compat-get.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-ct-expectation-add.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2019 by Stéphane Veyret <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <time.h>
examples/nft-ct-expectation-del.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2019 by Stéphane Veyret <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdlib.h>
examples/nft-ct-expectation-get.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2019 by Stéphane Veyret <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdlib.h>
examples/nft-ct-helper-add.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2016 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdlib.h>
examples/nft-ct-helper-del.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-ct-helper-get.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-ct-timeout-add.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2016 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdlib.h>
examples/nft-ct-timeout-del.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-ct-timeout-get.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-events.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-map-add.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2016 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdlib.h>
examples/nft-obj-add.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2016 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdlib.h>
examples/nft-obj-del.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-obj-get.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-rule-add.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-rule-ct-expectation-add.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2019 by Stéphane Veyret <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdlib.h>
examples/nft-rule-ct-helper-add.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-rule-ct-timeout-add.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-rule-del.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-rule-get.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-ruleset-get.c +1 -5
@@ -1,14 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2013 Arturo Borrero Gonzalez <[email protected]> * * based on previous code from: * * Copyright (c) 2013 Pablo Neira Ayuso <[email protected]> -* -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdlib.h>
examples/nft-set-add.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-set-del.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-set-elem-add.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-set-elem-del.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-set-elem-get.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-set-get.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-table-add.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-table-del.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-table-get.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
examples/nft-table-upd.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This software has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/batch.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2013-2015 Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include "internal.h"
src/chain.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */ #include "internal.h"
src/common.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdlib.h>
src/expr.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */ #include "internal.h"
src/expr/bitwise.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/byteorder.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/cmp.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/connlimit.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2018 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/expr/counter.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/ct.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/data_reg.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/dup.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2015 Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/expr/dynset.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2014, 2015 Patrick McHardy <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include "internal.h"
src/expr/exthdr.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/fib.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2016 Red Hat GmbH * Author: Florian Westphal <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/expr/fwd.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2015 Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/expr/hash.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2016 by Laura Garcia <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
src/expr/immediate.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/inner.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2022 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include "internal.h"
src/expr/last.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2016 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/expr/limit.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/log.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/lookup.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/masq.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2014 by Arturo Borrero Gonzalez <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/expr/match.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/meta.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/nat.c +1 -5
@@ -1,12 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2014 Pablo Neira Ayuso <[email protected]> * (C) 2012 Intel Corporation * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * Authors: * Tomasz Bursztyka <[email protected]> */
src/expr/numgen.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2016 by Laura Garcia <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
src/expr/objref.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2016 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/expr/payload.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/queue.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Eric Leblond <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
src/expr/quota.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2016 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/expr/range.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2016 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include "internal.h"
src/expr/redir.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2014 by Arturo Borrero Gonzalez <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/expr/reject.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/rt.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2016 Anders K. Pedersen <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/expr/socket.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2018 Máté Eckl <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/expr/target.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/expr/tproxy.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2018 Máté Eckl <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include "internal.h"
src/expr/tunnel.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2018 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/expr/xfrm.c +1 -6
@@ -1,9 +1,4 @@ -/* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -*/ +/* SPDX-License-Identifier: GPL-2.0-or-later */ #include <stdio.h> #include <string.h>
src/gen.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2014 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include "internal.h"
src/obj/counter.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2016 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/obj/ct_expect.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2019 by Stéphane Veyret <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <arpa/inet.h>
src/obj/ct_helper.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2017 Red Hat GmbH * Author: Florian Westphal <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/obj/ct_timeout.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2018 by Harsha Sharma <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/obj/limit.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (c) 2017 Pablo M. Bermudo Garay <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/obj/quota.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2016 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/obj/secmark.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2016 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/obj/tunnel.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2018 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <stdio.h>
src/object.c +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2016 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include "internal.h"
src/rule.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */ #include "internal.h"
src/ruleset.c +1 -5
@@ -1,13 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> * (C) 2013 by Arturo Borrero Gonzalez <[email protected]> * (C) 2013 by Alvaro Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */
src/set.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */ #include "internal.h"
src/set_elem.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */ #include "internal.h"
src/str_array.c +1 -2
@@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2024 Red Hat GmbH * Author: Phil Sutter <[email protected]> -* -* SPDX-License-Identifier: GPL-2.0-or-later */ #include <libmnl/libmnl.h> #include <linux/netfilter/nf_tables.h>
src/table.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* * This code has been sponsored by Sophos Astaro <http://www.sophos.com> */ #include "internal.h"
src/trace.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2015 Red Hat GmbH * Author: Florian Westphal <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include "internal.h"
src/udata.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2016 by Pablo Neira Ayuso <[email protected]> * (C) 2016 by Carlos Falgueras García <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <libnftnl/udata.h>
src/utils.c +1 -5
@@ -1,11 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2012-2013 by Pablo Neira Ayuso <[email protected]> * (C) 2013 by Arturo Borrero Gonzalez <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published -* by the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. */ #include <internal.h>
tests/nft-chain-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_bitwise-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_byteorder-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_cmp-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_counter-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_ct-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_dup-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_exthdr-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_fwd-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_hash-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2016 by Laura Garcia <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_immediate-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_limit-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_log-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_lookup-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_masq-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_match-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_meta-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_nat-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_numgen-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2016 by Laura Garcia <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_objref-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_payload-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_queue-test.c +1 -6
@@ -1,13 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Eric Leblond <[email protected]> * * Based on test framework by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_quota-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2016 by Pablo Neira Ayuso <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_range-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_redir-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_reject-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-expr_target-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-object-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-rule-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-set-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
tests/nft-table-test.c +1 -6
@@ -1,11 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) 2013 by Ana Rey Botello <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* */ #include <stdio.h>
Signature · 1 line
2.47.0
Pablo Neira Ayuso
maintainerQuoted 10 lines · Phil Sutter
Replace the copyright notice in header comments by an equivalent SPDX-License-Identifier string as separate comment in line 1. Drop resulting empty lines if duplicate or at the bottom of the comment. Leave any other header comment content in place.
This also fixes for an incomplete notice in
examples/nft-ruleset-get.csince commitc335442eefcca("src: incorrect header refers to GPLv2 only").Signed-off-by Phil Sutter <[email protected]>
Reviewed-by Pablo Neira Ayuso <[email protected]>
Thanks.
Phil Sutter
reviewerQuoted 6 lines · Pablo Neira Ayuso
Quoted 5 lines · Phil Sutter
Replace the copyright notice in header comments by an equivalent SPDX-License-Identifier string as separate comment in line 1. Drop resulting empty lines if duplicate or at the bottom of the comment. Leave any other header comment content in place.
Quoted 7 lines
Quoted 5 lines
This also fixes for an incomplete notice in
examples/nft-ruleset-get.csince commitc335442eefcca("src: incorrect header refers to GPLv2 only").Signed-off-by Phil Sutter <[email protected]>Reviewed-by Pablo Neira Ayuso <[email protected]>
Patch applied.