summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-01-01 09:07:35 +0100
committerThomas Haller <thaller@redhat.com>2020-10-20 15:58:41 +0200
commit82ca0a0b009c0b66b44241558077a2e682fc648c (patch)
treebca166943ea410b36e15b11da18f4059cfc58afe
parent931568fa2f549cf9d8ba08026ddabacea7ff0770 (diff)
downloadNetworkManager-82ca0a0b009c0b66b44241558077a2e682fc648c.tar.gz
license: relicense "libnm-core/nm-libnm-core-aux/nm-dispatcher-api.h" under LGPL-2.1+
>>> H0=a3e75f329446a93a61ca4c458a7657bd919f4fe6 commit_has_file() { git ls-tree -r "$1" | grep -q "\\s$2"\$ } print_commit_authors() { git --no-pager log --full-history --follow --no-merges --pretty='format:<%ae>' $H0 -- "$1" | sort | uniq } print_blame_authors() { local LAST_H if commit_has_file $H0 "$1"; then LAST_H=$H0 else LAST_H="$(git log --full-history --no-merges -n1 --pretty='format:%H' $H0 -- "$1")"^1 fi git blame --no-progress -C -C -C20 -M -M10 -e "$LAST_H" -- "$1" | sed 's/.*\(<[^>]\+@[^>]\+>\).*/\1/' | sort | uniq } print_grep() { git --no-pager log -p --full-history --follow $H0 -- "$1" | grep -i '[a-z0-9]@\|author\|copyright' | sort | uniq } prefix() { sed "s/^/>>>$1 /" } collect_all() { for F; do print_commit_authors "$F" | prefix 1 echo print_blame_authors "$F" | prefix 2 echo print_grep "$F" | prefix 3 done | sort | uniq | sed 's/@/(at)/' } collect_all \ shared/nm-libnm-core-aux/nm-dispatcher-api.h \ callouts/nm-dispatcher-api.h \ callouts/nm-dispatcher-api.h \ callouts/nm-dispatcher-action.h \ ; <<< gives: >>>1 <bgalvani(at)redhat.com> >>>1 <daniel(at)gnoutcheff.name> >>>1 <danw(at)gnome.org> >>>1 <danw(at)redhat.com> >>>1 <dcbw(at)redhat.com> >>>1 <lkundrak(at)v3.sk> >>>1 <mario(at)endlessm.com> >>>1 <thaller(at)redhat.com> >>>2 <bgalvani(at)redhat.com> >>>2 <blueowl(at)centrum.cz> >>>2 <danw(at)redhat.com> >>>2 <dcbw(at)redhat.com> >>>2 <mario(at)endlessm.com> >>>2 <thaller(at)redhat.com> >>>3 [...] Red Hat, Inc. Everybody in this list agreed to relicensing according to RELICENSE.md.
-rw-r--r--libnm-core/nm-libnm-core-aux/nm-dispatcher-api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-libnm-core-aux/nm-dispatcher-api.h b/libnm-core/nm-libnm-core-aux/nm-dispatcher-api.h
index 80546a83d2..3f8f6516cc 100644
--- a/libnm-core/nm-libnm-core-aux/nm-dispatcher-api.h
+++ b/libnm-core/nm-libnm-core-aux/nm-dispatcher-api.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0+ */
+/* SPDX-License-Identifier: LGPL-2.1+ */
/*
* Copyright (C) 2008 - 2012 Red Hat, Inc.
*/