diff --git a/clients/cli/meson.build b/clients/cli/meson.build index b1b242691..8dd05affc 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 b0a6191c4..d8f96539e 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 f68435ec9..c32bb5e7c 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 479cb7810..43b1f7c94 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 8b2fa4421..5e6dd6a4c 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 db6bd429f..4f945a695 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 d543f7ea6..f2af7b207 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 b572d27da..de08c91c6 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 7feb9597f..d0637e9c5 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 83c915e58..5c6f6b12a 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 30f82188f..d4da41b0b 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 1a73b4dd5..66cd31e89 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 53fcc9608..d1115c5ff 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 7471ecad2..8eac711ca 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 172502a21..87f60f5f3 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 f25251fd7..dc7841799 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 42340f645..955e17766 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 148841155..58615e4df 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 29a21db76..325b18fb5 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 76c3b2876..59fb771dd 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 f9130535c..407d027e9 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 0d8a15bd5..60fa5734f 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 a1e071ecd..3565653ef 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 66504a29e..57f6b8ff3 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 0261ae0c2..52d6d2aa6 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 c13194676..d0277c989 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 d0b4d63ce..a16e899f4 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 2b07b019b..b90cde2a8 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 7ee9c601e..606b3763e 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 c8c5da536..6843e284d 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 f6db824d2..7b2e78560 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 7bb5bca7a..2d26c6557 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 017dec566..25f778ad7 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 3e92681f9..4dbcc9af1 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 1dddfe4f0..9a1fcc4b1 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 2ac8ac1cb..bed23ab9b 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 37c5c1b44..f6328db91 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 a5d1c4b47..79834d7fa 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 f0507c232..638a01a2f 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 2d874659c..40a5c9dcc 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 27e1b4d02..8457e68ae 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 0e63183b5..c2b77cb91 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 bb53d1ee4..1ddd4f855 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 9f18a36b1..00404c71f 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 ed6f80105..97252edc0 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 609fe663a..67f055d9f 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 031e2efdb..59a647ccb 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 6e4298997..4584086ef 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 09036f27c..c056f3c22 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 5dd2873cc..1d0908b9b 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 bc816a854..3f70a1d6c 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 c81e24ad4..349eebbac 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 6f7173b6d..4a50bca97 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 0c458768f..181a6bef0 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 d9dd3edba..e193ff96a 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 216990457..1ce61c90a 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 0cabe771f..7e2b44fbb 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 1ca094b52..a39e4e21e 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 7bf9fda00..cd1dc3aa5 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 83981aaba..cde0844be 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 207d22f87..63012d106 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 5c4fa3e2a..9b87d772e 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 e3ebfa199..cfe9c6153 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 ac877e184..df8d1cf80 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 bc0984f22..1fe5ece5f 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],