From 969056d0e1de27ab99946632849b6f965e51f753 Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Tue, 13 Mar 2018 19:14:05 +0100 Subject: Prep v236 : Add missing SPDX-License-Identifier (5/9) src/login --- src/login/logind-device.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/login/logind-device.h') diff --git a/src/login/logind-device.h b/src/login/logind-device.h index 927068e00..d0911560d 100644 --- a/src/login/logind-device.h +++ b/src/login/logind-device.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once /*** -- cgit v1.2.3 From 9d1ff89d622fd4d8b3be210996cfa73943d81e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 6 Apr 2018 18:58:55 +0200 Subject: tree-wide: drop license boilerplate Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that. --- src/login/logind-device.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/login/logind-device.h') diff --git a/src/login/logind-device.h b/src/login/logind-device.h index d0911560d..f6a4fafa6 100644 --- a/src/login/logind-device.h +++ b/src/login/logind-device.h @@ -5,19 +5,6 @@ This file is part of systemd. Copyright 2011 Lennart Poettering - - systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU Lesser General Public License as published by - the Free Software Foundation; either version 2.1 of the License, or - (at your option) any later version. - - systemd is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License - along with systemd; If not, see . ***/ typedef struct Device Device; -- cgit v1.2.3 From dd656b3679e4b5a7ec3534bf8786b022327e080d Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 12 Jun 2018 17:04:27 +0200 Subject: tree-wide: drop 'This file is part of systemd' blurb This part of the copyright blurb stems from the GPL use recommendations: https://www.gnu.org/licenses/gpl-howto.en.html The concept appears to originate in times where version control was per file, instead of per tree, and was a way to glue the files together. Ultimately, we nowadays don't live in that world anymore, and this information is entirely useless anyway, as people are very welcome to copy these files into any projects they like, and they shouldn't have to change bits that are part of our copyright header for that. hence, let's just get rid of this old cruft, and shorten our codebase a bit. --- src/login/logind-device.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/login/logind-device.h') diff --git a/src/login/logind-device.h b/src/login/logind-device.h index f6a4fafa6..09bf341ad 100644 --- a/src/login/logind-device.h +++ b/src/login/logind-device.h @@ -2,8 +2,6 @@ #pragma once /*** - This file is part of systemd. - Copyright 2011 Lennart Poettering ***/ -- cgit v1.2.3 From 3af26cec424c7108d1065754f5583827b9f9c3c5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 12 Jun 2018 18:23:39 +0200 Subject: tree-wide: remove Lennart's copyright lines These lines are generally out-of-date, incomplete and unnecessary. With SPDX and git repository much more accurate and fine grained information about licensing and authorship is available, hence let's drop the per-file copyright notice. Of course, removing copyright lines of others is problematic, hence this commit only removes my own lines and leaves all others untouched. It might be nicer if sooner or later those could go away too, making git the only and accurate source of authorship information. --- src/login/logind-device.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/login/logind-device.h') diff --git a/src/login/logind-device.h b/src/login/logind-device.h index 09bf341ad..cc6e52367 100644 --- a/src/login/logind-device.h +++ b/src/login/logind-device.h @@ -1,10 +1,6 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once -/*** - Copyright 2011 Lennart Poettering -***/ - typedef struct Device Device; #include "list.h" -- cgit v1.2.3