1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-06 13:17:44 +03:00

LICENSES/README: expand text to summarize state for binaries and libs

We would say how *sources* are licensed, but actually most user care about the
resulting binaries. So say how the *binaries* are licensed. I used the word
"effectively" because the permissive licenses don't set any requirements on the
binaries, so the license of sources is a complex mix, but the resulting
binaries have a simple effective license.

Also, make it clear that the GPLv2 license applies to udev programs, but not
the shared library. Based on private correspondence, there's some confusion
about this.

(cherry picked from commit bd7236912f373e0a06a1b0395000ec67d96767af)
(cherry picked from commit fb747bd8cdcbeb55f9ef3c62289fff8ff5a25b68)
(cherry picked from commit e22e239cd9)
(cherry picked from commit 6aa191405e)
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-06-28 13:22:40 +02:00 committed by Luca Boccassi
parent 092d690895
commit 7f74571074

View File

@ -13,7 +13,14 @@ The 'LICENSES/' directory contains all the licenses used by the sources included
the systemd project source tree.
Unless otherwise noted, the systemd project sources are licensed under the terms
and conditions of the **GNU Lesser General Public License v2.1 or later**.
and conditions of
**LGPL-2.1-or-later** (**GNU Lesser General Public License v2.1 or later**).
Unless otherwise noted, compiled programs and all shared or static libraries
include sources under **LGPL-2.1-or-later** along with more permissive
licenses, and are effectively licensed **LGPL-2.1-or-later**.
systemd-udevd and other udev helper programs also include sources under
**GPL-2.0-or-later**, and are effectively licensed **GPL-2.0-or-later**.
New sources that cannot be distributed under LGPL-2.1-or-later will no longer
be accepted for inclusion in the systemd project to maintain license uniformity.
@ -22,8 +29,9 @@ be accepted for inclusion in the systemd project to maintain license uniformity.
The following exceptions apply:
* some udev sources under src/udev/ are licensed under **GPL-2.0-or-later**, so the
udev binaries as a whole are also distributed under **GPL-2.0-or-later**.
* some sources under src/udev/ are licensed under **GPL-2.0-or-later**,
so all udev programs (`systemd-udevd`, `udevadm`, and the udev builtins
and test programs) are also distributed under **GPL-2.0-or-later**.
* the header files contained in src/basic/linux/ and src/shared/linux/ are copied
verbatim from the Linux kernel source tree and are licensed under **GPL-2.0 WITH
Linux-syscall-note** and are used within the scope of the Linux-syscall-note