diff --git a/LICENSES/MIT-0.txt b/LICENSES/MIT-0.txt new file mode 100644 index 0000000000..396fc00202 --- /dev/null +++ b/LICENSES/MIT-0.txt @@ -0,0 +1,7 @@ +MIT No Attribution + +Copyright + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/LICENSES/README.md b/LICENSES/README.md index 69ef2d6315..d235b319d8 100644 --- a/LICENSES/README.md +++ b/LICENSES/README.md @@ -45,9 +45,10 @@ The following exceptions apply: * the following sources are licensed under the **CC0-1.0** license: - src/basic/siphash24.c - src/basic/siphash24.h - - src/systemctl/systemd-sysv-install.SKELETON - tools/check-includes.pl + * the following sources are licensed under the **MIT-0** license: - all examples under man/ + - src/systemctl/systemd-sysv-install.SKELETON - config files and examples under /network * the following sources are under **Public Domain** (LicenseRef-murmurhash2-public-domain): - src/basic/MurmurHash2.c diff --git a/man/50-xdg-data-dirs.sh b/man/50-xdg-data-dirs.sh index 5f042c5511..0a180ffa3e 100755 --- a/man/50-xdg-data-dirs.sh +++ b/man/50-xdg-data-dirs.sh @@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # set the default value XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share/:/usr/share}" diff --git a/man/90-rearrange-path.py b/man/90-rearrange-path.py index 50696a60e2..5c727e411e 100755 --- a/man/90-rearrange-path.py +++ b/man/90-rearrange-path.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 """ diff --git a/man/check-os-release-simple.py b/man/check-os-release-simple.py index 738b1fd860..ce73c77b14 100644 --- a/man/check-os-release-simple.py +++ b/man/check-os-release-simple.py @@ -1,5 +1,5 @@ #!/usr/bin/python -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 import platform os_release = platform.freedesktop_os_release() diff --git a/man/check-os-release.py b/man/check-os-release.py index 1a57c7a20d..19b193ec76 100644 --- a/man/check-os-release.py +++ b/man/check-os-release.py @@ -1,5 +1,5 @@ #!/usr/bin/python -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 import ast import re diff --git a/man/check-os-release.sh b/man/check-os-release.sh index 35c8cac4bd..12f7ee12cc 100644 --- a/man/check-os-release.sh +++ b/man/check-os-release.sh @@ -1,5 +1,5 @@ #!/bin/sh -eu -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 test -e /etc/os-release && os_release='/etc/os-release' || os_release='/usr/lib/os-release' . "${os_release}" diff --git a/man/event-quick-child.c b/man/event-quick-child.c index 16cc6cf3a4..8195efbaa5 100644 --- a/man/event-quick-child.c +++ b/man/event-quick-child.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/fido2-crypttab.sh b/man/fido2-crypttab.sh index f7d25bf88b..acb2e177ef 100644 --- a/man/fido2-crypttab.sh +++ b/man/fido2-crypttab.sh @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # Enroll the security token in the LUKS2 volume. Replace /dev/sdXn by the # partition to use (e.g. /dev/sda1). diff --git a/man/glib-event-glue.c b/man/glib-event-glue.c index 3741b5257b..61e8bf6463 100644 --- a/man/glib-event-glue.c +++ b/man/glib-event-glue.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/hwdb-usb-device.c b/man/hwdb-usb-device.c index 743c190f95..19a5db8022 100644 --- a/man/hwdb-usb-device.c +++ b/man/hwdb-usb-device.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/id128-app-specific.c b/man/id128-app-specific.c index 39660f4f86..b8982c75f8 100644 --- a/man/id128-app-specific.c +++ b/man/id128-app-specific.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/inotify-watch-tmp.c b/man/inotify-watch-tmp.c index a1144790c6..07ee8f6754 100644 --- a/man/inotify-watch-tmp.c +++ b/man/inotify-watch-tmp.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/journal-enumerate-fields.c b/man/journal-enumerate-fields.c index f4b6b7b078..bb0931970a 100644 --- a/man/journal-enumerate-fields.c +++ b/man/journal-enumerate-fields.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/journal-iterate-foreach.c b/man/journal-iterate-foreach.c index 363101d5ba..381b50f9ce 100644 --- a/man/journal-iterate-foreach.c +++ b/man/journal-iterate-foreach.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/journal-iterate-poll.c b/man/journal-iterate-poll.c index 8205bfd858..d377324b78 100644 --- a/man/journal-iterate-poll.c +++ b/man/journal-iterate-poll.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/journal-iterate-unique.c b/man/journal-iterate-unique.c index ac0c638032..5fe98b36b7 100644 --- a/man/journal-iterate-unique.c +++ b/man/journal-iterate-unique.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/journal-iterate-wait.c b/man/journal-iterate-wait.c index 60b3459a18..ac4b60b8e9 100644 --- a/man/journal-iterate-wait.c +++ b/man/journal-iterate-wait.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/journal-stream-fd.c b/man/journal-stream-fd.c index d59aa14c13..8aad5ff8c6 100644 --- a/man/journal-stream-fd.c +++ b/man/journal-stream-fd.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/path-documents.c b/man/path-documents.c index 13ea85a82c..a357dd659a 100644 --- a/man/path-documents.c +++ b/man/path-documents.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/print-unit-path.c b/man/print-unit-path.c index ff52fd28cd..44c8271820 100644 --- a/man/print-unit-path.c +++ b/man/print-unit-path.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/sd-bus-container-append.c b/man/sd-bus-container-append.c index 11238779dd..8bb4f33e86 100644 --- a/man/sd-bus-container-append.c +++ b/man/sd-bus-container-append.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include diff --git a/man/sd-bus-container-read.c b/man/sd-bus-container-read.c index 75be5fa9bb..5ede316c03 100644 --- a/man/sd-bus-container-read.c +++ b/man/sd-bus-container-read.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include diff --git a/man/sd_bus_error-example.c b/man/sd_bus_error-example.c index abea13ca45..9b162eb6cc 100644 --- a/man/sd_bus_error-example.c +++ b/man/sd_bus_error-example.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/send-unit-files-changed.c b/man/send-unit-files-changed.c index 4d03dd1fe0..dfd38a14a7 100644 --- a/man/send-unit-files-changed.c +++ b/man/send-unit-files-changed.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #define _cleanup_(f) __attribute__((cleanup(f))) diff --git a/man/tpm2-crypttab.sh b/man/tpm2-crypttab.sh index a988fb6e0b..d109eb40cd 100644 --- a/man/tpm2-crypttab.sh +++ b/man/tpm2-crypttab.sh @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # Enroll the TPM2 security chip in the LUKS2 volume, and bind it to PCR 7 # only. Replace /dev/sdXn by the partition to use (e.g. /dev/sda1). diff --git a/man/vtable-example.c b/man/vtable-example.c index d82bb18a39..e3346a8021 100644 --- a/man/vtable-example.c +++ b/man/vtable-example.c @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: CC0-1.0 */ +/* SPDX-License-Identifier: MIT-0 */ #include #include diff --git a/man/yubikey-crypttab.sh b/man/yubikey-crypttab.sh index 13084dbf12..ce9c2917c5 100644 --- a/man/yubikey-crypttab.sh +++ b/man/yubikey-crypttab.sh @@ -1,4 +1,4 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # Destroy any old key on the Yubikey (careful!) ykman piv reset diff --git a/network/80-6rd-tunnel.network b/network/80-6rd-tunnel.network index 6b9748a072..fb163e7323 100644 --- a/network/80-6rd-tunnel.network +++ b/network/80-6rd-tunnel.network @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # # This config file is installed as part of systemd. -# It may be freely copied and edited (following the Creative Commons Zero v1.0 Universal License). +# It may be freely copied and edited (following the MIT No Attribution license). # # To make local modifications, one of the following methods may be used: # 1. add a drop-in file that extends this file by creating the diff --git a/network/80-container-host0.network b/network/80-container-host0.network index da92b6bd00..30476674ec 100644 --- a/network/80-container-host0.network +++ b/network/80-container-host0.network @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # # This config file is installed as part of systemd. -# It may be freely copied and edited (following the Creative Commons Zero v1.0 Universal License). +# It may be freely copied and edited (following the MIT No Attribution license). # # To make local modifications, one of the following methods may be used: # 1. add a drop-in file that extends this file by creating the diff --git a/network/80-container-vb.network b/network/80-container-vb.network index 9908f87580..3a99ab8761 100644 --- a/network/80-container-vb.network +++ b/network/80-container-vb.network @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # # This config file is installed as part of systemd. -# It may be freely copied and edited (following the Creative Commons Zero v1.0 Universal License). +# It may be freely copied and edited (following the MIT No Attribution license). # # To make local modifications, one of the following methods may be used: # 1. add a drop-in file that extends this file by creating the diff --git a/network/80-container-ve.network b/network/80-container-ve.network index 10441a571c..d295d131aa 100644 --- a/network/80-container-ve.network +++ b/network/80-container-ve.network @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # # This config file is installed as part of systemd. -# It may be freely copied and edited (following the Creative Commons Zero v1.0 Universal License). +# It may be freely copied and edited (following the MIT No Attribution license). # # To make local modifications, one of the following methods may be used: # 1. add a drop-in file that extends this file by creating the diff --git a/network/80-container-vz.network b/network/80-container-vz.network index 6861fe7dff..7d902e78bd 100644 --- a/network/80-container-vz.network +++ b/network/80-container-vz.network @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # # This config file is installed as part of systemd. -# It may be freely copied and edited (following the Creative Commons Zero v1.0 Universal License). +# It may be freely copied and edited (following the MIT No Attribution license). # # To make local modifications, one of the following methods may be used: # 1. add a drop-in file that extends this file by creating the diff --git a/network/80-ethernet.network.example b/network/80-ethernet.network.example index 30c710098b..ce82b25728 100644 --- a/network/80-ethernet.network.example +++ b/network/80-ethernet.network.example @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # # This example config file is installed as part of systemd. -# It may be freely copied and edited (following the Creative Commons Zero v1.0 Universal License). +# It may be freely copied and edited (following the MIT No Attribution license). # # To use the file, one of the following methods may be used: # 1. add a symlink from /etc/systemd/network to the current location of this file, diff --git a/network/80-vm-vt.network b/network/80-vm-vt.network index f1cb60fd1b..7979871e2c 100644 --- a/network/80-vm-vt.network +++ b/network/80-vm-vt.network @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # # This config file is installed as part of systemd. -# It may be freely copied and edited (following the Creative Commons Zero v1.0 Universal License). +# It may be freely copied and edited (following the MIT No Attribution license). # # To make local modifications, one of the following methods may be used: # 1. add a drop-in file that extends this file by creating the diff --git a/network/80-wifi-adhoc.network b/network/80-wifi-adhoc.network index 3d5ba3cad5..d7a341d018 100644 --- a/network/80-wifi-adhoc.network +++ b/network/80-wifi-adhoc.network @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # # This config file is installed as part of systemd. -# It may be freely copied and edited (following the Creative Commons Zero v1.0 Universal License). +# It may be freely copied and edited (following the MIT No Attribution license). # # To make local modifications, one of the following methods may be used: # 1. add a drop-in file that extends this file by creating the diff --git a/network/80-wifi-ap.network.example b/network/80-wifi-ap.network.example index d866f79005..6ea1024312 100644 --- a/network/80-wifi-ap.network.example +++ b/network/80-wifi-ap.network.example @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # # This example config file is installed as part of systemd. -# It may be freely copied and edited (following the Creative Commons Zero v1.0 Universal License). +# It may be freely copied and edited (following the MIT No Attribution license). # # To use the file, one of the following methods may be used: # 1. add a symlink from /etc/systemd/network to the current location of this file, diff --git a/network/80-wifi-station.network.example b/network/80-wifi-station.network.example index a1cd3530e4..160b4eb5e3 100644 --- a/network/80-wifi-station.network.example +++ b/network/80-wifi-station.network.example @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # # This example config file is installed as part of systemd. -# It may be freely copied and edited (following the Creative Commons Zero v1.0 Universal License). +# It may be freely copied and edited (following the MIT No Attribution license). # # To use the file, one of the following methods may be used: # 1. add a symlink from /etc/systemd/network to the current location of this file, diff --git a/network/99-default.link b/network/99-default.link index dad91bb1a2..429ac31e80 100644 --- a/network/99-default.link +++ b/network/99-default.link @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # # This config file is installed as part of systemd. -# It may be freely copied and edited (following the Creative Commons Zero v1.0 Universal License). +# It may be freely copied and edited (following the MIT No Attribution license). # # To make local modifications, one of the following methods may be used: # 1. add a drop-in file that extends this file by creating the diff --git a/src/systemctl/systemd-sysv-install.SKELETON b/src/systemctl/systemd-sysv-install.SKELETON index a2a0059fef..cb58d8243b 100755 --- a/src/systemctl/systemd-sysv-install.SKELETON +++ b/src/systemctl/systemd-sysv-install.SKELETON @@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: CC0-1.0 +# SPDX-License-Identifier: MIT-0 # # This script is called by "systemctl enable/disable" when the given unit is a # SysV init.d script. It needs to call the distribution's mechanism for