]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: change license of examples to MIT-0
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 26 Oct 2022 06:02:14 +0000 (08:02 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 26 Oct 2022 06:39:34 +0000 (08:39 +0200)
Quoting Richard Fontana in [1]:

  CC0 has been listed by Fedora as a 'good' license for code and content
  (corresponding to allowed and allowed-content under the new system). We plan
  to classify CC0 as allowed-content only, so that CC0 would no longer be
  allowed for code.

  Over a long period of time a consensus has been building in FOSS that
  licenses that preclude any form of patent licensing or patent forbearance
  cannot be considered FOSS. CC0 has a clause that says: "No trademark or
  patent rights held by Affirmer are waived, abandoned, surrendered, licensed
  or otherwise affected by this document." (The trademark side of that clause
  is nonproblematic from a FOSS licensing norms standpoint.) The regular
  Creative Commons licenses have similar clauses.

For the case of our documentation snippets, patent issues do not matter much.
But it is always nicer to have a license that is considerred acceptable without
any further considerations. So let's change the license to the (now recommended
replacement) MIT-0.

[1] https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/NO7KGDNL5GX3KCB7T3XTGFA3QPSUJA6R/

Using 'git blame -b' and 'git log -p --follow', I identified the following
folks as having made non-trivial changes to those snippets:

  Lennart Poettering
  Tom Gundersen
  Luca Bocassi
  Zbigniew Jędrzejewski-Szmek
  Thomas Mühlbacher
  Daan De Meyer

I'll ask for confirmation in the pull request.

27 files changed:
LICENSES/README.md
man/50-xdg-data-dirs.sh
man/90-rearrange-path.py
man/check-os-release-simple.py
man/check-os-release.py
man/check-os-release.sh
man/event-quick-child.c
man/fido2-crypttab.sh
man/glib-event-glue.c
man/hwdb-usb-device.c
man/id128-app-specific.c
man/inotify-watch-tmp.c
man/journal-enumerate-fields.c
man/journal-iterate-foreach.c
man/journal-iterate-poll.c
man/journal-iterate-unique.c
man/journal-iterate-wait.c
man/journal-stream-fd.c
man/path-documents.c
man/print-unit-path.c
man/sd-bus-container-append.c
man/sd-bus-container-read.c
man/sd_bus_error-example.c
man/send-unit-files-changed.c
man/tpm2-crypttab.sh
man/vtable-example.c
man/yubikey-crypttab.sh

index 69ef2d631573d9241713dcfde9e16bedf32b7890..720b5eff6ffd33431cda2c6846ee6f5ab531a888 100644 (file)
@@ -47,8 +47,9 @@ The following exceptions apply:
    - src/basic/siphash24.h
    - src/systemctl/systemd-sysv-install.SKELETON
    - tools/check-includes.pl
-   - all examples under man/
    - config files and examples under /network
+  * the following sources are licensed under the **MIT-0** license:
+   - all examples under man/
  * the following sources are under **Public Domain** (LicenseRef-murmurhash2-public-domain):
    - src/basic/MurmurHash2.c
    - src/basic/MurmurHash2.h
index 5f042c5511abfb91b9fe2dab687d1dd2e7b08b25..0a180ffa3eafabc39d267f3fe9435ed7a21d6dec 100755 (executable)
@@ -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}"
index 50696a60e2445a1ca017923cf56366e69582f45d..5c727e411ec3ffd055c6adc5ffe1c183f24474ac 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/env python3
-# SPDX-License-Identifier: CC0-1.0
+# SPDX-License-Identifier: MIT-0
 
 """
 
index 738b1fd86054bcfeb5ef13c134dd93b8d3518867..ce73c77b14a36b46b6c9567d676ae4788ae87729 100644 (file)
@@ -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()
index 1a57c7a20d0eee80d2a8d196282b88a90b55c9b0..19b193ec76a517138265f7de5c7da5a049b07782 100644 (file)
@@ -1,5 +1,5 @@
 #!/usr/bin/python
-# SPDX-License-Identifier: CC0-1.0
+# SPDX-License-Identifier: MIT-0
 
 import ast
 import re
index 35c8cac4bdd6e56e161600f16dfeab0aef36a7c4..12f7ee12cc5cd7365ecb024c1af5b3f2e60ff147 100644 (file)
@@ -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}"
index 16cc6cf3a4c2817b9e00fafb63560a76dca4c611..8195efbaa5e3334448e756cb95542bfa20d288e7 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <assert.h>
 #include <stdio.h>
index f7d25bf88bbc47ccfa1d65e1fcfb810555054e70..acb2e177ef4073b283027d1e8e387e4082b915de 100644 (file)
@@ -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).
index 3741b5257bb812e991864e5aa6220cf592cfcb29..61e8bf6463d9160571e733d9618fdafab89573cd 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <stdlib.h>
 #include <glib.h>
index 743c190f95548dd3496a94cc2480b10c47d2f86a..19a5db802299a552fc6cf22a94bb04408220c295 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <stdio.h>
 #include <stdint.h>
index 39660f4f865f4fcb558821a2780ee1060bbaccce..b8982c75f852077d628ee1ef5e5acc33735e6060 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <stdio.h>
 #include <systemd/sd-id128.h>
index a1144790c69e26bbd6a2a5b7fe70caef112d8917..07ee8f6754ba3d1d1143629e1561d38494125f90 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <stdio.h>
 #include <string.h>
index f4b6b7b0785812afca2573f59d6e2d81c3420571..bb0931970a66ecd367375746976251f094cd4d51 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <errno.h>
 #include <stdio.h>
index 363101d5ba1e2922060f0b9acda9266d9a921c12..381b50f9ceb0e1149a1acd72dbe3acd1a8aabb7f 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <errno.h>
 #include <stdio.h>
index 8205bfd858b8911d9afe11bd059d7d37454ef5b3..d377324b780e54aafb5e766217f8f712d54ae00f 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <poll.h>
 #include <time.h>
index ac0c638032f29089c5b796db4405d80953da8eac..5fe98b36b75d20571acd9e32164dd4a88f959d26 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <errno.h>
 #include <stdio.h>
index 60b3459a18ca5760695aa46f11c94989c652ad41..ac4b60b8e9bb9a4016e594186e519656ab7491ea 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <errno.h>
 #include <stdio.h>
index d59aa14c13b174ac6f2289d81f9e4bf804316a23..8aad5ff8c66e0c3a733acdcf37f40797e22ba64b 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <errno.h>
 #include <syslog.h>
index 13ea85a82ca5bf6344f533e41075dfa89ddfd85d..a357dd659a84773b2fdff8ade11066c4f89d7450 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <stdio.h>
 #include <stdlib.h>
index ff52fd28cd25040b8f51a0d029adca067dc7de82..44c8271820f79acc3dfd74e3adea3c87fe2f7340 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <errno.h>
 #include <stdio.h>
index 11238779ddcb70dd19c9969697a36ee3f4373630..8bb4f33e867ab4e71dbf924fdb2267fa0e8be2ce 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <systemd/sd-bus.h>
 
index 75be5fa9bbaecda74e13e526fa1f30d1f5f1707c..5ede316c03b9215b7c4e0fd3a8619aeeb808a54c 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <stdio.h>
 
index abea13ca45180b2a24315e14e4138369422e979c..9b162eb6cc355eada1368c1e821878a8355255e5 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <errno.h>
 #include <string.h>
index 4d03dd1fe00c6360aa5c630e4e35fda237b8de10..dfd38a14a7af4acc97515c8f757183f8eb108408 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <systemd/sd-bus.h>
 #define _cleanup_(f) __attribute__((cleanup(f)))
index a988fb6e0b3039b8a0de05c1c92659369877b2f6..d109eb40cdf5d72e498b3237ec748a1eca2501c5 100644 (file)
@@ -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).
index d82bb18a3901dbe6b7cf569f3c7a935c74e23b43..e3346a80211432557c6824a0a0b4c1ddc7308489 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: CC0-1.0 */
+/* SPDX-License-Identifier: MIT-0 */
 
 #include <errno.h>
 #include <stdbool.h>
index 13084dbf122df7e780dbed737eb0eb9363bf3401..ce9c2917c5c4d8553d9287819919ae3fa70f286d 100644 (file)
@@ -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