license: Add license using SPDX identifiers to meson build files

License is missing in meson build files. This has been added using
SPDX identifiers and licensed under LGPL-2.1+.
This commit is contained in:
Iñigo Martínez 2020-01-14 10:42:24 +01:00
parent b2d3ba33a7
commit 648155e4a1
65 changed files with 130 additions and 0 deletions

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
name = 'nmcli'
# FIXME: nmcli-completion should be renamed to nmcli

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
name = 'nm-cloud-setup'
if install_systemdunitdir

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
common_inc = include_directories('.')
common_deps = [

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
common_c_flags = clients_c_flags + ['-DNETWORKMANAGER_COMPILATION_TEST']
test_name = 'test-clients-common'

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
clients_c_flags = ['-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_CLIENT']
name = 'nm-online'

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
name = 'nmtui'
common_c_flags = clients_c_flags + ['-DG_LOG_DOMAIN="@0@"'.format(name)]

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
sources = files(
'nmt-newt-button-box.c',
'nmt-newt-button.c',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
configure_file(
input: 'server.conf.in',
output: '@BASENAME@',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
dispatcher_inc = include_directories('.')
name = 'nm-dispatcher'

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
test_unit = 'test-dispatcher-envp'
deps = [

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
if enable_introspection
settings = 'settings-spec'
output = settings + '.xml'

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
src_dirs = [
libnm_core_inc,
libnm_inc,

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
subdir('libnm')
subdir('api')

View File

@ -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]],

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
examples = [
['add-connection-wired', []],
['list-connections', []],

View File

@ -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')

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
libnm_core_inc = include_directories('.')
libnm_core_nm_default_dep = declare_dependency(

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
# test-cert.p12 created with:
#
# openssl pkcs12 -export \

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
libnm_inc = include_directories('.')
libnm_nm_default_dep = declare_dependency(

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
test_units = [
['test-libnm', 30],
['test-nm-client', 90],

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
common_ent_file = configure_file(
input: 'common.ent.in',
output: '@BASENAME@',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
project(
'NetworkManager', 'c',
# NOTE: When incrementing version also:

View File

@ -1 +1,3 @@
# SPDX-License-Identifier: LGPL-2.1+
i18n.gettext(nm_name, preset: 'glib')

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
project(
'c-list',
'c',

View File

@ -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

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
project(
'c-rbtree',
'c',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
#
# target: libcrbtree.so
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
project(
'c-siphash',
'c',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
#
# target: libcsiphash.so
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
project(
'c-stdaux',
'c',

View File

@ -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

View File

@ -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])

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
project(
'n-acd',
'c',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
#
# target: libnacd.so
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
project(
'n-dhcp4',
'c',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
#
# target: libndhcp4.so
#

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
test_unit = 'test-shared-general'
c_flags = [

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
sources = files(
'nm-atm-manager.c',
'nm-device-adsl.c',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
sources = files(
'nm-bluez-manager.c',
'nm-bt-error.c',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
subdir('adsl')
if enable_modem_manager

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
sources = files(
'nm-device-ovs-bridge.c',
'nm-device-ovs-interface.c',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
sources = files(
'nm-device-team.c',
'nm-team-factory.c',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
test_units = [
'test-acd',
'test-lldp',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
iwd_sources = files()
if enable_iwd
iwd_sources += files(

View File

@ -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(

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
name = 'nm-dhcp-helper'
c_flags = [

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
test_units = [
'test-dhcp-dhclient',
'test-dhcp-utils',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
test_unit = 'test-dnsmasq-utils'
exe = executable(

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
sources = files(
'nmi-cmdline-reader.c',
'nmi-dt-reader.c',

View File

@ -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 = [

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
src_inc = include_directories('.')
daemon_nm_default_dep = declare_dependency(

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
test_unit = 'test-ndisc-fake'
exe = executable(

View File

@ -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']

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
name = 'nm-pppd-plugin'
c_flags = [

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
install_data(
'nm-ifcfg-rh.conf',
install_dir: dbus_conf_dir,

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
test_unit = 'test-ifcfg-rh'
exe = executable(

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
sources = files(
'nms-ifupdown-interface-parser.c',
'nms-ifupdown-parser.c',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
test_unit = 'test-ifupdown'
exe = executable(

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
test_unit = 'test-keyfile-settings'
exe = executable(

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
if enable_ifcfg_rh
subdir('ifcfg-rh')
endif

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
test_unit = 'test-supplicant-config'
exe = executable(

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
sources = files(
'src/libsystemd-network/arp-util.c',
'src/libsystemd-network/dhcp-identifier.c',

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
test_config_dir = meson.current_source_dir()
test_unit = 'test-config'

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
subdir('config')
test_units = [

View File

@ -1,3 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1+
gnome.generate_vapi(
libnm_name,
sources: libnm_gir[0],