2020-09-15 00:06:14

by Tedd Ho-Jeong An

[permalink] [raw]
Subject: [BlueZ v3 00/17] Add SPDX License Identifier

From: Tedd Ho-Jeong An <[email protected]>

This patch series adds SPDX License Identifier to the source/heade files
based on the existing license header and removes the license text.

The SDPX License Identifier is added in form of a comment based on file
type with the same rule from the Linxu kernel source, and added to the
first line of the file.

C source: // SPDX-License-Identifer: <License>
C header: /* SPDX-License-Identifer: <License> */

For SPDX-License Identifier, it used the identifer from the SPDX License
list page(https://spdx.org/licenses).

For the summary, currently BlueZ sources have following licenses:

-------------------------------------------
License File Count
-------------------------------------------
GPL-2.0-or-later : 393
LGPL-2.1-or-later : 273
BSD-2-Clause : 3
GPL-2.0-only : 5
MIT : 2
Apache-2.0 : 80
N/A : 1325

Note that N/A includes the following files/folders
- .git/
- doc/
- Build related files (Makefile, etc)
- Configuration files
- Test scripts (python, etc)

Tedd Ho-Jeong An (17):
android: Add SPDX License Identifier
attrib: Add SPDX License Identifier
btio: Add SPDX License Identifier
client: Add SPDX License Identifier
emulator: Add SPDX License Identifier
gdbus: Add SPDX License Identifier
gobex: Add SPDX License Identifier
lib: Add SPDX License Identifier
mesh: Add SPDX License Identifier
monitor: Add SPDX License Identifier
obexd: Add SPDX License Identifier
peripheral: Add SPDX License Identifier
plugins: Add SPDX License Identifier
profiles: Add SPDX License Identifier
unit: Add SPDX License Identifier
src: Add SPDX License Identifier
tools: Add SPDX License Identifier

android/a2dp-sink.c | 15 +--------------
android/a2dp-sink.h | 15 +--------------
android/a2dp.c | 15 +--------------
android/a2dp.h | 15 +--------------
android/audio-msg.h | 15 +--------------
android/audio_utils/resampler.c | 12 +-----------
android/audio_utils/resampler.h | 12 +-----------
android/avctp.c | 15 +--------------
android/avctp.h | 15 +--------------
android/avdtp.c | 15 +--------------
android/avdtp.h | 15 +--------------
android/avdtptest.c | 15 +--------------
android/avrcp-lib.c | 15 +--------------
android/avrcp-lib.h | 15 +--------------
android/avrcp.c | 15 +--------------
android/avrcp.h | 15 +--------------
android/bluetooth.c | 15 +--------------
android/bluetooth.h | 15 +--------------
android/bluetoothd-snoop.c | 15 +--------------
android/bluetoothd-wrapper.c | 13 +------------
android/client/haltest.c | 13 +------------
android/client/history.c | 13 +------------
android/client/history.h | 13 +------------
android/client/if-audio.c | 13 +------------
android/client/if-av-sink.c | 13 +------------
android/client/if-av.c | 13 +------------
android/client/if-bt.c | 13 +------------
android/client/if-gatt.c | 13 +------------
android/client/if-hf-client.c | 13 +------------
android/client/if-hf.c | 13 +------------
android/client/if-hh.c | 13 +------------
android/client/if-hl.c | 13 +------------
android/client/if-main.h | 13 +------------
android/client/if-mce.c | 13 +------------
android/client/if-pan.c | 13 +------------
android/client/if-rc-ctrl.c | 13 +------------
android/client/if-rc.c | 13 +------------
android/client/if-sco.c | 13 +------------
android/client/if-sock.c | 13 +------------
android/client/pollhandler.c | 13 +------------
android/client/pollhandler.h | 13 +------------
android/client/tabcompletion.c | 13 +------------
android/client/terminal.c | 13 +------------
android/client/terminal.h | 13 +------------
android/compat/readline/history.h | 15 +--------------
android/compat/readline/readline.h | 15 +--------------
android/compat/wordexp.h | 15 +--------------
android/cutils/properties.h | 15 +--------------
android/gatt.c | 15 +--------------
android/gatt.h | 15 +--------------
android/hal-a2dp-sink.c | 13 +------------
android/hal-a2dp.c | 13 +------------
android/hal-audio-aptx.c | 13 +------------
android/hal-audio-sbc.c | 13 +------------
android/hal-audio.c | 13 +------------
android/hal-audio.h | 13 +------------
android/hal-avrcp-ctrl.c | 13 +------------
android/hal-avrcp.c | 13 +------------
android/hal-bluetooth.c | 13 +------------
android/hal-gatt.c | 13 +------------
android/hal-handsfree-client.c | 13 +------------
android/hal-handsfree.c | 13 +------------
android/hal-health.c | 13 +------------
android/hal-hidhost.c | 13 +------------
android/hal-ipc.c | 13 +------------
android/hal-ipc.h | 13 +------------
android/hal-log.h | 13 +------------
android/hal-map-client.c | 13 +------------
android/hal-msg.h | 15 +--------------
android/hal-pan.c | 13 +------------
android/hal-sco.c | 13 +------------
android/hal-socket.c | 13 +------------
android/hal-utils.c | 13 +------------
android/hal-utils.h | 13 +------------
android/hal.h | 13 +------------
android/handsfree-client.c | 15 +--------------
android/handsfree-client.h | 15 +--------------
android/handsfree.c | 15 +--------------
android/handsfree.h | 15 +--------------
android/hardware/audio.h | 12 +-----------
android/hardware/audio_effect.h | 12 +-----------
android/hardware/bluetooth.h | 12 +-----------
android/hardware/bt_av.h | 12 +-----------
android/hardware/bt_gatt.h | 12 +-----------
android/hardware/bt_gatt_client.h | 12 +-----------
android/hardware/bt_gatt_server.h | 12 +-----------
android/hardware/bt_gatt_types.h | 12 +-----------
android/hardware/bt_hf.h | 12 +-----------
android/hardware/bt_hf_client.h | 12 +-----------
android/hardware/bt_hh.h | 12 +-----------
android/hardware/bt_hl.h | 12 +-----------
android/hardware/bt_mce.h | 12 +-----------
android/hardware/bt_pan.h | 12 +-----------
android/hardware/bt_rc.h | 12 +-----------
android/hardware/bt_sock.h | 12 +-----------
android/hardware/hardware.c | 12 +-----------
android/hardware/hardware.h | 12 +-----------
android/health.c | 15 +--------------
android/health.h | 15 +--------------
android/hidhost.c | 15 +--------------
android/hidhost.h | 15 +--------------
android/ipc-common.h | 15 +--------------
android/ipc-tester.c | 15 +--------------
android/ipc.c | 15 +--------------
android/ipc.h | 15 +--------------
android/log.c | 15 +--------------
android/main.c | 15 +--------------
android/map-client.c | 15 +--------------
android/map-client.h | 15 +--------------
android/pan.c | 15 +--------------
android/pan.h | 15 +--------------
android/sco-msg.h | 15 +--------------
android/sco.c | 15 +--------------
android/sco.h | 15 +--------------
android/socket.c | 15 +--------------
android/socket.h | 15 +--------------
android/system-emulator.c | 15 +--------------
android/system/audio.h | 12 +-----------
android/test-ipc.c | 15 +--------------
android/tester-a2dp.c | 13 +------------
android/tester-avrcp.c | 13 +------------
android/tester-bluetooth.c | 13 +------------
android/tester-gatt.c | 13 +------------
android/tester-hdp.c | 13 +------------
android/tester-hidhost.c | 13 +------------
android/tester-main.c | 13 +------------
android/tester-main.h | 15 +--------------
android/tester-map-client.c | 13 +------------
android/tester-pan.c | 13 +------------
android/tester-socket.c | 13 +------------
android/utils.h | 15 +--------------
attrib/att-database.h | 15 +--------------
attrib/att.c | 15 +--------------
attrib/att.h | 15 +--------------
attrib/gatt-service.c | 15 +--------------
attrib/gatt-service.h | 15 +--------------
attrib/gatt.c | 15 +--------------
attrib/gatt.h | 15 +--------------
attrib/gattrib.c | 15 +--------------
attrib/gattrib.h | 15 +--------------
attrib/gatttool.c | 15 +--------------
attrib/gatttool.h | 15 +--------------
attrib/interactive.c | 15 +--------------
attrib/utils.c | 15 +--------------
btio/btio.c | 15 +--------------
btio/btio.h | 15 +--------------
client/advertising.c | 15 +--------------
client/advertising.h | 15 +--------------
client/agent.c | 15 +--------------
client/agent.h | 15 +--------------
client/display.c | 15 +--------------
client/display.h | 15 +--------------
client/gatt.c | 15 +--------------
client/gatt.h | 15 +--------------
client/main.c | 15 +--------------
emulator/amp.c | 15 +--------------
emulator/amp.h | 15 +--------------
emulator/b1ee.c | 15 +--------------
emulator/btdev.c | 15 +--------------
emulator/btdev.h | 15 +--------------
emulator/bthost.c | 15 +--------------
emulator/bthost.h | 15 +--------------
emulator/hciemu.c | 15 +--------------
emulator/hciemu.h | 15 +--------------
emulator/hfp.c | 15 +--------------
emulator/le.c | 15 +--------------
emulator/le.h | 15 +--------------
emulator/main.c | 15 +--------------
emulator/phy.c | 15 +--------------
emulator/phy.h | 15 +--------------
emulator/serial.c | 15 +--------------
emulator/serial.h | 15 +--------------
emulator/server.c | 15 +--------------
emulator/server.h | 15 +--------------
emulator/smp.c | 15 +--------------
emulator/vhci.c | 15 +--------------
emulator/vhci.h | 15 +--------------
gdbus/client.c | 15 +--------------
gdbus/gdbus.h | 15 +--------------
gdbus/mainloop.c | 15 +--------------
gdbus/object.c | 15 +--------------
gdbus/polkit.c | 15 +--------------
gdbus/watch.c | 15 +--------------
gobex/gobex-apparam.c | 15 +--------------
gobex/gobex-apparam.h | 15 +--------------
gobex/gobex-debug.h | 15 +--------------
gobex/gobex-defs.c | 15 +--------------
gobex/gobex-defs.h | 15 +--------------
gobex/gobex-header.c | 15 +--------------
gobex/gobex-header.h | 15 +--------------
gobex/gobex-packet.c | 15 +--------------
gobex/gobex-packet.h | 15 +--------------
gobex/gobex-transfer.c | 15 +--------------
gobex/gobex.c | 15 +--------------
gobex/gobex.h | 15 +--------------
lib/a2mp.h | 15 +--------------
lib/amp.h | 10 +---------
lib/bluetooth.c | 15 +--------------
lib/bluetooth.h | 15 +--------------
lib/bnep.h | 15 +--------------
lib/cmtp.h | 15 +--------------
lib/hci.c | 15 +--------------
lib/hci.h | 15 +--------------
lib/hci_lib.h | 15 +--------------
lib/hidp.h | 15 +--------------
lib/l2cap.h | 15 +--------------
lib/mgmt.h | 15 +--------------
lib/rfcomm.h | 15 +--------------
lib/sco.h | 15 +--------------
lib/sdp.c | 15 +--------------
lib/sdp.h | 15 +--------------
lib/sdp_lib.h | 15 +--------------
lib/uuid.c | 15 +--------------
lib/uuid.h | 15 +--------------
mesh/agent.c | 11 +----------
mesh/agent.h | 11 +----------
mesh/appkey.c | 11 +----------
mesh/appkey.h | 11 +----------
mesh/cfgmod-server.c | 11 +----------
mesh/cfgmod.h | 11 +----------
mesh/crypto.c | 11 +----------
mesh/crypto.h | 11 +----------
mesh/dbus.c | 11 +----------
mesh/dbus.h | 11 +----------
mesh/error.h | 11 +----------
mesh/friend.c | 11 +----------
mesh/friend.h | 11 +----------
mesh/keyring.c | 11 +----------
mesh/keyring.h | 11 +----------
mesh/main.c | 11 +----------
mesh/manager.c | 11 +----------
mesh/manager.h | 11 +----------
mesh/mesh-config-json.c | 11 +----------
mesh/mesh-config.h | 11 +----------
mesh/mesh-defs.h | 12 +-----------
mesh/mesh-io-api.h | 11 +----------
mesh/mesh-io-generic.c | 11 +----------
mesh/mesh-io-generic.h | 11 +----------
mesh/mesh-io.c | 11 +----------
mesh/mesh-io.h | 11 +----------
mesh/mesh-mgmt.c | 11 +----------
mesh/mesh-mgmt.h | 11 +----------
mesh/mesh.c | 11 +----------
mesh/mesh.h | 11 +----------
mesh/model.c | 11 +----------
mesh/model.h | 11 +----------
mesh/net-keys.c | 11 +----------
mesh/net-keys.h | 11 +----------
mesh/net.c | 11 +----------
mesh/net.h | 11 +----------
mesh/node.c | 11 +----------
mesh/node.h | 11 +----------
mesh/pb-adv.c | 11 +----------
mesh/pb-adv.h | 11 +----------
mesh/prov-acceptor.c | 11 +----------
mesh/prov-initiator.c | 11 +----------
mesh/prov.h | 11 +----------
mesh/provision.h | 11 +----------
mesh/rpl.c | 11 +----------
mesh/rpl.h | 11 +----------
mesh/util.c | 11 +----------
mesh/util.h | 11 +----------
monitor/a2dp.c | 15 +--------------
monitor/a2dp.h | 15 +--------------
monitor/analyze.c | 15 +--------------
monitor/analyze.h | 15 +--------------
monitor/avctp.c | 15 +--------------
monitor/avctp.h | 15 +--------------
monitor/avdtp.c | 15 +--------------
monitor/avdtp.h | 15 +--------------
monitor/bnep.c | 15 +--------------
monitor/bnep.h | 15 +--------------
monitor/broadcom.c | 15 +--------------
monitor/broadcom.h | 15 +--------------
monitor/bt.h | 15 +--------------
monitor/control.c | 15 +--------------
monitor/control.h | 15 +--------------
monitor/crc.c | 15 +--------------
monitor/crc.h | 15 +--------------
monitor/display.c | 15 +--------------
monitor/display.h | 15 +--------------
monitor/ellisys.c | 15 +--------------
monitor/ellisys.h | 15 +--------------
monitor/hcidump.c | 15 +--------------
monitor/hcidump.h | 15 +--------------
monitor/hwdb.c | 15 +--------------
monitor/hwdb.h | 15 +--------------
monitor/intel.c | 15 +--------------
monitor/intel.h | 15 +--------------
monitor/jlink.c | 15 +--------------
monitor/jlink.h | 15 +--------------
monitor/keys.c | 15 +--------------
monitor/keys.h | 15 +--------------
monitor/l2cap.c | 15 +--------------
monitor/l2cap.h | 15 +--------------
monitor/ll.c | 15 +--------------
monitor/ll.h | 15 +--------------
monitor/lmp.c | 15 +--------------
monitor/lmp.h | 15 +--------------
monitor/main.c | 15 +--------------
monitor/packet.c | 15 +--------------
monitor/packet.h | 15 +--------------
monitor/rfcomm.c | 15 +--------------
monitor/rfcomm.h | 15 +--------------
monitor/sdp.c | 15 +--------------
monitor/sdp.h | 15 +--------------
monitor/tty.h | 15 +--------------
monitor/vendor.c | 15 +--------------
monitor/vendor.h | 15 +--------------
obexd/client/bluetooth.c | 15 +--------------
obexd/client/bluetooth.h | 15 +--------------
obexd/client/driver.c | 15 +--------------
obexd/client/driver.h | 15 +--------------
obexd/client/ftp.c | 15 +--------------
obexd/client/ftp.h | 15 +--------------
obexd/client/manager.c | 15 +--------------
obexd/client/manager.h | 15 +--------------
obexd/client/map-event.c | 15 +--------------
obexd/client/map-event.h | 15 +--------------
obexd/client/map.c | 15 +--------------
obexd/client/map.h | 15 +--------------
obexd/client/mns.c | 15 +--------------
obexd/client/opp.c | 15 +--------------
obexd/client/opp.h | 15 +--------------
obexd/client/pbap.c | 15 +--------------
obexd/client/pbap.h | 15 +--------------
obexd/client/session.c | 15 +--------------
obexd/client/session.h | 15 +--------------
obexd/client/sync.c | 15 +--------------
obexd/client/sync.h | 15 +--------------
obexd/client/transfer.c | 15 +--------------
obexd/client/transfer.h | 15 +--------------
obexd/client/transport.c | 15 +--------------
obexd/client/transport.h | 15 +--------------
obexd/plugins/bluetooth.c | 15 +--------------
obexd/plugins/filesystem.c | 15 +--------------
obexd/plugins/filesystem.h | 15 +--------------
obexd/plugins/ftp.c | 15 +--------------
obexd/plugins/ftp.h | 15 +--------------
obexd/plugins/irmc.c | 15 +--------------
obexd/plugins/mas.c | 15 +--------------
obexd/plugins/messages-dummy.c | 15 +--------------
obexd/plugins/messages-tracker.c | 15 +--------------
obexd/plugins/messages.h | 15 +--------------
obexd/plugins/opp.c | 15 +--------------
obexd/plugins/pbap.c | 15 +--------------
obexd/plugins/pcsuite.c | 15 +--------------
obexd/plugins/phonebook-dummy.c | 15 +--------------
obexd/plugins/phonebook-ebook.c | 15 +--------------
obexd/plugins/phonebook-tracker.c | 15 +--------------
obexd/plugins/phonebook.h | 15 +--------------
obexd/plugins/syncevolution.c | 15 +--------------
obexd/plugins/vcard.c | 15 +--------------
obexd/plugins/vcard.h | 15 +--------------
obexd/src/log.c | 15 +--------------
obexd/src/log.h | 15 +--------------
obexd/src/main.c | 15 +--------------
obexd/src/manager.c | 15 +--------------
obexd/src/manager.h | 15 +--------------
obexd/src/map_ap.h | 15 +--------------
obexd/src/mimetype.c | 15 +--------------
obexd/src/mimetype.h | 15 +--------------
obexd/src/obex-priv.h | 15 +--------------
obexd/src/obex.c | 15 +--------------
obexd/src/obex.h | 15 +--------------
obexd/src/obexd.h | 15 +--------------
obexd/src/plugin.c | 15 +--------------
obexd/src/plugin.h | 15 +--------------
obexd/src/server.c | 15 +--------------
obexd/src/server.h | 15 +--------------
obexd/src/service.c | 15 +--------------
obexd/src/service.h | 15 +--------------
obexd/src/transport.c | 15 +--------------
obexd/src/transport.h | 15 +--------------
peripheral/attach.c | 15 +--------------
peripheral/attach.h | 15 +--------------
peripheral/efivars.c | 15 +--------------
peripheral/efivars.h | 15 +--------------
peripheral/gap.c | 15 +--------------
peripheral/gap.h | 15 +--------------
peripheral/gatt.c | 15 +--------------
peripheral/gatt.h | 15 +--------------
peripheral/log.c | 15 +--------------
peripheral/log.h | 15 +--------------
peripheral/main.c | 15 +--------------
plugins/autopair.c | 15 +--------------
plugins/external-dummy.c | 15 +--------------
plugins/hostname.c | 15 +--------------
plugins/neard.c | 15 +--------------
plugins/policy.c | 15 +--------------
plugins/sixaxis.c | 15 +--------------
plugins/wiimote.c | 15 +--------------
profiles/audio/a2dp-codecs.h | 15 +--------------
profiles/audio/a2dp.c | 15 +--------------
profiles/audio/a2dp.h | 15 +--------------
profiles/audio/avctp.c | 15 +--------------
profiles/audio/avctp.h | 15 +--------------
profiles/audio/avdtp.c | 15 +--------------
profiles/audio/avdtp.h | 15 +--------------
profiles/audio/avrcp.c | 15 +--------------
profiles/audio/avrcp.h | 15 +--------------
profiles/audio/control.c | 15 +--------------
profiles/audio/control.h | 15 +--------------
profiles/audio/media.c | 15 +--------------
profiles/audio/media.h | 15 +--------------
profiles/audio/player.c | 15 +--------------
profiles/audio/player.h | 15 +--------------
profiles/audio/sink.c | 15 +--------------
profiles/audio/sink.h | 15 +--------------
profiles/audio/source.c | 15 +--------------
profiles/audio/source.h | 15 +--------------
profiles/audio/transport.c | 15 +--------------
profiles/audio/transport.h | 15 +--------------
profiles/battery/bas.c | 15 +--------------
profiles/battery/bas.h | 15 +--------------
profiles/battery/battery.c | 10 +---------
profiles/cups/cups.h | 15 +--------------
profiles/cups/hcrp.c | 15 +--------------
profiles/cups/main.c | 15 +--------------
profiles/cups/sdp.c | 15 +--------------
profiles/cups/spp.c | 15 +--------------
profiles/deviceinfo/deviceinfo.c | 15 +--------------
profiles/deviceinfo/dis.c | 15 +--------------
profiles/deviceinfo/dis.h | 15 +--------------
profiles/gap/gas.c | 10 +---------
profiles/health/hdp.c | 15 +--------------
profiles/health/hdp.h | 15 +--------------
profiles/health/hdp_main.c | 15 +--------------
profiles/health/hdp_manager.c | 15 +--------------
profiles/health/hdp_manager.h | 15 +--------------
profiles/health/hdp_types.h | 15 +--------------
profiles/health/hdp_util.c | 15 +--------------
profiles/health/hdp_util.h | 15 +--------------
profiles/health/mcap.c | 15 +--------------
profiles/health/mcap.h | 15 +--------------
profiles/iap/main.c | 15 +--------------
profiles/input/device.c | 15 +--------------
profiles/input/device.h | 15 +--------------
profiles/input/hidp_defs.h | 15 +--------------
profiles/input/hog-lib.c | 15 +--------------
profiles/input/hog-lib.h | 15 +--------------
profiles/input/hog.c | 15 +--------------
profiles/input/manager.c | 15 +--------------
profiles/input/server.c | 15 +--------------
profiles/input/server.h | 15 +--------------
profiles/input/sixaxis.h | 15 +--------------
profiles/input/suspend-dummy.c | 15 +--------------
profiles/input/suspend-none.c | 15 +--------------
profiles/input/suspend.h | 15 +--------------
profiles/midi/libmidi.c | 16 +---------------
profiles/midi/libmidi.h | 16 +---------------
profiles/midi/midi.c | 20 +-------------------
profiles/network/bnep.c | 15 +--------------
profiles/network/bnep.h | 15 +--------------
profiles/network/connection.c | 15 +--------------
profiles/network/connection.h | 15 +--------------
profiles/network/manager.c | 15 +--------------
profiles/network/server.c | 15 +--------------
profiles/network/server.h | 15 +--------------
profiles/sap/main.c | 14 +-------------
profiles/sap/manager.c | 14 +-------------
profiles/sap/manager.h | 14 +-------------
profiles/sap/sap-dummy.c | 14 +-------------
profiles/sap/sap.h | 14 +-------------
profiles/sap/server.c | 14 +-------------
profiles/sap/server.h | 14 +-------------
profiles/scanparam/scan.c | 15 +--------------
profiles/scanparam/scpp.c | 15 +--------------
profiles/scanparam/scpp.h | 15 +--------------
src/adapter.c | 15 +--------------
src/adapter.h | 15 +--------------
src/adv_monitor.c | 11 +----------
src/adv_monitor.h | 11 +----------
src/advertising.c | 11 +----------
src/advertising.h | 11 +----------
src/agent.c | 15 +--------------
src/agent.h | 15 +--------------
src/attrib-server.c | 15 +--------------
src/attrib-server.h | 15 +--------------
src/backtrace.c | 15 +--------------
src/backtrace.h | 15 +--------------
src/dbus-common.c | 15 +--------------
src/dbus-common.h | 15 +--------------
src/device.c | 15 +--------------
src/device.h | 15 +--------------
src/eir.c | 15 +--------------
src/eir.h | 15 +--------------
src/error.c | 15 +--------------
src/error.h | 15 +--------------
src/gatt-client.c | 11 +----------
src/gatt-client.h | 11 +----------
src/gatt-database.c | 11 +----------
src/gatt-database.h | 11 +----------
src/hcid.h | 15 +--------------
src/log.c | 15 +--------------
src/log.h | 15 +--------------
src/main.c | 15 +--------------
src/oui.c | 15 +--------------
src/oui.h | 15 +--------------
src/plugin.c | 15 +--------------
src/plugin.h | 15 +--------------
src/profile.c | 15 +--------------
src/profile.h | 15 +--------------
src/rfkill.c | 15 +--------------
src/sdp-client.c | 15 +--------------
src/sdp-client.h | 15 +--------------
src/sdp-xml.c | 15 +--------------
src/sdp-xml.h | 15 +--------------
src/sdpd-database.c | 15 +--------------
src/sdpd-request.c | 15 +--------------
src/sdpd-server.c | 15 +--------------
src/sdpd-service.c | 15 +--------------
src/sdpd.h | 15 +--------------
src/service.c | 15 +--------------
src/service.h | 15 +--------------
src/shared/ad.c | 15 +--------------
src/shared/ad.h | 15 +--------------
src/shared/att-types.h | 15 +--------------
src/shared/att.c | 15 +--------------
src/shared/att.h | 15 +--------------
src/shared/btp.c | 15 +--------------
src/shared/btp.h | 15 +--------------
src/shared/btsnoop.c | 15 +--------------
src/shared/btsnoop.h | 15 +--------------
src/shared/crypto.c | 15 +--------------
src/shared/crypto.h | 15 +--------------
src/shared/ecc.c | 21 +--------------------
src/shared/ecc.h | 21 +--------------------
src/shared/gap.c | 15 +--------------
src/shared/gap.h | 15 +--------------
src/shared/gatt-client.c | 15 +--------------
src/shared/gatt-client.h | 15 +--------------
src/shared/gatt-db.c | 15 +--------------
src/shared/gatt-db.h | 15 +--------------
src/shared/gatt-helpers.c | 15 +--------------
src/shared/gatt-helpers.h | 15 +--------------
src/shared/gatt-server.c | 15 +--------------
src/shared/gatt-server.h | 15 +--------------
src/shared/hci-crypto.c | 15 +--------------
src/shared/hci-crypto.h | 15 +--------------
src/shared/hci.c | 15 +--------------
src/shared/hci.h | 15 +--------------
src/shared/hfp.c | 15 +--------------
src/shared/hfp.h | 15 +--------------
src/shared/io-ell.c | 15 +--------------
src/shared/io-glib.c | 15 +--------------
src/shared/io-mainloop.c | 15 +--------------
src/shared/io.h | 15 +--------------
src/shared/log.c | 15 +--------------
src/shared/log.h | 15 +--------------
src/shared/mainloop-ell.c | 12 +-----------
src/shared/mainloop-glib.c | 15 +--------------
src/shared/mainloop-notify.c | 15 +--------------
src/shared/mainloop-notify.h | 15 +--------------
src/shared/mainloop.c | 15 +--------------
src/shared/mainloop.h | 15 +--------------
src/shared/mgmt.c | 15 +--------------
src/shared/mgmt.h | 15 +--------------
src/shared/pcap.c | 15 +--------------
src/shared/pcap.h | 15 +--------------
src/shared/queue.c | 15 +--------------
src/shared/queue.h | 15 +--------------
src/shared/ringbuf.c | 15 +--------------
src/shared/ringbuf.h | 15 +--------------
src/shared/shell.c | 15 +--------------
src/shared/shell.h | 15 +--------------
src/shared/tester.c | 15 +--------------
src/shared/tester.h | 15 +--------------
src/shared/timeout-ell.c | 11 +----------
src/shared/timeout-glib.c | 11 +----------
src/shared/timeout-mainloop.c | 11 +----------
src/shared/timeout.h | 11 +----------
src/shared/tty.h | 15 +--------------
src/shared/uhid.c | 15 +--------------
src/shared/uhid.h | 15 +--------------
src/shared/util.c | 15 +--------------
src/shared/util.h | 15 +--------------
src/storage.c | 15 +--------------
src/storage.h | 15 +--------------
src/textfile.c | 15 +--------------
src/textfile.h | 15 +--------------
src/uinput.h | 15 +--------------
src/uuid-helper.c | 15 +--------------
src/uuid-helper.h | 15 +--------------
tools/3dsp.c | 15 +--------------
tools/advtest.c | 15 +--------------
tools/amptest.c | 15 +--------------
tools/avinfo.c | 15 +--------------
tools/avtest.c | 15 +--------------
tools/bccmd.c | 15 +--------------
tools/bcmfw.c | 15 +--------------
tools/bdaddr.c | 15 +--------------
tools/bluemoon.c | 15 +--------------
tools/bluetooth-player.c | 15 +--------------
tools/bnep-tester.c | 15 +--------------
tools/bneptest.c | 15 +--------------
tools/btattach.c | 15 +--------------
tools/btconfig.c | 15 +--------------
tools/btgatt-client.c | 15 +--------------
tools/btgatt-server.c | 11 +----------
tools/btinfo.c | 15 +--------------
tools/btiotest.c | 15 +--------------
tools/btmgmt.c | 15 +--------------
tools/btmon-logger.c | 15 +--------------
tools/btpclient.c | 15 +--------------
tools/btpclientctl.c | 15 +--------------
tools/btproxy.c | 15 +--------------
tools/btsnoop.c | 15 +--------------
tools/check-selftest.c | 15 +--------------
tools/ciptool.c | 15 +--------------
tools/cltest.c | 15 +--------------
tools/create-image.c | 15 +--------------
tools/csr.c | 15 +--------------
tools/csr.h | 15 +--------------
tools/csr_3wire.c | 15 +--------------
tools/csr_bcsp.c | 15 +--------------
tools/csr_h4.c | 15 +--------------
tools/csr_hci.c | 15 +--------------
tools/csr_usb.c | 15 +--------------
tools/eddystone.c | 15 +--------------
tools/gap-tester.c | 15 +--------------
tools/gatt-service.c | 15 +--------------
tools/hci-tester.c | 15 +--------------
tools/hciattach.c | 15 +--------------
tools/hciattach.h | 15 +--------------
tools/hciattach_ath3k.c | 15 +--------------
tools/hciattach_bcm43xx.c | 15 +--------------
tools/hciattach_intel.c | 15 +--------------
tools/hciattach_qualcomm.c | 15 +--------------
tools/hciattach_st.c | 15 +--------------
tools/hciattach_ti.c | 15 +--------------
tools/hciattach_tialt.c | 15 +--------------
tools/hciconfig.c | 15 +--------------
tools/hcidump.c | 15 +--------------
tools/hcieventmask.c | 15 +--------------
tools/hcisecfilter.c | 15 +--------------
tools/hcitool.c | 15 +--------------
tools/hex2hcd.c | 15 +--------------
tools/hid2hci.c | 15 +--------------
tools/hwdb.c | 15 +--------------
tools/ibeacon.c | 15 +--------------
tools/l2cap-tester.c | 15 +--------------
tools/l2ping.c | 15 +--------------
tools/l2test.c | 15 +--------------
tools/mcaptest.c | 15 +--------------
tools/mesh-cfgclient.c | 11 +----------
tools/mesh-gatt/config-client.c | 15 +--------------
tools/mesh-gatt/config-server.c | 15 +--------------
tools/mesh-gatt/crypto.c | 15 +--------------
tools/mesh-gatt/crypto.h | 15 +--------------
tools/mesh-gatt/gatt.c | 15 +--------------
tools/mesh-gatt/gatt.h | 15 +--------------
tools/mesh-gatt/keys.h | 15 +--------------
tools/mesh-gatt/mesh-net.h | 15 +--------------
tools/mesh-gatt/net.c | 15 +--------------
tools/mesh-gatt/net.h | 15 +--------------
tools/mesh-gatt/node.c | 15 +--------------
tools/mesh-gatt/node.h | 15 +--------------
tools/mesh-gatt/onoff-model.c | 15 +--------------
tools/mesh-gatt/onoff-model.h | 15 +--------------
tools/mesh-gatt/prov-db.c | 15 +--------------
tools/mesh-gatt/prov-db.h | 15 +--------------
tools/mesh-gatt/prov.c | 15 +--------------
tools/mesh-gatt/prov.h | 15 +--------------
tools/mesh-gatt/util.c | 15 +--------------
tools/mesh-gatt/util.h | 15 +--------------
tools/mesh/agent.c | 15 +--------------
tools/mesh/agent.h | 15 +--------------
tools/mesh/cfgcli.c | 12 +-----------
tools/mesh/cfgcli.h | 12 +-----------
tools/mesh/config-model.h | 15 +--------------
tools/mesh/keys.c | 12 +-----------
tools/mesh/keys.h | 12 +-----------
tools/mesh/mesh-db.c | 11 +----------
tools/mesh/mesh-db.h | 11 +----------
tools/mesh/model.h | 12 +-----------
tools/mesh/remote.c | 11 +----------
tools/mesh/remote.h | 11 +----------
tools/mesh/util.c | 11 +----------
tools/mesh/util.h | 11 +----------
tools/meshctl.c | 15 +--------------
tools/mgmt-tester.c | 15 +--------------
tools/mpris-proxy.c | 15 +--------------
tools/nokfw.c | 15 +--------------
tools/obex-client-tool.c | 14 +-------------
tools/obex-server-tool.c | 14 +-------------
tools/obexctl.c | 15 +--------------
tools/oobtest.c | 15 +--------------
tools/parser/amp.c | 15 +--------------
tools/parser/att.c | 15 +--------------
tools/parser/avctp.c | 15 +--------------
tools/parser/avdtp.c | 15 +--------------
tools/parser/avrcp.c | 15 +--------------
tools/parser/bnep.c | 15 +--------------
tools/parser/bpa.c | 15 +--------------
tools/parser/capi.c | 15 +--------------
tools/parser/cmtp.c | 15 +--------------
tools/parser/csr.c | 15 +--------------
tools/parser/ericsson.c | 15 +--------------
tools/parser/hci.c | 15 +--------------
tools/parser/hcrp.c | 15 +--------------
tools/parser/hidp.c | 15 +--------------
tools/parser/l2cap.c | 15 +--------------
tools/parser/l2cap.h | 15 +--------------
tools/parser/lmp.c | 15 +--------------
tools/parser/obex.c | 15 +--------------
tools/parser/parser.c | 15 +--------------
tools/parser/parser.h | 15 +--------------
tools/parser/ppp.c | 15 +--------------
tools/parser/rfcomm.c | 15 +--------------
tools/parser/rfcomm.h | 15 +--------------
tools/parser/sap.c | 15 +--------------
tools/parser/sdp.c | 15 +--------------
tools/parser/sdp.h | 15 +--------------
tools/parser/smp.c | 15 +--------------
tools/parser/tcpip.c | 15 +--------------
tools/rctest.c | 15 +--------------
tools/rfcomm-tester.c | 15 +--------------
tools/rfcomm.c | 15 +--------------
tools/rtlfw.c | 15 +--------------
tools/sco-tester.c | 15 +--------------
tools/scotest.c | 15 +--------------
tools/sdptool.c | 15 +--------------
tools/seq2bseq.c | 15 +--------------
tools/smp-tester.c | 15 +--------------
tools/test-runner.c | 15 +--------------
tools/ubcsp.c | 20 +-------------------
tools/ubcsp.h | 20 +-------------------
tools/userchan-tester.c | 15 +--------------
unit/test-avctp.c | 15 +--------------
unit/test-avdtp.c | 15 +--------------
unit/test-avrcp.c | 15 +--------------
unit/test-crc.c | 15 +--------------
unit/test-crypto.c | 15 +--------------
unit/test-ecc.c | 21 +--------------------
unit/test-eir.c | 15 +--------------
unit/test-gatt.c | 15 +--------------
unit/test-gattrib.c | 15 +--------------
unit/test-gdbus-client.c | 15 +--------------
unit/test-gobex-apparam.c | 15 +--------------
unit/test-gobex-header.c | 15 +--------------
unit/test-gobex-packet.c | 15 +--------------
unit/test-gobex-transfer.c | 15 +--------------
unit/test-gobex.c | 15 +--------------
unit/test-hfp.c | 15 +--------------
unit/test-hog.c | 15 +--------------
unit/test-lib.c | 15 +--------------
unit/test-mesh-crypto.c | 11 +----------
unit/test-mgmt.c | 15 +--------------
unit/test-midi.c | 16 +---------------
unit/test-queue.c | 15 +--------------
unit/test-ringbuf.c | 15 +--------------
unit/test-sdp.c | 15 +--------------
unit/test-textfile.c | 15 +--------------
unit/test-uhid.c | 15 +--------------
unit/test-uuid.c | 15 +--------------
unit/util.c | 14 +-------------
unit/util.h | 14 +-------------
758 files changed, 758 insertions(+), 10148 deletions(-)

--
2.25.4


2020-09-15 00:06:14

by Tedd Ho-Jeong An

[permalink] [raw]
Subject: [BlueZ v3 09/17] mesh: Add SPDX License Identifier

From: Tedd Ho-Jeong An <[email protected]>

This patch adds SPDX License Identifier and removes the license text.

-------------------------------------
License COUNT
-------------------------------------
LGPL-2.1-or-later : 48

License: LGPL-2.1-or-later
mesh/mesh-mgmt.h
mesh/mesh-mgmt.c
mesh/net-keys.c
mesh/mesh-io-api.h
mesh/mesh.h
mesh/net-keys.h
mesh/model.h
mesh/util.h
mesh/appkey.c
mesh/cfgmod.h
mesh/appkey.h
mesh/prov.h
mesh/prov-acceptor.c
mesh/net.c
mesh/dbus.h
mesh/friend.h
mesh/mesh-io-generic.c
mesh/main.c
mesh/util.c
mesh/dbus.c
mesh/error.h
mesh/mesh-config-json.c
mesh/agent.h
mesh/pb-adv.c
mesh/crypto.c
mesh/crypto.h
mesh/friend.c
mesh/pb-adv.h
mesh/provision.h
mesh/mesh-config.h
mesh/mesh-io-generic.h
mesh/agent.c
mesh/cfgmod-server.c
mesh/mesh-io.h
mesh/keyring.h
mesh/net.h
mesh/keyring.c
mesh/mesh-defs.h
mesh/mesh.c
mesh/rpl.c
mesh/manager.c
mesh/model.c
mesh/mesh-io.c
mesh/node.c
mesh/prov-initiator.c
mesh/rpl.h
mesh/node.h
mesh/manager.h
---
mesh/agent.c | 11 +----------
mesh/agent.h | 11 +----------
mesh/appkey.c | 11 +----------
mesh/appkey.h | 11 +----------
mesh/cfgmod-server.c | 11 +----------
mesh/cfgmod.h | 11 +----------
mesh/crypto.c | 11 +----------
mesh/crypto.h | 11 +----------
mesh/dbus.c | 11 +----------
mesh/dbus.h | 11 +----------
mesh/error.h | 11 +----------
mesh/friend.c | 11 +----------
mesh/friend.h | 11 +----------
mesh/keyring.c | 11 +----------
mesh/keyring.h | 11 +----------
mesh/main.c | 11 +----------
mesh/manager.c | 11 +----------
mesh/manager.h | 11 +----------
mesh/mesh-config-json.c | 11 +----------
mesh/mesh-config.h | 11 +----------
mesh/mesh-defs.h | 12 +-----------
mesh/mesh-io-api.h | 11 +----------
mesh/mesh-io-generic.c | 11 +----------
mesh/mesh-io-generic.h | 11 +----------
mesh/mesh-io.c | 11 +----------
mesh/mesh-io.h | 11 +----------
mesh/mesh-mgmt.c | 11 +----------
mesh/mesh-mgmt.h | 11 +----------
mesh/mesh.c | 11 +----------
mesh/mesh.h | 11 +----------
mesh/model.c | 11 +----------
mesh/model.h | 11 +----------
mesh/net-keys.c | 11 +----------
mesh/net-keys.h | 11 +----------
mesh/net.c | 11 +----------
mesh/net.h | 11 +----------
mesh/node.c | 11 +----------
mesh/node.h | 11 +----------
mesh/pb-adv.c | 11 +----------
mesh/pb-adv.h | 11 +----------
mesh/prov-acceptor.c | 11 +----------
mesh/prov-initiator.c | 11 +----------
mesh/prov.h | 11 +----------
mesh/provision.h | 11 +----------
mesh/rpl.c | 11 +----------
mesh/rpl.h | 11 +----------
mesh/util.c | 11 +----------
mesh/util.h | 11 +----------
48 files changed, 48 insertions(+), 481 deletions(-)

diff --git a/mesh/agent.c b/mesh/agent.c
index 4d200416f..b0d523d16 100644
--- a/mesh/agent.c
+++ b/mesh/agent.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/agent.h b/mesh/agent.h
index 6cc3d0f71..6664c2226 100644
--- a/mesh/agent.h
+++ b/mesh/agent.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

struct mesh_agent;
diff --git a/mesh/appkey.c b/mesh/appkey.c
index a4771bd7d..7efb8f5c4 100644
--- a/mesh/appkey.c
+++ b/mesh/appkey.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2017-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/appkey.h b/mesh/appkey.h
index 23b474a0a..3bb70445b 100644
--- a/mesh/appkey.h
+++ b/mesh/appkey.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

/* TODO: get this number from configuration */
diff --git a/mesh/cfgmod-server.c b/mesh/cfgmod-server.c
index 2e5da863a..0009a1bee 100644
--- a/mesh/cfgmod-server.c
+++ b/mesh/cfgmod-server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2020 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/cfgmod.h b/mesh/cfgmod.h
index 6d73656a7..f47a42c60 100644
--- a/mesh/cfgmod.h
+++ b/mesh/cfgmod.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#define CONFIG_SRV_MODEL SET_ID(SIG_VENDOR, 0x0000)
diff --git a/mesh/crypto.c b/mesh/crypto.c
index 70b96c51b..da227ebbb 100644
--- a/mesh/crypto.c
+++ b/mesh/crypto.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/crypto.h b/mesh/crypto.h
index 7d3f89cde..2f31dc3de 100644
--- a/mesh/crypto.h
+++ b/mesh/crypto.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#include <stdbool.h>
diff --git a/mesh/dbus.c b/mesh/dbus.c
index 63ea420ed..a7abdc428 100644
--- a/mesh/dbus.c
+++ b/mesh/dbus.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/dbus.h b/mesh/dbus.h
index 89d6b1d31..8f00434d6 100644
--- a/mesh/dbus.h
+++ b/mesh/dbus.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#define BLUEZ_MESH_PATH "/org/bluez/mesh"
diff --git a/mesh/error.h b/mesh/error.h
index 2809915b0..6d9ccdb59 100644
--- a/mesh/error.h
+++ b/mesh/error.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

/*
diff --git a/mesh/friend.c b/mesh/friend.c
index d27da9592..1e67704b8 100644
--- a/mesh/friend.c
+++ b/mesh/friend.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/friend.h b/mesh/friend.h
index 2351dee31..ba6053426 100644
--- a/mesh/friend.h
+++ b/mesh/friend.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#define OP_FRND_REQUEST 0x8040
diff --git a/mesh/keyring.c b/mesh/keyring.c
index e8dd1e463..bbe501063 100644
--- a/mesh/keyring.c
+++ b/mesh/keyring.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/keyring.h b/mesh/keyring.h
index 2fab6b0dc..c2d38e9ff 100644
--- a/mesh/keyring.h
+++ b/mesh/keyring.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

struct keyring_net_key {
diff --git a/mesh/main.c b/mesh/main.c
index 5a3cbf290..4356e3f65 100644
--- a/mesh/main.c
+++ b/mesh/main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2017-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/manager.c b/mesh/manager.c
index 8ef681366..d70993e3b 100644
--- a/mesh/manager.c
+++ b/mesh/manager.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/manager.h b/mesh/manager.h
index 5a4c7d94a..a45a1f1c4 100644
--- a/mesh/manager.h
+++ b/mesh/manager.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

bool manager_dbus_init(struct l_dbus *dbus);
diff --git a/mesh/mesh-config-json.c b/mesh/mesh-config-json.c
index 30c90170d..ec9ecb786 100644
--- a/mesh/mesh-config-json.c
+++ b/mesh/mesh-config-json.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/mesh-config.h b/mesh/mesh-config.h
index 738cff9dd..420775829 100644
--- a/mesh/mesh-config.h
+++ b/mesh/mesh-config.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#define MIN_COMP_SIZE 14
diff --git a/mesh/mesh-defs.h b/mesh/mesh-defs.h
index 1a41e987b..43bdf5aab 100644
--- a/mesh/mesh-defs.h
+++ b/mesh/mesh-defs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,17 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
- *
*/

#define MESH_AD_TYPE_PROVISION 0x29
diff --git a/mesh/mesh-io-api.h b/mesh/mesh-io-api.h
index 7a5b49c60..61f79f224 100644
--- a/mesh/mesh-io-api.h
+++ b/mesh/mesh-io-api.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

struct mesh_io_private;
diff --git a/mesh/mesh-io-generic.c b/mesh/mesh-io-generic.c
index 67304d201..4eb7f27ce 100644
--- a/mesh/mesh-io-generic.c
+++ b/mesh/mesh-io-generic.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/mesh-io-generic.h b/mesh/mesh-io-generic.h
index 4bf4d5cb7..915e376bf 100644
--- a/mesh/mesh-io-generic.h
+++ b/mesh/mesh-io-generic.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

extern const struct mesh_io_api mesh_io_generic;
diff --git a/mesh/mesh-io.c b/mesh/mesh-io.c
index c4eaecefd..62fc5d12e 100644
--- a/mesh/mesh-io.c
+++ b/mesh/mesh-io.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/mesh-io.h b/mesh/mesh-io.h
index fc0422020..b11c6c6e1 100644
--- a/mesh/mesh-io.h
+++ b/mesh/mesh-io.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

struct mesh_io;
diff --git a/mesh/mesh-mgmt.c b/mesh/mesh-mgmt.c
index 2cf2ebac2..754093dbc 100644
--- a/mesh/mesh-mgmt.c
+++ b/mesh/mesh-mgmt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2019 SILVAIR sp. z o.o. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/mesh-mgmt.h b/mesh/mesh-mgmt.h
index 93ad7995e..90ac14e73 100644
--- a/mesh/mesh-mgmt.h
+++ b/mesh/mesh-mgmt.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2019 SILVAIR sp. z o.o. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/
#include <stdbool.h>

diff --git a/mesh/mesh.c b/mesh/mesh.c
index bc170371d..f29e8b6be 100644
--- a/mesh/mesh.c
+++ b/mesh/mesh.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/mesh.h b/mesh/mesh.h
index eb887723d..0f77ebc58 100644
--- a/mesh/mesh.h
+++ b/mesh/mesh.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#define BLUEZ_MESH_NAME "org.bluez.mesh"
diff --git a/mesh/model.c b/mesh/model.c
index 5716f5e22..c8eb8c607 100644
--- a/mesh/model.c
+++ b/mesh/model.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2020 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/model.h b/mesh/model.h
index 2eec761a0..8df4f205f 100644
--- a/mesh/model.h
+++ b/mesh/model.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2020 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

struct mesh_model;
diff --git a/mesh/net-keys.c b/mesh/net-keys.c
index 7dfabf922..e42cac70c 100644
--- a/mesh/net-keys.c
+++ b/mesh/net-keys.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/net-keys.h b/mesh/net-keys.h
index 4f480fcda..70b3d22c3 100644
--- a/mesh/net-keys.h
+++ b/mesh/net-keys.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#define BEACON_TYPE_SNB 0x01
diff --git a/mesh/net.c b/mesh/net.c
index 6c7311732..01a475d74 100644
--- a/mesh/net.c
+++ b/mesh/net.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/net.h b/mesh/net.h
index 7bec6d0fc..4dbc94b8b 100644
--- a/mesh/net.h
+++ b/mesh/net.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifndef __packed
diff --git a/mesh/node.c b/mesh/node.c
index f7ac5ff67..76d8fd6e9 100644
--- a/mesh/node.c
+++ b/mesh/node.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2017-2020 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/node.h b/mesh/node.h
index 7874b8692..30d53db33 100644
--- a/mesh/node.h
+++ b/mesh/node.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

struct mesh_net;
diff --git a/mesh/pb-adv.c b/mesh/pb-adv.c
index ae5b81391..c74dae79f 100644
--- a/mesh/pb-adv.c
+++ b/mesh/pb-adv.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/pb-adv.h b/mesh/pb-adv.h
index 80d53d234..5b1e03dae 100644
--- a/mesh/pb-adv.h
+++ b/mesh/pb-adv.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

bool pb_adv_reg(bool initiator, mesh_prov_open_func_t open_cb,
diff --git a/mesh/prov-acceptor.c b/mesh/prov-acceptor.c
index 96f7e15ad..a03ee1ce5 100644
--- a/mesh/prov-acceptor.c
+++ b/mesh/prov-acceptor.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/prov-initiator.c b/mesh/prov-initiator.c
index 4de4df62d..8399282ee 100644
--- a/mesh/prov-initiator.c
+++ b/mesh/prov-initiator.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018-2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/prov.h b/mesh/prov.h
index 11b20b31f..99e864c50 100644
--- a/mesh/prov.h
+++ b/mesh/prov.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifndef __packed
diff --git a/mesh/provision.h b/mesh/provision.h
index 1d78ed8e2..1a11b691b 100644
--- a/mesh/provision.h
+++ b/mesh/provision.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/


diff --git a/mesh/rpl.c b/mesh/rpl.c
index 792c52ad6..7cea8e346 100644
--- a/mesh/rpl.c
+++ b/mesh/rpl.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2020 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/rpl.h b/mesh/rpl.h
index 2bbbdc9b9..9e988e7c5 100644
--- a/mesh/rpl.h
+++ b/mesh/rpl.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2020 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

struct mesh_rpl {
diff --git a/mesh/util.c b/mesh/util.c
index 7d283331a..308e7d998 100644
--- a/mesh/util.c
+++ b/mesh/util.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/mesh/util.h b/mesh/util.h
index 93c2d8687..085ec3330 100644
--- a/mesh/util.h
+++ b/mesh/util.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2018 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

uint32_t get_timestamp_secs(void);
--
2.25.4

2020-09-15 00:06:29

by Tedd Ho-Jeong An

[permalink] [raw]
Subject: [BlueZ v3 12/17] peripheral: Add SPDX License Identifier

From: Tedd Ho-Jeong An <[email protected]>

This patch adds SPDX License Identifier and removes the license text.

-------------------------------------
License COUNT
-------------------------------------
LGPL-2.1-or-later : 11

License: LGPL-2.1-or-later
peripheral/log.h
peripheral/main.c
peripheral/efivars.c
peripheral/attach.h
peripheral/gatt.c
peripheral/attach.c
peripheral/log.c
peripheral/gap.h
peripheral/efivars.h
peripheral/gap.c
peripheral/gatt.h
---
peripheral/attach.c | 15 +--------------
peripheral/attach.h | 15 +--------------
peripheral/efivars.c | 15 +--------------
peripheral/efivars.h | 15 +--------------
peripheral/gap.c | 15 +--------------
peripheral/gap.h | 15 +--------------
peripheral/gatt.c | 15 +--------------
peripheral/gatt.h | 15 +--------------
peripheral/log.c | 15 +--------------
peripheral/log.h | 15 +--------------
peripheral/main.c | 15 +--------------
11 files changed, 11 insertions(+), 154 deletions(-)

diff --git a/peripheral/attach.c b/peripheral/attach.c
index 1de02ac04..f7dc7ecea 100644
--- a/peripheral/attach.c
+++ b/peripheral/attach.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/peripheral/attach.h b/peripheral/attach.h
index f76e2fba2..c8d787d76 100644
--- a/peripheral/attach.h
+++ b/peripheral/attach.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

void attach_start(void);
diff --git a/peripheral/efivars.c b/peripheral/efivars.c
index 3cc213c0c..74fceed3e 100644
--- a/peripheral/efivars.c
+++ b/peripheral/efivars.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/peripheral/efivars.h b/peripheral/efivars.h
index 430d14330..5dac95395 100644
--- a/peripheral/efivars.h
+++ b/peripheral/efivars.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#define EFIVARS_NON_VOLATILE 0x00000001
diff --git a/peripheral/gap.c b/peripheral/gap.c
index 52a7bed9b..b12e08b3d 100644
--- a/peripheral/gap.c
+++ b/peripheral/gap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/peripheral/gap.h b/peripheral/gap.h
index 6d6737810..da307a2ad 100644
--- a/peripheral/gap.h
+++ b/peripheral/gap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/peripheral/gatt.c b/peripheral/gatt.c
index bbbf3f59f..ff1354cb4 100644
--- a/peripheral/gatt.c
+++ b/peripheral/gatt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/peripheral/gatt.h b/peripheral/gatt.h
index 5b68f3573..7e2418a70 100644
--- a/peripheral/gatt.h
+++ b/peripheral/gatt.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/peripheral/log.c b/peripheral/log.c
index d5834eb72..ac674b2df 100644
--- a/peripheral/log.c
+++ b/peripheral/log.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/peripheral/log.h b/peripheral/log.h
index 36619b36e..29d1d6ac0 100644
--- a/peripheral/log.h
+++ b/peripheral/log.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

void log_open(void);
diff --git a/peripheral/main.c b/peripheral/main.c
index 75427ab3a..6ce729178 100644
--- a/peripheral/main.c
+++ b/peripheral/main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
--
2.25.4

2020-09-15 00:06:37

by Tedd Ho-Jeong An

[permalink] [raw]
Subject: [BlueZ v3 15/17] unit: Add SPDX License Identifier

From: Tedd Ho-Jeong An <[email protected]>

This patch adds SPDX License Identifier and removes the license text.

-------------------------------------
License COUNT
-------------------------------------
GPL-2.0-or-later : 25
LGPL-2.1-or-later : 1
GPL-2.0-only : 2
BSD-2-Clause : 1

License: GPL-2.0-or-later
unit/test-hog.c
unit/test-eir.c
unit/test-gobex-header.c
unit/test-crc.c
unit/test-avrcp.c
unit/test-ringbuf.c
unit/test-gobex-apparam.c
unit/test-gobex.c
unit/test-hfp.c
unit/test-textfile.c
unit/test-avdtp.c
unit/test-sdp.c
unit/test-gatt.c
unit/test-avctp.c
unit/test-gattrib.c
unit/test-queue.c
unit/test-gobex-packet.c
unit/test-uuid.c
unit/test-crypto.c
unit/test-uhid.c
unit/test-gdbus-client.c
unit/test-midi.c
unit/test-lib.c
unit/test-mgmt.c
unit/test-gobex-transfer.c

License: LGPL-2.1-or-later
unit/test-mesh-crypto.c

License: GPL-2.0-only
unit/util.h
unit/util.c

License: BSD-2-Clause
unit/test-ecc.c
---
unit/test-avctp.c | 15 +--------------
unit/test-avdtp.c | 15 +--------------
unit/test-avrcp.c | 15 +--------------
unit/test-crc.c | 15 +--------------
unit/test-crypto.c | 15 +--------------
unit/test-ecc.c | 21 +--------------------
unit/test-eir.c | 15 +--------------
unit/test-gatt.c | 15 +--------------
unit/test-gattrib.c | 15 +--------------
unit/test-gdbus-client.c | 15 +--------------
unit/test-gobex-apparam.c | 15 +--------------
unit/test-gobex-header.c | 15 +--------------
unit/test-gobex-packet.c | 15 +--------------
unit/test-gobex-transfer.c | 15 +--------------
unit/test-gobex.c | 15 +--------------
unit/test-hfp.c | 15 +--------------
unit/test-hog.c | 15 +--------------
unit/test-lib.c | 15 +--------------
unit/test-mesh-crypto.c | 11 +----------
unit/test-mgmt.c | 15 +--------------
unit/test-midi.c | 16 +---------------
unit/test-queue.c | 15 +--------------
unit/test-ringbuf.c | 15 +--------------
unit/test-sdp.c | 15 +--------------
unit/test-textfile.c | 15 +--------------
unit/test-uhid.c | 15 +--------------
unit/test-uuid.c | 15 +--------------
unit/util.c | 14 +-------------
unit/util.h | 14 +-------------
29 files changed, 29 insertions(+), 407 deletions(-)

diff --git a/unit/test-avctp.c b/unit/test-avctp.c
index c92618bab..fa7db59c8 100644
--- a/unit/test-avctp.c
+++ b/unit/test-avctp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2014 Intel Corporation. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c
index 13c03d037..f5340d6f3 100644
--- a/unit/test-avdtp.c
+++ b/unit/test-avdtp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2012 Intel Corporation. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-avrcp.c b/unit/test-avrcp.c
index adf25f002..34a70377d 100644
--- a/unit/test-avrcp.c
+++ b/unit/test-avrcp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2014 Intel Corporation. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-crc.c b/unit/test-crc.c
index 791fa5137..107c95e13 100644
--- a/unit/test-crc.c
+++ b/unit/test-crc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2011 Intel Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-crypto.c b/unit/test-crypto.c
index 46c7c0e5c..3a88b4a52 100644
--- a/unit/test-crypto.c
+++ b/unit/test-crypto.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2011 Intel Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-ecc.c b/unit/test-ecc.c
index d9136814d..b838cc29b 100644
--- a/unit/test-ecc.c
+++ b/unit/test-ecc.c
@@ -1,27 +1,8 @@
+// SPDX-License-Identifier: BSD-2-Clause
/*
* Copyright (c) 2013, Kenneth MacKay
* All rights reserved.
*
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are
- * met:
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
- * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
- * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
- * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
- * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-eir.c b/unit/test-eir.c
index 421d0db13..e05a37d01 100644
--- a/unit/test-eir.c
+++ b/unit/test-eir.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2011 Intel Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-gatt.c b/unit/test-gatt.c
index 0b77df51c..6a49210c5 100644
--- a/unit/test-gatt.c
+++ b/unit/test-gatt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2014 Intel Corporation. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-gattrib.c b/unit/test-gattrib.c
index 416e59635..9c7dea094 100644
--- a/unit/test-gattrib.c
+++ b/unit/test-gattrib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2014 Google, Inc.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-gdbus-client.c b/unit/test-gdbus-client.c
index ccf706713..514c58b8e 100644
--- a/unit/test-gdbus-client.c
+++ b/unit/test-gdbus-client.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2011 Intel Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-gobex-apparam.c b/unit/test-gobex-apparam.c
index 59393c681..330a7819a 100644
--- a/unit/test-gobex-apparam.c
+++ b/unit/test-gobex-apparam.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2012 Intel Corporation.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-gobex-header.c b/unit/test-gobex-header.c
index 3450f8123..941e18d47 100644
--- a/unit/test-gobex-header.c
+++ b/unit/test-gobex-header.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-gobex-packet.c b/unit/test-gobex-packet.c
index d382ee5b3..2664bef4e 100644
--- a/unit/test-gobex-packet.c
+++ b/unit/test-gobex-packet.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-gobex-transfer.c b/unit/test-gobex-transfer.c
index 3f8905c0b..4f652dea8 100644
--- a/unit/test-gobex-transfer.c
+++ b/unit/test-gobex-transfer.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-gobex.c b/unit/test-gobex.c
index 1afb7ceff..6fbfa183e 100644
--- a/unit/test-gobex.c
+++ b/unit/test-gobex.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-hfp.c b/unit/test-hfp.c
index 890eee659..f504724d7 100644
--- a/unit/test-hfp.c
+++ b/unit/test-hfp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2014 Intel Corporation. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <sys/socket.h>
diff --git a/unit/test-hog.c b/unit/test-hog.c
index e257fbd88..e6d4affc4 100644
--- a/unit/test-hog.c
+++ b/unit/test-hog.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Intel Corporation. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-lib.c b/unit/test-lib.c
index 1dd5d92cf..8395c2a73 100644
--- a/unit/test-lib.c
+++ b/unit/test-lib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2013 Instituto Nokia de Tecnologia - INdT
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-mesh-crypto.c b/unit/test-mesh-crypto.c
index ed37ae1a7..12709dace 100644
--- a/unit/test-mesh-crypto.c
+++ b/unit/test-mesh-crypto.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,16 +6,6 @@
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-mgmt.c b/unit/test-mgmt.c
index c67678b9a..1b71e562f 100644
--- a/unit/test-mgmt.c
+++ b/unit/test-mgmt.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2012 Intel Corporation. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-midi.c b/unit/test-midi.c
index 593bc5a5c..644fcdc6d 100644
--- a/unit/test-midi.c
+++ b/unit/test-midi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,21 +6,6 @@
* Copyright (C) 2015,2016 Felipe F. Tonello <[email protected]>
* Copyright (C) 2016 ROLI Ltd.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-queue.c b/unit/test-queue.c
index d912a6416..46018ef9c 100644
--- a/unit/test-queue.c
+++ b/unit/test-queue.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2012 Intel Corporation. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-ringbuf.c b/unit/test-ringbuf.c
index ef3bf0a50..b1cf51115 100644
--- a/unit/test-ringbuf.c
+++ b/unit/test-ringbuf.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2012 Intel Corporation. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-sdp.c b/unit/test-sdp.c
index 03501d021..d3a885f19 100644
--- a/unit/test-sdp.c
+++ b/unit/test-sdp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2012 Intel Corporation. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-textfile.c b/unit/test-textfile.c
index 4b43898d6..a1485a543 100644
--- a/unit/test-textfile.c
+++ b/unit/test-textfile.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-uhid.c b/unit/test-uhid.c
index 320cd54d4..001d39a3d 100644
--- a/unit/test-uhid.c
+++ b/unit/test-uhid.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2014 Intel Corporation. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/test-uuid.c b/unit/test-uuid.c
index 7c6789e39..0889630cf 100644
--- a/unit/test-uuid.c
+++ b/unit/test-uuid.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2011 Intel Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/util.c b/unit/util.c
index c8054d2e4..e7804d884 100644
--- a/unit/util.c
+++ b/unit/util.c
@@ -1,22 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/unit/util.h b/unit/util.h
index b13fd2f16..d5d0f19c5 100644
--- a/unit/util.h
+++ b/unit/util.h
@@ -1,22 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#define TEST_BUF_MAX 5
--
2.25.4

2020-09-15 00:06:35

by Tedd Ho-Jeong An

[permalink] [raw]
Subject: [BlueZ v3 11/17] obexd: Add SPDX License Identifier

From: Tedd Ho-Jeong An <[email protected]>

This patch adds SPDX License Identifier and removes the license text.

-------------------------------------
License COUNT
-------------------------------------
GPL-2.0-or-later : 65

License: GPL-2.0-or-later
obexd/src/mimetype.c
obexd/src/transport.h
obexd/src/server.c
obexd/src/obex.c
obexd/src/log.h
obexd/src/service.h
obexd/src/plugin.h
obexd/src/plugin.c
obexd/src/main.c
obexd/src/mimetype.h
obexd/src/transport.c
obexd/src/obexd.h
obexd/src/obex.h
obexd/src/obex-priv.h
obexd/src/log.c
obexd/src/map_ap.h
obexd/src/manager.c
obexd/src/service.c
obexd/src/server.h
obexd/src/manager.h
obexd/plugins/opp.c
obexd/plugins/vcard.h
obexd/plugins/pbap.c
obexd/plugins/vcard.c
obexd/plugins/messages.h
obexd/plugins/phonebook.h
obexd/plugins/pcsuite.c
obexd/plugins/messages-tracker.c
obexd/plugins/phonebook-tracker.c
obexd/plugins/irmc.c
obexd/plugins/ftp.c
obexd/plugins/ftp.h
obexd/plugins/filesystem.c
obexd/plugins/messages-dummy.c
obexd/plugins/phonebook-ebook.c
obexd/plugins/syncevolution.c
obexd/plugins/bluetooth.c
obexd/plugins/phonebook-dummy.c
obexd/plugins/filesystem.h
obexd/plugins/mas.c
obexd/client/transport.h
obexd/client/opp.c
obexd/client/pbap.c
obexd/client/transfer.h
obexd/client/opp.h
obexd/client/driver.c
obexd/client/map-event.h
obexd/client/bluetooth.h
obexd/client/sync.h
obexd/client/transport.c
obexd/client/pbap.h
obexd/client/driver.h
obexd/client/transfer.c
obexd/client/ftp.c
obexd/client/map.h
obexd/client/ftp.h
obexd/client/bluetooth.c
obexd/client/manager.c
obexd/client/session.h
obexd/client/session.c
obexd/client/map.c
obexd/client/sync.c
obexd/client/map-event.c
obexd/client/mns.c
obexd/client/manager.h
---
obexd/client/bluetooth.c | 15 +--------------
obexd/client/bluetooth.h | 15 +--------------
obexd/client/driver.c | 15 +--------------
obexd/client/driver.h | 15 +--------------
obexd/client/ftp.c | 15 +--------------
obexd/client/ftp.h | 15 +--------------
obexd/client/manager.c | 15 +--------------
obexd/client/manager.h | 15 +--------------
obexd/client/map-event.c | 15 +--------------
obexd/client/map-event.h | 15 +--------------
obexd/client/map.c | 15 +--------------
obexd/client/map.h | 15 +--------------
obexd/client/mns.c | 15 +--------------
obexd/client/opp.c | 15 +--------------
obexd/client/opp.h | 15 +--------------
obexd/client/pbap.c | 15 +--------------
obexd/client/pbap.h | 15 +--------------
obexd/client/session.c | 15 +--------------
obexd/client/session.h | 15 +--------------
obexd/client/sync.c | 15 +--------------
obexd/client/sync.h | 15 +--------------
obexd/client/transfer.c | 15 +--------------
obexd/client/transfer.h | 15 +--------------
obexd/client/transport.c | 15 +--------------
obexd/client/transport.h | 15 +--------------
obexd/plugins/bluetooth.c | 15 +--------------
obexd/plugins/filesystem.c | 15 +--------------
obexd/plugins/filesystem.h | 15 +--------------
obexd/plugins/ftp.c | 15 +--------------
obexd/plugins/ftp.h | 15 +--------------
obexd/plugins/irmc.c | 15 +--------------
obexd/plugins/mas.c | 15 +--------------
obexd/plugins/messages-dummy.c | 15 +--------------
obexd/plugins/messages-tracker.c | 15 +--------------
obexd/plugins/messages.h | 15 +--------------
obexd/plugins/opp.c | 15 +--------------
obexd/plugins/pbap.c | 15 +--------------
obexd/plugins/pcsuite.c | 15 +--------------
obexd/plugins/phonebook-dummy.c | 15 +--------------
obexd/plugins/phonebook-ebook.c | 15 +--------------
obexd/plugins/phonebook-tracker.c | 15 +--------------
obexd/plugins/phonebook.h | 15 +--------------
obexd/plugins/syncevolution.c | 15 +--------------
obexd/plugins/vcard.c | 15 +--------------
obexd/plugins/vcard.h | 15 +--------------
obexd/src/log.c | 15 +--------------
obexd/src/log.h | 15 +--------------
obexd/src/main.c | 15 +--------------
obexd/src/manager.c | 15 +--------------
obexd/src/manager.h | 15 +--------------
obexd/src/map_ap.h | 15 +--------------
obexd/src/mimetype.c | 15 +--------------
obexd/src/mimetype.h | 15 +--------------
obexd/src/obex-priv.h | 15 +--------------
obexd/src/obex.c | 15 +--------------
obexd/src/obex.h | 15 +--------------
obexd/src/obexd.h | 15 +--------------
obexd/src/plugin.c | 15 +--------------
obexd/src/plugin.h | 15 +--------------
obexd/src/server.c | 15 +--------------
obexd/src/server.h | 15 +--------------
obexd/src/service.c | 15 +--------------
obexd/src/service.h | 15 +--------------
obexd/src/transport.c | 15 +--------------
obexd/src/transport.h | 15 +--------------
65 files changed, 65 insertions(+), 910 deletions(-)

diff --git a/obexd/client/bluetooth.c b/obexd/client/bluetooth.c
index 0c043e0ac..ca2c023fb 100644
--- a/obexd/client/bluetooth.c
+++ b/obexd/client/bluetooth.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Client
@@ -5,20 +6,6 @@
* Copyright (C) 2012 Intel Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/client/bluetooth.h b/obexd/client/bluetooth.h
index 968e131e0..4d5ba9c21 100644
--- a/obexd/client/bluetooth.h
+++ b/obexd/client/bluetooth.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Client
@@ -5,20 +6,6 @@
* Copyright (C) 2011 Intel Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int bluetooth_init(void);
diff --git a/obexd/client/driver.c b/obexd/client/driver.c
index 0dae35601..195cdd2f1 100644
--- a/obexd/client/driver.c
+++ b/obexd/client/driver.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/client/driver.h b/obexd/client/driver.h
index 0112219d5..cc4cace7b 100644
--- a/obexd/client/driver.h
+++ b/obexd/client/driver.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct obc_driver {
diff --git a/obexd/client/ftp.c b/obexd/client/ftp.c
index 5e30654af..160e0636a 100644
--- a/obexd/client/ftp.c
+++ b/obexd/client/ftp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Client
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/client/ftp.h b/obexd/client/ftp.h
index 3d9096863..1326c8522 100644
--- a/obexd/client/ftp.h
+++ b/obexd/client/ftp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Client
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int ftp_init(void);
diff --git a/obexd/client/manager.c b/obexd/client/manager.c
index fbcad6da4..75f1bfb04 100644
--- a/obexd/client/manager.c
+++ b/obexd/client/manager.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Client
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/client/manager.h b/obexd/client/manager.h
index e4068de44..d4fdf8a1b 100644
--- a/obexd/client/manager.h
+++ b/obexd/client/manager.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int client_manager_init(void);
diff --git a/obexd/client/map-event.c b/obexd/client/map-event.c
index e164e863c..c988ef3dd 100644
--- a/obexd/client/map-event.c
+++ b/obexd/client/map-event.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX
@@ -5,20 +6,6 @@
* Copyright (C) 2013 BMW Car IT GmbH. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/client/map-event.h b/obexd/client/map-event.h
index 5414b2621..bb127b0f4 100644
--- a/obexd/client/map-event.h
+++ b/obexd/client/map-event.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX
@@ -5,20 +6,6 @@
* Copyright (C) 2013 BMW Car IT GmbH. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct obc_session;
diff --git a/obexd/client/map.c b/obexd/client/map.c
index 23be2d6b2..74828cddb 100644
--- a/obexd/client/map.c
+++ b/obexd/client/map.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Client
*
* Copyright (C) 2011 Bartosz Szatkowski <[email protected]> for Comarch
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/client/map.h b/obexd/client/map.h
index 86f6b9512..15228ed0a 100644
--- a/obexd/client/map.h
+++ b/obexd/client/map.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Client
*
* Copyright (C) 2011 Bartosz Szatkowski <[email protected]> for Comarch
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int map_init(void);
diff --git a/obexd/client/mns.c b/obexd/client/mns.c
index 4912cb90f..e52505642 100644
--- a/obexd/client/mns.c
+++ b/obexd/client/mns.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2013 BMW Car IT GmbH. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/client/opp.c b/obexd/client/opp.c
index 92785f66e..90d0c0c8e 100644
--- a/obexd/client/opp.c
+++ b/obexd/client/opp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Client
@@ -5,20 +6,6 @@
* Copyright (C) 2011 Intel Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/client/opp.h b/obexd/client/opp.h
index a23e94e00..ecc3e05ed 100644
--- a/obexd/client/opp.h
+++ b/obexd/client/opp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Client
@@ -5,20 +6,6 @@
* Copyright (C) 2011 Intel Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int opp_init(void);
diff --git a/obexd/client/pbap.c b/obexd/client/pbap.c
index 3f5665fcd..1a2bacc9f 100644
--- a/obexd/client/pbap.c
+++ b/obexd/client/pbap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Client
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/client/pbap.h b/obexd/client/pbap.h
index ce56258b5..8107f81bf 100644
--- a/obexd/client/pbap.h
+++ b/obexd/client/pbap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Client
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int pbap_init(void);
diff --git a/obexd/client/session.c b/obexd/client/session.c
index 5bd2d2670..6955a8089 100644
--- a/obexd/client/session.c
+++ b/obexd/client/session.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Client
@@ -6,20 +7,6 @@
* Copyright (C) 2011-2012 BMW Car IT GmbH. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/client/session.h b/obexd/client/session.h
index b561b7e58..2c646df1a 100644
--- a/obexd/client/session.h
+++ b/obexd/client/session.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Client
@@ -6,20 +7,6 @@
* Copyright (C) 2011-2012 BMW Car IT GmbH. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/obexd/client/sync.c b/obexd/client/sync.c
index 548c318c3..92faf4434 100644
--- a/obexd/client/sync.c
+++ b/obexd/client/sync.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Client
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/client/sync.h b/obexd/client/sync.h
index 8adc5f8d6..5d8844c4f 100644
--- a/obexd/client/sync.h
+++ b/obexd/client/sync.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Client
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int sync_init(void);
diff --git a/obexd/client/transfer.c b/obexd/client/transfer.c
index b53dffa21..744d8f106 100644
--- a/obexd/client/transfer.c
+++ b/obexd/client/transfer.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Client
@@ -6,20 +7,6 @@
* Copyright (C) 2011-2012 BMW Car IT GmbH. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/client/transfer.h b/obexd/client/transfer.h
index b6b835d18..323332a62 100644
--- a/obexd/client/transfer.h
+++ b/obexd/client/transfer.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Client
@@ -6,20 +7,6 @@
* Copyright (C) 2011-2012 BMW Car IT GmbH. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct obc_transfer;
diff --git a/obexd/client/transport.c b/obexd/client/transport.c
index 4cd770672..4e442e9b5 100644
--- a/obexd/client/transport.c
+++ b/obexd/client/transport.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2012 Intel Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/client/transport.h b/obexd/client/transport.h
index b035cfc45..e1f1a5c53 100644
--- a/obexd/client/transport.h
+++ b/obexd/client/transport.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2012 Intel Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

typedef void (*obc_transport_func)(GIOChannel *io, GError *err,
diff --git a/obexd/plugins/bluetooth.c b/obexd/plugins/bluetooth.c
index ba1e0a99a..d232d3fd5 100644
--- a/obexd/plugins/bluetooth.c
+++ b/obexd/plugins/bluetooth.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/filesystem.c b/obexd/plugins/filesystem.c
index 48239a8bc..8e53c181c 100644
--- a/obexd/plugins/filesystem.c
+++ b/obexd/plugins/filesystem.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/filesystem.h b/obexd/plugins/filesystem.h
index f95773beb..63cda985e 100644
--- a/obexd/plugins/filesystem.h
+++ b/obexd/plugins/filesystem.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

ssize_t string_read(void *object, void *buf, size_t count);
diff --git a/obexd/plugins/ftp.c b/obexd/plugins/ftp.c
index 3ee18a619..f60cf143d 100644
--- a/obexd/plugins/ftp.c
+++ b/obexd/plugins/ftp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/ftp.h b/obexd/plugins/ftp.h
index f06de8490..b9934b23b 100644
--- a/obexd/plugins/ftp.h
+++ b/obexd/plugins/ftp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

void *ftp_connect(struct obex_session *os, int *err);
diff --git a/obexd/plugins/irmc.c b/obexd/plugins/irmc.c
index fcf5340e7..cd143e7a3 100644
--- a/obexd/plugins/irmc.c
+++ b/obexd/plugins/irmc.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX IrMC Sync Server
*
* Copyright (C) 2010 Marcel Mol <[email protected]>
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/mas.c b/obexd/plugins/mas.c
index f73c3e9d8..5d00bc563 100644
--- a/obexd/plugins/mas.c
+++ b/obexd/plugins/mas.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2010-2011 Nokia Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/messages-dummy.c b/obexd/plugins/messages-dummy.c
index 3eca9ef4c..34199fa05 100644
--- a/obexd/plugins/messages-dummy.c
+++ b/obexd/plugins/messages-dummy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2010-2011 Nokia Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/messages-tracker.c b/obexd/plugins/messages-tracker.c
index 60f3a807e..4ce9f221d 100644
--- a/obexd/plugins/messages-tracker.c
+++ b/obexd/plugins/messages-tracker.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2010-2011 Nokia Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/messages.h b/obexd/plugins/messages.h
index 00a16b1ae..535ec303c 100644
--- a/obexd/plugins/messages.h
+++ b/obexd/plugins/messages.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2010-2011 Nokia Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <glib.h>
diff --git a/obexd/plugins/opp.c b/obexd/plugins/opp.c
index 5bb766770..860161303 100644
--- a/obexd/plugins/opp.c
+++ b/obexd/plugins/opp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/pbap.c b/obexd/plugins/pbap.c
index d5a3046ae..efae92cd8 100644
--- a/obexd/plugins/pbap.c
+++ b/obexd/plugins/pbap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/pcsuite.c b/obexd/plugins/pcsuite.c
index 43ab409e9..b2232ea09 100644
--- a/obexd/plugins/pcsuite.c
+++ b/obexd/plugins/pcsuite.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/phonebook-dummy.c b/obexd/plugins/phonebook-dummy.c
index 9279ef29a..4d0b70504 100644
--- a/obexd/plugins/phonebook-dummy.c
+++ b/obexd/plugins/phonebook-dummy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/phonebook-ebook.c b/obexd/plugins/phonebook-ebook.c
index c422585df..30be9d921 100644
--- a/obexd/plugins/phonebook-ebook.c
+++ b/obexd/plugins/phonebook-ebook.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c
index c1d14078b..30f945b84 100644
--- a/obexd/plugins/phonebook-tracker.c
+++ b/obexd/plugins/phonebook-tracker.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Phonebook access through D-Bus vCard and call history service
*
* Copyright (C) 2010 Nokia Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/phonebook.h b/obexd/plugins/phonebook.h
index 70a9cb797..c73ae73b8 100644
--- a/obexd/plugins/phonebook.h
+++ b/obexd/plugins/phonebook.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#define EOL "\r\n"
diff --git a/obexd/plugins/syncevolution.c b/obexd/plugins/syncevolution.c
index 854505a58..88744f28a 100644
--- a/obexd/plugins/syncevolution.c
+++ b/obexd/plugins/syncevolution.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/vcard.c b/obexd/plugins/vcard.c
index dc7c3b3e6..0a727b729 100644
--- a/obexd/plugins/vcard.c
+++ b/obexd/plugins/vcard.c
@@ -1,22 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* OBEX Server
*
* Copyright (C) 2008-2010 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/plugins/vcard.h b/obexd/plugins/vcard.h
index 22c3f6899..880660ffa 100644
--- a/obexd/plugins/vcard.h
+++ b/obexd/plugins/vcard.h
@@ -1,22 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* OBEX Server
*
* Copyright (C) 2008-2010 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

enum phonebook_number_type {
diff --git a/obexd/src/log.c b/obexd/src/log.c
index 8e2ebaab2..6c29064e3 100644
--- a/obexd/src/log.c
+++ b/obexd/src/log.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/src/log.h b/obexd/src/log.h
index d9fb8678f..7dc74d542 100644
--- a/obexd/src/log.h
+++ b/obexd/src/log.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

void info(const char *format, ...) __attribute__((format(printf, 1, 2)));
diff --git a/obexd/src/main.c b/obexd/src/main.c
index 139f1412c..629a3b4c1 100644
--- a/obexd/src/main.c
+++ b/obexd/src/main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/src/manager.c b/obexd/src/manager.c
index a4af627cb..01741fe62 100644
--- a/obexd/src/manager.c
+++ b/obexd/src/manager.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/src/manager.h b/obexd/src/manager.h
index d709af5a8..8fa12d15d 100644
--- a/obexd/src/manager.h
+++ b/obexd/src/manager.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Nokia Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <dbus/dbus.h>
diff --git a/obexd/src/map_ap.h b/obexd/src/map_ap.h
index da108fe6e..59efc49de 100644
--- a/obexd/src/map_ap.h
+++ b/obexd/src/map_ap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2010-2011 Nokia Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

/* List of OBEX application parameters tags as per MAP specification. */
diff --git a/obexd/src/mimetype.c b/obexd/src/mimetype.c
index c8b040a43..212f24b18 100644
--- a/obexd/src/mimetype.c
+++ b/obexd/src/mimetype.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/src/mimetype.h b/obexd/src/mimetype.h
index 79529b890..e1c14f405 100644
--- a/obexd/src/mimetype.h
+++ b/obexd/src/mimetype.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

typedef gboolean (*obex_object_io_func) (void *object, int flags, int err,
diff --git a/obexd/src/obex-priv.h b/obexd/src/obex-priv.h
index 355a7f87b..db409e7e4 100644
--- a/obexd/src/obex-priv.h
+++ b/obexd/src/obex-priv.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct obex_session {
diff --git a/obexd/src/obex.c b/obexd/src/obex.c
index 2850d3a37..9f992ec18 100644
--- a/obexd/src/obex.c
+++ b/obexd/src/obex.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/src/obex.h b/obexd/src/obex.h
index 67593f11b..755be1caf 100644
--- a/obexd/src/obex.h
+++ b/obexd/src/obex.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <unistd.h>
diff --git a/obexd/src/obexd.h b/obexd/src/obexd.h
index 42c3c4d97..fe312a65b 100644
--- a/obexd/src/obexd.h
+++ b/obexd/src/obexd.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#define OBEX_OPP (1 << 1)
diff --git a/obexd/src/plugin.c b/obexd/src/plugin.c
index a1962b91d..0df9d5258 100644
--- a/obexd/src/plugin.c
+++ b/obexd/src/plugin.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/src/plugin.h b/obexd/src/plugin.h
index 13d77695f..703878460 100644
--- a/obexd/src/plugin.h
+++ b/obexd/src/plugin.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct obex_plugin_desc {
diff --git a/obexd/src/server.c b/obexd/src/server.c
index db854233b..a8fc45092 100644
--- a/obexd/src/server.c
+++ b/obexd/src/server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/src/server.h b/obexd/src/server.h
index 278c35fce..c31236ec0 100644
--- a/obexd/src/server.h
+++ b/obexd/src/server.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -6,20 +7,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct obex_server {
diff --git a/obexd/src/service.c b/obexd/src/service.c
index c088535e9..0f4e420e8 100644
--- a/obexd/src/service.c
+++ b/obexd/src/service.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/src/service.h b/obexd/src/service.h
index 5d9d325fb..e3aee3bf3 100644
--- a/obexd/src/service.h
+++ b/obexd/src/service.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#define OBEX_PORT_RANDOM UINT16_MAX
diff --git a/obexd/src/transport.c b/obexd/src/transport.c
index 4984643e2..4b5895e5d 100644
--- a/obexd/src/transport.c
+++ b/obexd/src/transport.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/obexd/src/transport.h b/obexd/src/transport.h
index 97e10d05f..3a16b7620 100644
--- a/obexd/src/transport.h
+++ b/obexd/src/transport.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX Server
@@ -5,20 +6,6 @@
* Copyright (C) 2007-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct obex_transport_driver {
--
2.25.4

2020-09-15 00:06:46

by Tedd Ho-Jeong An

[permalink] [raw]
Subject: [BlueZ v3 13/17] plugins: Add SPDX License Identifier

From: Tedd Ho-Jeong An <[email protected]>

This patch adds SPDX License Identifier and removes the license text.

-------------------------------------
License COUNT
-------------------------------------
GPL-2.0-or-later : 7

License: GPL-2.0-or-later
plugins/autopair.c
plugins/hostname.c
plugins/neard.c
plugins/policy.c
plugins/sixaxis.c
plugins/wiimote.c
plugins/external-dummy.c
---
plugins/autopair.c | 15 +--------------
plugins/external-dummy.c | 15 +--------------
plugins/hostname.c | 15 +--------------
plugins/neard.c | 15 +--------------
plugins/policy.c | 15 +--------------
plugins/sixaxis.c | 15 +--------------
plugins/wiimote.c | 15 +--------------
7 files changed, 7 insertions(+), 98 deletions(-)

diff --git a/plugins/autopair.c b/plugins/autopair.c
index 3089430a8..665a4f4a6 100644
--- a/plugins/autopair.c
+++ b/plugins/autopair.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2012 Google Inc.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/plugins/external-dummy.c b/plugins/external-dummy.c
index 536ad0663..1c209e8b7 100644
--- a/plugins/external-dummy.c
+++ b/plugins/external-dummy.c
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/plugins/hostname.c b/plugins/hostname.c
index 4f9dfe6d8..f7ab9e8bc 100644
--- a/plugins/hostname.c
+++ b/plugins/hostname.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/plugins/neard.c b/plugins/neard.c
index 6ffcd6e10..ff5de11f4 100644
--- a/plugins/neard.c
+++ b/plugins/neard.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2012-2013 Tieto Poland
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/plugins/policy.c b/plugins/policy.c
index de51e58b9..bf7cf03bb 100644
--- a/plugins/policy.c
+++ b/plugins/policy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2013 Intel Corporation.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/plugins/sixaxis.c b/plugins/sixaxis.c
index 939fed759..1ec9ba9fc 100644
--- a/plugins/sixaxis.c
+++ b/plugins/sixaxis.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -7,20 +8,6 @@
* Copyright (C) 2013 Szymon Janc <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/plugins/wiimote.c b/plugins/wiimote.c
index 0ced27514..9c4e0a58b 100644
--- a/plugins/wiimote.c
+++ b/plugins/wiimote.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2011-2012 David Herrmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
--
2.25.4

2020-09-15 00:06:59

by Tedd Ho-Jeong An

[permalink] [raw]
Subject: [BlueZ v3 14/17] profiles: Add SPDX License Identifier

From: Tedd Ho-Jeong An <[email protected]>

This patch adds SPDX License Identifier and removes the license text.

-------------------------------------
License COUNT
-------------------------------------
GPL-2.0-or-later : 72
LGPL-2.1-or-later : 6

License: GPL-2.0-or-later
profiles/deviceinfo/dis.c
profiles/deviceinfo/deviceinfo.c
profiles/health/hdp_types.h
profiles/health/mcap.c
profiles/health/hdp_manager.c
profiles/health/hdp_main.c
profiles/health/mcap.h
profiles/health/hdp_util.h
profiles/health/hdp_manager.h
profiles/health/hdp_util.c
profiles/health/hdp.c
profiles/health/hdp.h
profiles/network/server.c
profiles/network/connection.h
profiles/network/connection.c
profiles/network/manager.c
profiles/network/bnep.c
profiles/network/server.h
profiles/network/bnep.h
profiles/battery/battery.c
profiles/cups/cups.h
profiles/cups/sdp.c
profiles/cups/main.c
profiles/cups/spp.c
profiles/cups/hcrp.c
profiles/scanparam/scpp.c
profiles/scanparam/scan.c
profiles/audio/transport.h
profiles/audio/avdtp.h
profiles/audio/source.c
profiles/audio/player.c
profiles/audio/avctp.c
profiles/audio/control.h
profiles/audio/a2dp.c
profiles/audio/source.h
profiles/audio/transport.c
profiles/audio/sink.c
profiles/audio/avrcp.h
profiles/audio/avdtp.c
profiles/audio/a2dp.h
profiles/audio/avrcp.c
profiles/audio/media.h
profiles/audio/avctp.h
profiles/audio/control.c
profiles/audio/sink.h
profiles/audio/player.h
profiles/audio/media.c
profiles/sap/server.c
profiles/sap/sap-dummy.c
profiles/sap/main.c
profiles/sap/sap.h
profiles/sap/manager.c
profiles/sap/server.h
profiles/sap/manager.h
profiles/iap/main.c
profiles/gap/gas.c
profiles/midi/midi.c
profiles/midi/libmidi.c
profiles/midi/libmidi.h
profiles/input/server.c
profiles/input/suspend.h
profiles/input/uhid_copy.h
profiles/input/device.c
profiles/input/hog.c
profiles/input/device.h
profiles/input/hidp_defs.h
profiles/input/manager.c
profiles/input/suspend-none.c
profiles/input/sixaxis.h
profiles/input/hog-lib.c
profiles/input/suspend-dummy.c
profiles/input/server.h

License: LGPL-2.1-or-later
profiles/deviceinfo/dis.h
profiles/battery/bas.h
profiles/battery/bas.c
profiles/scanparam/scpp.h
profiles/audio/a2dp-codecs.h
profiles/input/hog-lib.h
---
profiles/audio/a2dp-codecs.h | 15 +--------------
profiles/audio/a2dp.c | 15 +--------------
profiles/audio/a2dp.h | 15 +--------------
profiles/audio/avctp.c | 15 +--------------
profiles/audio/avctp.h | 15 +--------------
profiles/audio/avdtp.c | 15 +--------------
profiles/audio/avdtp.h | 15 +--------------
profiles/audio/avrcp.c | 15 +--------------
profiles/audio/avrcp.h | 15 +--------------
profiles/audio/control.c | 15 +--------------
profiles/audio/control.h | 15 +--------------
profiles/audio/media.c | 15 +--------------
profiles/audio/media.h | 15 +--------------
profiles/audio/player.c | 15 +--------------
profiles/audio/player.h | 15 +--------------
profiles/audio/sink.c | 15 +--------------
profiles/audio/sink.h | 15 +--------------
profiles/audio/source.c | 15 +--------------
profiles/audio/source.h | 15 +--------------
profiles/audio/transport.c | 15 +--------------
profiles/audio/transport.h | 15 +--------------
profiles/battery/bas.c | 15 +--------------
profiles/battery/bas.h | 15 +--------------
profiles/battery/battery.c | 10 +---------
profiles/cups/cups.h | 15 +--------------
profiles/cups/hcrp.c | 15 +--------------
profiles/cups/main.c | 15 +--------------
profiles/cups/sdp.c | 15 +--------------
profiles/cups/spp.c | 15 +--------------
profiles/deviceinfo/deviceinfo.c | 15 +--------------
profiles/deviceinfo/dis.c | 15 +--------------
profiles/deviceinfo/dis.h | 15 +--------------
profiles/gap/gas.c | 10 +---------
profiles/health/hdp.c | 15 +--------------
profiles/health/hdp.h | 15 +--------------
profiles/health/hdp_main.c | 15 +--------------
profiles/health/hdp_manager.c | 15 +--------------
profiles/health/hdp_manager.h | 15 +--------------
profiles/health/hdp_types.h | 15 +--------------
profiles/health/hdp_util.c | 15 +--------------
profiles/health/hdp_util.h | 15 +--------------
profiles/health/mcap.c | 15 +--------------
profiles/health/mcap.h | 15 +--------------
profiles/iap/main.c | 15 +--------------
profiles/input/device.c | 15 +--------------
profiles/input/device.h | 15 +--------------
profiles/input/hidp_defs.h | 15 +--------------
profiles/input/hog-lib.c | 15 +--------------
profiles/input/hog-lib.h | 15 +--------------
profiles/input/hog.c | 15 +--------------
profiles/input/manager.c | 15 +--------------
profiles/input/server.c | 15 +--------------
profiles/input/server.h | 15 +--------------
profiles/input/sixaxis.h | 15 +--------------
profiles/input/suspend-dummy.c | 15 +--------------
profiles/input/suspend-none.c | 15 +--------------
profiles/input/suspend.h | 15 +--------------
profiles/midi/libmidi.c | 16 +---------------
profiles/midi/libmidi.h | 16 +---------------
profiles/midi/midi.c | 20 +-------------------
profiles/network/bnep.c | 15 +--------------
profiles/network/bnep.h | 15 +--------------
profiles/network/connection.c | 15 +--------------
profiles/network/connection.h | 15 +--------------
profiles/network/manager.c | 15 +--------------
profiles/network/server.c | 15 +--------------
profiles/network/server.h | 15 +--------------
profiles/sap/main.c | 14 +-------------
profiles/sap/manager.c | 14 +-------------
profiles/sap/manager.h | 14 +-------------
profiles/sap/sap-dummy.c | 14 +-------------
profiles/sap/sap.h | 14 +-------------
profiles/sap/server.c | 14 +-------------
profiles/sap/server.h | 14 +-------------
profiles/scanparam/scan.c | 15 +--------------
profiles/scanparam/scpp.c | 15 +--------------
profiles/scanparam/scpp.h | 15 +--------------
77 files changed, 77 insertions(+), 1068 deletions(-)

diff --git a/profiles/audio/a2dp-codecs.h b/profiles/audio/a2dp-codecs.h
index 93e9d3523..6f5670947 100644
--- a/profiles/audio/a2dp-codecs.h
+++ b/profiles/audio/a2dp-codecs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -7,20 +8,6 @@
* Copyright (C) 2018 Pali Rohár <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <endian.h>
diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index 2feea66c0..4ec99278a 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -7,20 +8,6 @@
* Copyright (C) 2011 BMW Car IT GmbH. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/audio/a2dp.h b/profiles/audio/a2dp.h
index 19466a428..b40bd4736 100644
--- a/profiles/audio/a2dp.h
+++ b/profiles/audio/a2dp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -7,20 +8,6 @@
* Copyright (C) 2011 BMW Car IT GmbH. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct a2dp_sep;
diff --git a/profiles/audio/avctp.c b/profiles/audio/avctp.c
index f096d22b0..c959b4f49 100644
--- a/profiles/audio/avctp.c
+++ b/profiles/audio/avctp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -7,20 +8,6 @@
* Copyright (C) 2011 Texas Instruments, Inc.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/audio/avctp.h b/profiles/audio/avctp.h
index 95d95bbbe..23e3732cd 100644
--- a/profiles/audio/avctp.h
+++ b/profiles/audio/avctp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#define AVCTP_CONTROL_PSM 23
diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c
index 782268c08..5fbe50761 100644
--- a/profiles/audio/avdtp.c
+++ b/profiles/audio/avdtp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/audio/avdtp.h b/profiles/audio/avdtp.h
index 011fea89e..7a1c109c2 100644
--- a/profiles/audio/avdtp.h
+++ b/profiles/audio/avdtp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

typedef enum {
diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 5ef98acd1..ed436de3b 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -7,20 +8,6 @@
* Copyright (C) 2011 Texas Instruments, Inc.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/audio/avrcp.h b/profiles/audio/avrcp.h
index 159ccf846..dcc580e37 100644
--- a/profiles/audio/avrcp.h
+++ b/profiles/audio/avrcp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

/* player attributes */
diff --git a/profiles/audio/control.c b/profiles/audio/control.c
index 14744ea94..619afc13d 100644
--- a/profiles/audio/control.c
+++ b/profiles/audio/control.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -7,20 +8,6 @@
* Copyright (C) 2011 Texas Instruments, Inc.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/audio/control.h b/profiles/audio/control.h
index aab2631b6..b9207a7b7 100644
--- a/profiles/audio/control.h
+++ b/profiles/audio/control.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#define AUDIO_CONTROL_INTERFACE "org.bluez.MediaControl1"
diff --git a/profiles/audio/media.c b/profiles/audio/media.c
index 02bf82a49..74064d398 100644
--- a/profiles/audio/media.c
+++ b/profiles/audio/media.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -7,20 +8,6 @@
* Copyright (C) 2011 BMW Car IT GmbH. All rights reserved.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/audio/media.h b/profiles/audio/media.h
index 53694f4c6..96bea9db4 100644
--- a/profiles/audio/media.h
+++ b/profiles/audio/media.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2004-2009 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct media_endpoint;
diff --git a/profiles/audio/player.c b/profiles/audio/player.c
index 27a7efb7e..d34b39168 100644
--- a/profiles/audio/player.c
+++ b/profiles/audio/player.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2004-2009 Marcel Holtmann <[email protected]>
* Copyright (C) 2012-2012 Intel Corporation
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/audio/player.h b/profiles/audio/player.h
index e98550064..69f08735b 100644
--- a/profiles/audio/player.h
+++ b/profiles/audio/player.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -7,20 +8,6 @@
* Copyright (C) 2012-2012 Intel Corporation
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

typedef enum {
diff --git a/profiles/audio/sink.c b/profiles/audio/sink.c
index 7c5e77577..134d157bc 100644
--- a/profiles/audio/sink.c
+++ b/profiles/audio/sink.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/audio/sink.h b/profiles/audio/sink.h
index 93c62a206..495e612f1 100644
--- a/profiles/audio/sink.h
+++ b/profiles/audio/sink.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

typedef enum {
diff --git a/profiles/audio/source.c b/profiles/audio/source.c
index 0ac20fe40..fca85d4cb 100644
--- a/profiles/audio/source.c
+++ b/profiles/audio/source.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -7,20 +8,6 @@
* Copyright (C) 2009 Joao Paulo Rechi Vita
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/audio/source.h b/profiles/audio/source.h
index a014c68d6..35ce0b163 100644
--- a/profiles/audio/source.h
+++ b/profiles/audio/source.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -7,20 +8,6 @@
* Copyright (C) 2009 Joao Paulo Rechi Vita
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

typedef enum {
diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c
index dd1c553a2..8248014ae 100644
--- a/profiles/audio/transport.c
+++ b/profiles/audio/transport.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2004-2009 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/audio/transport.h b/profiles/audio/transport.h
index 78024372f..51a67ea74 100644
--- a/profiles/audio/transport.h
+++ b/profiles/audio/transport.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2004-2009 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct media_transport;
diff --git a/profiles/battery/bas.c b/profiles/battery/bas.c
index de369fd3c..3c6173b61 100644
--- a/profiles/battery/bas.c
+++ b/profiles/battery/bas.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2014 Intel Corporation. All rights reserved.
*
*
- * This library is free software; you can rebastribute 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.
- *
- * This library is bastributed 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/battery/bas.h b/profiles/battery/bas.h
index 3e175b5b5..cd503a498 100644
--- a/profiles/battery/bas.h
+++ b/profiles/battery/bas.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2014 Intel Corporation. All rights reserved.
*
*
- * This library is free software; you can rebastribute 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.
- *
- * This library is bastributed 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct bt_bas;
diff --git a/profiles/battery/battery.c b/profiles/battery/battery.c
index c9a1af4b9..13c80d05c 100644
--- a/profiles/battery/battery.c
+++ b/profiles/battery/battery.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,15 +7,6 @@
* Copyright (C) 2014 Google Inc.
* Copyright (C) 2017 Red Hat Inc.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/cups/cups.h b/profiles/cups/cups.h
index f4e0c01cd..bdaa89498 100644
--- a/profiles/cups/cups.h
+++ b/profiles/cups/cups.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2003-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

enum { /**** Backend exit codes ****/
diff --git a/profiles/cups/hcrp.c b/profiles/cups/hcrp.c
index edaa2cdfd..3038fe2f8 100644
--- a/profiles/cups/hcrp.c
+++ b/profiles/cups/hcrp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2003-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/cups/main.c b/profiles/cups/main.c
index 1fac7267f..144a0fd78 100644
--- a/profiles/cups/main.c
+++ b/profiles/cups/main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2003-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/cups/sdp.c b/profiles/cups/sdp.c
index de9cd4eeb..81a26281c 100644
--- a/profiles/cups/sdp.c
+++ b/profiles/cups/sdp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2003-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/cups/spp.c b/profiles/cups/spp.c
index 2f1e270f4..6e910a722 100644
--- a/profiles/cups/spp.c
+++ b/profiles/cups/spp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2003-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/deviceinfo/deviceinfo.c b/profiles/deviceinfo/deviceinfo.c
index fa94efe7f..b6dc0ab2e 100644
--- a/profiles/deviceinfo/deviceinfo.c
+++ b/profiles/deviceinfo/deviceinfo.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2012 Texas Instruments, Inc.
* Copyright (C) 2015 Google Inc.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/deviceinfo/dis.c b/profiles/deviceinfo/dis.c
index 6126a776c..87fa63306 100644
--- a/profiles/deviceinfo/dis.c
+++ b/profiles/deviceinfo/dis.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2012 Texas Instruments, Inc.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/deviceinfo/dis.h b/profiles/deviceinfo/dis.h
index 305ba1ad0..7b6f4f123 100644
--- a/profiles/deviceinfo/dis.h
+++ b/profiles/deviceinfo/dis.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2014 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct bt_dis;
diff --git a/profiles/gap/gas.c b/profiles/gap/gas.c
index dffa31314..ea3249be9 100644
--- a/profiles/gap/gas.c
+++ b/profiles/gap/gas.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,15 +6,6 @@
* Copyright (C) 2012 Instituto Nokia de Tecnologia - INdT
* Copyright (C) 2014 Google Inc.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/health/hdp.c b/profiles/health/hdp.c
index a8354936b..9f906932d 100644
--- a/profiles/health/hdp.c
+++ b/profiles/health/hdp.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/health/hdp.h b/profiles/health/hdp.h
index 6e78b0947..114453493 100644
--- a/profiles/health/hdp.h
+++ b/profiles/health/hdp.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int hdp_adapter_register(struct btd_adapter *btd_adapter);
diff --git a/profiles/health/hdp_main.c b/profiles/health/hdp_main.c
index 2c4bbe298..4a0edf9c8 100644
--- a/profiles/health/hdp_main.c
+++ b/profiles/health/hdp_main.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/health/hdp_manager.c b/profiles/health/hdp_manager.c
index 401adf6e9..23c6a4926 100644
--- a/profiles/health/hdp_manager.c
+++ b/profiles/health/hdp_manager.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/health/hdp_manager.h b/profiles/health/hdp_manager.h
index 1cab4d008..55b51ef34 100644
--- a/profiles/health/hdp_manager.h
+++ b/profiles/health/hdp_manager.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int hdp_manager_init(void);
diff --git a/profiles/health/hdp_types.h b/profiles/health/hdp_types.h
index b34b5e031..805b3bae2 100644
--- a/profiles/health/hdp_types.h
+++ b/profiles/health/hdp_types.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifndef __HDP_TYPES_H__
diff --git a/profiles/health/hdp_util.c b/profiles/health/hdp_util.c
index 64debfc6b..ab3b78f6a 100644
--- a/profiles/health/hdp_util.c
+++ b/profiles/health/hdp_util.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/health/hdp_util.h b/profiles/health/hdp_util.h
index 35e1196b2..0b556f568 100644
--- a/profiles/health/hdp_util.h
+++ b/profiles/health/hdp_util.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 GSyC/LibreSoft, Universidad Rey Juan Carlos.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifndef __HDP_UTIL_H__
diff --git a/profiles/health/mcap.c b/profiles/health/mcap.c
index ba43e6e96..32365fd50 100644
--- a/profiles/health/mcap.c
+++ b/profiles/health/mcap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2010 Signove
* Copyright (C) 2014 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/health/mcap.h b/profiles/health/mcap.h
index 69873ca82..5a94c8b63 100644
--- a/profiles/health/mcap.h
+++ b/profiles/health/mcap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2010 Signove
* Copyright (C) 2014 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#define MCAP_VERSION 0x0100 /* current version 01.00 */
diff --git a/profiles/iap/main.c b/profiles/iap/main.c
index 2fd34c067..9a04f5cc0 100644
--- a/profiles/iap/main.c
+++ b/profiles/iap/main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2012 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/input/device.c b/profiles/input/device.c
index 375314e7d..326a3bcb9 100644
--- a/profiles/input/device.c
+++ b/profiles/input/device.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2014 Google Inc.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/input/device.h b/profiles/input/device.h
index f61e8a558..cf0389417 100644
--- a/profiles/input/device.h
+++ b/profiles/input/device.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#define L2CAP_PSM_HIDP_CTRL 0x11
diff --git a/profiles/input/hidp_defs.h b/profiles/input/hidp_defs.h
index bb9231dbb..0d1febdff 100644
--- a/profiles/input/hidp_defs.h
+++ b/profiles/input/hidp_defs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2014 Google Inc.
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifndef __HIDP_DEFS_H
diff --git a/profiles/input/hog-lib.c b/profiles/input/hog-lib.c
index e96c969b7..78018aad3 100644
--- a/profiles/input/hog-lib.c
+++ b/profiles/input/hog-lib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -8,20 +9,6 @@
* Copyright (C) 2012 Instituto Nokia de Tecnologia - INdT
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/input/hog-lib.h b/profiles/input/hog-lib.h
index 415dc63d2..a79648976 100644
--- a/profiles/input/hog-lib.h
+++ b/profiles/input/hog-lib.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2014 Intel Corporation. All rights reserved.
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct bt_hog;
diff --git a/profiles/input/hog.c b/profiles/input/hog.c
index 130f696a9..91de4c70f 100644
--- a/profiles/input/hog.c
+++ b/profiles/input/hog.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -7,20 +8,6 @@
* Copyright (C) 2012 Instituto Nokia de Tecnologia - INdT
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/input/manager.c b/profiles/input/manager.c
index bf4acb4ed..92789a003 100644
--- a/profiles/input/manager.c
+++ b/profiles/input/manager.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/input/server.c b/profiles/input/server.c
index 2bd5e92e4..d8b413744 100644
--- a/profiles/input/server.c
+++ b/profiles/input/server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/input/server.h b/profiles/input/server.h
index 74159bbd7..50f4b6135 100644
--- a/profiles/input/server.h
+++ b/profiles/input/server.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int server_start(const bdaddr_t *src);
diff --git a/profiles/input/sixaxis.h b/profiles/input/sixaxis.h
index 8e6f3cc18..a3cda70e4 100644
--- a/profiles/input/sixaxis.h
+++ b/profiles/input/sixaxis.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -7,20 +8,6 @@
* Copyright (C) 2013 Szymon Janc <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifndef _SIXAXIS_H_
diff --git a/profiles/input/suspend-dummy.c b/profiles/input/suspend-dummy.c
index 542ae2592..c6527ee88 100644
--- a/profiles/input/suspend-dummy.c
+++ b/profiles/input/suspend-dummy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2012 Instituto Nokia de Tecnologia - INdT
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/input/suspend-none.c b/profiles/input/suspend-none.c
index c619bb11e..9da0111c8 100644
--- a/profiles/input/suspend-none.c
+++ b/profiles/input/suspend-none.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2012 Instituto Nokia de Tecnologia - INdT
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/input/suspend.h b/profiles/input/suspend.h
index bfee3cfef..1de1aeacd 100644
--- a/profiles/input/suspend.h
+++ b/profiles/input/suspend.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2012 Instituto Nokia de Tecnologia - INdT
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

typedef void (*suspend_event) (void);
diff --git a/profiles/midi/libmidi.c b/profiles/midi/libmidi.c
index cb2787db1..5b77cd3f5 100644
--- a/profiles/midi/libmidi.c
+++ b/profiles/midi/libmidi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,21 +6,6 @@
* Copyright (C) 2015,2016 Felipe F. Tonello <[email protected]>
* Copyright (C) 2016 ROLI Ltd.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
- *
*/

#include <glib.h>
diff --git a/profiles/midi/libmidi.h b/profiles/midi/libmidi.h
index 9d94065b6..41f522dd4 100644
--- a/profiles/midi/libmidi.h
+++ b/profiles/midi/libmidi.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,21 +6,6 @@
* Copyright (C) 2015,2016 Felipe F. Tonello <[email protected]>
* Copyright (C) 2016 ROLI Ltd.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
- *
*/

#ifndef LIBMIDI_H
diff --git a/profiles/midi/midi.c b/profiles/midi/midi.c
index 1ee5cb16f..737d1b5f6 100644
--- a/profiles/midi/midi.c
+++ b/profiles/midi/midi.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,25 +6,6 @@
* Copyright (C) 2015,2016 Felipe F. Tonello <[email protected]>
* Copyright (C) 2016 ROLI Ltd.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
- * Information about this plugin:
- *
- * This plugin implements the MIDI over Bluetooth Low-Energy (BLE-MIDI) 1.0
- * specification as published by MMA in November/2015.
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/network/bnep.c b/profiles/network/bnep.c
index d0ad9e483..4dde55786 100644
--- a/profiles/network/bnep.c
+++ b/profiles/network/bnep.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/network/bnep.h b/profiles/network/bnep.h
index e9f4c1cf2..493a2b036 100644
--- a/profiles/network/bnep.h
+++ b/profiles/network/bnep.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct bnep;
diff --git a/profiles/network/connection.c b/profiles/network/connection.c
index 170841de6..74d9d8944 100644
--- a/profiles/network/connection.c
+++ b/profiles/network/connection.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/network/connection.h b/profiles/network/connection.h
index 4a8b43bc8..aa7e36e37 100644
--- a/profiles/network/connection.h
+++ b/profiles/network/connection.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int connection_register(struct btd_service *service);
diff --git a/profiles/network/manager.c b/profiles/network/manager.c
index 41377fb83..a2650d6f0 100644
--- a/profiles/network/manager.c
+++ b/profiles/network/manager.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/network/server.c b/profiles/network/server.c
index c462677ed..96738f26c 100644
--- a/profiles/network/server.c
+++ b/profiles/network/server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/network/server.h b/profiles/network/server.h
index a76e6f7b2..32369219d 100644
--- a/profiles/network/server.h
+++ b/profiles/network/server.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2004-2010 Marcel Holtmann <[email protected]>
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int server_init(gboolean secure);
diff --git a/profiles/sap/main.c b/profiles/sap/main.c
index cd707ff3e..321ed3282 100644
--- a/profiles/sap/main.c
+++ b/profiles/sap/main.c
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 Instituto Nokia de Tecnologia - INdT
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/sap/manager.c b/profiles/sap/manager.c
index b62239780..6670f397c 100644
--- a/profiles/sap/manager.c
+++ b/profiles/sap/manager.c
@@ -1,21 +1,9 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 Instituto Nokia de Tecnologia - INdT
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/sap/manager.h b/profiles/sap/manager.h
index 6601a034e..2a1f5a6d1 100644
--- a/profiles/sap/manager.h
+++ b/profiles/sap/manager.h
@@ -1,21 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 Instituto Nokia de Tecnologia - INdT
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

int sap_manager_init(void);
diff --git a/profiles/sap/sap-dummy.c b/profiles/sap/sap-dummy.c
index 53463ca7c..92adea384 100644
--- a/profiles/sap/sap-dummy.c
+++ b/profiles/sap/sap-dummy.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* BlueZ - Bluetooth protocol stack for Linux
*
@@ -7,19 +8,6 @@
* Author: Waldemar Rymarkiewicz <[email protected]>
* for ST-Ericsson
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/sap/sap.h b/profiles/sap/sap.h
index 6e78d6c2d..30ed7c50c 100644
--- a/profiles/sap/sap.h
+++ b/profiles/sap/sap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* BlueZ - Bluetooth protocol stack for Linux
*
@@ -8,19 +9,6 @@
* Author: Waldemar Rymarkiewicz <[email protected]>
* for ST-Ericsson.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include <stdint.h>
diff --git a/profiles/sap/server.c b/profiles/sap/server.c
index 5de682a33..b0a454ced 100644
--- a/profiles/sap/server.c
+++ b/profiles/sap/server.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
* BlueZ - Bluetooth protocol stack for Linux
*
@@ -9,19 +10,6 @@
* Author: Waldemar Rymarkiewicz <[email protected]>
* for ST-Ericsson.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/sap/server.h b/profiles/sap/server.h
index 4bf9296ad..b774230f5 100644
--- a/profiles/sap/server.h
+++ b/profiles/sap/server.h
@@ -1,21 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* BlueZ - Bluetooth protocol stack for Linux
*
* Copyright (C) 2010 ST-Ericsson SA
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

int sap_server_register(struct btd_adapter *adapter);
diff --git a/profiles/scanparam/scan.c b/profiles/scanparam/scan.c
index d72be3dff..004783bf7 100644
--- a/profiles/scanparam/scan.c
+++ b/profiles/scanparam/scan.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2012 Instituto Nokia de Tecnologia - INdT
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/scanparam/scpp.c b/profiles/scanparam/scpp.c
index df65d2c1e..da38a6aaa 100644
--- a/profiles/scanparam/scpp.c
+++ b/profiles/scanparam/scpp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2012 Instituto Nokia de Tecnologia - INdT
*
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/profiles/scanparam/scpp.h b/profiles/scanparam/scpp.h
index 048fb9f23..c3cc5f156 100644
--- a/profiles/scanparam/scpp.h
+++ b/profiles/scanparam/scpp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2014 Intel Corporation. All rights reserved.
*
*
- * This library is free software; you can rescpptribute 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.
- *
- * This library is scpptributed 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

struct bt_scpp;
--
2.25.4

2020-09-15 00:07:07

by Tedd Ho-Jeong An

[permalink] [raw]
Subject: [BlueZ v3 07/17] gobex: Add SPDX License Identifier

From: Tedd Ho-Jeong An <[email protected]>

This patch adds SPDX License Identifier and removes the license text.

-------------------------------------
License COUNT
-------------------------------------
GPL-2.0-or-later : 12

License: GPL-2.0-or-later
gobex/gobex-defs.h
gobex/gobex-transfer.c
gobex/gobex.c
gobex/gobex-apparam.h
gobex/gobex-header.h
gobex/gobex-header.c
gobex/gobex.h
gobex/gobex-packet.h
gobex/gobex-defs.c
gobex/gobex-debug.h
gobex/gobex-apparam.c
gobex/gobex-packet.c
---
gobex/gobex-apparam.c | 15 +--------------
gobex/gobex-apparam.h | 15 +--------------
gobex/gobex-debug.h | 15 +--------------
gobex/gobex-defs.c | 15 +--------------
gobex/gobex-defs.h | 15 +--------------
gobex/gobex-header.c | 15 +--------------
gobex/gobex-header.h | 15 +--------------
gobex/gobex-packet.c | 15 +--------------
gobex/gobex-packet.h | 15 +--------------
gobex/gobex-transfer.c | 15 +--------------
gobex/gobex.c | 15 +--------------
gobex/gobex.h | 15 +--------------
12 files changed, 12 insertions(+), 168 deletions(-)

diff --git a/gobex/gobex-apparam.c b/gobex/gobex-apparam.c
index b16cee11a..818180cb1 100644
--- a/gobex/gobex-apparam.c
+++ b/gobex/gobex-apparam.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2012 Intel Corporation.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/gobex/gobex-apparam.h b/gobex/gobex-apparam.h
index 6c0860928..ace615225 100644
--- a/gobex/gobex-apparam.h
+++ b/gobex/gobex-apparam.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2012 Intel Corporation.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifndef __GOBEX_APPARAM_H
diff --git a/gobex/gobex-debug.h b/gobex/gobex-debug.h
index a98653d83..eeb2209f0 100644
--- a/gobex/gobex-debug.h
+++ b/gobex/gobex-debug.h
@@ -1,22 +1,9 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifndef __GOBEX_DEBUG_H
diff --git a/gobex/gobex-defs.c b/gobex/gobex-defs.c
index 1c7c39a16..811be762b 100644
--- a/gobex/gobex-defs.c
+++ b/gobex/gobex-defs.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/gobex/gobex-defs.h b/gobex/gobex-defs.h
index 326e3cb09..84351205d 100644
--- a/gobex/gobex-defs.h
+++ b/gobex/gobex-defs.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifndef __GOBEX_DEFS_H
diff --git a/gobex/gobex-header.c b/gobex/gobex-header.c
index c594999a5..011d33d1a 100644
--- a/gobex/gobex-header.c
+++ b/gobex/gobex-header.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/gobex/gobex-header.h b/gobex/gobex-header.h
index 6600b1b4a..129f35ba1 100644
--- a/gobex/gobex-header.h
+++ b/gobex/gobex-header.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifndef __GOBEX_HEADER_H
diff --git a/gobex/gobex-packet.c b/gobex/gobex-packet.c
index a89f5b6d3..11937a5a5 100644
--- a/gobex/gobex-packet.c
+++ b/gobex/gobex-packet.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/gobex/gobex-packet.h b/gobex/gobex-packet.h
index 1d94ccf20..ed153bac5 100644
--- a/gobex/gobex-packet.h
+++ b/gobex/gobex-packet.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifndef __GOBEX_PACKET_H
diff --git a/gobex/gobex-transfer.c b/gobex/gobex-transfer.c
index e96e61fbc..c94d018b2 100644
--- a/gobex/gobex-transfer.c
+++ b/gobex/gobex-transfer.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/gobex/gobex.c b/gobex/gobex.c
index d68a85eb6..54e3b0814 100644
--- a/gobex/gobex.c
+++ b/gobex/gobex.c
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/gobex/gobex.h b/gobex/gobex.h
index a94d9246e..f16e4426c 100644
--- a/gobex/gobex.h
+++ b/gobex/gobex.h
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
*
* OBEX library with GLib integration
*
* Copyright (C) 2011 Intel Corporation. All rights reserved.
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program 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 General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifndef __GOBEX_H
--
2.25.4

2020-09-15 00:09:18

by Tedd Ho-Jeong An

[permalink] [raw]
Subject: [BlueZ v3 10/17] monitor: Add SPDX License Identifier

From: Tedd Ho-Jeong An <[email protected]>

This patch adds SPDX License Identifier and removes the license text.

-------------------------------------
License COUNT
-------------------------------------
LGPL-2.1-or-later : 47

License: LGPL-2.1-or-later
monitor/bt.h
monitor/hcidump.h
monitor/avdtp.h
monitor/crc.c
monitor/sdp.c
monitor/hwdb.c
monitor/intel.h
monitor/avctp.c
monitor/control.h
monitor/display.c
monitor/a2dp.c
monitor/ll.c
monitor/ll.h
monitor/jlink.h
monitor/broadcom.h
monitor/lmp.c
monitor/keys.c
monitor/ellisys.c
monitor/main.c
monitor/ellisys.h
monitor/hwdb.h
monitor/display.h
monitor/jlink.c
monitor/rfcomm.h
monitor/packet.c
monitor/crc.h
monitor/keys.h
monitor/sdp.h
monitor/rfcomm.c
monitor/avdtp.c
monitor/a2dp.h
monitor/avctp.h
monitor/vendor.h
monitor/hcidump.c
monitor/intel.c
monitor/tty.h
monitor/control.c
monitor/lmp.h
monitor/analyze.c
monitor/bnep.c
monitor/l2cap.c
monitor/vendor.c
monitor/packet.h
monitor/broadcom.c
monitor/analyze.h
monitor/l2cap.h
monitor/bnep.h
---
monitor/a2dp.c | 15 +--------------
monitor/a2dp.h | 15 +--------------
monitor/analyze.c | 15 +--------------
monitor/analyze.h | 15 +--------------
monitor/avctp.c | 15 +--------------
monitor/avctp.h | 15 +--------------
monitor/avdtp.c | 15 +--------------
monitor/avdtp.h | 15 +--------------
monitor/bnep.c | 15 +--------------
monitor/bnep.h | 15 +--------------
monitor/broadcom.c | 15 +--------------
monitor/broadcom.h | 15 +--------------
monitor/bt.h | 15 +--------------
monitor/control.c | 15 +--------------
monitor/control.h | 15 +--------------
monitor/crc.c | 15 +--------------
monitor/crc.h | 15 +--------------
monitor/display.c | 15 +--------------
monitor/display.h | 15 +--------------
monitor/ellisys.c | 15 +--------------
monitor/ellisys.h | 15 +--------------
monitor/hcidump.c | 15 +--------------
monitor/hcidump.h | 15 +--------------
monitor/hwdb.c | 15 +--------------
monitor/hwdb.h | 15 +--------------
monitor/intel.c | 15 +--------------
monitor/intel.h | 15 +--------------
monitor/jlink.c | 15 +--------------
monitor/jlink.h | 15 +--------------
monitor/keys.c | 15 +--------------
monitor/keys.h | 15 +--------------
monitor/l2cap.c | 15 +--------------
monitor/l2cap.h | 15 +--------------
monitor/ll.c | 15 +--------------
monitor/ll.h | 15 +--------------
monitor/lmp.c | 15 +--------------
monitor/lmp.h | 15 +--------------
monitor/main.c | 15 +--------------
monitor/packet.c | 15 +--------------
monitor/packet.h | 15 +--------------
monitor/rfcomm.c | 15 +--------------
monitor/rfcomm.h | 15 +--------------
monitor/sdp.c | 15 +--------------
monitor/sdp.h | 15 +--------------
monitor/tty.h | 15 +--------------
monitor/vendor.c | 15 +--------------
monitor/vendor.h | 15 +--------------
47 files changed, 47 insertions(+), 658 deletions(-)

diff --git a/monitor/a2dp.c b/monitor/a2dp.c
index 4a1d0e1c4..ac2e1a228 100644
--- a/monitor/a2dp.c
+++ b/monitor/a2dp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2018 Pali Rohár <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/a2dp.h b/monitor/a2dp.h
index 72a8f1f45..814c8ed90 100644
--- a/monitor/a2dp.h
+++ b/monitor/a2dp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Andrzej Kaczmarek <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

bool a2dp_codec_cap(uint8_t codec, uint8_t losc, struct l2cap_frame *frame);
diff --git a/monitor/analyze.c b/monitor/analyze.c
index 4dc2891a1..784f9a0a4 100644
--- a/monitor/analyze.c
+++ b/monitor/analyze.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/analyze.h b/monitor/analyze.h
index c643d3502..774ac9db5 100644
--- a/monitor/analyze.h
+++ b/monitor/analyze.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

void analyze_trace(const char *path);
diff --git a/monitor/avctp.c b/monitor/avctp.c
index 6c2c2cac0..dc03195a8 100644
--- a/monitor/avctp.c
+++ b/monitor/avctp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/avctp.h b/monitor/avctp.h
index 2613f14f3..1cca5a756 100644
--- a/monitor/avctp.h
+++ b/monitor/avctp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

void avctp_packet(const struct l2cap_frame *frame);
diff --git a/monitor/avdtp.c b/monitor/avdtp.c
index 6a342a282..9fe72d240 100644
--- a/monitor/avdtp.c
+++ b/monitor/avdtp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Andrzej Kaczmarek <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/avdtp.h b/monitor/avdtp.h
index f77d82ee2..1bc4dd03d 100644
--- a/monitor/avdtp.h
+++ b/monitor/avdtp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2015 Andrzej Kaczmarek <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

void avdtp_packet(const struct l2cap_frame *frame);
diff --git a/monitor/bnep.c b/monitor/bnep.c
index 6af54e0c5..3b8b284a9 100644
--- a/monitor/bnep.c
+++ b/monitor/bnep.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/bnep.h b/monitor/bnep.h
index 38340d6c1..3ccc1b766 100644
--- a/monitor/bnep.h
+++ b/monitor/bnep.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

void bnep_packet(const struct l2cap_frame *frame);
diff --git a/monitor/broadcom.c b/monitor/broadcom.c
index 787ff2950..4f8455583 100644
--- a/monitor/broadcom.c
+++ b/monitor/broadcom.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/broadcom.h b/monitor/broadcom.h
index ceda0e18b..5cb51d81d 100644
--- a/monitor/broadcom.h
+++ b/monitor/broadcom.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/monitor/bt.h b/monitor/bt.h
index 37e81e8a3..aca847d7c 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/monitor/control.c b/monitor/control.c
index 273075888..962da4980 100644
--- a/monitor/control.c
+++ b/monitor/control.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/control.h b/monitor/control.h
index ddf485f1f..29616c4f1 100644
--- a/monitor/control.h
+++ b/monitor/control.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/monitor/crc.c b/monitor/crc.c
index 912b37ebc..8d0e31db9 100644
--- a/monitor/crc.c
+++ b/monitor/crc.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/crc.h b/monitor/crc.h
index 772388b80..c59775100 100644
--- a/monitor/crc.h
+++ b/monitor/crc.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/monitor/display.c b/monitor/display.c
index 990395425..b11b71d5d 100644
--- a/monitor/display.c
+++ b/monitor/display.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/display.h b/monitor/display.h
index 98073b99e..f3a614b81 100644
--- a/monitor/display.h
+++ b/monitor/display.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdbool.h>
diff --git a/monitor/ellisys.c b/monitor/ellisys.c
index e533eeceb..61ac24c23 100644
--- a/monitor/ellisys.c
+++ b/monitor/ellisys.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/ellisys.h b/monitor/ellisys.h
index 8be888dfe..c0c4ff192 100644
--- a/monitor/ellisys.h
+++ b/monitor/ellisys.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/monitor/hcidump.c b/monitor/hcidump.c
index 8b6f846d3..690b9b913 100644
--- a/monitor/hcidump.c
+++ b/monitor/hcidump.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/hcidump.h b/monitor/hcidump.h
index c90865068..d32b33c81 100644
--- a/monitor/hcidump.h
+++ b/monitor/hcidump.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int hcidump_tracing(void);
diff --git a/monitor/hwdb.c b/monitor/hwdb.c
index f2431fad8..22de9edfb 100644
--- a/monitor/hwdb.c
+++ b/monitor/hwdb.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/hwdb.h b/monitor/hwdb.h
index 79f505a2d..5789b6507 100644
--- a/monitor/hwdb.h
+++ b/monitor/hwdb.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/monitor/intel.c b/monitor/intel.c
index 41e70ba0c..18840f3e7 100644
--- a/monitor/intel.c
+++ b/monitor/intel.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/intel.h b/monitor/intel.h
index 573b23f3f..bf00ad491 100644
--- a/monitor/intel.h
+++ b/monitor/intel.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/monitor/jlink.c b/monitor/jlink.c
index afa9d9323..9aaa4ebd8 100644
--- a/monitor/jlink.c
+++ b/monitor/jlink.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2018 Codecoup
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/jlink.h b/monitor/jlink.h
index d7c76704c..e445e553c 100644
--- a/monitor/jlink.h
+++ b/monitor/jlink.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2018 Codecoup
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

int jlink_init(void);
diff --git a/monitor/keys.c b/monitor/keys.c
index e60aa9386..d2fa3b23f 100644
--- a/monitor/keys.c
+++ b/monitor/keys.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/keys.h b/monitor/keys.h
index 61ec50a4c..e40c90fa9 100644
--- a/monitor/keys.h
+++ b/monitor/keys.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/monitor/l2cap.c b/monitor/l2cap.c
index 41c766863..ca1997a0c 100644
--- a/monitor/l2cap.c
+++ b/monitor/l2cap.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/l2cap.h b/monitor/l2cap.h
index 07864caee..e46042db4 100644
--- a/monitor/l2cap.h
+++ b/monitor/l2cap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/monitor/ll.c b/monitor/ll.c
index 4b3f567bd..cf93647e0 100644
--- a/monitor/ll.c
+++ b/monitor/ll.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/ll.h b/monitor/ll.h
index 98e0bf489..35d631363 100644
--- a/monitor/ll.h
+++ b/monitor/ll.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/monitor/lmp.c b/monitor/lmp.c
index 3088c5ee2..0d17f5c98 100644
--- a/monitor/lmp.c
+++ b/monitor/lmp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/lmp.h b/monitor/lmp.h
index 9564c7779..d29ad8e46 100644
--- a/monitor/lmp.h
+++ b/monitor/lmp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/monitor/main.c b/monitor/main.c
index 24ec3c567..e6a40703c 100644
--- a/monitor/main.c
+++ b/monitor/main.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/packet.c b/monitor/packet.c
index bef134095..d83552f74 100644
--- a/monitor/packet.c
+++ b/monitor/packet.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/packet.h b/monitor/packet.h
index 3a139ecb7..409bf0e54 100644
--- a/monitor/packet.h
+++ b/monitor/packet.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/monitor/rfcomm.c b/monitor/rfcomm.c
index 94d28de31..9b88a3440 100644
--- a/monitor/rfcomm.c
+++ b/monitor/rfcomm.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/rfcomm.h b/monitor/rfcomm.h
index c15735234..81ab55b21 100644
--- a/monitor/rfcomm.h
+++ b/monitor/rfcomm.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#define RFCOMM_SABM 0x2f
diff --git a/monitor/sdp.c b/monitor/sdp.c
index 575eda536..10bc0a121 100644
--- a/monitor/sdp.c
+++ b/monitor/sdp.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/sdp.h b/monitor/sdp.h
index c8a9bb0cd..4fffb30f9 100644
--- a/monitor/sdp.h
+++ b/monitor/sdp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

void sdp_packet(const struct l2cap_frame *frame);
diff --git a/monitor/tty.h b/monitor/tty.h
index f0ba0c5c0..87b3fd53c 100644
--- a/monitor/tty.h
+++ b/monitor/tty.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -5,20 +6,6 @@
* Copyright (C) 2016 Intel Corporation
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
diff --git a/monitor/vendor.c b/monitor/vendor.c
index 3dda2ae3b..ecbfcf2eb 100644
--- a/monitor/vendor.c
+++ b/monitor/vendor.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: LGPL-2.1-or-later
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#ifdef HAVE_CONFIG_H
diff --git a/monitor/vendor.h b/monitor/vendor.h
index f5792b3c5..c70552b66 100644
--- a/monitor/vendor.h
+++ b/monitor/vendor.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
*
* BlueZ - Bluetooth protocol stack for Linux
@@ -6,20 +7,6 @@
* Copyright (C) 2002-2010 Marcel Holtmann <[email protected]>
*
*
- * This library 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.
- *
- * This library 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 this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- *
*/

#include <stdint.h>
--
2.25.4

2020-09-15 07:22:34

by Szymon Janc

[permalink] [raw]
Subject: Re: [BlueZ v3 00/17] Add SPDX License Identifier

Hi,

On Tuesday, 15 September 2020 02:04:40 CEST [email protected] wrote:
> From: Tedd Ho-Jeong An <[email protected]>
>
> This patch series adds SPDX License Identifier to the source/heade files
> based on the existing license header and removes the license text.
>
> The SDPX License Identifier is added in form of a comment based on file
> type with the same rule from the Linxu kernel source, and added to the
> first line of the file.
>
> C source: // SPDX-License-Identifer: <License>

Why C++ style comments in C source?

> C header: /* SPDX-License-Identifer: <License> */
>
> For SPDX-License Identifier, it used the identifer from the SPDX License
> list page(https://spdx.org/licenses).

INAL but SPDX identifier itself is insufficied for license compliance.

If we really want to (I don't have strong opinion about this) remove license
headers in favour of only having SPDX then we need files with licenses text
etc to be part of distribution. Pretty much the same what kernel folks did.

> For the summary, currently BlueZ sources have following licenses:
>
> -------------------------------------------
> License File Count
> -------------------------------------------
> GPL-2.0-or-later : 393
> LGPL-2.1-or-later : 273
> BSD-2-Clause : 3
> GPL-2.0-only : 5
> MIT : 2
> Apache-2.0 : 80
> N/A : 1325
>
> Note that N/A includes the following files/folders
> - .git/
> - doc/
> - Build related files (Makefile, etc)
> - Configuration files
> - Test scripts (python, etc)
>
> Tedd Ho-Jeong An (17):
> android: Add SPDX License Identifier
> attrib: Add SPDX License Identifier
> btio: Add SPDX License Identifier
> client: Add SPDX License Identifier
> emulator: Add SPDX License Identifier
> gdbus: Add SPDX License Identifier
> gobex: Add SPDX License Identifier
> lib: Add SPDX License Identifier
> mesh: Add SPDX License Identifier
> monitor: Add SPDX License Identifier
> obexd: Add SPDX License Identifier
> peripheral: Add SPDX License Identifier
> plugins: Add SPDX License Identifier
> profiles: Add SPDX License Identifier
> unit: Add SPDX License Identifier
> src: Add SPDX License Identifier
> tools: Add SPDX License Identifier
>
> android/a2dp-sink.c | 15 +--------------
> android/a2dp-sink.h | 15 +--------------
> android/a2dp.c | 15 +--------------
> android/a2dp.h | 15 +--------------
> android/audio-msg.h | 15 +--------------
> android/audio_utils/resampler.c | 12 +-----------
> android/audio_utils/resampler.h | 12 +-----------
> android/avctp.c | 15 +--------------
> android/avctp.h | 15 +--------------
> android/avdtp.c | 15 +--------------
> android/avdtp.h | 15 +--------------
> android/avdtptest.c | 15 +--------------
> android/avrcp-lib.c | 15 +--------------
> android/avrcp-lib.h | 15 +--------------
> android/avrcp.c | 15 +--------------
> android/avrcp.h | 15 +--------------
> android/bluetooth.c | 15 +--------------
> android/bluetooth.h | 15 +--------------
> android/bluetoothd-snoop.c | 15 +--------------
> android/bluetoothd-wrapper.c | 13 +------------
> android/client/haltest.c | 13 +------------
> android/client/history.c | 13 +------------
> android/client/history.h | 13 +------------
> android/client/if-audio.c | 13 +------------
> android/client/if-av-sink.c | 13 +------------
> android/client/if-av.c | 13 +------------
> android/client/if-bt.c | 13 +------------
> android/client/if-gatt.c | 13 +------------
> android/client/if-hf-client.c | 13 +------------
> android/client/if-hf.c | 13 +------------
> android/client/if-hh.c | 13 +------------
> android/client/if-hl.c | 13 +------------
> android/client/if-main.h | 13 +------------
> android/client/if-mce.c | 13 +------------
> android/client/if-pan.c | 13 +------------
> android/client/if-rc-ctrl.c | 13 +------------
> android/client/if-rc.c | 13 +------------
> android/client/if-sco.c | 13 +------------
> android/client/if-sock.c | 13 +------------
> android/client/pollhandler.c | 13 +------------
> android/client/pollhandler.h | 13 +------------
> android/client/tabcompletion.c | 13 +------------
> android/client/terminal.c | 13 +------------
> android/client/terminal.h | 13 +------------
> android/compat/readline/history.h | 15 +--------------
> android/compat/readline/readline.h | 15 +--------------
> android/compat/wordexp.h | 15 +--------------
> android/cutils/properties.h | 15 +--------------
> android/gatt.c | 15 +--------------
> android/gatt.h | 15 +--------------
> android/hal-a2dp-sink.c | 13 +------------
> android/hal-a2dp.c | 13 +------------
> android/hal-audio-aptx.c | 13 +------------
> android/hal-audio-sbc.c | 13 +------------
> android/hal-audio.c | 13 +------------
> android/hal-audio.h | 13 +------------
> android/hal-avrcp-ctrl.c | 13 +------------
> android/hal-avrcp.c | 13 +------------
> android/hal-bluetooth.c | 13 +------------
> android/hal-gatt.c | 13 +------------
> android/hal-handsfree-client.c | 13 +------------
> android/hal-handsfree.c | 13 +------------
> android/hal-health.c | 13 +------------
> android/hal-hidhost.c | 13 +------------
> android/hal-ipc.c | 13 +------------
> android/hal-ipc.h | 13 +------------
> android/hal-log.h | 13 +------------
> android/hal-map-client.c | 13 +------------
> android/hal-msg.h | 15 +--------------
> android/hal-pan.c | 13 +------------
> android/hal-sco.c | 13 +------------
> android/hal-socket.c | 13 +------------
> android/hal-utils.c | 13 +------------
> android/hal-utils.h | 13 +------------
> android/hal.h | 13 +------------
> android/handsfree-client.c | 15 +--------------
> android/handsfree-client.h | 15 +--------------
> android/handsfree.c | 15 +--------------
> android/handsfree.h | 15 +--------------
> android/hardware/audio.h | 12 +-----------
> android/hardware/audio_effect.h | 12 +-----------
> android/hardware/bluetooth.h | 12 +-----------
> android/hardware/bt_av.h | 12 +-----------
> android/hardware/bt_gatt.h | 12 +-----------
> android/hardware/bt_gatt_client.h | 12 +-----------
> android/hardware/bt_gatt_server.h | 12 +-----------
> android/hardware/bt_gatt_types.h | 12 +-----------
> android/hardware/bt_hf.h | 12 +-----------
> android/hardware/bt_hf_client.h | 12 +-----------
> android/hardware/bt_hh.h | 12 +-----------
> android/hardware/bt_hl.h | 12 +-----------
> android/hardware/bt_mce.h | 12 +-----------
> android/hardware/bt_pan.h | 12 +-----------
> android/hardware/bt_rc.h | 12 +-----------
> android/hardware/bt_sock.h | 12 +-----------
> android/hardware/hardware.c | 12 +-----------
> android/hardware/hardware.h | 12 +-----------
> android/health.c | 15 +--------------
> android/health.h | 15 +--------------
> android/hidhost.c | 15 +--------------
> android/hidhost.h | 15 +--------------
> android/ipc-common.h | 15 +--------------
> android/ipc-tester.c | 15 +--------------
> android/ipc.c | 15 +--------------
> android/ipc.h | 15 +--------------
> android/log.c | 15 +--------------
> android/main.c | 15 +--------------
> android/map-client.c | 15 +--------------
> android/map-client.h | 15 +--------------
> android/pan.c | 15 +--------------
> android/pan.h | 15 +--------------
> android/sco-msg.h | 15 +--------------
> android/sco.c | 15 +--------------
> android/sco.h | 15 +--------------
> android/socket.c | 15 +--------------
> android/socket.h | 15 +--------------
> android/system-emulator.c | 15 +--------------
> android/system/audio.h | 12 +-----------
> android/test-ipc.c | 15 +--------------
> android/tester-a2dp.c | 13 +------------
> android/tester-avrcp.c | 13 +------------
> android/tester-bluetooth.c | 13 +------------
> android/tester-gatt.c | 13 +------------
> android/tester-hdp.c | 13 +------------
> android/tester-hidhost.c | 13 +------------
> android/tester-main.c | 13 +------------
> android/tester-main.h | 15 +--------------
> android/tester-map-client.c | 13 +------------
> android/tester-pan.c | 13 +------------
> android/tester-socket.c | 13 +------------
> android/utils.h | 15 +--------------
> attrib/att-database.h | 15 +--------------
> attrib/att.c | 15 +--------------
> attrib/att.h | 15 +--------------
> attrib/gatt-service.c | 15 +--------------
> attrib/gatt-service.h | 15 +--------------
> attrib/gatt.c | 15 +--------------
> attrib/gatt.h | 15 +--------------
> attrib/gattrib.c | 15 +--------------
> attrib/gattrib.h | 15 +--------------
> attrib/gatttool.c | 15 +--------------
> attrib/gatttool.h | 15 +--------------
> attrib/interactive.c | 15 +--------------
> attrib/utils.c | 15 +--------------
> btio/btio.c | 15 +--------------
> btio/btio.h | 15 +--------------
> client/advertising.c | 15 +--------------
> client/advertising.h | 15 +--------------
> client/agent.c | 15 +--------------
> client/agent.h | 15 +--------------
> client/display.c | 15 +--------------
> client/display.h | 15 +--------------
> client/gatt.c | 15 +--------------
> client/gatt.h | 15 +--------------
> client/main.c | 15 +--------------
> emulator/amp.c | 15 +--------------
> emulator/amp.h | 15 +--------------
> emulator/b1ee.c | 15 +--------------
> emulator/btdev.c | 15 +--------------
> emulator/btdev.h | 15 +--------------
> emulator/bthost.c | 15 +--------------
> emulator/bthost.h | 15 +--------------
> emulator/hciemu.c | 15 +--------------
> emulator/hciemu.h | 15 +--------------
> emulator/hfp.c | 15 +--------------
> emulator/le.c | 15 +--------------
> emulator/le.h | 15 +--------------
> emulator/main.c | 15 +--------------
> emulator/phy.c | 15 +--------------
> emulator/phy.h | 15 +--------------
> emulator/serial.c | 15 +--------------
> emulator/serial.h | 15 +--------------
> emulator/server.c | 15 +--------------
> emulator/server.h | 15 +--------------
> emulator/smp.c | 15 +--------------
> emulator/vhci.c | 15 +--------------
> emulator/vhci.h | 15 +--------------
> gdbus/client.c | 15 +--------------
> gdbus/gdbus.h | 15 +--------------
> gdbus/mainloop.c | 15 +--------------
> gdbus/object.c | 15 +--------------
> gdbus/polkit.c | 15 +--------------
> gdbus/watch.c | 15 +--------------
> gobex/gobex-apparam.c | 15 +--------------
> gobex/gobex-apparam.h | 15 +--------------
> gobex/gobex-debug.h | 15 +--------------
> gobex/gobex-defs.c | 15 +--------------
> gobex/gobex-defs.h | 15 +--------------
> gobex/gobex-header.c | 15 +--------------
> gobex/gobex-header.h | 15 +--------------
> gobex/gobex-packet.c | 15 +--------------
> gobex/gobex-packet.h | 15 +--------------
> gobex/gobex-transfer.c | 15 +--------------
> gobex/gobex.c | 15 +--------------
> gobex/gobex.h | 15 +--------------
> lib/a2mp.h | 15 +--------------
> lib/amp.h | 10 +---------
> lib/bluetooth.c | 15 +--------------
> lib/bluetooth.h | 15 +--------------
> lib/bnep.h | 15 +--------------
> lib/cmtp.h | 15 +--------------
> lib/hci.c | 15 +--------------
> lib/hci.h | 15 +--------------
> lib/hci_lib.h | 15 +--------------
> lib/hidp.h | 15 +--------------
> lib/l2cap.h | 15 +--------------
> lib/mgmt.h | 15 +--------------
> lib/rfcomm.h | 15 +--------------
> lib/sco.h | 15 +--------------
> lib/sdp.c | 15 +--------------
> lib/sdp.h | 15 +--------------
> lib/sdp_lib.h | 15 +--------------
> lib/uuid.c | 15 +--------------
> lib/uuid.h | 15 +--------------
> mesh/agent.c | 11 +----------
> mesh/agent.h | 11 +----------
> mesh/appkey.c | 11 +----------
> mesh/appkey.h | 11 +----------
> mesh/cfgmod-server.c | 11 +----------
> mesh/cfgmod.h | 11 +----------
> mesh/crypto.c | 11 +----------
> mesh/crypto.h | 11 +----------
> mesh/dbus.c | 11 +----------
> mesh/dbus.h | 11 +----------
> mesh/error.h | 11 +----------
> mesh/friend.c | 11 +----------
> mesh/friend.h | 11 +----------
> mesh/keyring.c | 11 +----------
> mesh/keyring.h | 11 +----------
> mesh/main.c | 11 +----------
> mesh/manager.c | 11 +----------
> mesh/manager.h | 11 +----------
> mesh/mesh-config-json.c | 11 +----------
> mesh/mesh-config.h | 11 +----------
> mesh/mesh-defs.h | 12 +-----------
> mesh/mesh-io-api.h | 11 +----------
> mesh/mesh-io-generic.c | 11 +----------
> mesh/mesh-io-generic.h | 11 +----------
> mesh/mesh-io.c | 11 +----------
> mesh/mesh-io.h | 11 +----------
> mesh/mesh-mgmt.c | 11 +----------
> mesh/mesh-mgmt.h | 11 +----------
> mesh/mesh.c | 11 +----------
> mesh/mesh.h | 11 +----------
> mesh/model.c | 11 +----------
> mesh/model.h | 11 +----------
> mesh/net-keys.c | 11 +----------
> mesh/net-keys.h | 11 +----------
> mesh/net.c | 11 +----------
> mesh/net.h | 11 +----------
> mesh/node.c | 11 +----------
> mesh/node.h | 11 +----------
> mesh/pb-adv.c | 11 +----------
> mesh/pb-adv.h | 11 +----------
> mesh/prov-acceptor.c | 11 +----------
> mesh/prov-initiator.c | 11 +----------
> mesh/prov.h | 11 +----------
> mesh/provision.h | 11 +----------
> mesh/rpl.c | 11 +----------
> mesh/rpl.h | 11 +----------
> mesh/util.c | 11 +----------
> mesh/util.h | 11 +----------
> monitor/a2dp.c | 15 +--------------
> monitor/a2dp.h | 15 +--------------
> monitor/analyze.c | 15 +--------------
> monitor/analyze.h | 15 +--------------
> monitor/avctp.c | 15 +--------------
> monitor/avctp.h | 15 +--------------
> monitor/avdtp.c | 15 +--------------
> monitor/avdtp.h | 15 +--------------
> monitor/bnep.c | 15 +--------------
> monitor/bnep.h | 15 +--------------
> monitor/broadcom.c | 15 +--------------
> monitor/broadcom.h | 15 +--------------
> monitor/bt.h | 15 +--------------
> monitor/control.c | 15 +--------------
> monitor/control.h | 15 +--------------
> monitor/crc.c | 15 +--------------
> monitor/crc.h | 15 +--------------
> monitor/display.c | 15 +--------------
> monitor/display.h | 15 +--------------
> monitor/ellisys.c | 15 +--------------
> monitor/ellisys.h | 15 +--------------
> monitor/hcidump.c | 15 +--------------
> monitor/hcidump.h | 15 +--------------
> monitor/hwdb.c | 15 +--------------
> monitor/hwdb.h | 15 +--------------
> monitor/intel.c | 15 +--------------
> monitor/intel.h | 15 +--------------
> monitor/jlink.c | 15 +--------------
> monitor/jlink.h | 15 +--------------
> monitor/keys.c | 15 +--------------
> monitor/keys.h | 15 +--------------
> monitor/l2cap.c | 15 +--------------
> monitor/l2cap.h | 15 +--------------
> monitor/ll.c | 15 +--------------
> monitor/ll.h | 15 +--------------
> monitor/lmp.c | 15 +--------------
> monitor/lmp.h | 15 +--------------
> monitor/main.c | 15 +--------------
> monitor/packet.c | 15 +--------------
> monitor/packet.h | 15 +--------------
> monitor/rfcomm.c | 15 +--------------
> monitor/rfcomm.h | 15 +--------------
> monitor/sdp.c | 15 +--------------
> monitor/sdp.h | 15 +--------------
> monitor/tty.h | 15 +--------------
> monitor/vendor.c | 15 +--------------
> monitor/vendor.h | 15 +--------------
> obexd/client/bluetooth.c | 15 +--------------
> obexd/client/bluetooth.h | 15 +--------------
> obexd/client/driver.c | 15 +--------------
> obexd/client/driver.h | 15 +--------------
> obexd/client/ftp.c | 15 +--------------
> obexd/client/ftp.h | 15 +--------------
> obexd/client/manager.c | 15 +--------------
> obexd/client/manager.h | 15 +--------------
> obexd/client/map-event.c | 15 +--------------
> obexd/client/map-event.h | 15 +--------------
> obexd/client/map.c | 15 +--------------
> obexd/client/map.h | 15 +--------------
> obexd/client/mns.c | 15 +--------------
> obexd/client/opp.c | 15 +--------------
> obexd/client/opp.h | 15 +--------------
> obexd/client/pbap.c | 15 +--------------
> obexd/client/pbap.h | 15 +--------------
> obexd/client/session.c | 15 +--------------
> obexd/client/session.h | 15 +--------------
> obexd/client/sync.c | 15 +--------------
> obexd/client/sync.h | 15 +--------------
> obexd/client/transfer.c | 15 +--------------
> obexd/client/transfer.h | 15 +--------------
> obexd/client/transport.c | 15 +--------------
> obexd/client/transport.h | 15 +--------------
> obexd/plugins/bluetooth.c | 15 +--------------
> obexd/plugins/filesystem.c | 15 +--------------
> obexd/plugins/filesystem.h | 15 +--------------
> obexd/plugins/ftp.c | 15 +--------------
> obexd/plugins/ftp.h | 15 +--------------
> obexd/plugins/irmc.c | 15 +--------------
> obexd/plugins/mas.c | 15 +--------------
> obexd/plugins/messages-dummy.c | 15 +--------------
> obexd/plugins/messages-tracker.c | 15 +--------------
> obexd/plugins/messages.h | 15 +--------------
> obexd/plugins/opp.c | 15 +--------------
> obexd/plugins/pbap.c | 15 +--------------
> obexd/plugins/pcsuite.c | 15 +--------------
> obexd/plugins/phonebook-dummy.c | 15 +--------------
> obexd/plugins/phonebook-ebook.c | 15 +--------------
> obexd/plugins/phonebook-tracker.c | 15 +--------------
> obexd/plugins/phonebook.h | 15 +--------------
> obexd/plugins/syncevolution.c | 15 +--------------
> obexd/plugins/vcard.c | 15 +--------------
> obexd/plugins/vcard.h | 15 +--------------
> obexd/src/log.c | 15 +--------------
> obexd/src/log.h | 15 +--------------
> obexd/src/main.c | 15 +--------------
> obexd/src/manager.c | 15 +--------------
> obexd/src/manager.h | 15 +--------------
> obexd/src/map_ap.h | 15 +--------------
> obexd/src/mimetype.c | 15 +--------------
> obexd/src/mimetype.h | 15 +--------------
> obexd/src/obex-priv.h | 15 +--------------
> obexd/src/obex.c | 15 +--------------
> obexd/src/obex.h | 15 +--------------
> obexd/src/obexd.h | 15 +--------------
> obexd/src/plugin.c | 15 +--------------
> obexd/src/plugin.h | 15 +--------------
> obexd/src/server.c | 15 +--------------
> obexd/src/server.h | 15 +--------------
> obexd/src/service.c | 15 +--------------
> obexd/src/service.h | 15 +--------------
> obexd/src/transport.c | 15 +--------------
> obexd/src/transport.h | 15 +--------------
> peripheral/attach.c | 15 +--------------
> peripheral/attach.h | 15 +--------------
> peripheral/efivars.c | 15 +--------------
> peripheral/efivars.h | 15 +--------------
> peripheral/gap.c | 15 +--------------
> peripheral/gap.h | 15 +--------------
> peripheral/gatt.c | 15 +--------------
> peripheral/gatt.h | 15 +--------------
> peripheral/log.c | 15 +--------------
> peripheral/log.h | 15 +--------------
> peripheral/main.c | 15 +--------------
> plugins/autopair.c | 15 +--------------
> plugins/external-dummy.c | 15 +--------------
> plugins/hostname.c | 15 +--------------
> plugins/neard.c | 15 +--------------
> plugins/policy.c | 15 +--------------
> plugins/sixaxis.c | 15 +--------------
> plugins/wiimote.c | 15 +--------------
> profiles/audio/a2dp-codecs.h | 15 +--------------
> profiles/audio/a2dp.c | 15 +--------------
> profiles/audio/a2dp.h | 15 +--------------
> profiles/audio/avctp.c | 15 +--------------
> profiles/audio/avctp.h | 15 +--------------
> profiles/audio/avdtp.c | 15 +--------------
> profiles/audio/avdtp.h | 15 +--------------
> profiles/audio/avrcp.c | 15 +--------------
> profiles/audio/avrcp.h | 15 +--------------
> profiles/audio/control.c | 15 +--------------
> profiles/audio/control.h | 15 +--------------
> profiles/audio/media.c | 15 +--------------
> profiles/audio/media.h | 15 +--------------
> profiles/audio/player.c | 15 +--------------
> profiles/audio/player.h | 15 +--------------
> profiles/audio/sink.c | 15 +--------------
> profiles/audio/sink.h | 15 +--------------
> profiles/audio/source.c | 15 +--------------
> profiles/audio/source.h | 15 +--------------
> profiles/audio/transport.c | 15 +--------------
> profiles/audio/transport.h | 15 +--------------
> profiles/battery/bas.c | 15 +--------------
> profiles/battery/bas.h | 15 +--------------
> profiles/battery/battery.c | 10 +---------
> profiles/cups/cups.h | 15 +--------------
> profiles/cups/hcrp.c | 15 +--------------
> profiles/cups/main.c | 15 +--------------
> profiles/cups/sdp.c | 15 +--------------
> profiles/cups/spp.c | 15 +--------------
> profiles/deviceinfo/deviceinfo.c | 15 +--------------
> profiles/deviceinfo/dis.c | 15 +--------------
> profiles/deviceinfo/dis.h | 15 +--------------
> profiles/gap/gas.c | 10 +---------
> profiles/health/hdp.c | 15 +--------------
> profiles/health/hdp.h | 15 +--------------
> profiles/health/hdp_main.c | 15 +--------------
> profiles/health/hdp_manager.c | 15 +--------------
> profiles/health/hdp_manager.h | 15 +--------------
> profiles/health/hdp_types.h | 15 +--------------
> profiles/health/hdp_util.c | 15 +--------------
> profiles/health/hdp_util.h | 15 +--------------
> profiles/health/mcap.c | 15 +--------------
> profiles/health/mcap.h | 15 +--------------
> profiles/iap/main.c | 15 +--------------
> profiles/input/device.c | 15 +--------------
> profiles/input/device.h | 15 +--------------
> profiles/input/hidp_defs.h | 15 +--------------
> profiles/input/hog-lib.c | 15 +--------------
> profiles/input/hog-lib.h | 15 +--------------
> profiles/input/hog.c | 15 +--------------
> profiles/input/manager.c | 15 +--------------
> profiles/input/server.c | 15 +--------------
> profiles/input/server.h | 15 +--------------
> profiles/input/sixaxis.h | 15 +--------------
> profiles/input/suspend-dummy.c | 15 +--------------
> profiles/input/suspend-none.c | 15 +--------------
> profiles/input/suspend.h | 15 +--------------
> profiles/midi/libmidi.c | 16 +---------------
> profiles/midi/libmidi.h | 16 +---------------
> profiles/midi/midi.c | 20 +-------------------
> profiles/network/bnep.c | 15 +--------------
> profiles/network/bnep.h | 15 +--------------
> profiles/network/connection.c | 15 +--------------
> profiles/network/connection.h | 15 +--------------
> profiles/network/manager.c | 15 +--------------
> profiles/network/server.c | 15 +--------------
> profiles/network/server.h | 15 +--------------
> profiles/sap/main.c | 14 +-------------
> profiles/sap/manager.c | 14 +-------------
> profiles/sap/manager.h | 14 +-------------
> profiles/sap/sap-dummy.c | 14 +-------------
> profiles/sap/sap.h | 14 +-------------
> profiles/sap/server.c | 14 +-------------
> profiles/sap/server.h | 14 +-------------
> profiles/scanparam/scan.c | 15 +--------------
> profiles/scanparam/scpp.c | 15 +--------------
> profiles/scanparam/scpp.h | 15 +--------------
> src/adapter.c | 15 +--------------
> src/adapter.h | 15 +--------------
> src/adv_monitor.c | 11 +----------
> src/adv_monitor.h | 11 +----------
> src/advertising.c | 11 +----------
> src/advertising.h | 11 +----------
> src/agent.c | 15 +--------------
> src/agent.h | 15 +--------------
> src/attrib-server.c | 15 +--------------
> src/attrib-server.h | 15 +--------------
> src/backtrace.c | 15 +--------------
> src/backtrace.h | 15 +--------------
> src/dbus-common.c | 15 +--------------
> src/dbus-common.h | 15 +--------------
> src/device.c | 15 +--------------
> src/device.h | 15 +--------------
> src/eir.c | 15 +--------------
> src/eir.h | 15 +--------------
> src/error.c | 15 +--------------
> src/error.h | 15 +--------------
> src/gatt-client.c | 11 +----------
> src/gatt-client.h | 11 +----------
> src/gatt-database.c | 11 +----------
> src/gatt-database.h | 11 +----------
> src/hcid.h | 15 +--------------
> src/log.c | 15 +--------------
> src/log.h | 15 +--------------
> src/main.c | 15 +--------------
> src/oui.c | 15 +--------------
> src/oui.h | 15 +--------------
> src/plugin.c | 15 +--------------
> src/plugin.h | 15 +--------------
> src/profile.c | 15 +--------------
> src/profile.h | 15 +--------------
> src/rfkill.c | 15 +--------------
> src/sdp-client.c | 15 +--------------
> src/sdp-client.h | 15 +--------------
> src/sdp-xml.c | 15 +--------------
> src/sdp-xml.h | 15 +--------------
> src/sdpd-database.c | 15 +--------------
> src/sdpd-request.c | 15 +--------------
> src/sdpd-server.c | 15 +--------------
> src/sdpd-service.c | 15 +--------------
> src/sdpd.h | 15 +--------------
> src/service.c | 15 +--------------
> src/service.h | 15 +--------------
> src/shared/ad.c | 15 +--------------
> src/shared/ad.h | 15 +--------------
> src/shared/att-types.h | 15 +--------------
> src/shared/att.c | 15 +--------------
> src/shared/att.h | 15 +--------------
> src/shared/btp.c | 15 +--------------
> src/shared/btp.h | 15 +--------------
> src/shared/btsnoop.c | 15 +--------------
> src/shared/btsnoop.h | 15 +--------------
> src/shared/crypto.c | 15 +--------------
> src/shared/crypto.h | 15 +--------------
> src/shared/ecc.c | 21 +--------------------
> src/shared/ecc.h | 21 +--------------------
> src/shared/gap.c | 15 +--------------
> src/shared/gap.h | 15 +--------------
> src/shared/gatt-client.c | 15 +--------------
> src/shared/gatt-client.h | 15 +--------------
> src/shared/gatt-db.c | 15 +--------------
> src/shared/gatt-db.h | 15 +--------------
> src/shared/gatt-helpers.c | 15 +--------------
> src/shared/gatt-helpers.h | 15 +--------------
> src/shared/gatt-server.c | 15 +--------------
> src/shared/gatt-server.h | 15 +--------------
> src/shared/hci-crypto.c | 15 +--------------
> src/shared/hci-crypto.h | 15 +--------------
> src/shared/hci.c | 15 +--------------
> src/shared/hci.h | 15 +--------------
> src/shared/hfp.c | 15 +--------------
> src/shared/hfp.h | 15 +--------------
> src/shared/io-ell.c | 15 +--------------
> src/shared/io-glib.c | 15 +--------------
> src/shared/io-mainloop.c | 15 +--------------
> src/shared/io.h | 15 +--------------
> src/shared/log.c | 15 +--------------
> src/shared/log.h | 15 +--------------
> src/shared/mainloop-ell.c | 12 +-----------
> src/shared/mainloop-glib.c | 15 +--------------
> src/shared/mainloop-notify.c | 15 +--------------
> src/shared/mainloop-notify.h | 15 +--------------
> src/shared/mainloop.c | 15 +--------------
> src/shared/mainloop.h | 15 +--------------
> src/shared/mgmt.c | 15 +--------------
> src/shared/mgmt.h | 15 +--------------
> src/shared/pcap.c | 15 +--------------
> src/shared/pcap.h | 15 +--------------
> src/shared/queue.c | 15 +--------------
> src/shared/queue.h | 15 +--------------
> src/shared/ringbuf.c | 15 +--------------
> src/shared/ringbuf.h | 15 +--------------
> src/shared/shell.c | 15 +--------------
> src/shared/shell.h | 15 +--------------
> src/shared/tester.c | 15 +--------------
> src/shared/tester.h | 15 +--------------
> src/shared/timeout-ell.c | 11 +----------
> src/shared/timeout-glib.c | 11 +----------
> src/shared/timeout-mainloop.c | 11 +----------
> src/shared/timeout.h | 11 +----------
> src/shared/tty.h | 15 +--------------
> src/shared/uhid.c | 15 +--------------
> src/shared/uhid.h | 15 +--------------
> src/shared/util.c | 15 +--------------
> src/shared/util.h | 15 +--------------
> src/storage.c | 15 +--------------
> src/storage.h | 15 +--------------
> src/textfile.c | 15 +--------------
> src/textfile.h | 15 +--------------
> src/uinput.h | 15 +--------------
> src/uuid-helper.c | 15 +--------------
> src/uuid-helper.h | 15 +--------------
> tools/3dsp.c | 15 +--------------
> tools/advtest.c | 15 +--------------
> tools/amptest.c | 15 +--------------
> tools/avinfo.c | 15 +--------------
> tools/avtest.c | 15 +--------------
> tools/bccmd.c | 15 +--------------
> tools/bcmfw.c | 15 +--------------
> tools/bdaddr.c | 15 +--------------
> tools/bluemoon.c | 15 +--------------
> tools/bluetooth-player.c | 15 +--------------
> tools/bnep-tester.c | 15 +--------------
> tools/bneptest.c | 15 +--------------
> tools/btattach.c | 15 +--------------
> tools/btconfig.c | 15 +--------------
> tools/btgatt-client.c | 15 +--------------
> tools/btgatt-server.c | 11 +----------
> tools/btinfo.c | 15 +--------------
> tools/btiotest.c | 15 +--------------
> tools/btmgmt.c | 15 +--------------
> tools/btmon-logger.c | 15 +--------------
> tools/btpclient.c | 15 +--------------
> tools/btpclientctl.c | 15 +--------------
> tools/btproxy.c | 15 +--------------
> tools/btsnoop.c | 15 +--------------
> tools/check-selftest.c | 15 +--------------
> tools/ciptool.c | 15 +--------------
> tools/cltest.c | 15 +--------------
> tools/create-image.c | 15 +--------------
> tools/csr.c | 15 +--------------
> tools/csr.h | 15 +--------------
> tools/csr_3wire.c | 15 +--------------
> tools/csr_bcsp.c | 15 +--------------
> tools/csr_h4.c | 15 +--------------
> tools/csr_hci.c | 15 +--------------
> tools/csr_usb.c | 15 +--------------
> tools/eddystone.c | 15 +--------------
> tools/gap-tester.c | 15 +--------------
> tools/gatt-service.c | 15 +--------------
> tools/hci-tester.c | 15 +--------------
> tools/hciattach.c | 15 +--------------
> tools/hciattach.h | 15 +--------------
> tools/hciattach_ath3k.c | 15 +--------------
> tools/hciattach_bcm43xx.c | 15 +--------------
> tools/hciattach_intel.c | 15 +--------------
> tools/hciattach_qualcomm.c | 15 +--------------
> tools/hciattach_st.c | 15 +--------------
> tools/hciattach_ti.c | 15 +--------------
> tools/hciattach_tialt.c | 15 +--------------
> tools/hciconfig.c | 15 +--------------
> tools/hcidump.c | 15 +--------------
> tools/hcieventmask.c | 15 +--------------
> tools/hcisecfilter.c | 15 +--------------
> tools/hcitool.c | 15 +--------------
> tools/hex2hcd.c | 15 +--------------
> tools/hid2hci.c | 15 +--------------
> tools/hwdb.c | 15 +--------------
> tools/ibeacon.c | 15 +--------------
> tools/l2cap-tester.c | 15 +--------------
> tools/l2ping.c | 15 +--------------
> tools/l2test.c | 15 +--------------
> tools/mcaptest.c | 15 +--------------
> tools/mesh-cfgclient.c | 11 +----------
> tools/mesh-gatt/config-client.c | 15 +--------------
> tools/mesh-gatt/config-server.c | 15 +--------------
> tools/mesh-gatt/crypto.c | 15 +--------------
> tools/mesh-gatt/crypto.h | 15 +--------------
> tools/mesh-gatt/gatt.c | 15 +--------------
> tools/mesh-gatt/gatt.h | 15 +--------------
> tools/mesh-gatt/keys.h | 15 +--------------
> tools/mesh-gatt/mesh-net.h | 15 +--------------
> tools/mesh-gatt/net.c | 15 +--------------
> tools/mesh-gatt/net.h | 15 +--------------
> tools/mesh-gatt/node.c | 15 +--------------
> tools/mesh-gatt/node.h | 15 +--------------
> tools/mesh-gatt/onoff-model.c | 15 +--------------
> tools/mesh-gatt/onoff-model.h | 15 +--------------
> tools/mesh-gatt/prov-db.c | 15 +--------------
> tools/mesh-gatt/prov-db.h | 15 +--------------
> tools/mesh-gatt/prov.c | 15 +--------------
> tools/mesh-gatt/prov.h | 15 +--------------
> tools/mesh-gatt/util.c | 15 +--------------
> tools/mesh-gatt/util.h | 15 +--------------
> tools/mesh/agent.c | 15 +--------------
> tools/mesh/agent.h | 15 +--------------
> tools/mesh/cfgcli.c | 12 +-----------
> tools/mesh/cfgcli.h | 12 +-----------
> tools/mesh/config-model.h | 15 +--------------
> tools/mesh/keys.c | 12 +-----------
> tools/mesh/keys.h | 12 +-----------
> tools/mesh/mesh-db.c | 11 +----------
> tools/mesh/mesh-db.h | 11 +----------
> tools/mesh/model.h | 12 +-----------
> tools/mesh/remote.c | 11 +----------
> tools/mesh/remote.h | 11 +----------
> tools/mesh/util.c | 11 +----------
> tools/mesh/util.h | 11 +----------
> tools/meshctl.c | 15 +--------------
> tools/mgmt-tester.c | 15 +--------------
> tools/mpris-proxy.c | 15 +--------------
> tools/nokfw.c | 15 +--------------
> tools/obex-client-tool.c | 14 +-------------
> tools/obex-server-tool.c | 14 +-------------
> tools/obexctl.c | 15 +--------------
> tools/oobtest.c | 15 +--------------
> tools/parser/amp.c | 15 +--------------
> tools/parser/att.c | 15 +--------------
> tools/parser/avctp.c | 15 +--------------
> tools/parser/avdtp.c | 15 +--------------
> tools/parser/avrcp.c | 15 +--------------
> tools/parser/bnep.c | 15 +--------------
> tools/parser/bpa.c | 15 +--------------
> tools/parser/capi.c | 15 +--------------
> tools/parser/cmtp.c | 15 +--------------
> tools/parser/csr.c | 15 +--------------
> tools/parser/ericsson.c | 15 +--------------
> tools/parser/hci.c | 15 +--------------
> tools/parser/hcrp.c | 15 +--------------
> tools/parser/hidp.c | 15 +--------------
> tools/parser/l2cap.c | 15 +--------------
> tools/parser/l2cap.h | 15 +--------------
> tools/parser/lmp.c | 15 +--------------
> tools/parser/obex.c | 15 +--------------
> tools/parser/parser.c | 15 +--------------
> tools/parser/parser.h | 15 +--------------
> tools/parser/ppp.c | 15 +--------------
> tools/parser/rfcomm.c | 15 +--------------
> tools/parser/rfcomm.h | 15 +--------------
> tools/parser/sap.c | 15 +--------------
> tools/parser/sdp.c | 15 +--------------
> tools/parser/sdp.h | 15 +--------------
> tools/parser/smp.c | 15 +--------------
> tools/parser/tcpip.c | 15 +--------------
> tools/rctest.c | 15 +--------------
> tools/rfcomm-tester.c | 15 +--------------
> tools/rfcomm.c | 15 +--------------
> tools/rtlfw.c | 15 +--------------
> tools/sco-tester.c | 15 +--------------
> tools/scotest.c | 15 +--------------
> tools/sdptool.c | 15 +--------------
> tools/seq2bseq.c | 15 +--------------
> tools/smp-tester.c | 15 +--------------
> tools/test-runner.c | 15 +--------------
> tools/ubcsp.c | 20 +-------------------
> tools/ubcsp.h | 20 +-------------------
> tools/userchan-tester.c | 15 +--------------
> unit/test-avctp.c | 15 +--------------
> unit/test-avdtp.c | 15 +--------------
> unit/test-avrcp.c | 15 +--------------
> unit/test-crc.c | 15 +--------------
> unit/test-crypto.c | 15 +--------------
> unit/test-ecc.c | 21 +--------------------
> unit/test-eir.c | 15 +--------------
> unit/test-gatt.c | 15 +--------------
> unit/test-gattrib.c | 15 +--------------
> unit/test-gdbus-client.c | 15 +--------------
> unit/test-gobex-apparam.c | 15 +--------------
> unit/test-gobex-header.c | 15 +--------------
> unit/test-gobex-packet.c | 15 +--------------
> unit/test-gobex-transfer.c | 15 +--------------
> unit/test-gobex.c | 15 +--------------
> unit/test-hfp.c | 15 +--------------
> unit/test-hog.c | 15 +--------------
> unit/test-lib.c | 15 +--------------
> unit/test-mesh-crypto.c | 11 +----------
> unit/test-mgmt.c | 15 +--------------
> unit/test-midi.c | 16 +---------------
> unit/test-queue.c | 15 +--------------
> unit/test-ringbuf.c | 15 +--------------
> unit/test-sdp.c | 15 +--------------
> unit/test-textfile.c | 15 +--------------
> unit/test-uhid.c | 15 +--------------
> unit/test-uuid.c | 15 +--------------
> unit/util.c | 14 +-------------
> unit/util.h | 14 +-------------
> 758 files changed, 758 insertions(+), 10148 deletions(-)


--
pozdrawiam
Szymon Janc


2020-09-15 20:12:29

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: [BlueZ v3 00/17] Add SPDX License Identifier

Hi Tedd,

On Tue, Sep 15, 2020 at 1:05 PM An, Tedd <[email protected]> wrote:
>
> Hi Liuz,
>
> On Tue, 2020-09-15 at 09:34 -0700, Luiz Augusto von Dentz wrote:
> > Hi Szymon,
> >
> > On Tue, Sep 15, 2020 at 12:24 AM Szymon Janc <[email protected]> wrote:
> > > Hi,
> > >
> > > On Tuesday, 15 September 2020 02:04:40 CEST [email protected] wrote:
> > > > From: Tedd Ho-Jeong An <[email protected]>
> > > >
> > > > This patch series adds SPDX License Identifier to the source/heade files
> > > > based on the existing license header and removes the license text.
> > > >
> > > > The SDPX License Identifier is added in form of a comment based on file
> > > > type with the same rule from the Linxu kernel source, and added to the
> > > > first line of the file.
> > > >
> > > > C source: // SPDX-License-Identifer: <License>
> > >
> > > Why C++ style comments in C source?
> > >
> > > > C header: /* SPDX-License-Identifer: <License> */
> > > >
> > > > For SPDX-License Identifier, it used the identifer from the SPDX License
> > > > list page(https://spdx.org/licenses).
> > >
> > > INAL but SPDX identifier itself is insufficied for license compliance.
> > >
> > > If we really want to (I don't have strong opinion about this) remove license
> > > headers in favour of only having SPDX then we need files with licenses text
> > > etc to be part of distribution. Pretty much the same what kernel folks did.
> >
> > We should probably create a LICENSES directory with the full license
> > text, but for the source files the SPDX identifier should be enough,
> > something like:
> >
> > LICENSES/
> > ./preferred/{GPL-2.0, LGPL-2.1, BSD-2-Clause, MIT}
> > ./dual/Apache-2.0
> >
> > The kernel don't seem to be using or-later variant of GPL perhaps to
> > avoid (L)GPL 3.0 clauses.
>
> I will add them.
>
> >
> > > > For the summary, currently BlueZ sources have following licenses:
> > > >
> > > > -------------------------------------------
> > > > License File Count
> > > > -------------------------------------------
> > > > GPL-2.0-or-later : 393
> > > > LGPL-2.1-or-later : 273
> > > > BSD-2-Clause : 3
> > > > GPL-2.0-only : 5
> > > > MIT : 2
> > > > Apache-2.0 : 80
> > > > N/A : 1325
> > > >
> > > > Note that N/A includes the following files/folders
> > > > - .git/
> > > > - doc/
> > > > - Build related files (Makefile, etc)
> >
> > In Zephyr we do have license for build related files, not sure what
> > license we should use though, perhaps LGPL is better for these.
>
> Does GPL makes more sense? As far as I understand, LGPL is more for library, and
> BlueZ Makefile combined the rules for binary and library.

Yep, I actually meant GPL here and LGPL for python scripts so they can
be used elsewhere.

> >
> > > > - Configuration files
> > > > - Test scripts (python, etc)
> >
> > The tests scripts we might want to have license as well, LGPL might be
> > a better here as well.
> >
> > > > Tedd Ho-Jeong An (17):
> > > > android: Add SPDX License Identifier
> > > > attrib: Add SPDX License Identifier
> > > > btio: Add SPDX License Identifier
> > > > client: Add SPDX License Identifier
> > > > emulator: Add SPDX License Identifier
> > > > gdbus: Add SPDX License Identifier
> > > > gobex: Add SPDX License Identifier
> > > > lib: Add SPDX License Identifier
> > > > mesh: Add SPDX License Identifier
> > > > monitor: Add SPDX License Identifier
> > > > obexd: Add SPDX License Identifier
> > > > peripheral: Add SPDX License Identifier
> > > > plugins: Add SPDX License Identifier
> > > > profiles: Add SPDX License Identifier
> > > > unit: Add SPDX License Identifier
> > > > src: Add SPDX License Identifier
> > > > tools: Add SPDX License Identifier
> > > >
> > > > android/a2dp-sink.c | 15 +--------------
> > > > android/a2dp-sink.h | 15 +--------------
> > > > android/a2dp.c | 15 +--------------
> > > > android/a2dp.h | 15 +--------------
> > > > android/audio-msg.h | 15 +--------------
> > > > android/audio_utils/resampler.c | 12 +-----------
> > > > android/audio_utils/resampler.h | 12 +-----------
> > > > android/avctp.c | 15 +--------------
> > > > android/avctp.h | 15 +--------------
> > > > android/avdtp.c | 15 +--------------
> > > > android/avdtp.h | 15 +--------------
> > > > android/avdtptest.c | 15 +--------------
> > > > android/avrcp-lib.c | 15 +--------------
> > > > android/avrcp-lib.h | 15 +--------------
> > > > android/avrcp.c | 15 +--------------
> > > > android/avrcp.h | 15 +--------------
> > > > android/bluetooth.c | 15 +--------------
> > > > android/bluetooth.h | 15 +--------------
> > > > android/bluetoothd-snoop.c | 15 +--------------
> > > > android/bluetoothd-wrapper.c | 13 +------------
> > > > android/client/haltest.c | 13 +------------
> > > > android/client/history.c | 13 +------------
> > > > android/client/history.h | 13 +------------
> > > > android/client/if-audio.c | 13 +------------
> > > > android/client/if-av-sink.c | 13 +------------
> > > > android/client/if-av.c | 13 +------------
> > > > android/client/if-bt.c | 13 +------------
> > > > android/client/if-gatt.c | 13 +------------
> > > > android/client/if-hf-client.c | 13 +------------
> > > > android/client/if-hf.c | 13 +------------
> > > > android/client/if-hh.c | 13 +------------
> > > > android/client/if-hl.c | 13 +------------
> > > > android/client/if-main.h | 13 +------------
> > > > android/client/if-mce.c | 13 +------------
> > > > android/client/if-pan.c | 13 +------------
> > > > android/client/if-rc-ctrl.c | 13 +------------
> > > > android/client/if-rc.c | 13 +------------
> > > > android/client/if-sco.c | 13 +------------
> > > > android/client/if-sock.c | 13 +------------
> > > > android/client/pollhandler.c | 13 +------------
> > > > android/client/pollhandler.h | 13 +------------
> > > > android/client/tabcompletion.c | 13 +------------
> > > > android/client/terminal.c | 13 +------------
> > > > android/client/terminal.h | 13 +------------
> > > > android/compat/readline/history.h | 15 +--------------
> > > > android/compat/readline/readline.h | 15 +--------------
> > > > android/compat/wordexp.h | 15 +--------------
> > > > android/cutils/properties.h | 15 +--------------
> > > > android/gatt.c | 15 +--------------
> > > > android/gatt.h | 15 +--------------
> > > > android/hal-a2dp-sink.c | 13 +------------
> > > > android/hal-a2dp.c | 13 +------------
> > > > android/hal-audio-aptx.c | 13 +------------
> > > > android/hal-audio-sbc.c | 13 +------------
> > > > android/hal-audio.c | 13 +------------
> > > > android/hal-audio.h | 13 +------------
> > > > android/hal-avrcp-ctrl.c | 13 +------------
> > > > android/hal-avrcp.c | 13 +------------
> > > > android/hal-bluetooth.c | 13 +------------
> > > > android/hal-gatt.c | 13 +------------
> > > > android/hal-handsfree-client.c | 13 +------------
> > > > android/hal-handsfree.c | 13 +------------
> > > > android/hal-health.c | 13 +------------
> > > > android/hal-hidhost.c | 13 +------------
> > > > android/hal-ipc.c | 13 +------------
> > > > android/hal-ipc.h | 13 +------------
> > > > android/hal-log.h | 13 +------------
> > > > android/hal-map-client.c | 13 +------------
> > > > android/hal-msg.h | 15 +--------------
> > > > android/hal-pan.c | 13 +------------
> > > > android/hal-sco.c | 13 +------------
> > > > android/hal-socket.c | 13 +------------
> > > > android/hal-utils.c | 13 +------------
> > > > android/hal-utils.h | 13 +------------
> > > > android/hal.h | 13 +------------
> > > > android/handsfree-client.c | 15 +--------------
> > > > android/handsfree-client.h | 15 +--------------
> > > > android/handsfree.c | 15 +--------------
> > > > android/handsfree.h | 15 +--------------
> > > > android/hardware/audio.h | 12 +-----------
> > > > android/hardware/audio_effect.h | 12 +-----------
> > > > android/hardware/bluetooth.h | 12 +-----------
> > > > android/hardware/bt_av.h | 12 +-----------
> > > > android/hardware/bt_gatt.h | 12 +-----------
> > > > android/hardware/bt_gatt_client.h | 12 +-----------
> > > > android/hardware/bt_gatt_server.h | 12 +-----------
> > > > android/hardware/bt_gatt_types.h | 12 +-----------
> > > > android/hardware/bt_hf.h | 12 +-----------
> > > > android/hardware/bt_hf_client.h | 12 +-----------
> > > > android/hardware/bt_hh.h | 12 +-----------
> > > > android/hardware/bt_hl.h | 12 +-----------
> > > > android/hardware/bt_mce.h | 12 +-----------
> > > > android/hardware/bt_pan.h | 12 +-----------
> > > > android/hardware/bt_rc.h | 12 +-----------
> > > > android/hardware/bt_sock.h | 12 +-----------
> > > > android/hardware/hardware.c | 12 +-----------
> > > > android/hardware/hardware.h | 12 +-----------
> > > > android/health.c | 15 +--------------
> > > > android/health.h | 15 +--------------
> > > > android/hidhost.c | 15 +--------------
> > > > android/hidhost.h | 15 +--------------
> > > > android/ipc-common.h | 15 +--------------
> > > > android/ipc-tester.c | 15 +--------------
> > > > android/ipc.c | 15 +--------------
> > > > android/ipc.h | 15 +--------------
> > > > android/log.c | 15 +--------------
> > > > android/main.c | 15 +--------------
> > > > android/map-client.c | 15 +--------------
> > > > android/map-client.h | 15 +--------------
> > > > android/pan.c | 15 +--------------
> > > > android/pan.h | 15 +--------------
> > > > android/sco-msg.h | 15 +--------------
> > > > android/sco.c | 15 +--------------
> > > > android/sco.h | 15 +--------------
> > > > android/socket.c | 15 +--------------
> > > > android/socket.h | 15 +--------------
> > > > android/system-emulator.c | 15 +--------------
> > > > android/system/audio.h | 12 +-----------
> > > > android/test-ipc.c | 15 +--------------
> > > > android/tester-a2dp.c | 13 +------------
> > > > android/tester-avrcp.c | 13 +------------
> > > > android/tester-bluetooth.c | 13 +------------
> > > > android/tester-gatt.c | 13 +------------
> > > > android/tester-hdp.c | 13 +------------
> > > > android/tester-hidhost.c | 13 +------------
> > > > android/tester-main.c | 13 +------------
> > > > android/tester-main.h | 15 +--------------
> > > > android/tester-map-client.c | 13 +------------
> > > > android/tester-pan.c | 13 +------------
> > > > android/tester-socket.c | 13 +------------
> > > > android/utils.h | 15 +--------------
> > > > attrib/att-database.h | 15 +--------------
> > > > attrib/att.c | 15 +--------------
> > > > attrib/att.h | 15 +--------------
> > > > attrib/gatt-service.c | 15 +--------------
> > > > attrib/gatt-service.h | 15 +--------------
> > > > attrib/gatt.c | 15 +--------------
> > > > attrib/gatt.h | 15 +--------------
> > > > attrib/gattrib.c | 15 +--------------
> > > > attrib/gattrib.h | 15 +--------------
> > > > attrib/gatttool.c | 15 +--------------
> > > > attrib/gatttool.h | 15 +--------------
> > > > attrib/interactive.c | 15 +--------------
> > > > attrib/utils.c | 15 +--------------
> > > > btio/btio.c | 15 +--------------
> > > > btio/btio.h | 15 +--------------
> > > > client/advertising.c | 15 +--------------
> > > > client/advertising.h | 15 +--------------
> > > > client/agent.c | 15 +--------------
> > > > client/agent.h | 15 +--------------
> > > > client/display.c | 15 +--------------
> > > > client/display.h | 15 +--------------
> > > > client/gatt.c | 15 +--------------
> > > > client/gatt.h | 15 +--------------
> > > > client/main.c | 15 +--------------
> > > > emulator/amp.c | 15 +--------------
> > > > emulator/amp.h | 15 +--------------
> > > > emulator/b1ee.c | 15 +--------------
> > > > emulator/btdev.c | 15 +--------------
> > > > emulator/btdev.h | 15 +--------------
> > > > emulator/bthost.c | 15 +--------------
> > > > emulator/bthost.h | 15 +--------------
> > > > emulator/hciemu.c | 15 +--------------
> > > > emulator/hciemu.h | 15 +--------------
> > > > emulator/hfp.c | 15 +--------------
> > > > emulator/le.c | 15 +--------------
> > > > emulator/le.h | 15 +--------------
> > > > emulator/main.c | 15 +--------------
> > > > emulator/phy.c | 15 +--------------
> > > > emulator/phy.h | 15 +--------------
> > > > emulator/serial.c | 15 +--------------
> > > > emulator/serial.h | 15 +--------------
> > > > emulator/server.c | 15 +--------------
> > > > emulator/server.h | 15 +--------------
> > > > emulator/smp.c | 15 +--------------
> > > > emulator/vhci.c | 15 +--------------
> > > > emulator/vhci.h | 15 +--------------
> > > > gdbus/client.c | 15 +--------------
> > > > gdbus/gdbus.h | 15 +--------------
> > > > gdbus/mainloop.c | 15 +--------------
> > > > gdbus/object.c | 15 +--------------
> > > > gdbus/polkit.c | 15 +--------------
> > > > gdbus/watch.c | 15 +--------------
> > > > gobex/gobex-apparam.c | 15 +--------------
> > > > gobex/gobex-apparam.h | 15 +--------------
> > > > gobex/gobex-debug.h | 15 +--------------
> > > > gobex/gobex-defs.c | 15 +--------------
> > > > gobex/gobex-defs.h | 15 +--------------
> > > > gobex/gobex-header.c | 15 +--------------
> > > > gobex/gobex-header.h | 15 +--------------
> > > > gobex/gobex-packet.c | 15 +--------------
> > > > gobex/gobex-packet.h | 15 +--------------
> > > > gobex/gobex-transfer.c | 15 +--------------
> > > > gobex/gobex.c | 15 +--------------
> > > > gobex/gobex.h | 15 +--------------
> > > > lib/a2mp.h | 15 +--------------
> > > > lib/amp.h | 10 +---------
> > > > lib/bluetooth.c | 15 +--------------
> > > > lib/bluetooth.h | 15 +--------------
> > > > lib/bnep.h | 15 +--------------
> > > > lib/cmtp.h | 15 +--------------
> > > > lib/hci.c | 15 +--------------
> > > > lib/hci.h | 15 +--------------
> > > > lib/hci_lib.h | 15 +--------------
> > > > lib/hidp.h | 15 +--------------
> > > > lib/l2cap.h | 15 +--------------
> > > > lib/mgmt.h | 15 +--------------
> > > > lib/rfcomm.h | 15 +--------------
> > > > lib/sco.h | 15 +--------------
> > > > lib/sdp.c | 15 +--------------
> > > > lib/sdp.h | 15 +--------------
> > > > lib/sdp_lib.h | 15 +--------------
> > > > lib/uuid.c | 15 +--------------
> > > > lib/uuid.h | 15 +--------------
> > > > mesh/agent.c | 11 +----------
> > > > mesh/agent.h | 11 +----------
> > > > mesh/appkey.c | 11 +----------
> > > > mesh/appkey.h | 11 +----------
> > > > mesh/cfgmod-server.c | 11 +----------
> > > > mesh/cfgmod.h | 11 +----------
> > > > mesh/crypto.c | 11 +----------
> > > > mesh/crypto.h | 11 +----------
> > > > mesh/dbus.c | 11 +----------
> > > > mesh/dbus.h | 11 +----------
> > > > mesh/error.h | 11 +----------
> > > > mesh/friend.c | 11 +----------
> > > > mesh/friend.h | 11 +----------
> > > > mesh/keyring.c | 11 +----------
> > > > mesh/keyring.h | 11 +----------
> > > > mesh/main.c | 11 +----------
> > > > mesh/manager.c | 11 +----------
> > > > mesh/manager.h | 11 +----------
> > > > mesh/mesh-config-json.c | 11 +----------
> > > > mesh/mesh-config.h | 11 +----------
> > > > mesh/mesh-defs.h | 12 +-----------
> > > > mesh/mesh-io-api.h | 11 +----------
> > > > mesh/mesh-io-generic.c | 11 +----------
> > > > mesh/mesh-io-generic.h | 11 +----------
> > > > mesh/mesh-io.c | 11 +----------
> > > > mesh/mesh-io.h | 11 +----------
> > > > mesh/mesh-mgmt.c | 11 +----------
> > > > mesh/mesh-mgmt.h | 11 +----------
> > > > mesh/mesh.c | 11 +----------
> > > > mesh/mesh.h | 11 +----------
> > > > mesh/model.c | 11 +----------
> > > > mesh/model.h | 11 +----------
> > > > mesh/net-keys.c | 11 +----------
> > > > mesh/net-keys.h | 11 +----------
> > > > mesh/net.c | 11 +----------
> > > > mesh/net.h | 11 +----------
> > > > mesh/node.c | 11 +----------
> > > > mesh/node.h | 11 +----------
> > > > mesh/pb-adv.c | 11 +----------
> > > > mesh/pb-adv.h | 11 +----------
> > > > mesh/prov-acceptor.c | 11 +----------
> > > > mesh/prov-initiator.c | 11 +----------
> > > > mesh/prov.h | 11 +----------
> > > > mesh/provision.h | 11 +----------
> > > > mesh/rpl.c | 11 +----------
> > > > mesh/rpl.h | 11 +----------
> > > > mesh/util.c | 11 +----------
> > > > mesh/util.h | 11 +----------
> > > > monitor/a2dp.c | 15 +--------------
> > > > monitor/a2dp.h | 15 +--------------
> > > > monitor/analyze.c | 15 +--------------
> > > > monitor/analyze.h | 15 +--------------
> > > > monitor/avctp.c | 15 +--------------
> > > > monitor/avctp.h | 15 +--------------
> > > > monitor/avdtp.c | 15 +--------------
> > > > monitor/avdtp.h | 15 +--------------
> > > > monitor/bnep.c | 15 +--------------
> > > > monitor/bnep.h | 15 +--------------
> > > > monitor/broadcom.c | 15 +--------------
> > > > monitor/broadcom.h | 15 +--------------
> > > > monitor/bt.h | 15 +--------------
> > > > monitor/control.c | 15 +--------------
> > > > monitor/control.h | 15 +--------------
> > > > monitor/crc.c | 15 +--------------
> > > > monitor/crc.h | 15 +--------------
> > > > monitor/display.c | 15 +--------------
> > > > monitor/display.h | 15 +--------------
> > > > monitor/ellisys.c | 15 +--------------
> > > > monitor/ellisys.h | 15 +--------------
> > > > monitor/hcidump.c | 15 +--------------
> > > > monitor/hcidump.h | 15 +--------------
> > > > monitor/hwdb.c | 15 +--------------
> > > > monitor/hwdb.h | 15 +--------------
> > > > monitor/intel.c | 15 +--------------
> > > > monitor/intel.h | 15 +--------------
> > > > monitor/jlink.c | 15 +--------------
> > > > monitor/jlink.h | 15 +--------------
> > > > monitor/keys.c | 15 +--------------
> > > > monitor/keys.h | 15 +--------------
> > > > monitor/l2cap.c | 15 +--------------
> > > > monitor/l2cap.h | 15 +--------------
> > > > monitor/ll.c | 15 +--------------
> > > > monitor/ll.h | 15 +--------------
> > > > monitor/lmp.c | 15 +--------------
> > > > monitor/lmp.h | 15 +--------------
> > > > monitor/main.c | 15 +--------------
> > > > monitor/packet.c | 15 +--------------
> > > > monitor/packet.h | 15 +--------------
> > > > monitor/rfcomm.c | 15 +--------------
> > > > monitor/rfcomm.h | 15 +--------------
> > > > monitor/sdp.c | 15 +--------------
> > > > monitor/sdp.h | 15 +--------------
> > > > monitor/tty.h | 15 +--------------
> > > > monitor/vendor.c | 15 +--------------
> > > > monitor/vendor.h | 15 +--------------
> > > > obexd/client/bluetooth.c | 15 +--------------
> > > > obexd/client/bluetooth.h | 15 +--------------
> > > > obexd/client/driver.c | 15 +--------------
> > > > obexd/client/driver.h | 15 +--------------
> > > > obexd/client/ftp.c | 15 +--------------
> > > > obexd/client/ftp.h | 15 +--------------
> > > > obexd/client/manager.c | 15 +--------------
> > > > obexd/client/manager.h | 15 +--------------
> > > > obexd/client/map-event.c | 15 +--------------
> > > > obexd/client/map-event.h | 15 +--------------
> > > > obexd/client/map.c | 15 +--------------
> > > > obexd/client/map.h | 15 +--------------
> > > > obexd/client/mns.c | 15 +--------------
> > > > obexd/client/opp.c | 15 +--------------
> > > > obexd/client/opp.h | 15 +--------------
> > > > obexd/client/pbap.c | 15 +--------------
> > > > obexd/client/pbap.h | 15 +--------------
> > > > obexd/client/session.c | 15 +--------------
> > > > obexd/client/session.h | 15 +--------------
> > > > obexd/client/sync.c | 15 +--------------
> > > > obexd/client/sync.h | 15 +--------------
> > > > obexd/client/transfer.c | 15 +--------------
> > > > obexd/client/transfer.h | 15 +--------------
> > > > obexd/client/transport.c | 15 +--------------
> > > > obexd/client/transport.h | 15 +--------------
> > > > obexd/plugins/bluetooth.c | 15 +--------------
> > > > obexd/plugins/filesystem.c | 15 +--------------
> > > > obexd/plugins/filesystem.h | 15 +--------------
> > > > obexd/plugins/ftp.c | 15 +--------------
> > > > obexd/plugins/ftp.h | 15 +--------------
> > > > obexd/plugins/irmc.c | 15 +--------------
> > > > obexd/plugins/mas.c | 15 +--------------
> > > > obexd/plugins/messages-dummy.c | 15 +--------------
> > > > obexd/plugins/messages-tracker.c | 15 +--------------
> > > > obexd/plugins/messages.h | 15 +--------------
> > > > obexd/plugins/opp.c | 15 +--------------
> > > > obexd/plugins/pbap.c | 15 +--------------
> > > > obexd/plugins/pcsuite.c | 15 +--------------
> > > > obexd/plugins/phonebook-dummy.c | 15 +--------------
> > > > obexd/plugins/phonebook-ebook.c | 15 +--------------
> > > > obexd/plugins/phonebook-tracker.c | 15 +--------------
> > > > obexd/plugins/phonebook.h | 15 +--------------
> > > > obexd/plugins/syncevolution.c | 15 +--------------
> > > > obexd/plugins/vcard.c | 15 +--------------
> > > > obexd/plugins/vcard.h | 15 +--------------
> > > > obexd/src/log.c | 15 +--------------
> > > > obexd/src/log.h | 15 +--------------
> > > > obexd/src/main.c | 15 +--------------
> > > > obexd/src/manager.c | 15 +--------------
> > > > obexd/src/manager.h | 15 +--------------
> > > > obexd/src/map_ap.h | 15 +--------------
> > > > obexd/src/mimetype.c | 15 +--------------
> > > > obexd/src/mimetype.h | 15 +--------------
> > > > obexd/src/obex-priv.h | 15 +--------------
> > > > obexd/src/obex.c | 15 +--------------
> > > > obexd/src/obex.h | 15 +--------------
> > > > obexd/src/obexd.h | 15 +--------------
> > > > obexd/src/plugin.c | 15 +--------------
> > > > obexd/src/plugin.h | 15 +--------------
> > > > obexd/src/server.c | 15 +--------------
> > > > obexd/src/server.h | 15 +--------------
> > > > obexd/src/service.c | 15 +--------------
> > > > obexd/src/service.h | 15 +--------------
> > > > obexd/src/transport.c | 15 +--------------
> > > > obexd/src/transport.h | 15 +--------------
> > > > peripheral/attach.c | 15 +--------------
> > > > peripheral/attach.h | 15 +--------------
> > > > peripheral/efivars.c | 15 +--------------
> > > > peripheral/efivars.h | 15 +--------------
> > > > peripheral/gap.c | 15 +--------------
> > > > peripheral/gap.h | 15 +--------------
> > > > peripheral/gatt.c | 15 +--------------
> > > > peripheral/gatt.h | 15 +--------------
> > > > peripheral/log.c | 15 +--------------
> > > > peripheral/log.h | 15 +--------------
> > > > peripheral/main.c | 15 +--------------
> > > > plugins/autopair.c | 15 +--------------
> > > > plugins/external-dummy.c | 15 +--------------
> > > > plugins/hostname.c | 15 +--------------
> > > > plugins/neard.c | 15 +--------------
> > > > plugins/policy.c | 15 +--------------
> > > > plugins/sixaxis.c | 15 +--------------
> > > > plugins/wiimote.c | 15 +--------------
> > > > profiles/audio/a2dp-codecs.h | 15 +--------------
> > > > profiles/audio/a2dp.c | 15 +--------------
> > > > profiles/audio/a2dp.h | 15 +--------------
> > > > profiles/audio/avctp.c | 15 +--------------
> > > > profiles/audio/avctp.h | 15 +--------------
> > > > profiles/audio/avdtp.c | 15 +--------------
> > > > profiles/audio/avdtp.h | 15 +--------------
> > > > profiles/audio/avrcp.c | 15 +--------------
> > > > profiles/audio/avrcp.h | 15 +--------------
> > > > profiles/audio/control.c | 15 +--------------
> > > > profiles/audio/control.h | 15 +--------------
> > > > profiles/audio/media.c | 15 +--------------
> > > > profiles/audio/media.h | 15 +--------------
> > > > profiles/audio/player.c | 15 +--------------
> > > > profiles/audio/player.h | 15 +--------------
> > > > profiles/audio/sink.c | 15 +--------------
> > > > profiles/audio/sink.h | 15 +--------------
> > > > profiles/audio/source.c | 15 +--------------
> > > > profiles/audio/source.h | 15 +--------------
> > > > profiles/audio/transport.c | 15 +--------------
> > > > profiles/audio/transport.h | 15 +--------------
> > > > profiles/battery/bas.c | 15 +--------------
> > > > profiles/battery/bas.h | 15 +--------------
> > > > profiles/battery/battery.c | 10 +---------
> > > > profiles/cups/cups.h | 15 +--------------
> > > > profiles/cups/hcrp.c | 15 +--------------
> > > > profiles/cups/main.c | 15 +--------------
> > > > profiles/cups/sdp.c | 15 +--------------
> > > > profiles/cups/spp.c | 15 +--------------
> > > > profiles/deviceinfo/deviceinfo.c | 15 +--------------
> > > > profiles/deviceinfo/dis.c | 15 +--------------
> > > > profiles/deviceinfo/dis.h | 15 +--------------
> > > > profiles/gap/gas.c | 10 +---------
> > > > profiles/health/hdp.c | 15 +--------------
> > > > profiles/health/hdp.h | 15 +--------------
> > > > profiles/health/hdp_main.c | 15 +--------------
> > > > profiles/health/hdp_manager.c | 15 +--------------
> > > > profiles/health/hdp_manager.h | 15 +--------------
> > > > profiles/health/hdp_types.h | 15 +--------------
> > > > profiles/health/hdp_util.c | 15 +--------------
> > > > profiles/health/hdp_util.h | 15 +--------------
> > > > profiles/health/mcap.c | 15 +--------------
> > > > profiles/health/mcap.h | 15 +--------------
> > > > profiles/iap/main.c | 15 +--------------
> > > > profiles/input/device.c | 15 +--------------
> > > > profiles/input/device.h | 15 +--------------
> > > > profiles/input/hidp_defs.h | 15 +--------------
> > > > profiles/input/hog-lib.c | 15 +--------------
> > > > profiles/input/hog-lib.h | 15 +--------------
> > > > profiles/input/hog.c | 15 +--------------
> > > > profiles/input/manager.c | 15 +--------------
> > > > profiles/input/server.c | 15 +--------------
> > > > profiles/input/server.h | 15 +--------------
> > > > profiles/input/sixaxis.h | 15 +--------------
> > > > profiles/input/suspend-dummy.c | 15 +--------------
> > > > profiles/input/suspend-none.c | 15 +--------------
> > > > profiles/input/suspend.h | 15 +--------------
> > > > profiles/midi/libmidi.c | 16 +---------------
> > > > profiles/midi/libmidi.h | 16 +---------------
> > > > profiles/midi/midi.c | 20 +-------------------
> > > > profiles/network/bnep.c | 15 +--------------
> > > > profiles/network/bnep.h | 15 +--------------
> > > > profiles/network/connection.c | 15 +--------------
> > > > profiles/network/connection.h | 15 +--------------
> > > > profiles/network/manager.c | 15 +--------------
> > > > profiles/network/server.c | 15 +--------------
> > > > profiles/network/server.h | 15 +--------------
> > > > profiles/sap/main.c | 14 +-------------
> > > > profiles/sap/manager.c | 14 +-------------
> > > > profiles/sap/manager.h | 14 +-------------
> > > > profiles/sap/sap-dummy.c | 14 +-------------
> > > > profiles/sap/sap.h | 14 +-------------
> > > > profiles/sap/server.c | 14 +-------------
> > > > profiles/sap/server.h | 14 +-------------
> > > > profiles/scanparam/scan.c | 15 +--------------
> > > > profiles/scanparam/scpp.c | 15 +--------------
> > > > profiles/scanparam/scpp.h | 15 +--------------
> > > > src/adapter.c | 15 +--------------
> > > > src/adapter.h | 15 +--------------
> > > > src/adv_monitor.c | 11 +----------
> > > > src/adv_monitor.h | 11 +----------
> > > > src/advertising.c | 11 +----------
> > > > src/advertising.h | 11 +----------
> > > > src/agent.c | 15 +--------------
> > > > src/agent.h | 15 +--------------
> > > > src/attrib-server.c | 15 +--------------
> > > > src/attrib-server.h | 15 +--------------
> > > > src/backtrace.c | 15 +--------------
> > > > src/backtrace.h | 15 +--------------
> > > > src/dbus-common.c | 15 +--------------
> > > > src/dbus-common.h | 15 +--------------
> > > > src/device.c | 15 +--------------
> > > > src/device.h | 15 +--------------
> > > > src/eir.c | 15 +--------------
> > > > src/eir.h | 15 +--------------
> > > > src/error.c | 15 +--------------
> > > > src/error.h | 15 +--------------
> > > > src/gatt-client.c | 11 +----------
> > > > src/gatt-client.h | 11 +----------
> > > > src/gatt-database.c | 11 +----------
> > > > src/gatt-database.h | 11 +----------
> > > > src/hcid.h | 15 +--------------
> > > > src/log.c | 15 +--------------
> > > > src/log.h | 15 +--------------
> > > > src/main.c | 15 +--------------
> > > > src/oui.c | 15 +--------------
> > > > src/oui.h | 15 +--------------
> > > > src/plugin.c | 15 +--------------
> > > > src/plugin.h | 15 +--------------
> > > > src/profile.c | 15 +--------------
> > > > src/profile.h | 15 +--------------
> > > > src/rfkill.c | 15 +--------------
> > > > src/sdp-client.c | 15 +--------------
> > > > src/sdp-client.h | 15 +--------------
> > > > src/sdp-xml.c | 15 +--------------
> > > > src/sdp-xml.h | 15 +--------------
> > > > src/sdpd-database.c | 15 +--------------
> > > > src/sdpd-request.c | 15 +--------------
> > > > src/sdpd-server.c | 15 +--------------
> > > > src/sdpd-service.c | 15 +--------------
> > > > src/sdpd.h | 15 +--------------
> > > > src/service.c | 15 +--------------
> > > > src/service.h | 15 +--------------
> > > > src/shared/ad.c | 15 +--------------
> > > > src/shared/ad.h | 15 +--------------
> > > > src/shared/att-types.h | 15 +--------------
> > > > src/shared/att.c | 15 +--------------
> > > > src/shared/att.h | 15 +--------------
> > > > src/shared/btp.c | 15 +--------------
> > > > src/shared/btp.h | 15 +--------------
> > > > src/shared/btsnoop.c | 15 +--------------
> > > > src/shared/btsnoop.h | 15 +--------------
> > > > src/shared/crypto.c | 15 +--------------
> > > > src/shared/crypto.h | 15 +--------------
> > > > src/shared/ecc.c | 21 +--------------------
> > > > src/shared/ecc.h | 21 +--------------------
> > > > src/shared/gap.c | 15 +--------------
> > > > src/shared/gap.h | 15 +--------------
> > > > src/shared/gatt-client.c | 15 +--------------
> > > > src/shared/gatt-client.h | 15 +--------------
> > > > src/shared/gatt-db.c | 15 +--------------
> > > > src/shared/gatt-db.h | 15 +--------------
> > > > src/shared/gatt-helpers.c | 15 +--------------
> > > > src/shared/gatt-helpers.h | 15 +--------------
> > > > src/shared/gatt-server.c | 15 +--------------
> > > > src/shared/gatt-server.h | 15 +--------------
> > > > src/shared/hci-crypto.c | 15 +--------------
> > > > src/shared/hci-crypto.h | 15 +--------------
> > > > src/shared/hci.c | 15 +--------------
> > > > src/shared/hci.h | 15 +--------------
> > > > src/shared/hfp.c | 15 +--------------
> > > > src/shared/hfp.h | 15 +--------------
> > > > src/shared/io-ell.c | 15 +--------------
> > > > src/shared/io-glib.c | 15 +--------------
> > > > src/shared/io-mainloop.c | 15 +--------------
> > > > src/shared/io.h | 15 +--------------
> > > > src/shared/log.c | 15 +--------------
> > > > src/shared/log.h | 15 +--------------
> > > > src/shared/mainloop-ell.c | 12 +-----------
> > > > src/shared/mainloop-glib.c | 15 +--------------
> > > > src/shared/mainloop-notify.c | 15 +--------------
> > > > src/shared/mainloop-notify.h | 15 +--------------
> > > > src/shared/mainloop.c | 15 +--------------
> > > > src/shared/mainloop.h | 15 +--------------
> > > > src/shared/mgmt.c | 15 +--------------
> > > > src/shared/mgmt.h | 15 +--------------
> > > > src/shared/pcap.c | 15 +--------------
> > > > src/shared/pcap.h | 15 +--------------
> > > > src/shared/queue.c | 15 +--------------
> > > > src/shared/queue.h | 15 +--------------
> > > > src/shared/ringbuf.c | 15 +--------------
> > > > src/shared/ringbuf.h | 15 +--------------
> > > > src/shared/shell.c | 15 +--------------
> > > > src/shared/shell.h | 15 +--------------
> > > > src/shared/tester.c | 15 +--------------
> > > > src/shared/tester.h | 15 +--------------
> > > > src/shared/timeout-ell.c | 11 +----------
> > > > src/shared/timeout-glib.c | 11 +----------
> > > > src/shared/timeout-mainloop.c | 11 +----------
> > > > src/shared/timeout.h | 11 +----------
> > > > src/shared/tty.h | 15 +--------------
> > > > src/shared/uhid.c | 15 +--------------
> > > > src/shared/uhid.h | 15 +--------------
> > > > src/shared/util.c | 15 +--------------
> > > > src/shared/util.h | 15 +--------------
> > > > src/storage.c | 15 +--------------
> > > > src/storage.h | 15 +--------------
> > > > src/textfile.c | 15 +--------------
> > > > src/textfile.h | 15 +--------------
> > > > src/uinput.h | 15 +--------------
> > > > src/uuid-helper.c | 15 +--------------
> > > > src/uuid-helper.h | 15 +--------------
> > > > tools/3dsp.c | 15 +--------------
> > > > tools/advtest.c | 15 +--------------
> > > > tools/amptest.c | 15 +--------------
> > > > tools/avinfo.c | 15 +--------------
> > > > tools/avtest.c | 15 +--------------
> > > > tools/bccmd.c | 15 +--------------
> > > > tools/bcmfw.c | 15 +--------------
> > > > tools/bdaddr.c | 15 +--------------
> > > > tools/bluemoon.c | 15 +--------------
> > > > tools/bluetooth-player.c | 15 +--------------
> > > > tools/bnep-tester.c | 15 +--------------
> > > > tools/bneptest.c | 15 +--------------
> > > > tools/btattach.c | 15 +--------------
> > > > tools/btconfig.c | 15 +--------------
> > > > tools/btgatt-client.c | 15 +--------------
> > > > tools/btgatt-server.c | 11 +----------
> > > > tools/btinfo.c | 15 +--------------
> > > > tools/btiotest.c | 15 +--------------
> > > > tools/btmgmt.c | 15 +--------------
> > > > tools/btmon-logger.c | 15 +--------------
> > > > tools/btpclient.c | 15 +--------------
> > > > tools/btpclientctl.c | 15 +--------------
> > > > tools/btproxy.c | 15 +--------------
> > > > tools/btsnoop.c | 15 +--------------
> > > > tools/check-selftest.c | 15 +--------------
> > > > tools/ciptool.c | 15 +--------------
> > > > tools/cltest.c | 15 +--------------
> > > > tools/create-image.c | 15 +--------------
> > > > tools/csr.c | 15 +--------------
> > > > tools/csr.h | 15 +--------------
> > > > tools/csr_3wire.c | 15 +--------------
> > > > tools/csr_bcsp.c | 15 +--------------
> > > > tools/csr_h4.c | 15 +--------------
> > > > tools/csr_hci.c | 15 +--------------
> > > > tools/csr_usb.c | 15 +--------------
> > > > tools/eddystone.c | 15 +--------------
> > > > tools/gap-tester.c | 15 +--------------
> > > > tools/gatt-service.c | 15 +--------------
> > > > tools/hci-tester.c | 15 +--------------
> > > > tools/hciattach.c | 15 +--------------
> > > > tools/hciattach.h | 15 +--------------
> > > > tools/hciattach_ath3k.c | 15 +--------------
> > > > tools/hciattach_bcm43xx.c | 15 +--------------
> > > > tools/hciattach_intel.c | 15 +--------------
> > > > tools/hciattach_qualcomm.c | 15 +--------------
> > > > tools/hciattach_st.c | 15 +--------------
> > > > tools/hciattach_ti.c | 15 +--------------
> > > > tools/hciattach_tialt.c | 15 +--------------
> > > > tools/hciconfig.c | 15 +--------------
> > > > tools/hcidump.c | 15 +--------------
> > > > tools/hcieventmask.c | 15 +--------------
> > > > tools/hcisecfilter.c | 15 +--------------
> > > > tools/hcitool.c | 15 +--------------
> > > > tools/hex2hcd.c | 15 +--------------
> > > > tools/hid2hci.c | 15 +--------------
> > > > tools/hwdb.c | 15 +--------------
> > > > tools/ibeacon.c | 15 +--------------
> > > > tools/l2cap-tester.c | 15 +--------------
> > > > tools/l2ping.c | 15 +--------------
> > > > tools/l2test.c | 15 +--------------
> > > > tools/mcaptest.c | 15 +--------------
> > > > tools/mesh-cfgclient.c | 11 +----------
> > > > tools/mesh-gatt/config-client.c | 15 +--------------
> > > > tools/mesh-gatt/config-server.c | 15 +--------------
> > > > tools/mesh-gatt/crypto.c | 15 +--------------
> > > > tools/mesh-gatt/crypto.h | 15 +--------------
> > > > tools/mesh-gatt/gatt.c | 15 +--------------
> > > > tools/mesh-gatt/gatt.h | 15 +--------------
> > > > tools/mesh-gatt/keys.h | 15 +--------------
> > > > tools/mesh-gatt/mesh-net.h | 15 +--------------
> > > > tools/mesh-gatt/net.c | 15 +--------------
> > > > tools/mesh-gatt/net.h | 15 +--------------
> > > > tools/mesh-gatt/node.c | 15 +--------------
> > > > tools/mesh-gatt/node.h | 15 +--------------
> > > > tools/mesh-gatt/onoff-model.c | 15 +--------------
> > > > tools/mesh-gatt/onoff-model.h | 15 +--------------
> > > > tools/mesh-gatt/prov-db.c | 15 +--------------
> > > > tools/mesh-gatt/prov-db.h | 15 +--------------
> > > > tools/mesh-gatt/prov.c | 15 +--------------
> > > > tools/mesh-gatt/prov.h | 15 +--------------
> > > > tools/mesh-gatt/util.c | 15 +--------------
> > > > tools/mesh-gatt/util.h | 15 +--------------
> > > > tools/mesh/agent.c | 15 +--------------
> > > > tools/mesh/agent.h | 15 +--------------
> > > > tools/mesh/cfgcli.c | 12 +-----------
> > > > tools/mesh/cfgcli.h | 12 +-----------
> > > > tools/mesh/config-model.h | 15 +--------------
> > > > tools/mesh/keys.c | 12 +-----------
> > > > tools/mesh/keys.h | 12 +-----------
> > > > tools/mesh/mesh-db.c | 11 +----------
> > > > tools/mesh/mesh-db.h | 11 +----------
> > > > tools/mesh/model.h | 12 +-----------
> > > > tools/mesh/remote.c | 11 +----------
> > > > tools/mesh/remote.h | 11 +----------
> > > > tools/mesh/util.c | 11 +----------
> > > > tools/mesh/util.h | 11 +----------
> > > > tools/meshctl.c | 15 +--------------
> > > > tools/mgmt-tester.c | 15 +--------------
> > > > tools/mpris-proxy.c | 15 +--------------
> > > > tools/nokfw.c | 15 +--------------
> > > > tools/obex-client-tool.c | 14 +-------------
> > > > tools/obex-server-tool.c | 14 +-------------
> > > > tools/obexctl.c | 15 +--------------
> > > > tools/oobtest.c | 15 +--------------
> > > > tools/parser/amp.c | 15 +--------------
> > > > tools/parser/att.c | 15 +--------------
> > > > tools/parser/avctp.c | 15 +--------------
> > > > tools/parser/avdtp.c | 15 +--------------
> > > > tools/parser/avrcp.c | 15 +--------------
> > > > tools/parser/bnep.c | 15 +--------------
> > > > tools/parser/bpa.c | 15 +--------------
> > > > tools/parser/capi.c | 15 +--------------
> > > > tools/parser/cmtp.c | 15 +--------------
> > > > tools/parser/csr.c | 15 +--------------
> > > > tools/parser/ericsson.c | 15 +--------------
> > > > tools/parser/hci.c | 15 +--------------
> > > > tools/parser/hcrp.c | 15 +--------------
> > > > tools/parser/hidp.c | 15 +--------------
> > > > tools/parser/l2cap.c | 15 +--------------
> > > > tools/parser/l2cap.h | 15 +--------------
> > > > tools/parser/lmp.c | 15 +--------------
> > > > tools/parser/obex.c | 15 +--------------
> > > > tools/parser/parser.c | 15 +--------------
> > > > tools/parser/parser.h | 15 +--------------
> > > > tools/parser/ppp.c | 15 +--------------
> > > > tools/parser/rfcomm.c | 15 +--------------
> > > > tools/parser/rfcomm.h | 15 +--------------
> > > > tools/parser/sap.c | 15 +--------------
> > > > tools/parser/sdp.c | 15 +--------------
> > > > tools/parser/sdp.h | 15 +--------------
> > > > tools/parser/smp.c | 15 +--------------
> > > > tools/parser/tcpip.c | 15 +--------------
> > > > tools/rctest.c | 15 +--------------
> > > > tools/rfcomm-tester.c | 15 +--------------
> > > > tools/rfcomm.c | 15 +--------------
> > > > tools/rtlfw.c | 15 +--------------
> > > > tools/sco-tester.c | 15 +--------------
> > > > tools/scotest.c | 15 +--------------
> > > > tools/sdptool.c | 15 +--------------
> > > > tools/seq2bseq.c | 15 +--------------
> > > > tools/smp-tester.c | 15 +--------------
> > > > tools/test-runner.c | 15 +--------------
> > > > tools/ubcsp.c | 20 +-------------------
> > > > tools/ubcsp.h | 20 +-------------------
> > > > tools/userchan-tester.c | 15 +--------------
> > > > unit/test-avctp.c | 15 +--------------
> > > > unit/test-avdtp.c | 15 +--------------
> > > > unit/test-avrcp.c | 15 +--------------
> > > > unit/test-crc.c | 15 +--------------
> > > > unit/test-crypto.c | 15 +--------------
> > > > unit/test-ecc.c | 21 +--------------------
> > > > unit/test-eir.c | 15 +--------------
> > > > unit/test-gatt.c | 15 +--------------
> > > > unit/test-gattrib.c | 15 +--------------
> > > > unit/test-gdbus-client.c | 15 +--------------
> > > > unit/test-gobex-apparam.c | 15 +--------------
> > > > unit/test-gobex-header.c | 15 +--------------
> > > > unit/test-gobex-packet.c | 15 +--------------
> > > > unit/test-gobex-transfer.c | 15 +--------------
> > > > unit/test-gobex.c | 15 +--------------
> > > > unit/test-hfp.c | 15 +--------------
> > > > unit/test-hog.c | 15 +--------------
> > > > unit/test-lib.c | 15 +--------------
> > > > unit/test-mesh-crypto.c | 11 +----------
> > > > unit/test-mgmt.c | 15 +--------------
> > > > unit/test-midi.c | 16 +---------------
> > > > unit/test-queue.c | 15 +--------------
> > > > unit/test-ringbuf.c | 15 +--------------
> > > > unit/test-sdp.c | 15 +--------------
> > > > unit/test-textfile.c | 15 +--------------
> > > > unit/test-uhid.c | 15 +--------------
> > > > unit/test-uuid.c | 15 +--------------
> > > > unit/util.c | 14 +-------------
> > > > unit/util.h | 14 +-------------
> > > > 758 files changed, 758 insertions(+), 10148 deletions(-)
> > >
> > > --
> > > pozdrawiam
> > > Szymon Janc
> > >
> > >
> >
> >



--
Luiz Augusto von Dentz

2020-09-15 22:17:04

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: [BlueZ v3 00/17] Add SPDX License Identifier

Hi Szymon,

On Tue, Sep 15, 2020 at 12:24 AM Szymon Janc <[email protected]> wrote:
>
> Hi,
>
> On Tuesday, 15 September 2020 02:04:40 CEST [email protected] wrote:
> > From: Tedd Ho-Jeong An <[email protected]>
> >
> > This patch series adds SPDX License Identifier to the source/heade files
> > based on the existing license header and removes the license text.
> >
> > The SDPX License Identifier is added in form of a comment based on file
> > type with the same rule from the Linxu kernel source, and added to the
> > first line of the file.
> >
> > C source: // SPDX-License-Identifer: <License>
>
> Why C++ style comments in C source?
>
> > C header: /* SPDX-License-Identifer: <License> */
> >
> > For SPDX-License Identifier, it used the identifer from the SPDX License
> > list page(https://spdx.org/licenses).
>
> INAL but SPDX identifier itself is insufficied for license compliance.
>
> If we really want to (I don't have strong opinion about this) remove license
> headers in favour of only having SPDX then we need files with licenses text
> etc to be part of distribution. Pretty much the same what kernel folks did.

We should probably create a LICENSES directory with the full license
text, but for the source files the SPDX identifier should be enough,
something like:

LICENSES/
./preferred/{GPL-2.0, LGPL-2.1, BSD-2-Clause, MIT}
./dual/Apache-2.0

The kernel don't seem to be using or-later variant of GPL perhaps to
avoid (L)GPL 3.0 clauses.

> > For the summary, currently BlueZ sources have following licenses:
> >
> > -------------------------------------------
> > License File Count
> > -------------------------------------------
> > GPL-2.0-or-later : 393
> > LGPL-2.1-or-later : 273
> > BSD-2-Clause : 3
> > GPL-2.0-only : 5
> > MIT : 2
> > Apache-2.0 : 80
> > N/A : 1325
> >
> > Note that N/A includes the following files/folders
> > - .git/
> > - doc/
> > - Build related files (Makefile, etc)

In Zephyr we do have license for build related files, not sure what
license we should use though, perhaps LGPL is better for these.

> > - Configuration files
> > - Test scripts (python, etc)

The tests scripts we might want to have license as well, LGPL might be
a better here as well.

> >
> > Tedd Ho-Jeong An (17):
> > android: Add SPDX License Identifier
> > attrib: Add SPDX License Identifier
> > btio: Add SPDX License Identifier
> > client: Add SPDX License Identifier
> > emulator: Add SPDX License Identifier
> > gdbus: Add SPDX License Identifier
> > gobex: Add SPDX License Identifier
> > lib: Add SPDX License Identifier
> > mesh: Add SPDX License Identifier
> > monitor: Add SPDX License Identifier
> > obexd: Add SPDX License Identifier
> > peripheral: Add SPDX License Identifier
> > plugins: Add SPDX License Identifier
> > profiles: Add SPDX License Identifier
> > unit: Add SPDX License Identifier
> > src: Add SPDX License Identifier
> > tools: Add SPDX License Identifier
> >
> > android/a2dp-sink.c | 15 +--------------
> > android/a2dp-sink.h | 15 +--------------
> > android/a2dp.c | 15 +--------------
> > android/a2dp.h | 15 +--------------
> > android/audio-msg.h | 15 +--------------
> > android/audio_utils/resampler.c | 12 +-----------
> > android/audio_utils/resampler.h | 12 +-----------
> > android/avctp.c | 15 +--------------
> > android/avctp.h | 15 +--------------
> > android/avdtp.c | 15 +--------------
> > android/avdtp.h | 15 +--------------
> > android/avdtptest.c | 15 +--------------
> > android/avrcp-lib.c | 15 +--------------
> > android/avrcp-lib.h | 15 +--------------
> > android/avrcp.c | 15 +--------------
> > android/avrcp.h | 15 +--------------
> > android/bluetooth.c | 15 +--------------
> > android/bluetooth.h | 15 +--------------
> > android/bluetoothd-snoop.c | 15 +--------------
> > android/bluetoothd-wrapper.c | 13 +------------
> > android/client/haltest.c | 13 +------------
> > android/client/history.c | 13 +------------
> > android/client/history.h | 13 +------------
> > android/client/if-audio.c | 13 +------------
> > android/client/if-av-sink.c | 13 +------------
> > android/client/if-av.c | 13 +------------
> > android/client/if-bt.c | 13 +------------
> > android/client/if-gatt.c | 13 +------------
> > android/client/if-hf-client.c | 13 +------------
> > android/client/if-hf.c | 13 +------------
> > android/client/if-hh.c | 13 +------------
> > android/client/if-hl.c | 13 +------------
> > android/client/if-main.h | 13 +------------
> > android/client/if-mce.c | 13 +------------
> > android/client/if-pan.c | 13 +------------
> > android/client/if-rc-ctrl.c | 13 +------------
> > android/client/if-rc.c | 13 +------------
> > android/client/if-sco.c | 13 +------------
> > android/client/if-sock.c | 13 +------------
> > android/client/pollhandler.c | 13 +------------
> > android/client/pollhandler.h | 13 +------------
> > android/client/tabcompletion.c | 13 +------------
> > android/client/terminal.c | 13 +------------
> > android/client/terminal.h | 13 +------------
> > android/compat/readline/history.h | 15 +--------------
> > android/compat/readline/readline.h | 15 +--------------
> > android/compat/wordexp.h | 15 +--------------
> > android/cutils/properties.h | 15 +--------------
> > android/gatt.c | 15 +--------------
> > android/gatt.h | 15 +--------------
> > android/hal-a2dp-sink.c | 13 +------------
> > android/hal-a2dp.c | 13 +------------
> > android/hal-audio-aptx.c | 13 +------------
> > android/hal-audio-sbc.c | 13 +------------
> > android/hal-audio.c | 13 +------------
> > android/hal-audio.h | 13 +------------
> > android/hal-avrcp-ctrl.c | 13 +------------
> > android/hal-avrcp.c | 13 +------------
> > android/hal-bluetooth.c | 13 +------------
> > android/hal-gatt.c | 13 +------------
> > android/hal-handsfree-client.c | 13 +------------
> > android/hal-handsfree.c | 13 +------------
> > android/hal-health.c | 13 +------------
> > android/hal-hidhost.c | 13 +------------
> > android/hal-ipc.c | 13 +------------
> > android/hal-ipc.h | 13 +------------
> > android/hal-log.h | 13 +------------
> > android/hal-map-client.c | 13 +------------
> > android/hal-msg.h | 15 +--------------
> > android/hal-pan.c | 13 +------------
> > android/hal-sco.c | 13 +------------
> > android/hal-socket.c | 13 +------------
> > android/hal-utils.c | 13 +------------
> > android/hal-utils.h | 13 +------------
> > android/hal.h | 13 +------------
> > android/handsfree-client.c | 15 +--------------
> > android/handsfree-client.h | 15 +--------------
> > android/handsfree.c | 15 +--------------
> > android/handsfree.h | 15 +--------------
> > android/hardware/audio.h | 12 +-----------
> > android/hardware/audio_effect.h | 12 +-----------
> > android/hardware/bluetooth.h | 12 +-----------
> > android/hardware/bt_av.h | 12 +-----------
> > android/hardware/bt_gatt.h | 12 +-----------
> > android/hardware/bt_gatt_client.h | 12 +-----------
> > android/hardware/bt_gatt_server.h | 12 +-----------
> > android/hardware/bt_gatt_types.h | 12 +-----------
> > android/hardware/bt_hf.h | 12 +-----------
> > android/hardware/bt_hf_client.h | 12 +-----------
> > android/hardware/bt_hh.h | 12 +-----------
> > android/hardware/bt_hl.h | 12 +-----------
> > android/hardware/bt_mce.h | 12 +-----------
> > android/hardware/bt_pan.h | 12 +-----------
> > android/hardware/bt_rc.h | 12 +-----------
> > android/hardware/bt_sock.h | 12 +-----------
> > android/hardware/hardware.c | 12 +-----------
> > android/hardware/hardware.h | 12 +-----------
> > android/health.c | 15 +--------------
> > android/health.h | 15 +--------------
> > android/hidhost.c | 15 +--------------
> > android/hidhost.h | 15 +--------------
> > android/ipc-common.h | 15 +--------------
> > android/ipc-tester.c | 15 +--------------
> > android/ipc.c | 15 +--------------
> > android/ipc.h | 15 +--------------
> > android/log.c | 15 +--------------
> > android/main.c | 15 +--------------
> > android/map-client.c | 15 +--------------
> > android/map-client.h | 15 +--------------
> > android/pan.c | 15 +--------------
> > android/pan.h | 15 +--------------
> > android/sco-msg.h | 15 +--------------
> > android/sco.c | 15 +--------------
> > android/sco.h | 15 +--------------
> > android/socket.c | 15 +--------------
> > android/socket.h | 15 +--------------
> > android/system-emulator.c | 15 +--------------
> > android/system/audio.h | 12 +-----------
> > android/test-ipc.c | 15 +--------------
> > android/tester-a2dp.c | 13 +------------
> > android/tester-avrcp.c | 13 +------------
> > android/tester-bluetooth.c | 13 +------------
> > android/tester-gatt.c | 13 +------------
> > android/tester-hdp.c | 13 +------------
> > android/tester-hidhost.c | 13 +------------
> > android/tester-main.c | 13 +------------
> > android/tester-main.h | 15 +--------------
> > android/tester-map-client.c | 13 +------------
> > android/tester-pan.c | 13 +------------
> > android/tester-socket.c | 13 +------------
> > android/utils.h | 15 +--------------
> > attrib/att-database.h | 15 +--------------
> > attrib/att.c | 15 +--------------
> > attrib/att.h | 15 +--------------
> > attrib/gatt-service.c | 15 +--------------
> > attrib/gatt-service.h | 15 +--------------
> > attrib/gatt.c | 15 +--------------
> > attrib/gatt.h | 15 +--------------
> > attrib/gattrib.c | 15 +--------------
> > attrib/gattrib.h | 15 +--------------
> > attrib/gatttool.c | 15 +--------------
> > attrib/gatttool.h | 15 +--------------
> > attrib/interactive.c | 15 +--------------
> > attrib/utils.c | 15 +--------------
> > btio/btio.c | 15 +--------------
> > btio/btio.h | 15 +--------------
> > client/advertising.c | 15 +--------------
> > client/advertising.h | 15 +--------------
> > client/agent.c | 15 +--------------
> > client/agent.h | 15 +--------------
> > client/display.c | 15 +--------------
> > client/display.h | 15 +--------------
> > client/gatt.c | 15 +--------------
> > client/gatt.h | 15 +--------------
> > client/main.c | 15 +--------------
> > emulator/amp.c | 15 +--------------
> > emulator/amp.h | 15 +--------------
> > emulator/b1ee.c | 15 +--------------
> > emulator/btdev.c | 15 +--------------
> > emulator/btdev.h | 15 +--------------
> > emulator/bthost.c | 15 +--------------
> > emulator/bthost.h | 15 +--------------
> > emulator/hciemu.c | 15 +--------------
> > emulator/hciemu.h | 15 +--------------
> > emulator/hfp.c | 15 +--------------
> > emulator/le.c | 15 +--------------
> > emulator/le.h | 15 +--------------
> > emulator/main.c | 15 +--------------
> > emulator/phy.c | 15 +--------------
> > emulator/phy.h | 15 +--------------
> > emulator/serial.c | 15 +--------------
> > emulator/serial.h | 15 +--------------
> > emulator/server.c | 15 +--------------
> > emulator/server.h | 15 +--------------
> > emulator/smp.c | 15 +--------------
> > emulator/vhci.c | 15 +--------------
> > emulator/vhci.h | 15 +--------------
> > gdbus/client.c | 15 +--------------
> > gdbus/gdbus.h | 15 +--------------
> > gdbus/mainloop.c | 15 +--------------
> > gdbus/object.c | 15 +--------------
> > gdbus/polkit.c | 15 +--------------
> > gdbus/watch.c | 15 +--------------
> > gobex/gobex-apparam.c | 15 +--------------
> > gobex/gobex-apparam.h | 15 +--------------
> > gobex/gobex-debug.h | 15 +--------------
> > gobex/gobex-defs.c | 15 +--------------
> > gobex/gobex-defs.h | 15 +--------------
> > gobex/gobex-header.c | 15 +--------------
> > gobex/gobex-header.h | 15 +--------------
> > gobex/gobex-packet.c | 15 +--------------
> > gobex/gobex-packet.h | 15 +--------------
> > gobex/gobex-transfer.c | 15 +--------------
> > gobex/gobex.c | 15 +--------------
> > gobex/gobex.h | 15 +--------------
> > lib/a2mp.h | 15 +--------------
> > lib/amp.h | 10 +---------
> > lib/bluetooth.c | 15 +--------------
> > lib/bluetooth.h | 15 +--------------
> > lib/bnep.h | 15 +--------------
> > lib/cmtp.h | 15 +--------------
> > lib/hci.c | 15 +--------------
> > lib/hci.h | 15 +--------------
> > lib/hci_lib.h | 15 +--------------
> > lib/hidp.h | 15 +--------------
> > lib/l2cap.h | 15 +--------------
> > lib/mgmt.h | 15 +--------------
> > lib/rfcomm.h | 15 +--------------
> > lib/sco.h | 15 +--------------
> > lib/sdp.c | 15 +--------------
> > lib/sdp.h | 15 +--------------
> > lib/sdp_lib.h | 15 +--------------
> > lib/uuid.c | 15 +--------------
> > lib/uuid.h | 15 +--------------
> > mesh/agent.c | 11 +----------
> > mesh/agent.h | 11 +----------
> > mesh/appkey.c | 11 +----------
> > mesh/appkey.h | 11 +----------
> > mesh/cfgmod-server.c | 11 +----------
> > mesh/cfgmod.h | 11 +----------
> > mesh/crypto.c | 11 +----------
> > mesh/crypto.h | 11 +----------
> > mesh/dbus.c | 11 +----------
> > mesh/dbus.h | 11 +----------
> > mesh/error.h | 11 +----------
> > mesh/friend.c | 11 +----------
> > mesh/friend.h | 11 +----------
> > mesh/keyring.c | 11 +----------
> > mesh/keyring.h | 11 +----------
> > mesh/main.c | 11 +----------
> > mesh/manager.c | 11 +----------
> > mesh/manager.h | 11 +----------
> > mesh/mesh-config-json.c | 11 +----------
> > mesh/mesh-config.h | 11 +----------
> > mesh/mesh-defs.h | 12 +-----------
> > mesh/mesh-io-api.h | 11 +----------
> > mesh/mesh-io-generic.c | 11 +----------
> > mesh/mesh-io-generic.h | 11 +----------
> > mesh/mesh-io.c | 11 +----------
> > mesh/mesh-io.h | 11 +----------
> > mesh/mesh-mgmt.c | 11 +----------
> > mesh/mesh-mgmt.h | 11 +----------
> > mesh/mesh.c | 11 +----------
> > mesh/mesh.h | 11 +----------
> > mesh/model.c | 11 +----------
> > mesh/model.h | 11 +----------
> > mesh/net-keys.c | 11 +----------
> > mesh/net-keys.h | 11 +----------
> > mesh/net.c | 11 +----------
> > mesh/net.h | 11 +----------
> > mesh/node.c | 11 +----------
> > mesh/node.h | 11 +----------
> > mesh/pb-adv.c | 11 +----------
> > mesh/pb-adv.h | 11 +----------
> > mesh/prov-acceptor.c | 11 +----------
> > mesh/prov-initiator.c | 11 +----------
> > mesh/prov.h | 11 +----------
> > mesh/provision.h | 11 +----------
> > mesh/rpl.c | 11 +----------
> > mesh/rpl.h | 11 +----------
> > mesh/util.c | 11 +----------
> > mesh/util.h | 11 +----------
> > monitor/a2dp.c | 15 +--------------
> > monitor/a2dp.h | 15 +--------------
> > monitor/analyze.c | 15 +--------------
> > monitor/analyze.h | 15 +--------------
> > monitor/avctp.c | 15 +--------------
> > monitor/avctp.h | 15 +--------------
> > monitor/avdtp.c | 15 +--------------
> > monitor/avdtp.h | 15 +--------------
> > monitor/bnep.c | 15 +--------------
> > monitor/bnep.h | 15 +--------------
> > monitor/broadcom.c | 15 +--------------
> > monitor/broadcom.h | 15 +--------------
> > monitor/bt.h | 15 +--------------
> > monitor/control.c | 15 +--------------
> > monitor/control.h | 15 +--------------
> > monitor/crc.c | 15 +--------------
> > monitor/crc.h | 15 +--------------
> > monitor/display.c | 15 +--------------
> > monitor/display.h | 15 +--------------
> > monitor/ellisys.c | 15 +--------------
> > monitor/ellisys.h | 15 +--------------
> > monitor/hcidump.c | 15 +--------------
> > monitor/hcidump.h | 15 +--------------
> > monitor/hwdb.c | 15 +--------------
> > monitor/hwdb.h | 15 +--------------
> > monitor/intel.c | 15 +--------------
> > monitor/intel.h | 15 +--------------
> > monitor/jlink.c | 15 +--------------
> > monitor/jlink.h | 15 +--------------
> > monitor/keys.c | 15 +--------------
> > monitor/keys.h | 15 +--------------
> > monitor/l2cap.c | 15 +--------------
> > monitor/l2cap.h | 15 +--------------
> > monitor/ll.c | 15 +--------------
> > monitor/ll.h | 15 +--------------
> > monitor/lmp.c | 15 +--------------
> > monitor/lmp.h | 15 +--------------
> > monitor/main.c | 15 +--------------
> > monitor/packet.c | 15 +--------------
> > monitor/packet.h | 15 +--------------
> > monitor/rfcomm.c | 15 +--------------
> > monitor/rfcomm.h | 15 +--------------
> > monitor/sdp.c | 15 +--------------
> > monitor/sdp.h | 15 +--------------
> > monitor/tty.h | 15 +--------------
> > monitor/vendor.c | 15 +--------------
> > monitor/vendor.h | 15 +--------------
> > obexd/client/bluetooth.c | 15 +--------------
> > obexd/client/bluetooth.h | 15 +--------------
> > obexd/client/driver.c | 15 +--------------
> > obexd/client/driver.h | 15 +--------------
> > obexd/client/ftp.c | 15 +--------------
> > obexd/client/ftp.h | 15 +--------------
> > obexd/client/manager.c | 15 +--------------
> > obexd/client/manager.h | 15 +--------------
> > obexd/client/map-event.c | 15 +--------------
> > obexd/client/map-event.h | 15 +--------------
> > obexd/client/map.c | 15 +--------------
> > obexd/client/map.h | 15 +--------------
> > obexd/client/mns.c | 15 +--------------
> > obexd/client/opp.c | 15 +--------------
> > obexd/client/opp.h | 15 +--------------
> > obexd/client/pbap.c | 15 +--------------
> > obexd/client/pbap.h | 15 +--------------
> > obexd/client/session.c | 15 +--------------
> > obexd/client/session.h | 15 +--------------
> > obexd/client/sync.c | 15 +--------------
> > obexd/client/sync.h | 15 +--------------
> > obexd/client/transfer.c | 15 +--------------
> > obexd/client/transfer.h | 15 +--------------
> > obexd/client/transport.c | 15 +--------------
> > obexd/client/transport.h | 15 +--------------
> > obexd/plugins/bluetooth.c | 15 +--------------
> > obexd/plugins/filesystem.c | 15 +--------------
> > obexd/plugins/filesystem.h | 15 +--------------
> > obexd/plugins/ftp.c | 15 +--------------
> > obexd/plugins/ftp.h | 15 +--------------
> > obexd/plugins/irmc.c | 15 +--------------
> > obexd/plugins/mas.c | 15 +--------------
> > obexd/plugins/messages-dummy.c | 15 +--------------
> > obexd/plugins/messages-tracker.c | 15 +--------------
> > obexd/plugins/messages.h | 15 +--------------
> > obexd/plugins/opp.c | 15 +--------------
> > obexd/plugins/pbap.c | 15 +--------------
> > obexd/plugins/pcsuite.c | 15 +--------------
> > obexd/plugins/phonebook-dummy.c | 15 +--------------
> > obexd/plugins/phonebook-ebook.c | 15 +--------------
> > obexd/plugins/phonebook-tracker.c | 15 +--------------
> > obexd/plugins/phonebook.h | 15 +--------------
> > obexd/plugins/syncevolution.c | 15 +--------------
> > obexd/plugins/vcard.c | 15 +--------------
> > obexd/plugins/vcard.h | 15 +--------------
> > obexd/src/log.c | 15 +--------------
> > obexd/src/log.h | 15 +--------------
> > obexd/src/main.c | 15 +--------------
> > obexd/src/manager.c | 15 +--------------
> > obexd/src/manager.h | 15 +--------------
> > obexd/src/map_ap.h | 15 +--------------
> > obexd/src/mimetype.c | 15 +--------------
> > obexd/src/mimetype.h | 15 +--------------
> > obexd/src/obex-priv.h | 15 +--------------
> > obexd/src/obex.c | 15 +--------------
> > obexd/src/obex.h | 15 +--------------
> > obexd/src/obexd.h | 15 +--------------
> > obexd/src/plugin.c | 15 +--------------
> > obexd/src/plugin.h | 15 +--------------
> > obexd/src/server.c | 15 +--------------
> > obexd/src/server.h | 15 +--------------
> > obexd/src/service.c | 15 +--------------
> > obexd/src/service.h | 15 +--------------
> > obexd/src/transport.c | 15 +--------------
> > obexd/src/transport.h | 15 +--------------
> > peripheral/attach.c | 15 +--------------
> > peripheral/attach.h | 15 +--------------
> > peripheral/efivars.c | 15 +--------------
> > peripheral/efivars.h | 15 +--------------
> > peripheral/gap.c | 15 +--------------
> > peripheral/gap.h | 15 +--------------
> > peripheral/gatt.c | 15 +--------------
> > peripheral/gatt.h | 15 +--------------
> > peripheral/log.c | 15 +--------------
> > peripheral/log.h | 15 +--------------
> > peripheral/main.c | 15 +--------------
> > plugins/autopair.c | 15 +--------------
> > plugins/external-dummy.c | 15 +--------------
> > plugins/hostname.c | 15 +--------------
> > plugins/neard.c | 15 +--------------
> > plugins/policy.c | 15 +--------------
> > plugins/sixaxis.c | 15 +--------------
> > plugins/wiimote.c | 15 +--------------
> > profiles/audio/a2dp-codecs.h | 15 +--------------
> > profiles/audio/a2dp.c | 15 +--------------
> > profiles/audio/a2dp.h | 15 +--------------
> > profiles/audio/avctp.c | 15 +--------------
> > profiles/audio/avctp.h | 15 +--------------
> > profiles/audio/avdtp.c | 15 +--------------
> > profiles/audio/avdtp.h | 15 +--------------
> > profiles/audio/avrcp.c | 15 +--------------
> > profiles/audio/avrcp.h | 15 +--------------
> > profiles/audio/control.c | 15 +--------------
> > profiles/audio/control.h | 15 +--------------
> > profiles/audio/media.c | 15 +--------------
> > profiles/audio/media.h | 15 +--------------
> > profiles/audio/player.c | 15 +--------------
> > profiles/audio/player.h | 15 +--------------
> > profiles/audio/sink.c | 15 +--------------
> > profiles/audio/sink.h | 15 +--------------
> > profiles/audio/source.c | 15 +--------------
> > profiles/audio/source.h | 15 +--------------
> > profiles/audio/transport.c | 15 +--------------
> > profiles/audio/transport.h | 15 +--------------
> > profiles/battery/bas.c | 15 +--------------
> > profiles/battery/bas.h | 15 +--------------
> > profiles/battery/battery.c | 10 +---------
> > profiles/cups/cups.h | 15 +--------------
> > profiles/cups/hcrp.c | 15 +--------------
> > profiles/cups/main.c | 15 +--------------
> > profiles/cups/sdp.c | 15 +--------------
> > profiles/cups/spp.c | 15 +--------------
> > profiles/deviceinfo/deviceinfo.c | 15 +--------------
> > profiles/deviceinfo/dis.c | 15 +--------------
> > profiles/deviceinfo/dis.h | 15 +--------------
> > profiles/gap/gas.c | 10 +---------
> > profiles/health/hdp.c | 15 +--------------
> > profiles/health/hdp.h | 15 +--------------
> > profiles/health/hdp_main.c | 15 +--------------
> > profiles/health/hdp_manager.c | 15 +--------------
> > profiles/health/hdp_manager.h | 15 +--------------
> > profiles/health/hdp_types.h | 15 +--------------
> > profiles/health/hdp_util.c | 15 +--------------
> > profiles/health/hdp_util.h | 15 +--------------
> > profiles/health/mcap.c | 15 +--------------
> > profiles/health/mcap.h | 15 +--------------
> > profiles/iap/main.c | 15 +--------------
> > profiles/input/device.c | 15 +--------------
> > profiles/input/device.h | 15 +--------------
> > profiles/input/hidp_defs.h | 15 +--------------
> > profiles/input/hog-lib.c | 15 +--------------
> > profiles/input/hog-lib.h | 15 +--------------
> > profiles/input/hog.c | 15 +--------------
> > profiles/input/manager.c | 15 +--------------
> > profiles/input/server.c | 15 +--------------
> > profiles/input/server.h | 15 +--------------
> > profiles/input/sixaxis.h | 15 +--------------
> > profiles/input/suspend-dummy.c | 15 +--------------
> > profiles/input/suspend-none.c | 15 +--------------
> > profiles/input/suspend.h | 15 +--------------
> > profiles/midi/libmidi.c | 16 +---------------
> > profiles/midi/libmidi.h | 16 +---------------
> > profiles/midi/midi.c | 20 +-------------------
> > profiles/network/bnep.c | 15 +--------------
> > profiles/network/bnep.h | 15 +--------------
> > profiles/network/connection.c | 15 +--------------
> > profiles/network/connection.h | 15 +--------------
> > profiles/network/manager.c | 15 +--------------
> > profiles/network/server.c | 15 +--------------
> > profiles/network/server.h | 15 +--------------
> > profiles/sap/main.c | 14 +-------------
> > profiles/sap/manager.c | 14 +-------------
> > profiles/sap/manager.h | 14 +-------------
> > profiles/sap/sap-dummy.c | 14 +-------------
> > profiles/sap/sap.h | 14 +-------------
> > profiles/sap/server.c | 14 +-------------
> > profiles/sap/server.h | 14 +-------------
> > profiles/scanparam/scan.c | 15 +--------------
> > profiles/scanparam/scpp.c | 15 +--------------
> > profiles/scanparam/scpp.h | 15 +--------------
> > src/adapter.c | 15 +--------------
> > src/adapter.h | 15 +--------------
> > src/adv_monitor.c | 11 +----------
> > src/adv_monitor.h | 11 +----------
> > src/advertising.c | 11 +----------
> > src/advertising.h | 11 +----------
> > src/agent.c | 15 +--------------
> > src/agent.h | 15 +--------------
> > src/attrib-server.c | 15 +--------------
> > src/attrib-server.h | 15 +--------------
> > src/backtrace.c | 15 +--------------
> > src/backtrace.h | 15 +--------------
> > src/dbus-common.c | 15 +--------------
> > src/dbus-common.h | 15 +--------------
> > src/device.c | 15 +--------------
> > src/device.h | 15 +--------------
> > src/eir.c | 15 +--------------
> > src/eir.h | 15 +--------------
> > src/error.c | 15 +--------------
> > src/error.h | 15 +--------------
> > src/gatt-client.c | 11 +----------
> > src/gatt-client.h | 11 +----------
> > src/gatt-database.c | 11 +----------
> > src/gatt-database.h | 11 +----------
> > src/hcid.h | 15 +--------------
> > src/log.c | 15 +--------------
> > src/log.h | 15 +--------------
> > src/main.c | 15 +--------------
> > src/oui.c | 15 +--------------
> > src/oui.h | 15 +--------------
> > src/plugin.c | 15 +--------------
> > src/plugin.h | 15 +--------------
> > src/profile.c | 15 +--------------
> > src/profile.h | 15 +--------------
> > src/rfkill.c | 15 +--------------
> > src/sdp-client.c | 15 +--------------
> > src/sdp-client.h | 15 +--------------
> > src/sdp-xml.c | 15 +--------------
> > src/sdp-xml.h | 15 +--------------
> > src/sdpd-database.c | 15 +--------------
> > src/sdpd-request.c | 15 +--------------
> > src/sdpd-server.c | 15 +--------------
> > src/sdpd-service.c | 15 +--------------
> > src/sdpd.h | 15 +--------------
> > src/service.c | 15 +--------------
> > src/service.h | 15 +--------------
> > src/shared/ad.c | 15 +--------------
> > src/shared/ad.h | 15 +--------------
> > src/shared/att-types.h | 15 +--------------
> > src/shared/att.c | 15 +--------------
> > src/shared/att.h | 15 +--------------
> > src/shared/btp.c | 15 +--------------
> > src/shared/btp.h | 15 +--------------
> > src/shared/btsnoop.c | 15 +--------------
> > src/shared/btsnoop.h | 15 +--------------
> > src/shared/crypto.c | 15 +--------------
> > src/shared/crypto.h | 15 +--------------
> > src/shared/ecc.c | 21 +--------------------
> > src/shared/ecc.h | 21 +--------------------
> > src/shared/gap.c | 15 +--------------
> > src/shared/gap.h | 15 +--------------
> > src/shared/gatt-client.c | 15 +--------------
> > src/shared/gatt-client.h | 15 +--------------
> > src/shared/gatt-db.c | 15 +--------------
> > src/shared/gatt-db.h | 15 +--------------
> > src/shared/gatt-helpers.c | 15 +--------------
> > src/shared/gatt-helpers.h | 15 +--------------
> > src/shared/gatt-server.c | 15 +--------------
> > src/shared/gatt-server.h | 15 +--------------
> > src/shared/hci-crypto.c | 15 +--------------
> > src/shared/hci-crypto.h | 15 +--------------
> > src/shared/hci.c | 15 +--------------
> > src/shared/hci.h | 15 +--------------
> > src/shared/hfp.c | 15 +--------------
> > src/shared/hfp.h | 15 +--------------
> > src/shared/io-ell.c | 15 +--------------
> > src/shared/io-glib.c | 15 +--------------
> > src/shared/io-mainloop.c | 15 +--------------
> > src/shared/io.h | 15 +--------------
> > src/shared/log.c | 15 +--------------
> > src/shared/log.h | 15 +--------------
> > src/shared/mainloop-ell.c | 12 +-----------
> > src/shared/mainloop-glib.c | 15 +--------------
> > src/shared/mainloop-notify.c | 15 +--------------
> > src/shared/mainloop-notify.h | 15 +--------------
> > src/shared/mainloop.c | 15 +--------------
> > src/shared/mainloop.h | 15 +--------------
> > src/shared/mgmt.c | 15 +--------------
> > src/shared/mgmt.h | 15 +--------------
> > src/shared/pcap.c | 15 +--------------
> > src/shared/pcap.h | 15 +--------------
> > src/shared/queue.c | 15 +--------------
> > src/shared/queue.h | 15 +--------------
> > src/shared/ringbuf.c | 15 +--------------
> > src/shared/ringbuf.h | 15 +--------------
> > src/shared/shell.c | 15 +--------------
> > src/shared/shell.h | 15 +--------------
> > src/shared/tester.c | 15 +--------------
> > src/shared/tester.h | 15 +--------------
> > src/shared/timeout-ell.c | 11 +----------
> > src/shared/timeout-glib.c | 11 +----------
> > src/shared/timeout-mainloop.c | 11 +----------
> > src/shared/timeout.h | 11 +----------
> > src/shared/tty.h | 15 +--------------
> > src/shared/uhid.c | 15 +--------------
> > src/shared/uhid.h | 15 +--------------
> > src/shared/util.c | 15 +--------------
> > src/shared/util.h | 15 +--------------
> > src/storage.c | 15 +--------------
> > src/storage.h | 15 +--------------
> > src/textfile.c | 15 +--------------
> > src/textfile.h | 15 +--------------
> > src/uinput.h | 15 +--------------
> > src/uuid-helper.c | 15 +--------------
> > src/uuid-helper.h | 15 +--------------
> > tools/3dsp.c | 15 +--------------
> > tools/advtest.c | 15 +--------------
> > tools/amptest.c | 15 +--------------
> > tools/avinfo.c | 15 +--------------
> > tools/avtest.c | 15 +--------------
> > tools/bccmd.c | 15 +--------------
> > tools/bcmfw.c | 15 +--------------
> > tools/bdaddr.c | 15 +--------------
> > tools/bluemoon.c | 15 +--------------
> > tools/bluetooth-player.c | 15 +--------------
> > tools/bnep-tester.c | 15 +--------------
> > tools/bneptest.c | 15 +--------------
> > tools/btattach.c | 15 +--------------
> > tools/btconfig.c | 15 +--------------
> > tools/btgatt-client.c | 15 +--------------
> > tools/btgatt-server.c | 11 +----------
> > tools/btinfo.c | 15 +--------------
> > tools/btiotest.c | 15 +--------------
> > tools/btmgmt.c | 15 +--------------
> > tools/btmon-logger.c | 15 +--------------
> > tools/btpclient.c | 15 +--------------
> > tools/btpclientctl.c | 15 +--------------
> > tools/btproxy.c | 15 +--------------
> > tools/btsnoop.c | 15 +--------------
> > tools/check-selftest.c | 15 +--------------
> > tools/ciptool.c | 15 +--------------
> > tools/cltest.c | 15 +--------------
> > tools/create-image.c | 15 +--------------
> > tools/csr.c | 15 +--------------
> > tools/csr.h | 15 +--------------
> > tools/csr_3wire.c | 15 +--------------
> > tools/csr_bcsp.c | 15 +--------------
> > tools/csr_h4.c | 15 +--------------
> > tools/csr_hci.c | 15 +--------------
> > tools/csr_usb.c | 15 +--------------
> > tools/eddystone.c | 15 +--------------
> > tools/gap-tester.c | 15 +--------------
> > tools/gatt-service.c | 15 +--------------
> > tools/hci-tester.c | 15 +--------------
> > tools/hciattach.c | 15 +--------------
> > tools/hciattach.h | 15 +--------------
> > tools/hciattach_ath3k.c | 15 +--------------
> > tools/hciattach_bcm43xx.c | 15 +--------------
> > tools/hciattach_intel.c | 15 +--------------
> > tools/hciattach_qualcomm.c | 15 +--------------
> > tools/hciattach_st.c | 15 +--------------
> > tools/hciattach_ti.c | 15 +--------------
> > tools/hciattach_tialt.c | 15 +--------------
> > tools/hciconfig.c | 15 +--------------
> > tools/hcidump.c | 15 +--------------
> > tools/hcieventmask.c | 15 +--------------
> > tools/hcisecfilter.c | 15 +--------------
> > tools/hcitool.c | 15 +--------------
> > tools/hex2hcd.c | 15 +--------------
> > tools/hid2hci.c | 15 +--------------
> > tools/hwdb.c | 15 +--------------
> > tools/ibeacon.c | 15 +--------------
> > tools/l2cap-tester.c | 15 +--------------
> > tools/l2ping.c | 15 +--------------
> > tools/l2test.c | 15 +--------------
> > tools/mcaptest.c | 15 +--------------
> > tools/mesh-cfgclient.c | 11 +----------
> > tools/mesh-gatt/config-client.c | 15 +--------------
> > tools/mesh-gatt/config-server.c | 15 +--------------
> > tools/mesh-gatt/crypto.c | 15 +--------------
> > tools/mesh-gatt/crypto.h | 15 +--------------
> > tools/mesh-gatt/gatt.c | 15 +--------------
> > tools/mesh-gatt/gatt.h | 15 +--------------
> > tools/mesh-gatt/keys.h | 15 +--------------
> > tools/mesh-gatt/mesh-net.h | 15 +--------------
> > tools/mesh-gatt/net.c | 15 +--------------
> > tools/mesh-gatt/net.h | 15 +--------------
> > tools/mesh-gatt/node.c | 15 +--------------
> > tools/mesh-gatt/node.h | 15 +--------------
> > tools/mesh-gatt/onoff-model.c | 15 +--------------
> > tools/mesh-gatt/onoff-model.h | 15 +--------------
> > tools/mesh-gatt/prov-db.c | 15 +--------------
> > tools/mesh-gatt/prov-db.h | 15 +--------------
> > tools/mesh-gatt/prov.c | 15 +--------------
> > tools/mesh-gatt/prov.h | 15 +--------------
> > tools/mesh-gatt/util.c | 15 +--------------
> > tools/mesh-gatt/util.h | 15 +--------------
> > tools/mesh/agent.c | 15 +--------------
> > tools/mesh/agent.h | 15 +--------------
> > tools/mesh/cfgcli.c | 12 +-----------
> > tools/mesh/cfgcli.h | 12 +-----------
> > tools/mesh/config-model.h | 15 +--------------
> > tools/mesh/keys.c | 12 +-----------
> > tools/mesh/keys.h | 12 +-----------
> > tools/mesh/mesh-db.c | 11 +----------
> > tools/mesh/mesh-db.h | 11 +----------
> > tools/mesh/model.h | 12 +-----------
> > tools/mesh/remote.c | 11 +----------
> > tools/mesh/remote.h | 11 +----------
> > tools/mesh/util.c | 11 +----------
> > tools/mesh/util.h | 11 +----------
> > tools/meshctl.c | 15 +--------------
> > tools/mgmt-tester.c | 15 +--------------
> > tools/mpris-proxy.c | 15 +--------------
> > tools/nokfw.c | 15 +--------------
> > tools/obex-client-tool.c | 14 +-------------
> > tools/obex-server-tool.c | 14 +-------------
> > tools/obexctl.c | 15 +--------------
> > tools/oobtest.c | 15 +--------------
> > tools/parser/amp.c | 15 +--------------
> > tools/parser/att.c | 15 +--------------
> > tools/parser/avctp.c | 15 +--------------
> > tools/parser/avdtp.c | 15 +--------------
> > tools/parser/avrcp.c | 15 +--------------
> > tools/parser/bnep.c | 15 +--------------
> > tools/parser/bpa.c | 15 +--------------
> > tools/parser/capi.c | 15 +--------------
> > tools/parser/cmtp.c | 15 +--------------
> > tools/parser/csr.c | 15 +--------------
> > tools/parser/ericsson.c | 15 +--------------
> > tools/parser/hci.c | 15 +--------------
> > tools/parser/hcrp.c | 15 +--------------
> > tools/parser/hidp.c | 15 +--------------
> > tools/parser/l2cap.c | 15 +--------------
> > tools/parser/l2cap.h | 15 +--------------
> > tools/parser/lmp.c | 15 +--------------
> > tools/parser/obex.c | 15 +--------------
> > tools/parser/parser.c | 15 +--------------
> > tools/parser/parser.h | 15 +--------------
> > tools/parser/ppp.c | 15 +--------------
> > tools/parser/rfcomm.c | 15 +--------------
> > tools/parser/rfcomm.h | 15 +--------------
> > tools/parser/sap.c | 15 +--------------
> > tools/parser/sdp.c | 15 +--------------
> > tools/parser/sdp.h | 15 +--------------
> > tools/parser/smp.c | 15 +--------------
> > tools/parser/tcpip.c | 15 +--------------
> > tools/rctest.c | 15 +--------------
> > tools/rfcomm-tester.c | 15 +--------------
> > tools/rfcomm.c | 15 +--------------
> > tools/rtlfw.c | 15 +--------------
> > tools/sco-tester.c | 15 +--------------
> > tools/scotest.c | 15 +--------------
> > tools/sdptool.c | 15 +--------------
> > tools/seq2bseq.c | 15 +--------------
> > tools/smp-tester.c | 15 +--------------
> > tools/test-runner.c | 15 +--------------
> > tools/ubcsp.c | 20 +-------------------
> > tools/ubcsp.h | 20 +-------------------
> > tools/userchan-tester.c | 15 +--------------
> > unit/test-avctp.c | 15 +--------------
> > unit/test-avdtp.c | 15 +--------------
> > unit/test-avrcp.c | 15 +--------------
> > unit/test-crc.c | 15 +--------------
> > unit/test-crypto.c | 15 +--------------
> > unit/test-ecc.c | 21 +--------------------
> > unit/test-eir.c | 15 +--------------
> > unit/test-gatt.c | 15 +--------------
> > unit/test-gattrib.c | 15 +--------------
> > unit/test-gdbus-client.c | 15 +--------------
> > unit/test-gobex-apparam.c | 15 +--------------
> > unit/test-gobex-header.c | 15 +--------------
> > unit/test-gobex-packet.c | 15 +--------------
> > unit/test-gobex-transfer.c | 15 +--------------
> > unit/test-gobex.c | 15 +--------------
> > unit/test-hfp.c | 15 +--------------
> > unit/test-hog.c | 15 +--------------
> > unit/test-lib.c | 15 +--------------
> > unit/test-mesh-crypto.c | 11 +----------
> > unit/test-mgmt.c | 15 +--------------
> > unit/test-midi.c | 16 +---------------
> > unit/test-queue.c | 15 +--------------
> > unit/test-ringbuf.c | 15 +--------------
> > unit/test-sdp.c | 15 +--------------
> > unit/test-textfile.c | 15 +--------------
> > unit/test-uhid.c | 15 +--------------
> > unit/test-uuid.c | 15 +--------------
> > unit/util.c | 14 +-------------
> > unit/util.h | 14 +-------------
> > 758 files changed, 758 insertions(+), 10148 deletions(-)
>
>
> --
> pozdrawiam
> Szymon Janc
>
>


--
Luiz Augusto von Dentz