diff options
author | Thomas Haller <thaller@redhat.com> | 2020-04-16 12:29:44 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-04-16 12:54:48 +0200 |
commit | 503aa5e026a60d217ce389b857ce136748bd55f1 (patch) | |
tree | be6257e2b62d29d863f4f73f8e09c25d2e58c8b0 /src | |
parent | 4333aef8cbed802d099bbab02ff5cbca0d1f2eb4 (diff) | |
download | libnl-503aa5e026a60d217ce389b857ce136748bd55f1.tar.gz |
license: fix and add SPDX license identifiers and drop license comments
This also fixes a few wrong SPDX license identifiers, where the original
license comment indicates GPL-2.0-only.
This is not done manually, but by running the following script:
---
#!/bin/bash
# Tool to drop license comments, adding SPDX license identifiers, while preserving
# copyright comments. The point is not to manually do this task, but perform some
# hacked up string replacement.
_cp() {
/bin/cp "$@"
}
_cat() {
/bin/cat "$@"
}
in_file() {
local T=$(mktemp)
_cp -f "$1" "$T"
_cat "$T"
rm -f "$T"
}
out_file() {
local T=$(mktemp)
_cat - > "$T"
_cp -f "$T" "$1"
rm -f "$T"
}
join() {
_cat "$@" | awk '{ printf("%s#x#", $0)}'
}
unjoin() {
_cat - | sed 's/#x#/\n/g'
}
files_all() {
git ls-files |
grep -v '\.png$' |
grep -v '^include/linux-private/'
}
adjust() {
NEWLINES='\(#x#\)\+'
COPYRIGHTS='\(\( \* Copyright (c) 20..\(-20..\|, 20..\)\? [^#]\+#x#\)\+\( \*#x# \* \(Stolen[^#]*\|Based on [^#]*\)#x#\)\?\)'
_cat - |
\
sed '1s%^\(/\* SPDX-License-Identifier: LGPL-2.1-only \*/\|\)#x#/\*#x# \* [^#]*#x# \*#x# \*[ ]\+This library is free software; you can redistribute it and/or#x# \*[ ]\+modify it under the terms of the GNU Lesser General Public#x# \*[ ]\+License as published by the Free Software Foundation version 2.1#x# \*[ ]\+of the License.#x# \*#x#'"$COPYRIGHTS"' \*/'"$NEWLINES"'%/\* SPDX-License-Identifier: LGPL-2.1-only \*/#x#/*#x#\2 */#x##x#%' |
\
sed '1s%^/\*#x# \* [^#]*#x# \*#x# \*[ ]\+This library is free software; you can redistribute it and/or#x# \*[ ]\+modify it under the terms of the GNU Lesser General Public#x# \*[ ]\+License as published by the Free Software Foundation version 2.1#x# \*[ ]\+of the License.#x# \*/'"$NEWLINES"'%/\* SPDX-License-Identifier: LGPL-2.1-only \*/#x##x#%' |
\
sed '1s%^\(\)/\*#x# \* [^#]*#x# \*#x# \*[ ]\+This library is free software; you can redistribute it and/or#x# \*[ ]\+modify it under the terms of the GNU Lesser General Public#x# \*[ ]\+License as published by the Free Software Foundation version 2.1#x# \*[ ]\+of the License.#x# \*#x#'"$COPYRIGHTS"' \*/'"$NEWLINES"'%/\* SPDX-License-Identifier: LGPL-2.1-only \*/#x#/*#x#\2 */#x##x#%' |
\
sed '1s%^\(/\* SPDX-License-Identifier: LGPL-2.1-only \*/\|\)#x#/\*#x# \* [^#]*#x# \*#x# \*[ ]\+This library is free software; you can redistribute it and/or#x# \*[ ]\+modify it under the terms of the GNU General Public License as#x# \*[ ]\+published by the Free Software Foundation version 2 of the License.#x# \*#x#'"$COPYRIGHTS"' \*/'"$NEWLINES"'%/\* SPDX-License-Identifier: GPL-2.0-only \*/#x#/*#x#\2 */#x##x#%'
}
FILES=( $(files_all) )
for f in "${FILES[@]}"; do
echo "processing \"$f\"..."
in_file "$f" | join | adjust | unjoin | out_file "$f"
done
Diffstat (limited to 'src')
59 files changed, 5 insertions, 414 deletions
diff --git a/src/genl-ctrl-list.c b/src/genl-ctrl-list.c index d3279a83..62bed3cf 100644 --- a/src/genl-ctrl-list.c +++ b/src/genl-ctrl-list.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/genl-ctrl-list.c List Generic Netlink Families - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2012 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/idiag-socket-details.c b/src/idiag-socket-details.c index 2d7dd4bd..6f03627c 100644 --- a/src/idiag-socket-details.c +++ b/src/idiag-socket-details.c @@ -1,11 +1,5 @@ -/* SPDX-License-Identifier: LGPL-2.1-only */ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * src/idiag-socket-details.c List socket details - * - * This library 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 version 2 of the License. - * * Copyright (c) 2013 Sassano Systems LLC <joe@sassanosystems.com> */ diff --git a/src/lib/addr.c b/src/lib/addr.c index 5d39f7cb..a79e9b4e 100644 --- a/src/lib/addr.c +++ b/src/lib/addr.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/lib/addr.c Address Helpers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2008-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/lib/class.c b/src/lib/class.c index 162e5427..d7312c38 100644 --- a/src/lib/class.c +++ b/src/lib/class.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/lib/class.c CLI Class Helpers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2010-2011 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/lib/cls.c b/src/lib/cls.c index a5ac9251..d8fd1a8b 100644 --- a/src/lib/cls.c +++ b/src/lib/cls.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/lib/cls.c CLI Classifier Helpers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2010-2011 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/lib/ct.c b/src/lib/ct.c index e6732ae0..c00c0fbd 100644 --- a/src/lib/ct.c +++ b/src/lib/ct.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/lib/ct.c CLI Conntrack Helpers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2008-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/lib/exp.c b/src/lib/exp.c index 732843f9..48d4ea01 100644 --- a/src/lib/exp.c +++ b/src/lib/exp.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/lib/exp.c CLI Expectation Helpers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2008-2009 Thomas Graf <tgraf@suug.ch> * Copyright (c) 2012 Rich Fought <rich.fought@watchguard.com> */ diff --git a/src/lib/link.c b/src/lib/link.c index ae367e4a..d1c3e4b0 100644 --- a/src/lib/link.c +++ b/src/lib/link.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/lib/link.c CLI Link Helpers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2008-2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/lib/neigh.c b/src/lib/neigh.c index 75862c7b..5b44f478 100644 --- a/src/lib/neigh.c +++ b/src/lib/neigh.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/lib/neigh.c CLI Neighbour Helpers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2008-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/lib/qdisc.c b/src/lib/qdisc.c index ea047c2f..beb83cc4 100644 --- a/src/lib/qdisc.c +++ b/src/lib/qdisc.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/lib/qdisc.c CLI QDisc Helpers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2008-2011 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/lib/route.c b/src/lib/route.c index 9d0fbe83..7297a2f6 100644 --- a/src/lib/route.c +++ b/src/lib/route.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/lib/route.c CLI Route Helpers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2008-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/lib/rule.c b/src/lib/rule.c index 213eca2a..6ef93214 100644 --- a/src/lib/rule.c +++ b/src/lib/rule.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/lib/rule.c CLI Routing Rule Helpers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2008-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/lib/tc.c b/src/lib/tc.c index 5d3a2035..ba3de180 100644 --- a/src/lib/tc.c +++ b/src/lib/tc.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/lib/tc.c CLI Traffic Control Helpers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/lib/utils.c b/src/lib/utils.c index 3aa2a90c..36fb0292 100644 --- a/src/lib/utils.c +++ b/src/lib/utils.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/utils.c Utilities - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nf-ct-add.c b/src/nf-ct-add.c index eec9b869..632acd90 100644 --- a/src/nf-ct-add.c +++ b/src/nf-ct-add.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nf-ct-add.c Add Conntrack Entry - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> * Copyright (c) 2007 Philip Craig <philipc@snapgear.com> * Copyright (c) 2007 Secure Computing Corporation diff --git a/src/nf-ct-events.c b/src/nf-ct-events.c index 87f2da93..68f9ac0f 100644 --- a/src/nf-ct-events.c +++ b/src/nf-ct-events.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nf-ct-events.c Listen on Conntrack Events - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2018 Avast software */ diff --git a/src/nf-ct-list.c b/src/nf-ct-list.c index c512027b..692c24b1 100644 --- a/src/nf-ct-list.c +++ b/src/nf-ct-list.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nf-ct-list.c List Conntrack Entries - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> * Copyright (c) 2007 Philip Craig <philipc@snapgear.com> * Copyright (c) 2007 Secure Computing Corporation diff --git a/src/nf-exp-add.c b/src/nf-exp-add.c index 49e36f63..ae745286 100644 --- a/src/nf-exp-add.c +++ b/src/nf-exp-add.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nf-exp-add.c Create an expectation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> * Copyright (c) 2007 Philip Craig <philipc@snapgear.com> * Copyright (c) 2007 Secure Computing Corporation diff --git a/src/nf-exp-delete.c b/src/nf-exp-delete.c index c6e478c2..9d1eea94 100644 --- a/src/nf-exp-delete.c +++ b/src/nf-exp-delete.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nf-exp-delete.c Delete an expectation - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> * Copyright (c) 2007 Philip Craig <philipc@snapgear.com> * Copyright (c) 2007 Secure Computing Corporation diff --git a/src/nf-exp-list.c b/src/nf-exp-list.c index 0993a98f..25fd51f1 100644 --- a/src/nf-exp-list.c +++ b/src/nf-exp-list.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nf-exp-list.c List Expectation Entries - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> * Copyright (c) 2007 Philip Craig <philipc@snapgear.com> * Copyright (c) 2007 Secure Computing Corporation diff --git a/src/nf-log.c b/src/nf-log.c index c8a40bfa..c9ad560e 100644 --- a/src/nf-log.c +++ b/src/nf-log.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nf-log.c Monitor netfilter log events - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2008 Thomas Graf <tgraf@suug.ch> * Copyright (c) 2007 Philip Craig <philipc@snapgear.com> * Copyright (c) 2007 Secure Computing Corporation diff --git a/src/nf-monitor.c b/src/nf-monitor.c index 4afbdb2b..1f67289f 100644 --- a/src/nf-monitor.c +++ b/src/nf-monitor.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nf-monitor.c Monitor netfilter events - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2008 Thomas Graf <tgraf@suug.ch> * Copyright (c) 2007 Philip Craig <philipc@snapgear.com> * Copyright (c) 2007 Secure Computing Corporation diff --git a/src/nf-queue.c b/src/nf-queue.c index f46abc26..ec15f63b 100644 --- a/src/nf-queue.c +++ b/src/nf-queue.c @@ -1,17 +1,9 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nf-queue.c Monitor netfilter queue events - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2007, 2008 Patrick McHardy <kaber@trash.net> * Copyright (c) 2010 Karl Hiramoto <karl@hiramoto.org> */ - #include <netlink/cli/utils.h> #include <netlink/cli/link.h> #include <netinet/in.h> diff --git a/src/nl-addr-add.c b/src/nl-addr-add.c index e6ebefe1..3560f4d1 100644 --- a/src/nl-addr-add.c +++ b/src/nl-addr-add.c @@ -1,11 +1,5 @@ -/* SPDX-License-Identifier: LGPL-2.1-only */ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * src/nl-addr-add.c Add addresses - * - * This library 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 version 2 of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-addr-delete.c b/src/nl-addr-delete.c index 9d017f42..a8887ac0 100644 --- a/src/nl-addr-delete.c +++ b/src/nl-addr-delete.c @@ -1,11 +1,5 @@ -/* SPDX-License-Identifier: LGPL-2.1-only */ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * src/nl-addr-delete.c Delete addresses - * - * This library 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 version 2 of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-addr-list.c b/src/nl-addr-list.c index c5258bd4..d80d862a 100644 --- a/src/nl-addr-list.c +++ b/src/nl-addr-list.c @@ -1,11 +1,5 @@ -/* SPDX-License-Identifier: LGPL-2.1-only */ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * src/nl-addr-list.c List addresses - * - * This library 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 version 2 of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-class-add.c b/src/nl-class-add.c index a1ccf4e8..d3f92300 100644 --- a/src/nl-class-add.c +++ b/src/nl-class-add.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-class-add.c Add/Update/Replace Traffic Class - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-class-delete.c b/src/nl-class-delete.c index 56278210..1747a65a 100644 --- a/src/nl-class-delete.c +++ b/src/nl-class-delete.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-class-delete.c Delete Traffic Classes - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-class-list.c b/src/nl-class-list.c index 0ce4ab24..ba8e154c 100644 --- a/src/nl-class-list.c +++ b/src/nl-class-list.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-class-list.c List Traffic Classes - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-classid-lookup.c b/src/nl-classid-lookup.c index 4ddc8429..7b82c372 100644 --- a/src/nl-classid-lookup.c +++ b/src/nl-classid-lookup.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-classid-lookup.c Lookup classid - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-cls-add.c b/src/nl-cls-add.c index c2ad7173..a29beb78 100644 --- a/src/nl-cls-add.c +++ b/src/nl-cls-add.c @@ -1,11 +1,5 @@ -/* SPDX-License-Identifier: LGPL-2.1-only */ +/* SPDX-License-Identifier: GPL-2.0-only */ /* - * src/nl-cls-add.c Add classifier - * - * This library 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 version 2 of the License. - * * Copyright (c) 2003-2011 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-cls-delete.c b/src/nl-cls-delete.c index a2a93a72..20079a2f 100644 --- a/src/nl-cls-delete.c +++ b/src/nl-cls-delete.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-cls-delete.c Delete Classifier - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2008-2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-cls-list.c b/src/nl-cls-list.c index 5d4faa0f..65757d08 100644 --- a/src/nl-cls-list.c +++ b/src/nl-cls-list.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-cls-list.c List classifiers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2008-2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-fib-lookup.c b/src/nl-fib-lookup.c index a6496872..4239063e 100644 --- a/src/nl-fib-lookup.c +++ b/src/nl-fib-lookup.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-fib-lookup.c FIB Route Lookup - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-link-enslave.c b/src/nl-link-enslave.c index 4e368c38..ba4817a2 100644 --- a/src/nl-link-enslave.c +++ b/src/nl-link-enslave.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-link-enslave.c Enslave a link - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2011 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-link-ifindex2name.c b/src/nl-link-ifindex2name.c index 0cb3cbe2..05eb788f 100644 --- a/src/nl-link-ifindex2name.c +++ b/src/nl-link-ifindex2name.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-link-ifindex2name.c Transform a interface index to its name - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-link-list.c b/src/nl-link-list.c index d3820762..e07bd43a 100644 --- a/src/nl-link-list.c +++ b/src/nl-link-list.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-link-dump.c Dump link attributes - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-link-name2ifindex.c b/src/nl-link-name2ifindex.c index d3e83998..3ff774e0 100644 --- a/src/nl-link-name2ifindex.c +++ b/src/nl-link-name2ifindex.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-link-name2ifindex.c Transform a interface name to its index - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2008 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-link-release.c b/src/nl-link-release.c index abe8cdb7..1c869adf 100644 --- a/src/nl-link-release.c +++ b/src/nl-link-release.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-link-release.c release a link - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2011 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-link-set.c b/src/nl-link-set.c index fc0f5a78..5b54da0b 100644 --- a/src/nl-link-set.c +++ b/src/nl-link-set.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-link-set.c Set link attributes - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-link-stats.c b/src/nl-link-stats.c index 85719c1c..d993f710 100644 --- a/src/nl-link-stats.c +++ b/src/nl-link-stats.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-link-stats.c Retrieve link statistics - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-list-caches.c b/src/nl-list-caches.c index c59f95b1..966f13a3 100644 --- a/src/nl-list-caches.c +++ b/src/nl-list-caches.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * nl-list-caches.c List registered cache types - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-list-sockets.c b/src/nl-list-sockets.c index e7d47038..b69b2c27 100644 --- a/src/nl-list-sockets.c +++ b/src/nl-list-sockets.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * nl-list-sockets.c Pretty-print /proc/net/netlink - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-monitor.c b/src/nl-monitor.c index a6f21b4a..e3e55307 100644 --- a/src/nl-monitor.c +++ b/src/nl-monitor.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-monitor.c Monitor events - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-neigh-add.c b/src/nl-neigh-add.c index 585639a0..cd6063ed 100644 --- a/src/nl-neigh-add.c +++ b/src/nl-neigh-add.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/ nl-neigh-add.c Add a neighbour - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-neigh-delete.c b/src/nl-neigh-delete.c index 826c1c5c..6f1ffeff 100644 --- a/src/nl-neigh-delete.c +++ b/src/nl-neigh-delete.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-neigh-delete.c Delete a neighbour - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-neigh-list.c b/src/nl-neigh-list.c index a9262083..2664c8fd 100644 --- a/src/nl-neigh-list.c +++ b/src/nl-neigh-list.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-neigh-list.c List Neighbours - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-neightbl-list.c b/src/nl-neightbl-list.c index 10d7ed41..5a5b0a04 100644 --- a/src/nl-neightbl-list.c +++ b/src/nl-neightbl-list.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-neightbl-list.c Dump neighbour tables - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-pktloc-lookup.c b/src/nl-pktloc-lookup.c index 8b1272cc..f888424d 100644 --- a/src/nl-pktloc-lookup.c +++ b/src/nl-pktloc-lookup.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-pktloc-lookup.c Lookup packet location alias - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-qdisc-add.c b/src/nl-qdisc-add.c index 38903f3e..8cd317c3 100644 --- a/src/nl-qdisc-add.c +++ b/src/nl-qdisc-add.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-qdisc-add.c Add Queueing Discipline - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-qdisc-delete.c b/src/nl-qdisc-delete.c index 7c5926b7..299fd48a 100644 --- a/src/nl-qdisc-delete.c +++ b/src/nl-qdisc-delete.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-qdisc-delete.c Delete Queuing Disciplines - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-qdisc-list.c b/src/nl-qdisc-list.c index 6796ca52..d1825da0 100644 --- a/src/nl-qdisc-list.c +++ b/src/nl-qdisc-list.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-qdisc-list.c List Queueing Disciplines - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2010 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-route-add.c b/src/nl-route-add.c index ed2c4e29..4e96ab01 100644 --- a/src/nl-route-add.c +++ b/src/nl-route-add.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-route-add.c Route addition utility - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-route-delete.c b/src/nl-route-delete.c index 750b57f4..9b4366c4 100644 --- a/src/nl-route-delete.c +++ b/src/nl-route-delete.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-route-delete.c Delete Routes - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-route-get.c b/src/nl-route-get.c index 564fc166..b49ba4cb 100644 --- a/src/nl-route-get.c +++ b/src/nl-route-get.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-route-get.c Get Route Attributes - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-route-list.c b/src/nl-route-list.c index b6c4270c..1b293ed9 100644 --- a/src/nl-route-list.c +++ b/src/nl-route-list.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-route-list.c List route attributes - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-rule-list.c b/src/nl-rule-list.c index b923184f..fe87dfe0 100644 --- a/src/nl-rule-list.c +++ b/src/nl-rule-list.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-rule-dump.c Dump rule attributes - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-tctree-list.c b/src/nl-tctree-list.c index 9e03038f..16f6f00d 100644 --- a/src/nl-tctree-list.c +++ b/src/nl-tctree-list.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-tctree-list.c List Traffic Control Tree - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ diff --git a/src/nl-util-addr.c b/src/nl-util-addr.c index 6a811661..de923023 100644 --- a/src/nl-util-addr.c +++ b/src/nl-util-addr.c @@ -1,12 +1,5 @@ /* SPDX-License-Identifier: LGPL-2.1-only */ /* - * src/nl-util-addr.c Address Helper - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation version 2.1 - * of the License. - * * Copyright (c) 2003-2009 Thomas Graf <tgraf@suug.ch> */ |