From: Simon McVittie Date: Mon, 14 Aug 2023 15:53:55 +0000 (+0100) Subject: Add SPDX license tags for the MIT (Expat) license, where straightforward X-Git-Tag: dbus-1.15.8~17^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3190b488e328c428bb2104b3a8adb079005e3ad1;p=thirdparty%2Fdbus.git Add SPDX license tags for the MIT (Expat) license, where straightforward Signed-off-by: Simon McVittie --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b2d11306e..fbf13c025 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,5 @@ # Copyright © 2015-2018 Collabora Ltd. +# SPDX-License-Identifier: MIT # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files diff --git a/dbus/dbus-server-launchd.c b/dbus/dbus-server-launchd.c index 5c2b1d65c..b28b45767 100644 --- a/dbus/dbus-server-launchd.c +++ b/dbus/dbus-server-launchd.c @@ -3,6 +3,7 @@ * Copyright (C) 2008, Colin Walters * Copyright (C) 2008-2009, Benjamin Reed * Copyright (C) 2009, Jonas Bähr + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation diff --git a/dbus/dbus-server-launchd.h b/dbus/dbus-server-launchd.h index 269b91434..51c9628e1 100644 --- a/dbus/dbus-server-launchd.h +++ b/dbus/dbus-server-launchd.h @@ -1,5 +1,6 @@ /* dbus-server-launchd.h Server methods for interacting with launchd. * Copyright (C) 2008, Benjamin Reed +* SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation diff --git a/dbus/dbus-test-tap.c b/dbus/dbus-test-tap.c index 3e763d4b1..e4ae443a8 100644 --- a/dbus/dbus-test-tap.c +++ b/dbus/dbus-test-tap.c @@ -2,6 +2,7 @@ /* dbus-test-tap — TAP helpers for "embedded tests" * * Copyright © 2017 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/dbus/dbus-test-tap.h b/dbus/dbus-test-tap.h index fd4c7af74..157942e1e 100644 --- a/dbus/dbus-test-tap.h +++ b/dbus/dbus-test-tap.h @@ -2,6 +2,7 @@ /* dbus-test-tap — TAP helpers for "embedded tests" * * Copyright © 2017 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/doc/meson.build b/doc/meson.build index 3e5f52a85..adc6f17dc 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -1,4 +1,5 @@ # Copyright © 2019-2020 Salamandar +# SPDX-License-Identifier: MIT # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/doc/meson_post_install.py b/doc/meson_post_install.py index be8e3b292..106725ccd 100644 --- a/doc/meson_post_install.py +++ b/doc/meson_post_install.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # Copyright © 2019-2020 Salamandar +# SPDX-License-Identifier: MIT # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/meson.build b/meson.build index 4fef61002..4b2d9b900 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,5 @@ # Copyright © 2019-2020 Salamandar +# SPDX-License-Identifier: MIT # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/meson_post_install.py b/meson_post_install.py index 30cb7bdff..cfc03b221 100755 --- a/meson_post_install.py +++ b/meson_post_install.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 # Copyright © 2019-2020 Salamandar +# SPDX-License-Identifier: MIT # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal diff --git a/test/containers.c b/test/containers.c index 553b60887..796364600 100644 --- a/test/containers.c +++ b/test/containers.c @@ -1,6 +1,7 @@ /* Integration tests for restricted sockets for containers * * Copyright © 2017-2018 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/corrupt.c b/test/corrupt.c index e5d15df48..5eb3ff3f0 100644 --- a/test/corrupt.c +++ b/test/corrupt.c @@ -2,6 +2,7 @@ * * Author: Simon McVittie * Copyright © 2010-2011 Nokia Corporation + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/data/dbus-installed-tests.aaprofile.in b/test/data/dbus-installed-tests.aaprofile.in index edb793c19..823d24c2e 100644 --- a/test/data/dbus-installed-tests.aaprofile.in +++ b/test/data/dbus-installed-tests.aaprofile.in @@ -1,4 +1,5 @@ # Copyright © 2016 Collabora Ltd. +# SPDX-License-Identifier: MIT # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files diff --git a/test/dbus-daemon-eavesdrop.c b/test/dbus-daemon-eavesdrop.c index 6f4d9bb56..1f8054f2a 100644 --- a/test/dbus-daemon-eavesdrop.c +++ b/test/dbus-daemon-eavesdrop.c @@ -3,6 +3,7 @@ * Author: Cosimo Alfarano * Based on: tests/dbus-daemon.c by Simon McVittie * Copyright © 2010-2011 Nokia Corporation + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/dbus-daemon.c b/test/dbus-daemon.c index 881e0d061..1288fe0c2 100644 --- a/test/dbus-daemon.c +++ b/test/dbus-daemon.c @@ -4,6 +4,7 @@ * Copyright © 2008 Red Hat, Inc. * Copyright © 2010-2011 Nokia Corporation * Copyright © 2015-2018 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/fdpass.c b/test/fdpass.c index 3786c77d4..cf344dae3 100644 --- a/test/fdpass.c +++ b/test/fdpass.c @@ -1,6 +1,7 @@ /* * Copyright © 2010-2012 Nokia Corporation * Copyright © 2014 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/header-fields.c b/test/header-fields.c index b0d89d616..c4dcd97f2 100644 --- a/test/header-fields.c +++ b/test/header-fields.c @@ -1,6 +1,7 @@ /* Unit tests for detailed header field manipulation * * Copyright © 2017 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/integration/transient-services.sh b/test/integration/transient-services.sh index 40bb8aed5..27a930a0a 100644 --- a/test/integration/transient-services.sh +++ b/test/integration/transient-services.sh @@ -1,6 +1,7 @@ #!/bin/sh # Copyright © 2017 Collabora Ltd. +# SPDX-License-Identifier: MIT # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files diff --git a/test/internals/assertions.c b/test/internals/assertions.c index 7d3f86941..12b6735da 100644 --- a/test/internals/assertions.c +++ b/test/internals/assertions.c @@ -1,5 +1,6 @@ /* * Copyright © 2018 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/internals/atomic.c b/test/internals/atomic.c index d595dc177..136265ea8 100644 --- a/test/internals/atomic.c +++ b/test/internals/atomic.c @@ -2,6 +2,7 @@ * * Author: Simon McVittie * Copyright © 2013 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/internals/desktop-file.c b/test/internals/desktop-file.c index 4db4076fa..c28e0dff1 100644 --- a/test/internals/desktop-file.c +++ b/test/internals/desktop-file.c @@ -1,5 +1,6 @@ /* * Copyright 2018 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/internals/printf.c b/test/internals/printf.c index 3f6b0f96b..d9a162573 100644 --- a/test/internals/printf.c +++ b/test/internals/printf.c @@ -2,6 +2,7 @@ * * Author: Simon McVittie * Copyright © 2013 Intel Corporation + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/internals/refs.c b/test/internals/refs.c index f75ba1b60..37d9c40ef 100644 --- a/test/internals/refs.c +++ b/test/internals/refs.c @@ -2,6 +2,7 @@ * * Author: Simon McVittie * Copyright © 2011 Nokia Corporation + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/internals/server-oom.c b/test/internals/server-oom.c index d1688416b..459994b9c 100644 --- a/test/internals/server-oom.c +++ b/test/internals/server-oom.c @@ -1,6 +1,7 @@ /* Targeted unit tests for OOM paths in DBusServer * * Copyright © 2017 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/internals/sysdeps.c b/test/internals/sysdeps.c index 4deb48bcd..3f920c73f 100644 --- a/test/internals/sysdeps.c +++ b/test/internals/sysdeps.c @@ -1,5 +1,6 @@ /* * Copyright © 2018 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/internals/syslog.c b/test/internals/syslog.c index 93f885a4f..28267f140 100644 --- a/test/internals/syslog.c +++ b/test/internals/syslog.c @@ -2,6 +2,7 @@ * * Author: Simon McVittie * Copyright © 2011 Nokia Corporation + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/internals/variant.c b/test/internals/variant.c index e5135429b..7e16495a5 100644 --- a/test/internals/variant.c +++ b/test/internals/variant.c @@ -1,6 +1,7 @@ /* Regression test for DBusVariant * * Copyright © 2017 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/loopback.c b/test/loopback.c index 6b392f8b6..6c6d5a9b8 100644 --- a/test/loopback.c +++ b/test/loopback.c @@ -3,6 +3,7 @@ * Author: Simon McVittie * Copyright © 2010-2012 Nokia Corporation * Copyright © 2015 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/manual-authz.c b/test/manual-authz.c index ee9bc52f9..7e82dc603 100644 --- a/test/manual-authz.c +++ b/test/manual-authz.c @@ -2,6 +2,7 @@ * * Copyright © 2010-2011 Nokia Corporation * Copyright © 2012 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/marshal.c b/test/marshal.c index a1e0589d6..6bba7aa93 100644 --- a/test/marshal.c +++ b/test/marshal.c @@ -2,6 +2,7 @@ * * Author: Simon McVittie * Copyright © 2010-2011 Nokia Corporation + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/message.c b/test/message.c index d2c9db2b0..88616b5b4 100644 --- a/test/message.c +++ b/test/message.c @@ -1,6 +1,7 @@ /* Targeted unit tests for OOM paths in DBusMessage * * Copyright © 2017 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/monitor.c b/test/monitor.c index 846a980c7..f685221aa 100644 --- a/test/monitor.c +++ b/test/monitor.c @@ -2,6 +2,7 @@ * * Copyright © 2010-2011 Nokia Corporation * Copyright © 2015 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/name-test/test-pending-call-disconnected.c b/test/name-test/test-pending-call-disconnected.c index 6ef04b6b1..0123cc6ae 100644 --- a/test/name-test/test-pending-call-disconnected.c +++ b/test/name-test/test-pending-call-disconnected.c @@ -1,6 +1,7 @@ /* * Copyright © 2006 Red Hat Inc. * Copyright © 2017 Shin-ichi MORITA + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/name-test/test-pending-call-dispatch.c b/test/name-test/test-pending-call-dispatch.c index e30d1f740..dfbee87f6 100644 --- a/test/name-test/test-pending-call-dispatch.c +++ b/test/name-test/test-pending-call-dispatch.c @@ -1,5 +1,6 @@ /* * Copyright © 2006 Red Hat Inc. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/relay.c b/test/relay.c index 8bddec8c5..484dc9b5b 100644 --- a/test/relay.c +++ b/test/relay.c @@ -2,6 +2,7 @@ * * Author: Simon McVittie * Copyright © 2010-2011 Nokia Corporation + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/sd-activation.c b/test/sd-activation.c index e02e30132..57673af9a 100644 --- a/test/sd-activation.c +++ b/test/sd-activation.c @@ -5,6 +5,7 @@ * * Copyright © 2010-2011 Nokia Corporation * Copyright © 2015 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/syntax.c b/test/syntax.c index fbfc86729..b62d3e425 100644 --- a/test/syntax.c +++ b/test/syntax.c @@ -2,6 +2,7 @@ * * Author: Simon McVittie * Copyright © 2010-2011 Nokia Corporation + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/test-apparmor-activation.sh b/test/test-apparmor-activation.sh index ffc125349..86335a512 100644 --- a/test/test-apparmor-activation.sh +++ b/test/test-apparmor-activation.sh @@ -1,6 +1,7 @@ #!/bin/sh # Copyright © 2016 Collabora Ltd. +# SPDX-License-Identifier: MIT # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files diff --git a/test/test-dbus-daemon-fork.sh b/test/test-dbus-daemon-fork.sh index 1a7175de5..5c05e2bae 100755 --- a/test/test-dbus-daemon-fork.sh +++ b/test/test-dbus-daemon-fork.sh @@ -1,6 +1,7 @@ #!/bin/sh # Copyright © 2016 Collabora Ltd. +# SPDX-License-Identifier: MIT # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files diff --git a/test/test-dbus-launch-eval.sh b/test/test-dbus-launch-eval.sh index cd9606503..c338cd459 100755 --- a/test/test-dbus-launch-eval.sh +++ b/test/test-dbus-launch-eval.sh @@ -1,6 +1,7 @@ #!/bin/sh # Copyright © 2016 Collabora Ltd. +# SPDX-License-Identifier: MIT # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files diff --git a/test/test-dbus-launch-x11.sh b/test/test-dbus-launch-x11.sh index 48c2718ca..e57831e08 100755 --- a/test/test-dbus-launch-x11.sh +++ b/test/test-dbus-launch-x11.sh @@ -1,6 +1,7 @@ #!/bin/sh # Copyright © 2016 Collabora Ltd. +# SPDX-License-Identifier: MIT # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files diff --git a/test/test-privserver.c b/test/test-privserver.c index 2bcbf8407..fadc6cbf6 100644 --- a/test/test-privserver.c +++ b/test/test-privserver.c @@ -3,6 +3,7 @@ * Copyright 2010 Ralf Habacker * Copyright 2016-2018 Collabora Ltd. * Copyright 2017 Endless Mobile, Inc. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/test-utils-glib.c b/test/test-utils-glib.c index d0f7cdc0b..1d469c7b0 100644 --- a/test/test-utils-glib.c +++ b/test/test-utils-glib.c @@ -2,6 +2,7 @@ * * Copyright © 2010-2011 Nokia Corporation * Copyright © 2013-2015 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/test-utils-glib.h b/test/test-utils-glib.h index bfc369411..427f7d538 100644 --- a/test/test-utils-glib.h +++ b/test/test-utils-glib.h @@ -2,6 +2,7 @@ * * Copyright © 2010-2011 Nokia Corporation * Copyright © 2013-2015 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/test/uid-permissions.c b/test/uid-permissions.c index b48ab0481..e2688bd01 100644 --- a/test/uid-permissions.c +++ b/test/uid-permissions.c @@ -3,6 +3,7 @@ * Author: Simon McVittie * Copyright © 2010-2011 Nokia Corporation * Copyright © 2015 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/tools/ci-build.sh b/tools/ci-build.sh index d57281a0f..98afd8aa0 100755 --- a/tools/ci-build.sh +++ b/tools/ci-build.sh @@ -2,6 +2,7 @@ # Copyright © 2015-2016 Collabora Ltd. # Copyright © 2020 Ralf Habacker +# SPDX-License-Identifier: MIT # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files diff --git a/tools/ci-install.sh b/tools/ci-install.sh index 716c6422b..c8524a652 100755 --- a/tools/ci-install.sh +++ b/tools/ci-install.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash # Copyright © 2015-2016 Collabora Ltd. +# SPDX-License-Identifier: MIT # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files diff --git a/tools/dbus-update-activation-environment.c b/tools/dbus-update-activation-environment.c index 452e50532..4c585b458 100644 --- a/tools/dbus-update-activation-environment.c +++ b/tools/dbus-update-activation-environment.c @@ -3,6 +3,7 @@ * systemd, activation environment * * Copyright © 2014-2015 Collabora Ltd. + * SPDX-License-Identifier: MIT * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation files diff --git a/tools/docker/windows/Install.cmd b/tools/docker/windows/Install.cmd index 7fa1c0cd5..bbd0b3c6d 100644 --- a/tools/docker/windows/Install.cmd +++ b/tools/docker/windows/Install.cmd @@ -1,6 +1,7 @@ @rem Copyright (C) Microsoft Corporation. All rights reserved. @rem https://github.com/MicrosoftDocs/visualstudio-docs/blob/main/docs/install/advanced-build-tools-container.md#install-script @rem Licensed under the MIT license. +@rem SPDX-License-Identifier: MIT @if not defined _echo echo off setlocal enabledelayedexpansion