Re: git: 30780c3f584a - stable/13 - README.md: correct GPL expansion

From: Mark Millard via freebsd-current <freebsd-current_at_freebsd.org>
Date: Sat, 18 Dec 2021 18:31:54 UTC
On 2021-Dec-18, at 09:30, Ed Maste <emaste@freebsd.org> wrote:

> On Fri, 17 Dec 2021 at 11:09, Mark Millard <marklmi@yahoo.com> wrote:
>> 
>> I'm confused, beyond just LGPL claims in the (fairly
>> current) source code, but GPL more generally:
>> 
>> # grep -rl "SPDX.*GPL" /usr/main-src/
> 
> You need to exclude the ones with SPDX tags like:
> SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
> 
> but also note that this text in README.md is just documenting the
> top-level gnu/ subdirectory.

# grep -r "SPDX.*GPL" /usr/main-src/ | egrep -vi "(mit|bsd|Linux-OpenIB)" | grep -v sys/contrib/device-tree/ | more
/usr/main-src/sys/gnu/gcov/gcc_4_7.c:// SPDX-License-Identifier: GPL-2.0
/usr/main-src/sys/gnu/gcov/gcov_fs.c:// SPDX-License-Identifier: GPL-2.0
/usr/main-src/sys/dts/include/dt-bindings/soc/qcom,tcsr.h:/* SPDX-License-Identifier: GPL-2.0 */

But . . .

# grep -r "SPDX.*GPL" /usr/main-src/ | egrep -vi "(mit|bsd|Linux-OpenIB)" | grep sys/contrib/device-tree/ | wc
    3104    9958  345089

===
Mark Millard
marklmi at yahoo.com