diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-11-18 18:18:16 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-11-19 19:08:15 +0100 |
commit | d9215cd838eed27c41c9f1ca30b6354ebf87ecb6 (patch) | |
tree | db4618e13335418dd0471cd862cf8a2e886374ba /src | |
parent | f48f7543ca8e578f912002185ce25284a028a32b (diff) | |
download | systemd-d9215cd838eed27c41c9f1ca30b6354ebf87ecb6.tar.gz |
Add SPDX license headers to various assorted files
Diffstat (limited to 'src')
44 files changed, 86 insertions, 3 deletions
diff --git a/src/basic/sparse-endian.h b/src/basic/sparse-endian.h index a3573b84a9..5e59de5437 100644 --- a/src/basic/sparse-endian.h +++ b/src/basic/sparse-endian.h @@ -1,4 +1,6 @@ -/* Copyright (c) 2012 Josh Triplett <josh@joshtriplett.org> +/* SPDX-License-Identifier: MIT + * + * Copyright (c) 2012 Josh Triplett <josh@joshtriplett.org> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to diff --git a/src/core/macros.systemd.in b/src/core/macros.systemd.in index 03fb2a8389..940f1e895a 100644 --- a/src/core/macros.systemd.in +++ b/src/core/macros.systemd.in @@ -1,4 +1,5 @@ # -*- Mode: rpm-spec; indent-tabs-mode: nil -*- */ +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/src/core/org.freedesktop.systemd1.conf b/src/core/org.freedesktop.systemd1.conf index e824a2233c..97f6094b66 100644 --- a/src/core/org.freedesktop.systemd1.conf +++ b/src/core/org.freedesktop.systemd1.conf @@ -3,6 +3,8 @@ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <!-- + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/core/org.freedesktop.systemd1.policy.in.in b/src/core/org.freedesktop.systemd1.policy.in.in index 9f9263762e..2c6ed749fd 100644 --- a/src/core/org.freedesktop.systemd1.policy.in.in +++ b/src/core/org.freedesktop.systemd1.policy.in.in @@ -3,6 +3,8 @@ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> <!-- + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/core/org.freedesktop.systemd1.service b/src/core/org.freedesktop.systemd1.service index d4df3e93a2..8bd7302d6c 100644 --- a/src/core/org.freedesktop.systemd1.service +++ b/src/core/org.freedesktop.systemd1.service @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/core/systemd.pc.in b/src/core/systemd.pc.in index ac52b30dd3..22e8cbda8b 100644 --- a/src/core/systemd.pc.in +++ b/src/core/systemd.pc.in @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/core/triggers.systemd.in b/src/core/triggers.systemd.in index f8c8cbc5f9..985c6d8b26 100644 --- a/src/core/triggers.systemd.in +++ b/src/core/triggers.systemd.in @@ -1,4 +1,5 @@ # -*- Mode: rpm-spec; indent-tabs-mode: nil -*- */ +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/src/hostname/org.freedesktop.hostname1.conf b/src/hostname/org.freedesktop.hostname1.conf index 46b4aadc83..e2658c6c95 100644 --- a/src/hostname/org.freedesktop.hostname1.conf +++ b/src/hostname/org.freedesktop.hostname1.conf @@ -3,6 +3,8 @@ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <!-- + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/hostname/org.freedesktop.hostname1.policy.in b/src/hostname/org.freedesktop.hostname1.policy.in index cf61c15619..b10ca31ac5 100644 --- a/src/hostname/org.freedesktop.hostname1.policy.in +++ b/src/hostname/org.freedesktop.hostname1.policy.in @@ -3,6 +3,8 @@ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> <!-- + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/hostname/org.freedesktop.hostname1.service b/src/hostname/org.freedesktop.hostname1.service index 6041ed60ca..421a8c607b 100644 --- a/src/hostname/org.freedesktop.hostname1.service +++ b/src/hostname/org.freedesktop.hostname1.service @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/import/org.freedesktop.import1.conf b/src/import/org.freedesktop.import1.conf index ed2539a03b..9889cd6b10 100644 --- a/src/import/org.freedesktop.import1.conf +++ b/src/import/org.freedesktop.import1.conf @@ -3,6 +3,8 @@ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <!-- + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/import/org.freedesktop.import1.policy.in b/src/import/org.freedesktop.import1.policy.in index 39167b06bc..d96ca2d060 100644 --- a/src/import/org.freedesktop.import1.policy.in +++ b/src/import/org.freedesktop.import1.policy.in @@ -3,6 +3,8 @@ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> <!-- + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/import/org.freedesktop.import1.service b/src/import/org.freedesktop.import1.service index 8fc4c47881..34d26d0732 100644 --- a/src/import/org.freedesktop.import1.service +++ b/src/import/org.freedesktop.import1.service @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/journal/fsprg.c b/src/journal/fsprg.c index e7c22880be..281b48904a 100644 --- a/src/journal/fsprg.c +++ b/src/journal/fsprg.c @@ -1,4 +1,5 @@ -/* +/* SPDX-License-Identifier: LGPL-2.1+ + * * fsprg v0.1 - (seekable) forward-secure pseudorandom generator * Copyright (C) 2012 B. Poettering * Contact: fsprg@point-at-infinity.org diff --git a/src/journal/fsprg.h b/src/journal/fsprg.h index 829b56e240..e0ec8884be 100644 --- a/src/journal/fsprg.h +++ b/src/journal/fsprg.h @@ -1,3 +1,5 @@ +/* SPDX-License-Identifier: LGPL-2.1+ */ + #ifndef __fsprgh__ #define __fsprgh__ diff --git a/src/kernel-install/kernel-install b/src/kernel-install/kernel-install index 66bc4a6e8e..6eabb09e3c 100644 --- a/src/kernel-install/kernel-install +++ b/src/kernel-install/kernel-install @@ -1,6 +1,7 @@ #!/bin/bash # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- # ex: ts=8 sw=4 sts=4 et filetype=sh +# SPDX-License-Identifier: LGPL-2.1+ # # This file is part of systemd. # diff --git a/src/libsystemd/libsystemd.pc.in b/src/libsystemd/libsystemd.pc.in index 7e6d4999cb..c861905b67 100644 --- a/src/libsystemd/libsystemd.pc.in +++ b/src/libsystemd/libsystemd.pc.in @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/libsystemd/libsystemd.sym b/src/libsystemd/libsystemd.sym index 2becf104d7..1a29b03e85 100644 --- a/src/libsystemd/libsystemd.sym +++ b/src/libsystemd/libsystemd.sym @@ -1,4 +1,6 @@ /*** + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/libudev/libudev.pc.in b/src/libudev/libudev.pc.in index 1becae45fd..69f5c6463e 100644 --- a/src/libudev/libudev.pc.in +++ b/src/libudev/libudev.pc.in @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/libudev/libudev.sym b/src/libudev/libudev.sym index 76726fca77..1e8dbfa056 100644 --- a/src/libudev/libudev.sym +++ b/src/libudev/libudev.sym @@ -1,4 +1,6 @@ /*** + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/locale/org.freedesktop.locale1.conf b/src/locale/org.freedesktop.locale1.conf index 79d0ecd2bb..d74cbc11ab 100644 --- a/src/locale/org.freedesktop.locale1.conf +++ b/src/locale/org.freedesktop.locale1.conf @@ -3,6 +3,8 @@ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <!-- + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/locale/org.freedesktop.locale1.policy.in b/src/locale/org.freedesktop.locale1.policy.in index 575a1ffaaf..4c1c34da09 100644 --- a/src/locale/org.freedesktop.locale1.policy.in +++ b/src/locale/org.freedesktop.locale1.policy.in @@ -3,6 +3,8 @@ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> <!-- + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/locale/org.freedesktop.locale1.service b/src/locale/org.freedesktop.locale1.service index 025f9a0fc2..b15d39540c 100644 --- a/src/locale/org.freedesktop.locale1.service +++ b/src/locale/org.freedesktop.locale1.service @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/login/70-power-switch.rules b/src/login/70-power-switch.rules index 394a80f1f8..d69e65b3d5 100644 --- a/src/login/70-power-switch.rules +++ b/src/login/70-power-switch.rules @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/login/70-uaccess.rules b/src/login/70-uaccess.rules index e946bf2380..f2c838f353 100644 --- a/src/login/70-uaccess.rules +++ b/src/login/70-uaccess.rules @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/login/71-seat.rules.in b/src/login/71-seat.rules.in index de55c9a4ec..0db46adc84 100644 --- a/src/login/71-seat.rules.in +++ b/src/login/71-seat.rules.in @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/login/73-seat-late.rules.in b/src/login/73-seat-late.rules.in index 901df750fd..d2546c8ee9 100644 --- a/src/login/73-seat-late.rules.in +++ b/src/login/73-seat-late.rules.in @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/login/org.freedesktop.login1.conf b/src/login/org.freedesktop.login1.conf index 27aac0dd7c..d842411781 100644 --- a/src/login/org.freedesktop.login1.conf +++ b/src/login/org.freedesktop.login1.conf @@ -3,6 +3,8 @@ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <!-- + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in index 17bae02f5e..47162022d2 100644 --- a/src/login/org.freedesktop.login1.policy.in +++ b/src/login/org.freedesktop.login1.policy.in @@ -3,6 +3,8 @@ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> <!-- + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/login/org.freedesktop.login1.service b/src/login/org.freedesktop.login1.service index 762dae2bb3..68f1ed0f48 100644 --- a/src/login/org.freedesktop.login1.service +++ b/src/login/org.freedesktop.login1.service @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/login/pam_systemd.sym b/src/login/pam_systemd.sym index 23ff75f688..d48b9e8ccd 100644 --- a/src/login/pam_systemd.sym +++ b/src/login/pam_systemd.sym @@ -1,4 +1,6 @@ /*** + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/machine/org.freedesktop.machine1.policy.in b/src/machine/org.freedesktop.machine1.policy.in index b266b564b0..eeeeb4c0f8 100644 --- a/src/machine/org.freedesktop.machine1.policy.in +++ b/src/machine/org.freedesktop.machine1.policy.in @@ -3,6 +3,8 @@ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> <!-- + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/machine/org.freedesktop.machine1.service b/src/machine/org.freedesktop.machine1.service index d3dc99852b..d07bcae6eb 100644 --- a/src/machine/org.freedesktop.machine1.service +++ b/src/machine/org.freedesktop.machine1.service @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/network/org.freedesktop.network1.service b/src/network/org.freedesktop.network1.service index bea885fe53..641a1a5cc1 100644 --- a/src/network/org.freedesktop.network1.service +++ b/src/network/org.freedesktop.network1.service @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/nss-myhostname/nss-myhostname.sym b/src/nss-myhostname/nss-myhostname.sym index 78646c38b4..0dcdb9bd40 100644 --- a/src/nss-myhostname/nss-myhostname.sym +++ b/src/nss-myhostname/nss-myhostname.sym @@ -1,4 +1,6 @@ /*** + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/nss-mymachines/nss-mymachines.sym b/src/nss-mymachines/nss-mymachines.sym index 0728ac3ba7..056d4276f9 100644 --- a/src/nss-mymachines/nss-mymachines.sym +++ b/src/nss-mymachines/nss-mymachines.sym @@ -1,4 +1,6 @@ /*** + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/nss-resolve/nss-resolve.sym b/src/nss-resolve/nss-resolve.sym index df8dff2a20..27570dfce4 100644 --- a/src/nss-resolve/nss-resolve.sym +++ b/src/nss-resolve/nss-resolve.sym @@ -1,4 +1,6 @@ /*** + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/nss-systemd/nss-systemd.sym b/src/nss-systemd/nss-systemd.sym index 955078788a..e3fe56f684 100644 --- a/src/nss-systemd/nss-systemd.sym +++ b/src/nss-systemd/nss-systemd.sym @@ -1,4 +1,6 @@ /*** + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/resolve/org.freedesktop.resolve1.service b/src/resolve/org.freedesktop.resolve1.service index 7ac5c323f0..2c25a6129c 100644 --- a/src/resolve/org.freedesktop.resolve1.service +++ b/src/resolve/org.freedesktop.resolve1.service @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/timedate/org.freedesktop.timedate1.conf b/src/timedate/org.freedesktop.timedate1.conf index 36557d5841..53f6c8435d 100644 --- a/src/timedate/org.freedesktop.timedate1.conf +++ b/src/timedate/org.freedesktop.timedate1.conf @@ -3,6 +3,8 @@ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <!-- + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/timedate/org.freedesktop.timedate1.policy.in b/src/timedate/org.freedesktop.timedate1.policy.in index c706050985..cc2e1652da 100644 --- a/src/timedate/org.freedesktop.timedate1.policy.in +++ b/src/timedate/org.freedesktop.timedate1.policy.in @@ -3,6 +3,8 @@ "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd"> <!-- + SPDX-License-Identifier: LGPL-2.1+ + This file is part of systemd. systemd is free software; you can redistribute it and/or modify it diff --git a/src/timedate/org.freedesktop.timedate1.service b/src/timedate/org.freedesktop.timedate1.service index 875f4bec78..d5f3a6e30d 100644 --- a/src/timedate/org.freedesktop.timedate1.service +++ b/src/timedate/org.freedesktop.timedate1.service @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it diff --git a/src/udev/udev-ctrl.c b/src/udev/udev-ctrl.c index 92e4f8d9c0..7b8110582d 100644 --- a/src/udev/udev-ctrl.c +++ b/src/udev/udev-ctrl.c @@ -1,4 +1,5 @@ -/* +/* SPDX-License-Identifier: LGPL-2.1+ + * * libudev - interface to udev device information * * Copyright (C) 2008 Kay Sievers <kay@vrfy.org> diff --git a/src/vconsole/90-vconsole.rules.in b/src/vconsole/90-vconsole.rules.in index 84b4d575bd..11137163ed 100644 --- a/src/vconsole/90-vconsole.rules.in +++ b/src/vconsole/90-vconsole.rules.in @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: LGPL-2.1+ +# # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it |