summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-03-28 12:39:58 +0100
committerThomas Haller <thaller@redhat.com>2020-03-28 12:45:19 +0100
commit46dd4d0fbfe67860b1fd67a1b555fc25f5213159 (patch)
tree9d009b350e3a1c0e1fd73d64486d9967cd38ebe2
parentff814923ebfa434ba0ffaa13f0d61a4bb8ad6ec4 (diff)
parent648155e4a19b67b2098ed9e22c119d679d1600d2 (diff)
downloadNetworkManager-46dd4d0fbfe67860b1fd67a1b555fc25f5213159.tar.gz
meson: merge branch 'inigomartinez/meson-license'
Add SPDX license headers for meson files. As far as I can tell, according to RELICENSE.md file, almost everybody who contributed to the meson files agreed to the LGPL-2.1+ licensing. This entails the vast majority of code in question. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/397
-rw-r--r--clients/cli/meson.build2
-rw-r--r--clients/cloud-setup/meson.build2
-rw-r--r--clients/common/meson.build2
-rw-r--r--clients/common/tests/meson.build2
-rw-r--r--clients/meson.build2
-rw-r--r--clients/tui/meson.build2
-rw-r--r--clients/tui/newt/meson.build2
-rw-r--r--data/meson.build2
-rw-r--r--dispatcher/meson.build2
-rw-r--r--dispatcher/tests/meson.build2
-rw-r--r--docs/api/meson.build2
-rw-r--r--docs/libnm/meson.build2
-rw-r--r--docs/meson.build2
-rw-r--r--examples/C/glib/meson.build2
-rw-r--r--examples/C/qt/meson.build2
-rw-r--r--introspection/meson.build2
-rw-r--r--libnm-core/meson.build2
-rw-r--r--libnm-core/tests/meson.build2
-rw-r--r--libnm/meson.build2
-rw-r--r--libnm/tests/meson.build2
-rw-r--r--man/meson.build2
-rw-r--r--meson.build2
-rw-r--r--po/meson.build2
-rw-r--r--shared/c-list/meson.build2
-rw-r--r--shared/c-list/src/meson.build2
-rw-r--r--shared/c-rbtree/meson.build2
-rw-r--r--shared/c-rbtree/src/meson.build2
-rw-r--r--shared/c-siphash/meson.build2
-rw-r--r--shared/c-siphash/src/meson.build2
-rw-r--r--shared/c-stdaux/meson.build2
-rw-r--r--shared/c-stdaux/src/meson.build2
-rw-r--r--shared/meson.build2
-rw-r--r--shared/n-acd/meson.build2
-rw-r--r--shared/n-acd/src/meson.build2
-rw-r--r--shared/n-dhcp4/meson.build2
-rw-r--r--shared/n-dhcp4/src/meson.build2
-rw-r--r--shared/nm-glib-aux/tests/meson.build2
-rw-r--r--src/devices/adsl/meson.build2
-rw-r--r--src/devices/bluetooth/meson.build2
-rw-r--r--src/devices/meson.build2
-rw-r--r--src/devices/ovs/meson.build2
-rw-r--r--src/devices/team/meson.build2
-rw-r--r--src/devices/tests/meson.build2
-rw-r--r--src/devices/wifi/meson.build2
-rw-r--r--src/devices/wwan/meson.build2
-rw-r--r--src/dhcp/meson.build2
-rw-r--r--src/dhcp/tests/meson.build2
-rw-r--r--src/dnsmasq/tests/meson.build2
-rw-r--r--src/initrd/meson.build2
-rw-r--r--src/initrd/tests/meson.build2
-rw-r--r--src/meson.build2
-rw-r--r--src/ndisc/tests/meson.build2
-rw-r--r--src/platform/tests/meson.build2
-rw-r--r--src/ppp/meson.build2
-rw-r--r--src/settings/plugins/ifcfg-rh/meson.build2
-rw-r--r--src/settings/plugins/ifcfg-rh/tests/meson.build2
-rw-r--r--src/settings/plugins/ifupdown/meson.build2
-rw-r--r--src/settings/plugins/ifupdown/tests/meson.build2
-rw-r--r--src/settings/plugins/keyfile/tests/meson.build2
-rw-r--r--src/settings/plugins/meson.build2
-rw-r--r--src/supplicant/tests/meson.build2
-rw-r--r--src/systemd/meson.build2
-rw-r--r--src/tests/config/meson.build2
-rw-r--r--src/tests/meson.build2
-rw-r--r--vapi/meson.build2
65 files changed, 130 insertions, 0 deletions
diff --git a/clients/cli/meson.build b/clients/cli/meson.build
index b1b2426910..8dd05affcc 100644
--- a/clients/cli/meson.build
+++ b/clients/cli/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
name = 'nmcli'
# FIXME: nmcli-completion should be renamed to nmcli
diff --git a/clients/cloud-setup/meson.build b/clients/cloud-setup/meson.build
index b0a6191c46..d8f96539e0 100644
--- a/clients/cloud-setup/meson.build
+++ b/clients/cloud-setup/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
name = 'nm-cloud-setup'
if install_systemdunitdir
diff --git a/clients/common/meson.build b/clients/common/meson.build
index f68435ec9e..c32bb5e7cc 100644
--- a/clients/common/meson.build
+++ b/clients/common/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
common_inc = include_directories('.')
common_deps = [
diff --git a/clients/common/tests/meson.build b/clients/common/tests/meson.build
index 479cb78101..43b1f7c94d 100644
--- a/clients/common/tests/meson.build
+++ b/clients/common/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
common_c_flags = clients_c_flags + ['-DNETWORKMANAGER_COMPILATION_TEST']
test_name = 'test-clients-common'
diff --git a/clients/meson.build b/clients/meson.build
index 8b2fa4421b..5e6dd6a4c8 100644
--- a/clients/meson.build
+++ b/clients/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
clients_c_flags = ['-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT']
name = 'nm-online'
diff --git a/clients/tui/meson.build b/clients/tui/meson.build
index db6bd429fd..4f945a695b 100644
--- a/clients/tui/meson.build
+++ b/clients/tui/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
name = 'nmtui'
common_c_flags = clients_c_flags + ['-DG_LOG_DOMAIN="@0@"'.format(name)]
diff --git a/clients/tui/newt/meson.build b/clients/tui/newt/meson.build
index d543f7ea6f..f2af7b2072 100644
--- a/clients/tui/newt/meson.build
+++ b/clients/tui/newt/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
sources = files(
'nmt-newt-button-box.c',
'nmt-newt-button.c',
diff --git a/data/meson.build b/data/meson.build
index b572d27da2..de08c91c62 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
configure_file(
input: 'server.conf.in',
output: '@BASENAME@',
diff --git a/dispatcher/meson.build b/dispatcher/meson.build
index 661ec2c24e..9a6910828a 100644
--- a/dispatcher/meson.build
+++ b/dispatcher/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
dispatcher_inc = include_directories('.')
name = 'nm-dispatcher'
diff --git a/dispatcher/tests/meson.build b/dispatcher/tests/meson.build
index 83c915e585..5c6f6b12a7 100644
--- a/dispatcher/tests/meson.build
+++ b/dispatcher/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
test_unit = 'test-dispatcher-envp'
deps = [
diff --git a/docs/api/meson.build b/docs/api/meson.build
index 30f82188f9..d4da41b0b9 100644
--- a/docs/api/meson.build
+++ b/docs/api/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
if enable_introspection
settings = 'settings-spec'
output = settings + '.xml'
diff --git a/docs/libnm/meson.build b/docs/libnm/meson.build
index 1a73b4dd55..66cd31e899 100644
--- a/docs/libnm/meson.build
+++ b/docs/libnm/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
src_dirs = [
libnm_core_inc,
libnm_inc,
diff --git a/docs/meson.build b/docs/meson.build
index 53fcc96082..d1115c5ffa 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
subdir('libnm')
subdir('api')
diff --git a/examples/C/glib/meson.build b/examples/C/glib/meson.build
index 7471ecad22..8eac711cad 100644
--- a/examples/C/glib/meson.build
+++ b/examples/C/glib/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
examples = [
['add-connection-gdbus', [libnm_enum_sources[1]], [uuid_dep]],
['add-connection-libnm', [], [libnm_dep]],
diff --git a/examples/C/qt/meson.build b/examples/C/qt/meson.build
index 172502a210..87f60f5f34 100644
--- a/examples/C/qt/meson.build
+++ b/examples/C/qt/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
examples = [
['add-connection-wired', []],
['list-connections', []],
diff --git a/introspection/meson.build b/introspection/meson.build
index f25251fd78..dc7841799c 100644
--- a/introspection/meson.build
+++ b/introspection/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
ifaces_secret_agent_xml = files('org.freedesktop.NetworkManager.SecretAgent.xml')
ifaces_vpn_plugin_xml = files('org.freedesktop.NetworkManager.VPN.Plugin.xml')
diff --git a/libnm-core/meson.build b/libnm-core/meson.build
index 42340f6457..955e17766b 100644
--- a/libnm-core/meson.build
+++ b/libnm-core/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
libnm_core_inc = include_directories('.')
libnm_core_nm_default_dep = declare_dependency(
diff --git a/libnm-core/tests/meson.build b/libnm-core/tests/meson.build
index 148841155c..58615e4df0 100644
--- a/libnm-core/tests/meson.build
+++ b/libnm-core/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
# test-cert.p12 created with:
#
# openssl pkcs12 -export \
diff --git a/libnm/meson.build b/libnm/meson.build
index 89794dc3c0..98d39f8ea8 100644
--- a/libnm/meson.build
+++ b/libnm/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
libnm_inc = include_directories('.')
libnm_nm_default_dep = declare_dependency(
diff --git a/libnm/tests/meson.build b/libnm/tests/meson.build
index 76c3b2876d..59fb771dd9 100644
--- a/libnm/tests/meson.build
+++ b/libnm/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
test_units = [
['test-libnm', 30],
['test-nm-client', 90],
diff --git a/man/meson.build b/man/meson.build
index f9130535c9..407d027e90 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
common_ent_file = configure_file(
input: 'common.ent.in',
output: '@BASENAME@',
diff --git a/meson.build b/meson.build
index db725bf178..057ec794f2 100644
--- a/meson.build
+++ b/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
project(
'NetworkManager', 'c',
# NOTE: When incrementing version also:
diff --git a/po/meson.build b/po/meson.build
index a1e071ecd2..3565653ef1 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -1 +1,3 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
i18n.gettext(nm_name, preset: 'glib')
diff --git a/shared/c-list/meson.build b/shared/c-list/meson.build
index 66504a29e4..57f6b8ff37 100644
--- a/shared/c-list/meson.build
+++ b/shared/c-list/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
project(
'c-list',
'c',
diff --git a/shared/c-list/src/meson.build b/shared/c-list/src/meson.build
index 0261ae0c2f..52d6d2aa68 100644
--- a/shared/c-list/src/meson.build
+++ b/shared/c-list/src/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
#
# target: libclist.so
# (No .so is built so far, since we are header-only. This might change in the
diff --git a/shared/c-rbtree/meson.build b/shared/c-rbtree/meson.build
index c131946762..d0277c989d 100644
--- a/shared/c-rbtree/meson.build
+++ b/shared/c-rbtree/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
project(
'c-rbtree',
'c',
diff --git a/shared/c-rbtree/src/meson.build b/shared/c-rbtree/src/meson.build
index d0b4d63ce9..a16e899f41 100644
--- a/shared/c-rbtree/src/meson.build
+++ b/shared/c-rbtree/src/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
#
# target: libcrbtree.so
#
diff --git a/shared/c-siphash/meson.build b/shared/c-siphash/meson.build
index 2b07b019b3..b90cde2a80 100644
--- a/shared/c-siphash/meson.build
+++ b/shared/c-siphash/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
project(
'c-siphash',
'c',
diff --git a/shared/c-siphash/src/meson.build b/shared/c-siphash/src/meson.build
index 7ee9c601e7..606b3763ed 100644
--- a/shared/c-siphash/src/meson.build
+++ b/shared/c-siphash/src/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
#
# target: libcsiphash.so
#
diff --git a/shared/c-stdaux/meson.build b/shared/c-stdaux/meson.build
index c8c5da536f..6843e284d4 100644
--- a/shared/c-stdaux/meson.build
+++ b/shared/c-stdaux/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
project(
'c-stdaux',
'c',
diff --git a/shared/c-stdaux/src/meson.build b/shared/c-stdaux/src/meson.build
index f6db824d24..7b2e785604 100644
--- a/shared/c-stdaux/src/meson.build
+++ b/shared/c-stdaux/src/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
#
# target: libcstdaux.so
# (No .so is built so far, since we are header-only. This might change in the
diff --git a/shared/meson.build b/shared/meson.build
index 7bb5bca7a9..2d26c65576 100644
--- a/shared/meson.build
+++ b/shared/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
shared_inc = include_directories('.')
nm_default_dep = declare_dependency(include_directories: [top_inc, shared_inc])
diff --git a/shared/n-acd/meson.build b/shared/n-acd/meson.build
index 017dec5669..25f778ad7d 100644
--- a/shared/n-acd/meson.build
+++ b/shared/n-acd/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
project(
'n-acd',
'c',
diff --git a/shared/n-acd/src/meson.build b/shared/n-acd/src/meson.build
index 3e92681f91..4dbcc9af12 100644
--- a/shared/n-acd/src/meson.build
+++ b/shared/n-acd/src/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
#
# target: libnacd.so
#
diff --git a/shared/n-dhcp4/meson.build b/shared/n-dhcp4/meson.build
index 1dddfe4f0d..9a1fcc4b1b 100644
--- a/shared/n-dhcp4/meson.build
+++ b/shared/n-dhcp4/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
project(
'n-dhcp4',
'c',
diff --git a/shared/n-dhcp4/src/meson.build b/shared/n-dhcp4/src/meson.build
index 2ac8ac1cb9..bed23ab9b5 100644
--- a/shared/n-dhcp4/src/meson.build
+++ b/shared/n-dhcp4/src/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
#
# target: libndhcp4.so
#
diff --git a/shared/nm-glib-aux/tests/meson.build b/shared/nm-glib-aux/tests/meson.build
index 37c5c1b44d..f6328db916 100644
--- a/shared/nm-glib-aux/tests/meson.build
+++ b/shared/nm-glib-aux/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
test_unit = 'test-shared-general'
c_flags = [
diff --git a/src/devices/adsl/meson.build b/src/devices/adsl/meson.build
index a5d1c4b474..79834d7faa 100644
--- a/src/devices/adsl/meson.build
+++ b/src/devices/adsl/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
sources = files(
'nm-atm-manager.c',
'nm-device-adsl.c',
diff --git a/src/devices/bluetooth/meson.build b/src/devices/bluetooth/meson.build
index f0507c232b..638a01a2fc 100644
--- a/src/devices/bluetooth/meson.build
+++ b/src/devices/bluetooth/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
sources = files(
'nm-bluez-manager.c',
'nm-bt-error.c',
diff --git a/src/devices/meson.build b/src/devices/meson.build
index 2d874659c7..40a5c9dcc3 100644
--- a/src/devices/meson.build
+++ b/src/devices/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
subdir('adsl')
if enable_modem_manager
diff --git a/src/devices/ovs/meson.build b/src/devices/ovs/meson.build
index 27e1b4d02c..8457e68aed 100644
--- a/src/devices/ovs/meson.build
+++ b/src/devices/ovs/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
sources = files(
'nm-device-ovs-bridge.c',
'nm-device-ovs-interface.c',
diff --git a/src/devices/team/meson.build b/src/devices/team/meson.build
index 0e63183b5e..c2b77cb910 100644
--- a/src/devices/team/meson.build
+++ b/src/devices/team/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
sources = files(
'nm-device-team.c',
'nm-team-factory.c',
diff --git a/src/devices/tests/meson.build b/src/devices/tests/meson.build
index bb53d1ee47..1ddd4f8553 100644
--- a/src/devices/tests/meson.build
+++ b/src/devices/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
test_units = [
'test-acd',
'test-lldp',
diff --git a/src/devices/wifi/meson.build b/src/devices/wifi/meson.build
index 9f18a36b18..00404c71f0 100644
--- a/src/devices/wifi/meson.build
+++ b/src/devices/wifi/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
iwd_sources = files()
if enable_iwd
iwd_sources += files(
diff --git a/src/devices/wwan/meson.build b/src/devices/wwan/meson.build
index ed6f801058..97252edc08 100644
--- a/src/devices/wwan/meson.build
+++ b/src/devices/wwan/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
nm_service_providers_source = files('nm-service-providers.c')
sources = nm_service_providers_source + files(
diff --git a/src/dhcp/meson.build b/src/dhcp/meson.build
index 609fe663ac..67f055d9fe 100644
--- a/src/dhcp/meson.build
+++ b/src/dhcp/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
name = 'nm-dhcp-helper'
c_flags = [
diff --git a/src/dhcp/tests/meson.build b/src/dhcp/tests/meson.build
index 031e2efdbc..59a647ccb1 100644
--- a/src/dhcp/tests/meson.build
+++ b/src/dhcp/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
test_units = [
'test-dhcp-dhclient',
'test-dhcp-utils',
diff --git a/src/dnsmasq/tests/meson.build b/src/dnsmasq/tests/meson.build
index 6e4298997f..4584086ef7 100644
--- a/src/dnsmasq/tests/meson.build
+++ b/src/dnsmasq/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
test_unit = 'test-dnsmasq-utils'
exe = executable(
diff --git a/src/initrd/meson.build b/src/initrd/meson.build
index 09036f27c4..c056f3c221 100644
--- a/src/initrd/meson.build
+++ b/src/initrd/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
sources = files(
'nmi-cmdline-reader.c',
'nmi-dt-reader.c',
diff --git a/src/initrd/tests/meson.build b/src/initrd/tests/meson.build
index 5dd2873cc1..1d0908b9bc 100644
--- a/src/initrd/tests/meson.build
+++ b/src/initrd/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
c_flags = test_c_flags + ['-DTEST_INITRD_DIR="@0@"'.format(meson.current_source_dir())]
test_units = [
diff --git a/src/meson.build b/src/meson.build
index a7a99bc214..8ff9bd11de 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
src_inc = include_directories('.')
daemon_nm_default_dep = declare_dependency(
diff --git a/src/ndisc/tests/meson.build b/src/ndisc/tests/meson.build
index c81e24ad4c..349eebbac8 100644
--- a/src/ndisc/tests/meson.build
+++ b/src/ndisc/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
test_unit = 'test-ndisc-fake'
exe = executable(
diff --git a/src/platform/tests/meson.build b/src/platform/tests/meson.build
index 6f7173b6da..4a50bca978 100644
--- a/src/platform/tests/meson.build
+++ b/src/platform/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
test_fake_c_flags = test_c_flags + ['-DSETUP=nm_fake_platform_setup']
test_linux_c_flags = test_c_flags + ['-DSETUP=nm_linux_platform_setup']
diff --git a/src/ppp/meson.build b/src/ppp/meson.build
index 0c458768f3..181a6bef0b 100644
--- a/src/ppp/meson.build
+++ b/src/ppp/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
name = 'nm-pppd-plugin'
c_flags = [
diff --git a/src/settings/plugins/ifcfg-rh/meson.build b/src/settings/plugins/ifcfg-rh/meson.build
index d9dd3edba5..e193ff96a3 100644
--- a/src/settings/plugins/ifcfg-rh/meson.build
+++ b/src/settings/plugins/ifcfg-rh/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
install_data(
'nm-ifcfg-rh.conf',
install_dir: dbus_conf_dir,
diff --git a/src/settings/plugins/ifcfg-rh/tests/meson.build b/src/settings/plugins/ifcfg-rh/tests/meson.build
index 216990457a..1ce61c90a2 100644
--- a/src/settings/plugins/ifcfg-rh/tests/meson.build
+++ b/src/settings/plugins/ifcfg-rh/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
test_unit = 'test-ifcfg-rh'
exe = executable(
diff --git a/src/settings/plugins/ifupdown/meson.build b/src/settings/plugins/ifupdown/meson.build
index 0cabe771fe..7e2b44fbb7 100644
--- a/src/settings/plugins/ifupdown/meson.build
+++ b/src/settings/plugins/ifupdown/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
sources = files(
'nms-ifupdown-interface-parser.c',
'nms-ifupdown-parser.c',
diff --git a/src/settings/plugins/ifupdown/tests/meson.build b/src/settings/plugins/ifupdown/tests/meson.build
index 1ca094b52c..a39e4e21e3 100644
--- a/src/settings/plugins/ifupdown/tests/meson.build
+++ b/src/settings/plugins/ifupdown/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
test_unit = 'test-ifupdown'
exe = executable(
diff --git a/src/settings/plugins/keyfile/tests/meson.build b/src/settings/plugins/keyfile/tests/meson.build
index 7bf9fda001..cd1dc3aa50 100644
--- a/src/settings/plugins/keyfile/tests/meson.build
+++ b/src/settings/plugins/keyfile/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
test_unit = 'test-keyfile-settings'
exe = executable(
diff --git a/src/settings/plugins/meson.build b/src/settings/plugins/meson.build
index 83981aaba7..cde0844be5 100644
--- a/src/settings/plugins/meson.build
+++ b/src/settings/plugins/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
if enable_ifcfg_rh
subdir('ifcfg-rh')
endif
diff --git a/src/supplicant/tests/meson.build b/src/supplicant/tests/meson.build
index 207d22f874..63012d106e 100644
--- a/src/supplicant/tests/meson.build
+++ b/src/supplicant/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
test_unit = 'test-supplicant-config'
exe = executable(
diff --git a/src/systemd/meson.build b/src/systemd/meson.build
index 5c4fa3e2ad..9b87d772e1 100644
--- a/src/systemd/meson.build
+++ b/src/systemd/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
sources = files(
'src/libsystemd-network/arp-util.c',
'src/libsystemd-network/dhcp-identifier.c',
diff --git a/src/tests/config/meson.build b/src/tests/config/meson.build
index e3ebfa199e..cfe9c61533 100644
--- a/src/tests/config/meson.build
+++ b/src/tests/config/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
test_config_dir = meson.current_source_dir()
test_unit = 'test-config'
diff --git a/src/tests/meson.build b/src/tests/meson.build
index ac877e184a..df8d1cf803 100644
--- a/src/tests/meson.build
+++ b/src/tests/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
subdir('config')
test_units = [
diff --git a/vapi/meson.build b/vapi/meson.build
index bc0984f22e..1fe5ece5f7 100644
--- a/vapi/meson.build
+++ b/vapi/meson.build
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
gnome.generate_vapi(
libnm_name,
sources: libnm_gir[0],