summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/.dir-locals.el1
-rwxr-xr-xman/50-xdg-data-dirs.sh1
-rwxr-xr-xman/90-rearrange-path.py1
-rw-r--r--man/check-os-release.py1
-rw-r--r--man/check-os-release.sh1
-rw-r--r--man/fido2-crypttab.sh2
-rwxr-xr-xman/html.in1
-rw-r--r--man/hwdb-usb-device.c2
-rw-r--r--man/id128-app-specific.c2
-rw-r--r--man/inotify-watch-tmp.c2
-rw-r--r--man/journal-iterate-poll.c2
-rw-r--r--man/journal-iterate-unique.c2
-rw-r--r--man/journal-iterate-wait.c2
-rwxr-xr-xman/man.in2
-rw-r--r--man/path-documents.c2
-rw-r--r--man/print-unit-path.c2
-rw-r--r--man/repart.d.xml2
-rw-r--r--man/sd-bus-container-append.c2
-rw-r--r--man/sd-bus-container-read.c2
-rw-r--r--man/send-unit-files-changed.c2
-rw-r--r--man/tpm2-crypttab.sh2
-rw-r--r--man/vtable-example.c2
-rw-r--r--man/vtable-example.xml1
-rw-r--r--man/yubikey-crypttab.sh2
24 files changed, 41 insertions, 0 deletions
diff --git a/man/.dir-locals.el b/man/.dir-locals.el
index c252bd3703..bd028d1ff0 100644
--- a/man/.dir-locals.el
+++ b/man/.dir-locals.el
@@ -1,3 +1,4 @@
+; SPDX-License-Identifier: LGPL-2.1-or-later
; special .c mode with reduced indentation for man pages
((c-mode . ((fill-column . 80)
(c-basic-offset . 2)
diff --git a/man/50-xdg-data-dirs.sh b/man/50-xdg-data-dirs.sh
index ce062e394b..02216abf6c 100755
--- a/man/50-xdg-data-dirs.sh
+++ b/man/50-xdg-data-dirs.sh
@@ -1,4 +1,5 @@
#!/bin/bash
+# SPDX-License-Identifier: CC0-1.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 70ee982d47..50696a60e2 100755
--- a/man/90-rearrange-path.py
+++ b/man/90-rearrange-path.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
+# SPDX-License-Identifier: CC0-1.0
"""
diff --git a/man/check-os-release.py b/man/check-os-release.py
index d009563f02..009eb8e4d5 100644
--- a/man/check-os-release.py
+++ b/man/check-os-release.py
@@ -1,4 +1,5 @@
#!/usr/bin/python
+# SPDX-License-Identifier: CC0-1.0
import ast
import re
diff --git a/man/check-os-release.sh b/man/check-os-release.sh
index d00c0f9268..35c8cac4bd 100644
--- a/man/check-os-release.sh
+++ b/man/check-os-release.sh
@@ -1,4 +1,5 @@
#!/bin/sh -eu
+# SPDX-License-Identifier: CC0-1.0
test -e /etc/os-release && os_release='/etc/os-release' || os_release='/usr/lib/os-release'
. "${os_release}"
diff --git a/man/fido2-crypttab.sh b/man/fido2-crypttab.sh
index 49e536cae8..f7d25bf88b 100644
--- a/man/fido2-crypttab.sh
+++ b/man/fido2-crypttab.sh
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
# Enroll the security token in the LUKS2 volume. Replace /dev/sdXn by the
# partition to use (e.g. /dev/sda1).
sudo systemd-cryptenroll --fido2-device=auto /dev/sdXn
diff --git a/man/html.in b/man/html.in
index 3ae02bd77d..5e545b7412 100755
--- a/man/html.in
+++ b/man/html.in
@@ -1,4 +1,5 @@
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
set -e
if [ -z "$1" ]; then
diff --git a/man/hwdb-usb-device.c b/man/hwdb-usb-device.c
index a85c3bcf10..743c190f95 100644
--- a/man/hwdb-usb-device.c
+++ b/man/hwdb-usb-device.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: CC0-1.0 */
+
#include <stdio.h>
#include <stdint.h>
#include <sd-hwdb.h>
diff --git a/man/id128-app-specific.c b/man/id128-app-specific.c
index b81e50ff32..39660f4f86 100644
--- a/man/id128-app-specific.c
+++ b/man/id128-app-specific.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: CC0-1.0 */
+
#include <stdio.h>
#include <systemd/sd-id128.h>
diff --git a/man/inotify-watch-tmp.c b/man/inotify-watch-tmp.c
index ca790f0a99..a1144790c6 100644
--- a/man/inotify-watch-tmp.c
+++ b/man/inotify-watch-tmp.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: CC0-1.0 */
+
#include <stdio.h>
#include <string.h>
#include <sys/inotify.h>
diff --git a/man/journal-iterate-poll.c b/man/journal-iterate-poll.c
index 100d07e202..8205bfd858 100644
--- a/man/journal-iterate-poll.c
+++ b/man/journal-iterate-poll.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: CC0-1.0 */
+
#include <poll.h>
#include <time.h>
#include <systemd/sd-journal.h>
diff --git a/man/journal-iterate-unique.c b/man/journal-iterate-unique.c
index fcf92e7b3f..e9f273c6e5 100644
--- a/man/journal-iterate-unique.c
+++ b/man/journal-iterate-unique.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: CC0-1.0 */
+
#include <stdio.h>
#include <string.h>
#include <systemd/sd-journal.h>
diff --git a/man/journal-iterate-wait.c b/man/journal-iterate-wait.c
index 0a23569f79..2b6d8a0fa8 100644
--- a/man/journal-iterate-wait.c
+++ b/man/journal-iterate-wait.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: CC0-1.0 */
+
#include <stdio.h>
#include <string.h>
#include <systemd/sd-journal.h>
diff --git a/man/man.in b/man/man.in
index 40b7476bc5..201c32dae2 100755
--- a/man/man.in
+++ b/man/man.in
@@ -1,4 +1,6 @@
#!/bin/sh
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
set -e
if [ -z "$1" ]; then
diff --git a/man/path-documents.c b/man/path-documents.c
index 082d6c29fb..13ea85a82c 100644
--- a/man/path-documents.c
+++ b/man/path-documents.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: CC0-1.0 */
+
#include <stdio.h>
#include <stdlib.h>
#include <sd-path.h>
diff --git a/man/print-unit-path.c b/man/print-unit-path.c
index 23b58a26e2..41a21aab52 100644
--- a/man/print-unit-path.c
+++ b/man/print-unit-path.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: CC0-1.0 */
+
#include <stdio.h>
#include <string.h>
#include <unistd.h>
diff --git a/man/repart.d.xml b/man/repart.d.xml
index d3059e9ec6..63d6d82694 100644
--- a/man/repart.d.xml
+++ b/man/repart.d.xml
@@ -1,6 +1,8 @@
<?xml version='1.0'?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
+
<refentry id="repart.d" conditional='ENABLE_REPART'
xmlns:xi="http://www.w3.org/2001/XInclude">
diff --git a/man/sd-bus-container-append.c b/man/sd-bus-container-append.c
index e350ea03d6..11238779dd 100644
--- a/man/sd-bus-container-append.c
+++ b/man/sd-bus-container-append.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: CC0-1.0 */
+
#include <systemd/sd-bus.h>
int append_strings_to_message(sd_bus_message *m, const char *const *arr) {
diff --git a/man/sd-bus-container-read.c b/man/sd-bus-container-read.c
index b6c95f47fd..75be5fa9bb 100644
--- a/man/sd-bus-container-read.c
+++ b/man/sd-bus-container-read.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: CC0-1.0 */
+
#include <stdio.h>
#include <systemd/sd-bus.h>
diff --git a/man/send-unit-files-changed.c b/man/send-unit-files-changed.c
index aecfbcbed1..4d03dd1fe0 100644
--- a/man/send-unit-files-changed.c
+++ b/man/send-unit-files-changed.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: CC0-1.0 */
+
#include <systemd/sd-bus.h>
#define _cleanup_(f) __attribute__((cleanup(f)))
diff --git a/man/tpm2-crypttab.sh b/man/tpm2-crypttab.sh
index 41db2aeddd..a988fb6e0b 100644
--- a/man/tpm2-crypttab.sh
+++ b/man/tpm2-crypttab.sh
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.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).
sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=7 /dev/sdXn
diff --git a/man/vtable-example.c b/man/vtable-example.c
index dede12befd..c6e73ae7c9 100644
--- a/man/vtable-example.c
+++ b/man/vtable-example.c
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: CC0-1.0 */
+
#include <errno.h>
#include <stdbool.h>
#include <stddef.h>
diff --git a/man/vtable-example.xml b/man/vtable-example.xml
index a3cdeae704..dc5fac4f26 100644
--- a/man/vtable-example.xml
+++ b/man/vtable-example.xml
@@ -1,5 +1,6 @@
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<!-- SPDX-License-Identifier: LGPL-2.1-or-later -->
<node>
<interface name="org.freedesktop.DBus.Peer">
<method name="Ping"/>
diff --git a/man/yubikey-crypttab.sh b/man/yubikey-crypttab.sh
index 05e581b32b..13084dbf12 100644
--- a/man/yubikey-crypttab.sh
+++ b/man/yubikey-crypttab.sh
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: CC0-1.0
+
# Destroy any old key on the Yubikey (careful!)
ykman piv reset