Marcel Telka
2023-10-17 09eefd441375a360a4030461a09e935c6912083a
tools/license-detector: allow alternative wording for LGPL-2.1-only

2 files modified
5 ■■■■■ changed files
tools/licenses/license.LGPL-2.1-only 1 ●●●● patch | view | raw | blame | history
tools/licenses/license.LGPL-2.1-only.filter 4 ●●●● patch | view | raw | blame | history
tools/licenses/license.LGPL-2.1-only
@@ -112,6 +112,7 @@
former contains code derived from the library, whereas the latter must
be combined with the library in order to run.
                  GNU LESSER GENERAL PUBLIC LICENSE
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
  0. This License Agreement applies to any software library or other
tools/licenses/license.LGPL-2.1-only.filter
@@ -16,4 +16,8 @@
#
sed -n \
    -e 's/^GNU LESSER GENERAL PUBLIC LICENSE \(TERMS AND CONDITIONS\)/\1/' \
    -e '/^Copyright (C) 1991, 1999 Free Software Foundation, Inc\./,/IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW/p'
# We allow alternative LGPL-2.1 wording
# see https://github.com/spdx/license-list-XML/issues/2204