From 6417af5b9e570dc38efb1723e5638587b0219a7f Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 1 Jan 2020 15:33:32 +0100 Subject: license: relicense "libnm-core/nm-dbus-interface.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 \ include/NetworkManager.h \ libnm-core/NetworkManager.h \ libnm-core/nm-dbus-interface.h \ libnm-util/NetworkManager.h \ NetworkManager.h \ ; <<< >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>3 [...] Red Hat, Inc. >>>3 Thiago Bauermann >>>3 Most contributors on this list agreed to relicensing according to RELICENSE.md. The following copyright holders did not answer the request for agreeing to relicensing: - : the only contributions are removing code. Also, Christopher was working for Red Hat at that time. - : the patch was trivial, but the relevant code also got removed by commit f003ba8ef7512dc2f295ca975b7d82439eee5995. - : a trivial contribution to the header. Also, Jiri was working for Red Hat at that time. - : fix spelling error in code comment. - : trivial contribution of adding a #define for NM_DBUS_PATH_CONNECTION_SETTINGS. - : a trivial contribution to the header. Also, Thomas was working fro Red Hat at that time. - : add a define to the header. This was later removed by commit 7a8f33aa3d8a3085f5258c86e21fc1edec0ffec4. While not everybody agreed to this relicensing, I think the not covered contributions are trivial additions to our header file. Also, this file was always part of libnm. While it had the wrong license comment, it was never intended to be GPL licensed. --- libnm-core/nm-dbus-interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnm-core/nm-dbus-interface.h b/libnm-core/nm-dbus-interface.h index eaa4c1b56c..e7e1244bed 100644 --- a/libnm-core/nm-dbus-interface.h +++ b/libnm-core/nm-dbus-interface.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: LGPL-2.1+ */ /* * Copyright (C) 2004 - 2018 Red Hat, Inc. */ -- cgit v1.2.3 From 7d894374808b137570251110b0acb90e9aa4d9a9 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 1 Jan 2020 16:02:04 +0100 Subject: license: relicense "libnm-core/nm-vpn-dbus-interface.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 \ include/NetworkManagerVPN.h \ libnm-core/NetworkManagerVPN.h \ libnm-core/nm-vpn-dbus-interface.h \ libnm-util/NetworkManagerVPN.h \ ; <<< gives: >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>1 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>2 >>>3 [...] Red Hat, Inc. Everybody in this list agreed to relicensing according to RELICENSE.md. --- libnm-core/nm-vpn-dbus-interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnm-core/nm-vpn-dbus-interface.h b/libnm-core/nm-vpn-dbus-interface.h index fc72c4faf8..38aa794a47 100644 --- a/libnm-core/nm-vpn-dbus-interface.h +++ b/libnm-core/nm-vpn-dbus-interface.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: LGPL-2.1+ */ /* * Copyright (C) 2004 Red Hat, Inc. */ -- cgit v1.2.3