From 29a52689615f30c0895cc12ef78a0309286735f9 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Tue, 27 Jan 2026 15:06:40 +0100 Subject: [PATCH 1/3] Replace all existing copyright headers with `SPDX` headers I've used the following command to replace the original copyright header lines in a C-style comment block: ``` $ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f -exec perl -pi -e 's{/\*[^*]*\(\s*c\s*\)\s*(\d{4})\s*Icinga\s+GmbH[^*]*\*/}{// SPDX-FileCopyrightText: \1 Icinga GmbH \n// SPDX-License-Identifier: GPL-2.0-or-later}gi' {} + ``` For files that use shell-style comments (#) like CMakeLists.txt, I've used this command: ``` $ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f -exec perl -pi -e 's{#.*\(\s*c\s*\)\s(\d{4})\sIcinga\s+GmbH.*}{# SPDX-FileCopyrightText: \1 Icinga GmbH \n# SPDX-License-Identifier: GPL-2.0-or-later}gi' {} + ``` And for SQL files: ``` $ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f \( -name '*.sql' \) -exec perl -pi -e 's{--.*\(c\)\s(\d{4})\sIcinga\sGmbH.*}{-- SPDX-FileCopyrightText: \1 Icinga GmbH \n-- SPDX-License-Identifier: GPL-2.0-or-later}gi' {} + $ find . \( -type d \( -name '\..*' -o -name third-party -o -name scripts -o -name prefix -o -name malloc -o -name server -o -name docker -o -name build -o -name doc \) -prune \) -o -type f \( -name '*.sql' \) -exec perl -pi -e 's{-- Copyright \(c\)\s(\d{4})\sIcinga\s+Development\sTeam.*}{-- SPDX-FileCopyrightText: \1 Icinga GmbH \n-- SPDX-License-Identifier: GPL-2.0-or-later}gi' {} + ``` --- CMakeLists.txt | 3 ++- Containerfile | 3 ++- agent/CMakeLists.txt | 3 ++- choco/CMakeLists.txt | 3 ++- cmake/DiscoverBoostTests.cmake | 5 +++-- cmake/ExecuteCommandQuietly.cmake | 3 ++- cmake/InstallConfig.cmake | 3 ++- cmake/SetFullDir.cmake | 3 ++- doc/CMakeLists.txt | 3 ++- doc/update-links.py | 4 +++- etc/CMakeLists.txt | 3 ++- etc/icinga2/scripts/mail-host-notification.sh | 4 +++- etc/icinga2/scripts/mail-service-notification.sh | 4 +++- etc/initsystem/CMakeLists.txt | 4 ++-- icinga-app/CMakeLists.txt | 3 ++- icinga-app/icinga.cpp | 3 ++- icinga-installer/CMakeLists.txt | 3 ++- icinga-installer/icinga-installer.cpp | 3 ++- itl/CMakeLists.txt | 3 ++- itl/command-icinga.conf | 3 ++- itl/command-nscp-local.conf | 3 ++- itl/command-plugins-manubulon.conf | 3 ++- itl/command-plugins-windows.conf | 3 ++- itl/command-plugins.conf | 3 ++- itl/hangman | 3 ++- itl/itl | 3 ++- itl/manubulon | 3 ++- itl/nscp | 3 ++- itl/plugins | 3 ++- itl/plugins-contrib | 3 ++- itl/plugins-contrib.d/CMakeLists.txt | 3 ++- itl/plugins-contrib.d/big-data.conf | 3 ++- itl/plugins-contrib.d/databases.conf | 3 ++- itl/plugins-contrib.d/hardware.conf | 3 ++- itl/plugins-contrib.d/icingacli.conf | 3 ++- itl/plugins-contrib.d/ipmi.conf | 3 ++- itl/plugins-contrib.d/logmanagement.conf | 3 ++- itl/plugins-contrib.d/metrics.conf | 3 ++- itl/plugins-contrib.d/network-components.conf | 3 ++- itl/plugins-contrib.d/network-services.conf | 3 ++- itl/plugins-contrib.d/operating-system.conf | 3 ++- itl/plugins-contrib.d/storage.conf | 3 ++- itl/plugins-contrib.d/systemd.conf | 3 ++- itl/plugins-contrib.d/virtualization.conf | 3 ++- itl/plugins-contrib.d/vmware.conf | 3 ++- itl/plugins-contrib.d/web.conf | 3 ++- itl/windows-plugins | 3 ++- lib/CMakeLists.txt | 3 ++- lib/base/CMakeLists.txt | 3 ++- lib/base/application-environment.cpp | 3 ++- lib/base/application-version.cpp | 3 ++- lib/base/application.cpp | 3 ++- lib/base/application.hpp | 3 ++- lib/base/application.ti | 3 ++- lib/base/array-script.cpp | 3 ++- lib/base/array.cpp | 3 ++- lib/base/array.hpp | 3 ++- lib/base/atomic-file.cpp | 3 ++- lib/base/atomic-file.hpp | 3 ++- lib/base/atomic.hpp | 3 ++- lib/base/base64.cpp | 3 ++- lib/base/base64.hpp | 3 ++- lib/base/boolean-script.cpp | 3 ++- lib/base/boolean.cpp | 3 ++- lib/base/boolean.hpp | 3 ++- lib/base/bulker.hpp | 3 ++- lib/base/configobject-script.cpp | 3 ++- lib/base/configobject.cpp | 3 ++- lib/base/configobject.hpp | 3 ++- lib/base/configobject.ti | 3 ++- lib/base/configtype.cpp | 3 ++- lib/base/configtype.hpp | 3 ++- lib/base/configuration.cpp | 3 ++- lib/base/configuration.hpp | 3 ++- lib/base/configuration.ti | 3 ++- lib/base/configwriter.cpp | 3 ++- lib/base/configwriter.hpp | 3 ++- lib/base/console.cpp | 3 ++- lib/base/console.hpp | 3 ++- lib/base/context.cpp | 3 ++- lib/base/context.hpp | 3 ++- lib/base/convert.cpp | 3 ++- lib/base/convert.hpp | 3 ++- lib/base/datetime-script.cpp | 3 ++- lib/base/datetime.cpp | 3 ++- lib/base/datetime.hpp | 3 ++- lib/base/datetime.ti | 3 ++- lib/base/debug.hpp | 3 ++- lib/base/debuginfo.cpp | 3 ++- lib/base/debuginfo.hpp | 3 ++- lib/base/defer.hpp | 3 ++- lib/base/dependencygraph.cpp | 3 ++- lib/base/dependencygraph.hpp | 3 ++- lib/base/dictionary-script.cpp | 3 ++- lib/base/dictionary.cpp | 3 ++- lib/base/dictionary.hpp | 3 ++- lib/base/exception.cpp | 3 ++- lib/base/exception.hpp | 3 ++- lib/base/fifo.cpp | 3 ++- lib/base/fifo.hpp | 3 ++- lib/base/filelogger.cpp | 3 ++- lib/base/filelogger.hpp | 3 ++- lib/base/filelogger.ti | 3 ++- lib/base/function-script.cpp | 3 ++- lib/base/function.cpp | 3 ++- lib/base/function.hpp | 3 ++- lib/base/function.ti | 3 ++- lib/base/functionwrapper.hpp | 3 ++- lib/base/generator.hpp | 3 ++- lib/base/i2-base.hpp | 3 ++- lib/base/initialize.cpp | 3 ++- lib/base/initialize.hpp | 3 ++- lib/base/intrusive-ptr.hpp | 3 ++- lib/base/io-engine.cpp | 3 ++- lib/base/io-engine.hpp | 3 ++- lib/base/journaldlogger.cpp | 3 ++- lib/base/journaldlogger.hpp | 3 ++- lib/base/journaldlogger.ti | 3 ++- lib/base/json-script.cpp | 3 ++- lib/base/json.cpp | 3 ++- lib/base/json.hpp | 3 ++- lib/base/lazy-init.hpp | 3 ++- lib/base/library.cpp | 3 ++- lib/base/library.hpp | 3 ++- lib/base/loader.cpp | 3 ++- lib/base/loader.hpp | 3 ++- lib/base/logger.cpp | 3 ++- lib/base/logger.hpp | 3 ++- lib/base/logger.ti | 3 ++- lib/base/math-script.cpp | 3 ++- lib/base/namespace-script.cpp | 3 ++- lib/base/namespace.cpp | 3 ++- lib/base/namespace.hpp | 3 ++- lib/base/netstring.cpp | 3 ++- lib/base/netstring.hpp | 3 ++- lib/base/networkstream.cpp | 3 ++- lib/base/networkstream.hpp | 3 ++- lib/base/number-script.cpp | 3 ++- lib/base/number.cpp | 3 ++- lib/base/number.hpp | 3 ++- lib/base/object-packer.cpp | 3 ++- lib/base/object-packer.hpp | 3 ++- lib/base/object-script.cpp | 3 ++- lib/base/object.cpp | 3 ++- lib/base/object.hpp | 3 ++- lib/base/objectlock.cpp | 3 ++- lib/base/objectlock.hpp | 3 ++- lib/base/objecttype.cpp | 3 ++- lib/base/objecttype.hpp | 3 ++- lib/base/perfdatavalue.cpp | 3 ++- lib/base/perfdatavalue.hpp | 3 ++- lib/base/perfdatavalue.ti | 3 ++- lib/base/primitivetype.cpp | 3 ++- lib/base/primitivetype.hpp | 3 ++- lib/base/process.cpp | 3 ++- lib/base/process.hpp | 3 ++- lib/base/reference-script.cpp | 3 ++- lib/base/reference.cpp | 3 ++- lib/base/reference.hpp | 3 ++- lib/base/registry.hpp | 3 ++- lib/base/ringbuffer.cpp | 3 ++- lib/base/ringbuffer.hpp | 3 ++- lib/base/scriptframe.cpp | 3 ++- lib/base/scriptframe.hpp | 3 ++- lib/base/scriptglobal.cpp | 3 ++- lib/base/scriptglobal.hpp | 3 ++- lib/base/scriptpermission.cpp | 3 ++- lib/base/scriptpermission.hpp | 3 ++- lib/base/scriptutils.cpp | 3 ++- lib/base/scriptutils.hpp | 3 ++- lib/base/serializer.cpp | 3 ++- lib/base/serializer.hpp | 3 ++- lib/base/shared-memory.hpp | 3 ++- lib/base/shared-object.hpp | 3 ++- lib/base/shared.hpp | 3 ++- lib/base/singleton.hpp | 3 ++- lib/base/socket.cpp | 3 ++- lib/base/socket.hpp | 3 ++- lib/base/stacktrace.cpp | 3 ++- lib/base/stacktrace.hpp | 3 ++- lib/base/statsfunction.hpp | 3 ++- lib/base/stdiostream.cpp | 3 ++- lib/base/stdiostream.hpp | 3 ++- lib/base/stream.cpp | 3 ++- lib/base/stream.hpp | 3 ++- lib/base/streamlogger.cpp | 3 ++- lib/base/streamlogger.hpp | 3 ++- lib/base/streamlogger.ti | 3 ++- lib/base/string-script.cpp | 3 ++- lib/base/string.cpp | 3 ++- lib/base/string.hpp | 3 ++- lib/base/sysloglogger.cpp | 3 ++- lib/base/sysloglogger.hpp | 3 ++- lib/base/sysloglogger.ti | 3 ++- lib/base/tcpsocket.cpp | 3 ++- lib/base/tcpsocket.hpp | 3 ++- lib/base/threadpool.cpp | 3 ++- lib/base/threadpool.hpp | 3 ++- lib/base/timer.cpp | 3 ++- lib/base/timer.hpp | 3 ++- lib/base/tlsstream.cpp | 3 ++- lib/base/tlsstream.hpp | 3 ++- lib/base/tlsutility.cpp | 3 ++- lib/base/tlsutility.hpp | 3 ++- lib/base/type.cpp | 3 ++- lib/base/type.hpp | 3 ++- lib/base/typetype-script.cpp | 3 ++- lib/base/unix.hpp | 3 ++- lib/base/unixsocket.cpp | 3 ++- lib/base/unixsocket.hpp | 3 ++- lib/base/utility.cpp | 3 ++- lib/base/utility.hpp | 3 ++- lib/base/value-operators.cpp | 3 ++- lib/base/value.cpp | 3 ++- lib/base/value.hpp | 3 ++- lib/base/wait-group.cpp | 3 ++- lib/base/wait-group.hpp | 3 ++- lib/base/win32.hpp | 3 ++- lib/base/windowseventloglogger.cpp | 3 ++- lib/base/windowseventloglogger.hpp | 3 ++- lib/base/windowseventloglogger.ti | 3 ++- lib/base/workqueue.cpp | 3 ++- lib/base/workqueue.hpp | 3 ++- lib/checker/CMakeLists.txt | 3 ++- lib/checker/checkercomponent.cpp | 3 ++- lib/checker/checkercomponent.hpp | 3 ++- lib/checker/checkercomponent.ti | 3 ++- lib/cli/CMakeLists.txt | 3 ++- lib/cli/apisetupcommand.cpp | 3 ++- lib/cli/apisetupcommand.hpp | 3 ++- lib/cli/apisetuputility.cpp | 3 ++- lib/cli/apisetuputility.hpp | 3 ++- lib/cli/calistcommand.cpp | 3 ++- lib/cli/calistcommand.hpp | 3 ++- lib/cli/caremovecommand.cpp | 3 ++- lib/cli/caremovecommand.hpp | 3 ++- lib/cli/carestorecommand.cpp | 3 ++- lib/cli/carestorecommand.hpp | 3 ++- lib/cli/casigncommand.cpp | 3 ++- lib/cli/casigncommand.hpp | 3 ++- lib/cli/clicommand.cpp | 3 ++- lib/cli/clicommand.hpp | 3 ++- lib/cli/consolecommand.cpp | 3 ++- lib/cli/consolecommand.hpp | 3 ++- lib/cli/daemoncommand.cpp | 3 ++- lib/cli/daemoncommand.hpp | 3 ++- lib/cli/daemonutility.cpp | 3 ++- lib/cli/daemonutility.hpp | 3 ++- lib/cli/editline.hpp | 3 ++- lib/cli/featuredisablecommand.cpp | 3 ++- lib/cli/featuredisablecommand.hpp | 3 ++- lib/cli/featureenablecommand.cpp | 3 ++- lib/cli/featureenablecommand.hpp | 3 ++- lib/cli/featurelistcommand.cpp | 3 ++- lib/cli/featurelistcommand.hpp | 3 ++- lib/cli/featureutility.cpp | 3 ++- lib/cli/featureutility.hpp | 3 ++- lib/cli/i2-cli.hpp | 3 ++- lib/cli/internalsignalcommand.cpp | 3 ++- lib/cli/internalsignalcommand.hpp | 3 ++- lib/cli/nodesetupcommand.cpp | 3 ++- lib/cli/nodesetupcommand.hpp | 3 ++- lib/cli/nodeutility.cpp | 3 ++- lib/cli/nodeutility.hpp | 3 ++- lib/cli/nodewizardcommand.cpp | 3 ++- lib/cli/nodewizardcommand.hpp | 3 ++- lib/cli/objectlistcommand.cpp | 3 ++- lib/cli/objectlistcommand.hpp | 3 ++- lib/cli/objectlistutility.cpp | 3 ++- lib/cli/objectlistutility.hpp | 3 ++- lib/cli/pkinewcacommand.cpp | 3 ++- lib/cli/pkinewcacommand.hpp | 3 ++- lib/cli/pkinewcertcommand.cpp | 3 ++- lib/cli/pkinewcertcommand.hpp | 3 ++- lib/cli/pkirequestcommand.cpp | 3 ++- lib/cli/pkirequestcommand.hpp | 3 ++- lib/cli/pkisavecertcommand.cpp | 3 ++- lib/cli/pkisavecertcommand.hpp | 3 ++- lib/cli/pkisigncsrcommand.cpp | 3 ++- lib/cli/pkisigncsrcommand.hpp | 3 ++- lib/cli/pkiticketcommand.cpp | 3 ++- lib/cli/pkiticketcommand.hpp | 3 ++- lib/cli/pkiverifycommand.cpp | 3 ++- lib/cli/pkiverifycommand.hpp | 3 ++- lib/cli/variablegetcommand.cpp | 3 ++- lib/cli/variablegetcommand.hpp | 3 ++- lib/cli/variablelistcommand.cpp | 3 ++- lib/cli/variablelistcommand.hpp | 3 ++- lib/cli/variableutility.cpp | 3 ++- lib/cli/variableutility.hpp | 3 ++- lib/compat/CMakeLists.txt | 3 ++- lib/compat/compatlogger.cpp | 3 ++- lib/compat/compatlogger.hpp | 3 ++- lib/compat/compatlogger.ti | 3 ++- lib/compat/externalcommandlistener.cpp | 3 ++- lib/compat/externalcommandlistener.hpp | 3 ++- lib/compat/externalcommandlistener.ti | 3 ++- lib/config/CMakeLists.txt | 3 ++- lib/config/activationcontext.cpp | 3 ++- lib/config/activationcontext.hpp | 3 ++- lib/config/applyrule-targeted.cpp | 3 ++- lib/config/applyrule.cpp | 3 ++- lib/config/applyrule.hpp | 3 ++- lib/config/config_lexer.ll | 3 ++- lib/config/config_parser.yy | 3 ++- lib/config/configcompiler.cpp | 3 ++- lib/config/configcompiler.hpp | 3 ++- lib/config/configcompilercontext.cpp | 3 ++- lib/config/configcompilercontext.hpp | 3 ++- lib/config/configfragment.hpp | 3 ++- lib/config/configitem.cpp | 3 ++- lib/config/configitem.hpp | 3 ++- lib/config/configitembuilder.cpp | 3 ++- lib/config/configitembuilder.hpp | 3 ++- lib/config/expression.cpp | 3 ++- lib/config/expression.hpp | 3 ++- lib/config/i2-config.hpp | 3 ++- lib/config/objectrule.cpp | 3 ++- lib/config/objectrule.hpp | 3 ++- lib/config/vmops.hpp | 3 ++- lib/db_ido/CMakeLists.txt | 3 ++- lib/db_ido/commanddbobject.cpp | 3 ++- lib/db_ido/commanddbobject.hpp | 3 ++- lib/db_ido/db_ido-itl.conf | 3 ++- lib/db_ido/dbconnection.cpp | 3 ++- lib/db_ido/dbconnection.hpp | 3 ++- lib/db_ido/dbconnection.ti | 3 ++- lib/db_ido/dbevents.cpp | 3 ++- lib/db_ido/dbevents.hpp | 3 ++- lib/db_ido/dbobject.cpp | 3 ++- lib/db_ido/dbobject.hpp | 3 ++- lib/db_ido/dbquery.cpp | 3 ++- lib/db_ido/dbquery.hpp | 3 ++- lib/db_ido/dbreference.cpp | 3 ++- lib/db_ido/dbreference.hpp | 3 ++- lib/db_ido/dbtype.cpp | 3 ++- lib/db_ido/dbtype.hpp | 3 ++- lib/db_ido/dbvalue.cpp | 3 ++- lib/db_ido/dbvalue.hpp | 3 ++- lib/db_ido/endpointdbobject.cpp | 3 ++- lib/db_ido/endpointdbobject.hpp | 3 ++- lib/db_ido/hostdbobject.cpp | 3 ++- lib/db_ido/hostdbobject.hpp | 3 ++- lib/db_ido/hostgroupdbobject.cpp | 3 ++- lib/db_ido/hostgroupdbobject.hpp | 3 ++- lib/db_ido/i2-db_ido.hpp | 3 ++- lib/db_ido/idochecktask.cpp | 3 ++- lib/db_ido/idochecktask.hpp | 3 ++- lib/db_ido/servicedbobject.cpp | 3 ++- lib/db_ido/servicedbobject.hpp | 3 ++- lib/db_ido/servicegroupdbobject.cpp | 3 ++- lib/db_ido/servicegroupdbobject.hpp | 3 ++- lib/db_ido/timeperioddbobject.cpp | 3 ++- lib/db_ido/timeperioddbobject.hpp | 3 ++- lib/db_ido/userdbobject.cpp | 3 ++- lib/db_ido/userdbobject.hpp | 3 ++- lib/db_ido/usergroupdbobject.cpp | 3 ++- lib/db_ido/usergroupdbobject.hpp | 3 ++- lib/db_ido/zonedbobject.cpp | 3 ++- lib/db_ido/zonedbobject.hpp | 3 ++- lib/db_ido_mysql/CMakeLists.txt | 3 ++- lib/db_ido_mysql/idomysqlconnection.cpp | 3 ++- lib/db_ido_mysql/idomysqlconnection.hpp | 3 ++- lib/db_ido_mysql/idomysqlconnection.ti | 3 ++- lib/db_ido_mysql/schema/mysql.sql | 3 ++- lib/db_ido_mysql/schema/upgrade/2.0.2.sql | 3 ++- lib/db_ido_mysql/schema/upgrade/2.1.0.sql | 3 ++- lib/db_ido_mysql/schema/upgrade/2.11.0.sql | 3 ++- lib/db_ido_mysql/schema/upgrade/2.12.7.sql | 3 ++- lib/db_ido_mysql/schema/upgrade/2.13.0.sql | 3 ++- lib/db_ido_mysql/schema/upgrade/2.13.3.sql | 3 ++- lib/db_ido_mysql/schema/upgrade/2.2.0.sql | 3 ++- lib/db_ido_mysql/schema/upgrade/2.3.0.sql | 3 ++- lib/db_ido_mysql/schema/upgrade/2.4.0.sql | 3 ++- lib/db_ido_mysql/schema/upgrade/2.5.0.sql | 3 ++- lib/db_ido_mysql/schema/upgrade/2.6.0.sql | 3 ++- lib/db_ido_mysql/schema/upgrade/2.8.0.sql | 3 ++- lib/db_ido_mysql/schema/upgrade/2.8.1.sql | 3 ++- lib/db_ido_pgsql/CMakeLists.txt | 3 ++- lib/db_ido_pgsql/idopgsqlconnection.cpp | 3 ++- lib/db_ido_pgsql/idopgsqlconnection.hpp | 3 ++- lib/db_ido_pgsql/idopgsqlconnection.ti | 3 ++- lib/db_ido_pgsql/schema/pgsql.sql | 3 ++- lib/db_ido_pgsql/schema/upgrade/2.0.2.sql | 3 ++- lib/db_ido_pgsql/schema/upgrade/2.1.0.sql | 3 ++- lib/db_ido_pgsql/schema/upgrade/2.2.0.sql | 3 ++- lib/db_ido_pgsql/schema/upgrade/2.3.0.sql | 3 ++- lib/db_ido_pgsql/schema/upgrade/2.4.0.sql | 3 ++- lib/db_ido_pgsql/schema/upgrade/2.5.0.sql | 3 ++- lib/db_ido_pgsql/schema/upgrade/2.6.0.sql | 3 ++- lib/db_ido_pgsql/schema/upgrade/2.8.0.sql | 3 ++- lib/db_ido_pgsql/schema/upgrade/2.8.1.sql | 3 ++- lib/icinga/CMakeLists.txt | 3 ++- lib/icinga/apiactions.cpp | 3 ++- lib/icinga/apiactions.hpp | 3 ++- lib/icinga/apievents.cpp | 3 ++- lib/icinga/apievents.hpp | 3 ++- lib/icinga/checkable-check.cpp | 3 ++- lib/icinga/checkable-comment.cpp | 3 ++- lib/icinga/checkable-dependency.cpp | 3 ++- lib/icinga/checkable-downtime.cpp | 3 ++- lib/icinga/checkable-event.cpp | 3 ++- lib/icinga/checkable-flapping.cpp | 3 ++- lib/icinga/checkable-notification.cpp | 3 ++- lib/icinga/checkable.cpp | 3 ++- lib/icinga/checkable.hpp | 3 ++- lib/icinga/checkable.ti | 3 ++- lib/icinga/checkcommand.cpp | 3 ++- lib/icinga/checkcommand.hpp | 3 ++- lib/icinga/checkcommand.ti | 3 ++- lib/icinga/checkresult.cpp | 3 ++- lib/icinga/checkresult.hpp | 3 ++- lib/icinga/checkresult.ti | 3 ++- lib/icinga/cib.cpp | 3 ++- lib/icinga/cib.hpp | 3 ++- lib/icinga/clusterevents-check.cpp | 3 ++- lib/icinga/clusterevents.cpp | 3 ++- lib/icinga/clusterevents.hpp | 3 ++- lib/icinga/command.cpp | 3 ++- lib/icinga/command.hpp | 3 ++- lib/icinga/command.ti | 3 ++- lib/icinga/comment.cpp | 3 ++- lib/icinga/comment.hpp | 3 ++- lib/icinga/comment.ti | 3 ++- lib/icinga/compatutility.cpp | 3 ++- lib/icinga/compatutility.hpp | 3 ++- lib/icinga/customvarobject.cpp | 3 ++- lib/icinga/customvarobject.hpp | 3 ++- lib/icinga/customvarobject.ti | 3 ++- lib/icinga/dependency-apply.cpp | 3 ++- lib/icinga/dependency-group.cpp | 3 ++- lib/icinga/dependency-state.cpp | 3 ++- lib/icinga/dependency.cpp | 3 ++- lib/icinga/dependency.hpp | 3 ++- lib/icinga/dependency.ti | 3 ++- lib/icinga/downtime.cpp | 3 ++- lib/icinga/downtime.hpp | 3 ++- lib/icinga/downtime.ti | 3 ++- lib/icinga/envresolver.cpp | 3 ++- lib/icinga/envresolver.hpp | 3 ++- lib/icinga/eventcommand.cpp | 3 ++- lib/icinga/eventcommand.hpp | 3 ++- lib/icinga/eventcommand.ti | 3 ++- lib/icinga/externalcommandprocessor.cpp | 3 ++- lib/icinga/externalcommandprocessor.hpp | 3 ++- lib/icinga/host.cpp | 3 ++- lib/icinga/host.hpp | 3 ++- lib/icinga/host.ti | 3 ++- lib/icinga/hostgroup.cpp | 3 ++- lib/icinga/hostgroup.hpp | 3 ++- lib/icinga/hostgroup.ti | 3 ++- lib/icinga/i2-icinga.hpp | 3 ++- lib/icinga/icinga-itl.conf | 3 ++- lib/icinga/icingaapplication.cpp | 3 ++- lib/icinga/icingaapplication.hpp | 3 ++- lib/icinga/icingaapplication.ti | 3 ++- lib/icinga/legacytimeperiod.cpp | 3 ++- lib/icinga/legacytimeperiod.hpp | 3 ++- lib/icinga/macroprocessor.cpp | 3 ++- lib/icinga/macroprocessor.hpp | 3 ++- lib/icinga/macroresolver.hpp | 3 ++- lib/icinga/notification-apply.cpp | 3 ++- lib/icinga/notification.cpp | 3 ++- lib/icinga/notification.hpp | 3 ++- lib/icinga/notification.ti | 3 ++- lib/icinga/notificationcommand.cpp | 3 ++- lib/icinga/notificationcommand.hpp | 3 ++- lib/icinga/notificationcommand.ti | 3 ++- lib/icinga/objectutils.cpp | 3 ++- lib/icinga/objectutils.hpp | 3 ++- lib/icinga/pluginutility.cpp | 3 ++- lib/icinga/pluginutility.hpp | 3 ++- lib/icinga/scheduleddowntime-apply.cpp | 3 ++- lib/icinga/scheduleddowntime.cpp | 3 ++- lib/icinga/scheduleddowntime.hpp | 3 ++- lib/icinga/scheduleddowntime.ti | 3 ++- lib/icinga/service-apply.cpp | 3 ++- lib/icinga/service.cpp | 3 ++- lib/icinga/service.hpp | 3 ++- lib/icinga/service.ti | 3 ++- lib/icinga/servicegroup.cpp | 3 ++- lib/icinga/servicegroup.hpp | 3 ++- lib/icinga/servicegroup.ti | 3 ++- lib/icinga/timeperiod.cpp | 3 ++- lib/icinga/timeperiod.hpp | 3 ++- lib/icinga/timeperiod.ti | 3 ++- lib/icinga/user.cpp | 3 ++- lib/icinga/user.hpp | 3 ++- lib/icinga/user.ti | 3 ++- lib/icinga/usergroup.cpp | 3 ++- lib/icinga/usergroup.hpp | 3 ++- lib/icinga/usergroup.ti | 3 ++- lib/icingadb/CMakeLists.txt | 3 ++- lib/icingadb/icingadb-itl.conf | 3 ++- lib/icingadb/icingadb-objects.cpp | 3 ++- lib/icingadb/icingadb-stats.cpp | 3 ++- lib/icingadb/icingadb-utility.cpp | 3 ++- lib/icingadb/icingadb.cpp | 3 ++- lib/icingadb/icingadb.hpp | 3 ++- lib/icingadb/icingadb.ti | 3 ++- lib/icingadb/icingadbchecktask.cpp | 3 ++- lib/icingadb/icingadbchecktask.hpp | 3 ++- lib/icingadb/redisconnection.cpp | 3 ++- lib/icingadb/redisconnection.hpp | 3 ++- lib/livestatus/CMakeLists.txt | 3 ++- lib/livestatus/aggregator.cpp | 3 ++- lib/livestatus/aggregator.hpp | 3 ++- lib/livestatus/andfilter.cpp | 3 ++- lib/livestatus/andfilter.hpp | 3 ++- lib/livestatus/attributefilter.cpp | 3 ++- lib/livestatus/attributefilter.hpp | 3 ++- lib/livestatus/avgaggregator.cpp | 3 ++- lib/livestatus/avgaggregator.hpp | 3 ++- lib/livestatus/column.cpp | 3 ++- lib/livestatus/column.hpp | 3 ++- lib/livestatus/combinerfilter.cpp | 3 ++- lib/livestatus/combinerfilter.hpp | 3 ++- lib/livestatus/commandstable.cpp | 3 ++- lib/livestatus/commandstable.hpp | 3 ++- lib/livestatus/commentstable.cpp | 3 ++- lib/livestatus/commentstable.hpp | 3 ++- lib/livestatus/contactgroupstable.cpp | 3 ++- lib/livestatus/contactgroupstable.hpp | 3 ++- lib/livestatus/contactstable.cpp | 3 ++- lib/livestatus/contactstable.hpp | 3 ++- lib/livestatus/countaggregator.cpp | 3 ++- lib/livestatus/countaggregator.hpp | 3 ++- lib/livestatus/downtimestable.cpp | 3 ++- lib/livestatus/downtimestable.hpp | 3 ++- lib/livestatus/endpointstable.cpp | 3 ++- lib/livestatus/endpointstable.hpp | 3 ++- lib/livestatus/filter.hpp | 3 ++- lib/livestatus/historytable.hpp | 3 ++- lib/livestatus/hostgroupstable.cpp | 3 ++- lib/livestatus/hostgroupstable.hpp | 3 ++- lib/livestatus/hoststable.cpp | 3 ++- lib/livestatus/hoststable.hpp | 3 ++- lib/livestatus/i2-livestatus.hpp | 3 ++- lib/livestatus/invavgaggregator.cpp | 3 ++- lib/livestatus/invavgaggregator.hpp | 3 ++- lib/livestatus/invsumaggregator.cpp | 3 ++- lib/livestatus/invsumaggregator.hpp | 3 ++- lib/livestatus/livestatuslistener.cpp | 3 ++- lib/livestatus/livestatuslistener.hpp | 3 ++- lib/livestatus/livestatuslistener.ti | 3 ++- lib/livestatus/livestatuslogutility.cpp | 3 ++- lib/livestatus/livestatuslogutility.hpp | 3 ++- lib/livestatus/livestatusquery.cpp | 3 ++- lib/livestatus/livestatusquery.hpp | 3 ++- lib/livestatus/logtable.cpp | 3 ++- lib/livestatus/logtable.hpp | 3 ++- lib/livestatus/maxaggregator.cpp | 3 ++- lib/livestatus/maxaggregator.hpp | 3 ++- lib/livestatus/minaggregator.cpp | 3 ++- lib/livestatus/minaggregator.hpp | 3 ++- lib/livestatus/negatefilter.cpp | 3 ++- lib/livestatus/negatefilter.hpp | 3 ++- lib/livestatus/orfilter.cpp | 3 ++- lib/livestatus/orfilter.hpp | 3 ++- lib/livestatus/servicegroupstable.cpp | 3 ++- lib/livestatus/servicegroupstable.hpp | 3 ++- lib/livestatus/servicestable.cpp | 3 ++- lib/livestatus/servicestable.hpp | 3 ++- lib/livestatus/statehisttable.cpp | 3 ++- lib/livestatus/statehisttable.hpp | 3 ++- lib/livestatus/statustable.cpp | 3 ++- lib/livestatus/statustable.hpp | 3 ++- lib/livestatus/stdaggregator.cpp | 3 ++- lib/livestatus/stdaggregator.hpp | 3 ++- lib/livestatus/sumaggregator.cpp | 3 ++- lib/livestatus/sumaggregator.hpp | 3 ++- lib/livestatus/table.cpp | 3 ++- lib/livestatus/table.hpp | 3 ++- lib/livestatus/timeperiodstable.cpp | 3 ++- lib/livestatus/timeperiodstable.hpp | 3 ++- lib/livestatus/zonestable.cpp | 3 ++- lib/livestatus/zonestable.hpp | 3 ++- lib/methods/CMakeLists.txt | 3 ++- lib/methods/clusterchecktask.cpp | 3 ++- lib/methods/clusterchecktask.hpp | 3 ++- lib/methods/clusterzonechecktask.cpp | 3 ++- lib/methods/clusterzonechecktask.hpp | 3 ++- lib/methods/dummychecktask.cpp | 3 ++- lib/methods/dummychecktask.hpp | 3 ++- lib/methods/exceptionchecktask.cpp | 3 ++- lib/methods/exceptionchecktask.hpp | 3 ++- lib/methods/i2-methods.hpp | 3 ++- lib/methods/icingachecktask.cpp | 3 ++- lib/methods/icingachecktask.hpp | 3 ++- lib/methods/ifwapichecktask.cpp | 3 ++- lib/methods/ifwapichecktask.hpp | 3 ++- lib/methods/methods-itl.conf | 3 ++- lib/methods/nullchecktask.cpp | 3 ++- lib/methods/nullchecktask.hpp | 3 ++- lib/methods/nulleventtask.cpp | 3 ++- lib/methods/nulleventtask.hpp | 3 ++- lib/methods/pluginchecktask.cpp | 3 ++- lib/methods/pluginchecktask.hpp | 3 ++- lib/methods/plugineventtask.cpp | 3 ++- lib/methods/plugineventtask.hpp | 3 ++- lib/methods/pluginnotificationtask.cpp | 3 ++- lib/methods/pluginnotificationtask.hpp | 3 ++- lib/methods/randomchecktask.cpp | 3 ++- lib/methods/randomchecktask.hpp | 3 ++- lib/methods/sleepchecktask.cpp | 3 ++- lib/methods/sleepchecktask.hpp | 3 ++- lib/methods/timeperiodtask.cpp | 3 ++- lib/methods/timeperiodtask.hpp | 3 ++- lib/mysql_shim/CMakeLists.txt | 3 ++- lib/mysql_shim/mysqlinterface.cpp | 3 ++- lib/mysql_shim/mysqlinterface.hpp | 3 ++- lib/notification/CMakeLists.txt | 3 ++- lib/notification/notificationcomponent.cpp | 3 ++- lib/notification/notificationcomponent.hpp | 3 ++- lib/notification/notificationcomponent.ti | 3 ++- lib/perfdata/CMakeLists.txt | 3 ++- lib/perfdata/elasticsearchwriter.cpp | 3 ++- lib/perfdata/elasticsearchwriter.hpp | 3 ++- lib/perfdata/elasticsearchwriter.ti | 3 ++- lib/perfdata/gelfwriter.cpp | 3 ++- lib/perfdata/gelfwriter.hpp | 3 ++- lib/perfdata/gelfwriter.ti | 3 ++- lib/perfdata/graphitewriter.cpp | 3 ++- lib/perfdata/graphitewriter.hpp | 3 ++- lib/perfdata/graphitewriter.ti | 3 ++- lib/perfdata/influxdb2writer.cpp | 3 ++- lib/perfdata/influxdb2writer.hpp | 3 ++- lib/perfdata/influxdb2writer.ti | 3 ++- lib/perfdata/influxdbcommonwriter.cpp | 3 ++- lib/perfdata/influxdbcommonwriter.hpp | 3 ++- lib/perfdata/influxdbcommonwriter.ti | 3 ++- lib/perfdata/influxdbwriter.cpp | 3 ++- lib/perfdata/influxdbwriter.hpp | 3 ++- lib/perfdata/influxdbwriter.ti | 3 ++- lib/perfdata/opentsdbwriter.cpp | 3 ++- lib/perfdata/opentsdbwriter.hpp | 3 ++- lib/perfdata/opentsdbwriter.ti | 3 ++- lib/perfdata/perfdatawriter.cpp | 3 ++- lib/perfdata/perfdatawriter.hpp | 3 ++- lib/perfdata/perfdatawriter.ti | 3 ++- lib/pgsql_shim/CMakeLists.txt | 3 ++- lib/pgsql_shim/pgsqlinterface.cpp | 3 ++- lib/pgsql_shim/pgsqlinterface.hpp | 3 ++- lib/remote/CMakeLists.txt | 3 ++- lib/remote/actionshandler.cpp | 3 ++- lib/remote/actionshandler.hpp | 3 ++- lib/remote/apiaction.cpp | 3 ++- lib/remote/apiaction.hpp | 3 ++- lib/remote/apifunction.cpp | 3 ++- lib/remote/apifunction.hpp | 3 ++- lib/remote/apilistener-authority.cpp | 3 ++- lib/remote/apilistener-configsync.cpp | 3 ++- lib/remote/apilistener-filesync.cpp | 3 ++- lib/remote/apilistener.cpp | 3 ++- lib/remote/apilistener.hpp | 3 ++- lib/remote/apilistener.ti | 3 ++- lib/remote/apiuser.cpp | 3 ++- lib/remote/apiuser.hpp | 3 ++- lib/remote/apiuser.ti | 3 ++- lib/remote/configfileshandler.cpp | 3 ++- lib/remote/configfileshandler.hpp | 3 ++- lib/remote/configobjectslock.cpp | 3 ++- lib/remote/configobjectslock.hpp | 3 ++- lib/remote/configobjectutility.cpp | 3 ++- lib/remote/configobjectutility.hpp | 3 ++- lib/remote/configpackageshandler.cpp | 3 ++- lib/remote/configpackageshandler.hpp | 3 ++- lib/remote/configpackageutility.cpp | 3 ++- lib/remote/configpackageutility.hpp | 3 ++- lib/remote/configstageshandler.cpp | 3 ++- lib/remote/configstageshandler.hpp | 3 ++- lib/remote/consolehandler.cpp | 3 ++- lib/remote/consolehandler.hpp | 3 ++- lib/remote/createobjecthandler.cpp | 3 ++- lib/remote/createobjecthandler.hpp | 3 ++- lib/remote/deleteobjecthandler.cpp | 3 ++- lib/remote/deleteobjecthandler.hpp | 3 ++- lib/remote/endpoint.cpp | 3 ++- lib/remote/endpoint.hpp | 3 ++- lib/remote/endpoint.ti | 3 ++- lib/remote/eventqueue.cpp | 3 ++- lib/remote/eventqueue.hpp | 3 ++- lib/remote/eventshandler.cpp | 3 ++- lib/remote/eventshandler.hpp | 3 ++- lib/remote/filterutility.cpp | 3 ++- lib/remote/filterutility.hpp | 3 ++- lib/remote/httphandler.cpp | 3 ++- lib/remote/httphandler.hpp | 3 ++- lib/remote/httpmessage.cpp | 3 ++- lib/remote/httpmessage.hpp | 3 ++- lib/remote/httpserverconnection.cpp | 3 ++- lib/remote/httpserverconnection.hpp | 3 ++- lib/remote/httputility.cpp | 3 ++- lib/remote/httputility.hpp | 3 ++- lib/remote/i2-remote.hpp | 3 ++- lib/remote/infohandler.cpp | 3 ++- lib/remote/infohandler.hpp | 3 ++- lib/remote/jsonrpc.cpp | 3 ++- lib/remote/jsonrpc.hpp | 3 ++- lib/remote/jsonrpcconnection-heartbeat.cpp | 3 ++- lib/remote/jsonrpcconnection-pki.cpp | 3 ++- lib/remote/jsonrpcconnection.cpp | 3 ++- lib/remote/jsonrpcconnection.hpp | 3 ++- lib/remote/mallocinfohandler.cpp | 3 ++- lib/remote/mallocinfohandler.hpp | 3 ++- lib/remote/messageorigin.cpp | 3 ++- lib/remote/messageorigin.hpp | 3 ++- lib/remote/modifyobjecthandler.cpp | 3 ++- lib/remote/modifyobjecthandler.hpp | 3 ++- lib/remote/objectqueryhandler.cpp | 3 ++- lib/remote/objectqueryhandler.hpp | 3 ++- lib/remote/pkiutility.cpp | 3 ++- lib/remote/pkiutility.hpp | 3 ++- lib/remote/statushandler.cpp | 3 ++- lib/remote/statushandler.hpp | 3 ++- lib/remote/templatequeryhandler.cpp | 3 ++- lib/remote/templatequeryhandler.hpp | 3 ++- lib/remote/typequeryhandler.cpp | 3 ++- lib/remote/typequeryhandler.hpp | 3 ++- lib/remote/url-characters.hpp | 3 ++- lib/remote/url.cpp | 3 ++- lib/remote/url.hpp | 3 ++- lib/remote/variablequeryhandler.cpp | 3 ++- lib/remote/variablequeryhandler.hpp | 3 ++- lib/remote/zone.cpp | 3 ++- lib/remote/zone.hpp | 3 ++- lib/remote/zone.ti | 3 ++- plugins/CMakeLists.txt | 3 ++- plugins/check_disk.cpp | 3 ++- plugins/check_load.cpp | 3 ++- plugins/check_memory.cpp | 3 ++- plugins/check_network.cpp | 3 ++- plugins/check_nscp_api.cpp | 3 ++- plugins/check_perfmon.cpp | 3 ++- plugins/check_ping.cpp | 3 ++- plugins/check_procs.cpp | 3 ++- plugins/check_service.cpp | 3 ++- plugins/check_swap.cpp | 3 ++- plugins/check_update.cpp | 3 ++- plugins/check_uptime.cpp | 3 ++- plugins/check_users.cpp | 3 ++- plugins/thresholds.cpp | 3 ++- plugins/thresholds.hpp | 3 ++- test/BoostTestConfig.h.in | 3 ++- test/CMakeLists.txt | 3 ++- test/base-array.cpp | 3 ++- test/base-atomic.cpp | 3 ++- test/base-base64.cpp | 3 ++- test/base-configuration-fixture.hpp | 3 ++- test/base-convert.cpp | 3 ++- test/base-dictionary.cpp | 3 ++- test/base-fifo.cpp | 3 ++- test/base-io-engine.cpp | 3 ++- test/base-json.cpp | 3 ++- test/base-match.cpp | 3 ++- test/base-netstring.cpp | 3 ++- test/base-object-packer.cpp | 3 ++- test/base-object.cpp | 3 ++- test/base-serialize.cpp | 3 ++- test/base-shellescape.cpp | 3 ++- test/base-stacktrace.cpp | 3 ++- test/base-stream.cpp | 3 ++- test/base-string.cpp | 3 ++- test/base-testloggerfixture.hpp | 3 ++- test/base-timer.cpp | 3 ++- test/base-tlsstream-fixture.hpp | 3 ++- test/base-tlsutility.cpp | 3 ++- test/base-tlsutility.hpp | 3 ++- test/base-type.cpp | 3 ++- test/base-utility.cpp | 3 ++- test/base-value.cpp | 3 ++- test/config-apply.cpp | 3 ++- test/config-ops.cpp | 3 ++- test/icinga-checkable-fixture.cpp | 3 ++- test/icinga-checkable-flapping.cpp | 3 ++- test/icinga-checkresult.cpp | 3 ++- test/icinga-dependencies.cpp | 3 ++- test/icinga-legacytimeperiod.cpp | 3 ++- test/icinga-macros.cpp | 3 ++- test/icinga-notification.cpp | 3 ++- test/icinga-perfdata.cpp | 3 ++- test/icingaapplication-fixture.cpp | 3 ++- test/icingaapplication-fixture.hpp | 3 ++- test/livestatus-fixture.cpp | 3 ++- test/livestatus.cpp | 3 ++- test/methods-pluginnotificationtask.cpp | 3 ++- test/notification-notificationcomponent.cpp | 3 ++- test/remote-certificate-fixture.cpp | 3 ++- test/remote-certificate-fixture.hpp | 3 ++- test/remote-configpackageutility.cpp | 3 ++- test/remote-filterutility.cpp | 3 ++- test/remote-httpmessage.cpp | 3 ++- test/remote-httpserverconnection.cpp | 3 ++- test/remote-httputility.cpp | 3 ++- test/remote-url.cpp | 3 ++- test/test-ctest.hpp | 3 ++- test/test-runner.cpp | 3 ++- test/utils.cpp | 3 ++- test/utils.hpp | 3 ++- third-party/CMakeLists.txt | 3 ++- third-party/execvpe/CMakeLists.txt | 3 ++- third-party/execvpe/execvpe.h | 3 ++- third-party/mmatch/CMakeLists.txt | 3 ++- third-party/socketpair/CMakeLists.txt | 3 ++- tools/CMakeLists.txt | 3 ++- tools/mkclass/CMakeLists.txt | 3 ++- tools/mkclass/class_lexer.ll | 3 ++- tools/mkclass/class_parser.yy | 3 ++- tools/mkclass/classcompiler.cpp | 3 ++- tools/mkclass/classcompiler.hpp | 3 ++- tools/mkclass/mkclass.cpp | 3 ++- tools/mkembedconfig/CMakeLists.txt | 3 ++- tools/mkembedconfig/mkembedconfig.c | 3 ++- tools/mkunity/CMakeLists.txt | 3 ++- tools/mkunity/mkunity.c | 3 ++- 815 files changed, 1634 insertions(+), 817 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e4386cedf..a9eb7e3a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later # CMake 3.17 is required, CMake policy compatibility was verified up to 3.17. cmake_minimum_required(VERSION 3.17...3.17) diff --git a/Containerfile b/Containerfile index 1e62559a7..5b07abfdf 100644 --- a/Containerfile +++ b/Containerfile @@ -1,4 +1,5 @@ -# Icinga 2 Docker image | (c) 2025 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2025 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later FROM debian:trixie-slim AS build-base diff --git a/agent/CMakeLists.txt b/agent/CMakeLists.txt index 59c1e26c4..562b18892 100644 --- a/agent/CMakeLists.txt +++ b/agent/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later if(MSVC) include_external_msproject( diff --git a/choco/CMakeLists.txt b/choco/CMakeLists.txt index fb147a15c..3617331d1 100644 --- a/choco/CMakeLists.txt +++ b/choco/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later if(WIN32) configure_file(icinga2.nuspec.cmake icinga2.nuspec) diff --git a/cmake/DiscoverBoostTests.cmake b/cmake/DiscoverBoostTests.cmake index f9b54bed1..c75dc500b 100644 --- a/cmake/DiscoverBoostTests.cmake +++ b/cmake/DiscoverBoostTests.cmake @@ -1,5 +1,6 @@ -# Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ - +# SPDX-FileCopyrightText: 2025 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later +# # - Discover tests defined in the Boost.Test executable target # # Boost.Test executables should be defined like any other CMake executable target. diff --git a/cmake/ExecuteCommandQuietly.cmake b/cmake/ExecuteCommandQuietly.cmake index 43b1697be..d4b0cc99a 100644 --- a/cmake/ExecuteCommandQuietly.cmake +++ b/cmake/ExecuteCommandQuietly.cmake @@ -1,3 +1,4 @@ -# Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2025 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later execute_process(COMMAND "${CMD}" ${ARGS} OUTPUT_QUIET) diff --git a/cmake/InstallConfig.cmake b/cmake/InstallConfig.cmake index 70eae91e6..29f563b8f 100644 --- a/cmake/InstallConfig.cmake +++ b/cmake/InstallConfig.cmake @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later # # Install $src into directory $dest - usually only used for config files # diff --git a/cmake/SetFullDir.cmake b/cmake/SetFullDir.cmake index 8dce669af..72bf29d56 100644 --- a/cmake/SetFullDir.cmake +++ b/cmake/SetFullDir.cmake @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later # # Ensures a directory is absolute by prefixing CMAKE_INSTALL_PREFIX if it is not # similar to CMAKE_INSTALL_FULL_... https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 3be5b582e..e58707d97 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later file(GLOB DOCSRCS "*.md") diff --git a/doc/update-links.py b/doc/update-links.py index 765d4a04f..977c61d35 100755 --- a/doc/update-links.py +++ b/doc/update-links.py @@ -1,5 +1,7 @@ #!/usr/bin/env python -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later import os import sys diff --git a/etc/CMakeLists.txt b/etc/CMakeLists.txt index 40e181a0a..bee39464b 100644 --- a/etc/CMakeLists.txt +++ b/etc/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later if(NOT WIN32) configure_file(icinga2/constants.conf.cmake ${CMAKE_CURRENT_BINARY_DIR}/icinga2/constants.conf @ONLY) diff --git a/etc/icinga2/scripts/mail-host-notification.sh b/etc/icinga2/scripts/mail-host-notification.sh index b1e8dd6ff..42ef70ff6 100755 --- a/etc/icinga2/scripts/mail-host-notification.sh +++ b/etc/icinga2/scripts/mail-host-notification.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later # Except of function urlencode which is Copyright (C) by Brian White (brian@aljex.com) used under MIT license PROG="`basename $0`" diff --git a/etc/icinga2/scripts/mail-service-notification.sh b/etc/icinga2/scripts/mail-service-notification.sh index 164272f8f..a9ff067f9 100755 --- a/etc/icinga2/scripts/mail-service-notification.sh +++ b/etc/icinga2/scripts/mail-service-notification.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later # Except of function urlencode which is Copyright (C) by Brian White (brian@aljex.com) used under MIT license PROG="`basename $0`" diff --git a/etc/initsystem/CMakeLists.txt b/etc/initsystem/CMakeLists.txt index eb0f9f2da..57135e5b4 100644 --- a/etc/initsystem/CMakeLists.txt +++ b/etc/initsystem/CMakeLists.txt @@ -1,5 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ - +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later if(NOT WIN32) configure_file(icinga2.sysconfig.cmake ${CMAKE_CURRENT_BINARY_DIR}/initsystem/icinga2.sysconfig @ONLY) diff --git a/icinga-app/CMakeLists.txt b/icinga-app/CMakeLists.txt index 01b4efc67..a93589395 100644 --- a/icinga-app/CMakeLists.txt +++ b/icinga-app/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later if(MSVC) set(WindowsSources icinga.rc) diff --git a/icinga-app/icinga.cpp b/icinga-app/icinga.cpp index f5ebe8918..3a5968bfe 100644 --- a/icinga-app/icinga.cpp +++ b/icinga-app/icinga.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/clicommand.hpp" #include "config/configcompilercontext.hpp" diff --git a/icinga-installer/CMakeLists.txt b/icinga-installer/CMakeLists.txt index 1cd80b513..ba131ecac 100644 --- a/icinga-installer/CMakeLists.txt +++ b/icinga-installer/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later foreach(flag_var CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE diff --git a/icinga-installer/icinga-installer.cpp b/icinga-installer/icinga-installer.cpp index 2095627ed..a394e6260 100644 --- a/icinga-installer/icinga-installer.cpp +++ b/icinga-installer/icinga-installer.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include #include diff --git a/itl/CMakeLists.txt b/itl/CMakeLists.txt index b302aa3eb..326751cfe 100644 --- a/itl/CMakeLists.txt +++ b/itl/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later add_subdirectory(plugins-contrib.d) diff --git a/itl/command-icinga.conf b/itl/command-icinga.conf index 74523a4b6..5d0011feb 100644 --- a/itl/command-icinga.conf +++ b/itl/command-icinga.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "icinga" { import "icinga-check-command" diff --git a/itl/command-nscp-local.conf b/itl/command-nscp-local.conf index 8498d68f8..fcf0a30f3 100644 --- a/itl/command-nscp-local.conf +++ b/itl/command-nscp-local.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later if (!globals.contains("NscpPath")) { globals.NscpPath = dirname(msi_get_component_path("{5C45463A-4AE9-4325-96DB-6E239C034F93}")) diff --git a/itl/command-plugins-manubulon.conf b/itl/command-plugins-manubulon.conf index add365b99..67e2af93b 100644 --- a/itl/command-plugins-manubulon.conf +++ b/itl/command-plugins-manubulon.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later /** * main snmp-manubulon template diff --git a/itl/command-plugins-windows.conf b/itl/command-plugins-windows.conf index 22ab623b9..a99410abe 100644 --- a/itl/command-plugins-windows.conf +++ b/itl/command-plugins-windows.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "disk-windows" { command = [ PluginDir + "/check_disk.exe" ] diff --git a/itl/command-plugins.conf b/itl/command-plugins.conf index 55cc2e4d5..015aa07e8 100644 --- a/itl/command-plugins.conf +++ b/itl/command-plugins.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later template CheckCommand "ipv4-or-ipv6" { vars.check_address = {{ diff --git a/itl/hangman b/itl/hangman index b2feb3a79..1362cf4aa 100644 --- a/itl/hangman +++ b/itl/hangman @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later if (!globals.contains("irc")) { globals.irc = log diff --git a/itl/itl b/itl/itl index 8f98fe60e..408a30266 100644 --- a/itl/itl +++ b/itl/itl @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later /** * This is the Icinga Templare Library, a collection of general purpose Icinga diff --git a/itl/manubulon b/itl/manubulon index 6b6855da8..3a0e2e3fc 100644 --- a/itl/manubulon +++ b/itl/manubulon @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later /** * This is the SNMP Manubulon Template Library. diff --git a/itl/nscp b/itl/nscp index c62513e54..29fde426e 100644 --- a/itl/nscp +++ b/itl/nscp @@ -1,3 +1,4 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later include "command-nscp-local.conf" diff --git a/itl/plugins b/itl/plugins index edfe4cea3..c38f4f8ae 100644 --- a/itl/plugins +++ b/itl/plugins @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later /** * This is the Icinga Templare Library, a collection of general purpose Icinga diff --git a/itl/plugins-contrib b/itl/plugins-contrib index f2f56e042..14571d919 100644 --- a/itl/plugins-contrib +++ b/itl/plugins-contrib @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later /** * This is a directory for various contributed command definitions. diff --git a/itl/plugins-contrib.d/CMakeLists.txt b/itl/plugins-contrib.d/CMakeLists.txt index 0d39790de..bb8c7aa8b 100644 --- a/itl/plugins-contrib.d/CMakeLists.txt +++ b/itl/plugins-contrib.d/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later install( FILES big-data.conf databases.conf hardware.conf icingacli.conf ipmi.conf logmanagement.conf metrics.conf network-components.conf network-services.conf operating-system.conf raid-controller.conf smart-attributes.conf smart-advanced.conf storage.conf systemd.conf virtualization.conf vmware.conf web.conf diff --git a/itl/plugins-contrib.d/big-data.conf b/itl/plugins-contrib.d/big-data.conf index 7d3d6f173..5279224f6 100644 --- a/itl/plugins-contrib.d/big-data.conf +++ b/itl/plugins-contrib.d/big-data.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "cloudera_service_status" { command = [ PluginContribDir + "/check_cloudera_service_status.py" ] diff --git a/itl/plugins-contrib.d/databases.conf b/itl/plugins-contrib.d/databases.conf index 29b12463f..cc1c92273 100644 --- a/itl/plugins-contrib.d/databases.conf +++ b/itl/plugins-contrib.d/databases.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "mssql_health" { import "ipv4-or-ipv6" diff --git a/itl/plugins-contrib.d/hardware.conf b/itl/plugins-contrib.d/hardware.conf index c412cb752..961f9a078 100644 --- a/itl/plugins-contrib.d/hardware.conf +++ b/itl/plugins-contrib.d/hardware.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "hpasm" { import "ipv4-or-ipv6" diff --git a/itl/plugins-contrib.d/icingacli.conf b/itl/plugins-contrib.d/icingacli.conf index 6914f68b2..79a22c6c0 100644 --- a/itl/plugins-contrib.d/icingacli.conf +++ b/itl/plugins-contrib.d/icingacli.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later template CheckCommand "icingacli" { command = [ PrefixDir + "/bin/icingacli" ] diff --git a/itl/plugins-contrib.d/ipmi.conf b/itl/plugins-contrib.d/ipmi.conf index 6b72ae682..85d9e21eb 100644 --- a/itl/plugins-contrib.d/ipmi.conf +++ b/itl/plugins-contrib.d/ipmi.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "ipmi-sensor" { import "ipv4-or-ipv6" diff --git a/itl/plugins-contrib.d/logmanagement.conf b/itl/plugins-contrib.d/logmanagement.conf index 627dead93..5db568398 100644 --- a/itl/plugins-contrib.d/logmanagement.conf +++ b/itl/plugins-contrib.d/logmanagement.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "logstash" { import "ipv4-or-ipv6" diff --git a/itl/plugins-contrib.d/metrics.conf b/itl/plugins-contrib.d/metrics.conf index 856ba755c..4a742a2bd 100644 --- a/itl/plugins-contrib.d/metrics.conf +++ b/itl/plugins-contrib.d/metrics.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "graphite" { command = [ PluginContribDir + "/check_graphite" ] diff --git a/itl/plugins-contrib.d/network-components.conf b/itl/plugins-contrib.d/network-components.conf index c7bcacca8..2f5faf1d6 100644 --- a/itl/plugins-contrib.d/network-components.conf +++ b/itl/plugins-contrib.d/network-components.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "interfacetable" { command = [ PluginContribDir + "/check_interface_table_v3t" ] diff --git a/itl/plugins-contrib.d/network-services.conf b/itl/plugins-contrib.d/network-services.conf index 28eb42c04..45ac59254 100644 --- a/itl/plugins-contrib.d/network-services.conf +++ b/itl/plugins-contrib.d/network-services.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "kdc" { import "ipv4-or-ipv6" diff --git a/itl/plugins-contrib.d/operating-system.conf b/itl/plugins-contrib.d/operating-system.conf index 41a46e8f9..19a6938a9 100644 --- a/itl/plugins-contrib.d/operating-system.conf +++ b/itl/plugins-contrib.d/operating-system.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "mem" { command = [ PluginContribDir + "/check_mem.pl" ] diff --git a/itl/plugins-contrib.d/storage.conf b/itl/plugins-contrib.d/storage.conf index dca080eb0..2833c1343 100644 --- a/itl/plugins-contrib.d/storage.conf +++ b/itl/plugins-contrib.d/storage.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "glusterfs" { command = [ "sudo", PluginContribDir + "/check_glusterfs" ] diff --git a/itl/plugins-contrib.d/systemd.conf b/itl/plugins-contrib.d/systemd.conf index 2638165ab..53c72e971 100644 --- a/itl/plugins-contrib.d/systemd.conf +++ b/itl/plugins-contrib.d/systemd.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "systemd" { command = [ PluginContribDir + "/check_systemd" ] diff --git a/itl/plugins-contrib.d/virtualization.conf b/itl/plugins-contrib.d/virtualization.conf index 530a8759f..9dad25b1f 100644 --- a/itl/plugins-contrib.d/virtualization.conf +++ b/itl/plugins-contrib.d/virtualization.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "esxi_hardware" { command = [ PluginContribDir + "/check_esxi_hardware.py" ] diff --git a/itl/plugins-contrib.d/vmware.conf b/itl/plugins-contrib.d/vmware.conf index d32f38959..acd88b626 100644 --- a/itl/plugins-contrib.d/vmware.conf +++ b/itl/plugins-contrib.d/vmware.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later /** * main vmware-esx template diff --git a/itl/plugins-contrib.d/web.conf b/itl/plugins-contrib.d/web.conf index 84d70f1bf..494661249 100644 --- a/itl/plugins-contrib.d/web.conf +++ b/itl/plugins-contrib.d/web.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later object CheckCommand "webinject" { command = [ PluginContribDir + "/check_webinject" ] diff --git a/itl/windows-plugins b/itl/windows-plugins index a6e00db86..10303c271 100644 --- a/itl/windows-plugins +++ b/itl/windows-plugins @@ -1,3 +1,4 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later include "command-plugins-windows.conf" diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index aadbb39ad..2eb3d1832 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later add_subdirectory(base) add_subdirectory(cli) diff --git a/lib/base/CMakeLists.txt b/lib/base/CMakeLists.txt index f2eae0762..0b173a8ac 100644 --- a/lib/base/CMakeLists.txt +++ b/lib/base/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later mkclass_target(application.ti application-ti.cpp application-ti.hpp) mkclass_target(configobject.ti configobject-ti.cpp configobject-ti.hpp) diff --git a/lib/base/application-environment.cpp b/lib/base/application-environment.cpp index 819783f8d..b310d7247 100644 --- a/lib/base/application-environment.cpp +++ b/lib/base/application-environment.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/application.hpp" #include "base/scriptglobal.hpp" diff --git a/lib/base/application-version.cpp b/lib/base/application-version.cpp index d17775b73..5140295a0 100644 --- a/lib/base/application-version.cpp +++ b/lib/base/application-version.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/application.hpp" #include "icinga-version.h" diff --git a/lib/base/application.cpp b/lib/base/application.cpp index e450b3300..04b43697a 100644 --- a/lib/base/application.cpp +++ b/lib/base/application.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/application.hpp" #include "base/application-ti.cpp" diff --git a/lib/base/application.hpp b/lib/base/application.hpp index 95a11cc2f..f9fdecc3c 100644 --- a/lib/base/application.hpp +++ b/lib/base/application.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef APPLICATION_H #define APPLICATION_H diff --git a/lib/base/application.ti b/lib/base/application.ti index 3d5908a29..fc7ac8c10 100644 --- a/lib/base/application.ti +++ b/lib/base/application.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" diff --git a/lib/base/array-script.cpp b/lib/base/array-script.cpp index a97668350..956f7b60a 100644 --- a/lib/base/array-script.cpp +++ b/lib/base/array-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/array.hpp" #include "base/function.hpp" diff --git a/lib/base/array.cpp b/lib/base/array.cpp index 9906d6496..4bcb457a7 100644 --- a/lib/base/array.cpp +++ b/lib/base/array.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/array.hpp" #include "base/objectlock.hpp" diff --git a/lib/base/array.hpp b/lib/base/array.hpp index f8f923494..3b8466a47 100644 --- a/lib/base/array.hpp +++ b/lib/base/array.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ARRAY_H #define ARRAY_H diff --git a/lib/base/atomic-file.cpp b/lib/base/atomic-file.cpp index 762f38465..7e2db379c 100644 --- a/lib/base/atomic-file.cpp +++ b/lib/base/atomic-file.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2022 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2022 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/atomic-file.hpp" #include "base/exception.hpp" diff --git a/lib/base/atomic-file.hpp b/lib/base/atomic-file.hpp index c5c7897ca..235de7c4b 100644 --- a/lib/base/atomic-file.hpp +++ b/lib/base/atomic-file.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2022 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2022 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ATOMIC_FILE_H #define ATOMIC_FILE_H diff --git a/lib/base/atomic.hpp b/lib/base/atomic.hpp index fd90a67fe..a3efaf801 100644 --- a/lib/base/atomic.hpp +++ b/lib/base/atomic.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2019 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2019 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ATOMIC_H #define ATOMIC_H diff --git a/lib/base/base64.cpp b/lib/base/base64.cpp index 42999c39b..ee82b6568 100644 --- a/lib/base/base64.cpp +++ b/lib/base/base64.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/base64.hpp" #include diff --git a/lib/base/base64.hpp b/lib/base/base64.hpp index 8abbdbf36..36d375ae8 100644 --- a/lib/base/base64.hpp +++ b/lib/base/base64.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef BASE64_H #define BASE64_H diff --git a/lib/base/boolean-script.cpp b/lib/base/boolean-script.cpp index 4c9338fce..9d0b4837c 100644 --- a/lib/base/boolean-script.cpp +++ b/lib/base/boolean-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/boolean.hpp" #include "base/convert.hpp" diff --git a/lib/base/boolean.cpp b/lib/base/boolean.cpp index fa341cb35..b5d5ce3e6 100644 --- a/lib/base/boolean.cpp +++ b/lib/base/boolean.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/boolean.hpp" #include "base/primitivetype.hpp" diff --git a/lib/base/boolean.hpp b/lib/base/boolean.hpp index 6533cb418..267a559c8 100644 --- a/lib/base/boolean.hpp +++ b/lib/base/boolean.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef BOOLEAN_H #define BOOLEAN_H diff --git a/lib/base/bulker.hpp b/lib/base/bulker.hpp index 2c30dc38b..6705db5bb 100644 --- a/lib/base/bulker.hpp +++ b/lib/base/bulker.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2022 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2022 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef BULKER_H #define BULKER_H diff --git a/lib/base/configobject-script.cpp b/lib/base/configobject-script.cpp index b2aa7aaed..9cd2a1383 100644 --- a/lib/base/configobject-script.cpp +++ b/lib/base/configobject-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" #include "base/dictionary.hpp" diff --git a/lib/base/configobject.cpp b/lib/base/configobject.cpp index f71043d4b..b43b07800 100644 --- a/lib/base/configobject.cpp +++ b/lib/base/configobject.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/atomic-file.hpp" #include "base/configobject.hpp" diff --git a/lib/base/configobject.hpp b/lib/base/configobject.hpp index 559636370..7ee8c5b68 100644 --- a/lib/base/configobject.hpp +++ b/lib/base/configobject.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGOBJECT_H #define CONFIGOBJECT_H diff --git a/lib/base/configobject.ti b/lib/base/configobject.ti index ea67dfa7b..f751fcd83 100644 --- a/lib/base/configobject.ti +++ b/lib/base/configobject.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/debuginfo.hpp" #include "base/configtype.hpp" diff --git a/lib/base/configtype.cpp b/lib/base/configtype.cpp index b266cd23f..ab60bcb68 100644 --- a/lib/base/configtype.cpp +++ b/lib/base/configtype.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" #include "base/convert.hpp" diff --git a/lib/base/configtype.hpp b/lib/base/configtype.hpp index f709b2c0d..c8ab126ad 100644 --- a/lib/base/configtype.hpp +++ b/lib/base/configtype.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGTYPE_H #define CONFIGTYPE_H diff --git a/lib/base/configuration.cpp b/lib/base/configuration.cpp index 86267fba3..29240c893 100644 --- a/lib/base/configuration.cpp +++ b/lib/base/configuration.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configuration.hpp" #include "base/configuration-ti.cpp" diff --git a/lib/base/configuration.hpp b/lib/base/configuration.hpp index a5aed01e8..1405789e2 100644 --- a/lib/base/configuration.hpp +++ b/lib/base/configuration.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGURATION_H #define CONFIGURATION_H diff --git a/lib/base/configuration.ti b/lib/base/configuration.ti index 72fa92dcf..617ad7e0e 100644 --- a/lib/base/configuration.ti +++ b/lib/base/configuration.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" diff --git a/lib/base/configwriter.cpp b/lib/base/configwriter.cpp index c9dd58270..b9d912615 100644 --- a/lib/base/configwriter.cpp +++ b/lib/base/configwriter.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configwriter.hpp" #include "base/exception.hpp" diff --git a/lib/base/configwriter.hpp b/lib/base/configwriter.hpp index a0c70f76f..9f222ab5d 100644 --- a/lib/base/configwriter.hpp +++ b/lib/base/configwriter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGWRITER_H #define CONFIGWRITER_H diff --git a/lib/base/console.cpp b/lib/base/console.cpp index 99a5fad3d..95cc22e28 100644 --- a/lib/base/console.cpp +++ b/lib/base/console.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/console.hpp" #include "base/initialize.hpp" diff --git a/lib/base/console.hpp b/lib/base/console.hpp index f5b8c9a3e..c42da64ea 100644 --- a/lib/base/console.hpp +++ b/lib/base/console.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONSOLE_H #define CONSOLE_H diff --git a/lib/base/context.cpp b/lib/base/context.cpp index 9c0a78106..377df9fb7 100644 --- a/lib/base/context.cpp +++ b/lib/base/context.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/context.hpp" #include diff --git a/lib/base/context.hpp b/lib/base/context.hpp index d6fe73360..6aab0c4f8 100644 --- a/lib/base/context.hpp +++ b/lib/base/context.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONTEXT_H #define CONTEXT_H diff --git a/lib/base/convert.cpp b/lib/base/convert.cpp index 19d3e44e4..0cdb98683 100644 --- a/lib/base/convert.cpp +++ b/lib/base/convert.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/convert.hpp" #include "base/datetime.hpp" diff --git a/lib/base/convert.hpp b/lib/base/convert.hpp index e0754b36d..14513f4b7 100644 --- a/lib/base/convert.hpp +++ b/lib/base/convert.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONVERT_H #define CONVERT_H diff --git a/lib/base/datetime-script.cpp b/lib/base/datetime-script.cpp index 0fc342e43..2ede0bc9f 100644 --- a/lib/base/datetime-script.cpp +++ b/lib/base/datetime-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/datetime.hpp" #include "base/function.hpp" diff --git a/lib/base/datetime.cpp b/lib/base/datetime.cpp index 3e443e613..9185a25d8 100644 --- a/lib/base/datetime.cpp +++ b/lib/base/datetime.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/datetime.hpp" #include "base/datetime-ti.cpp" diff --git a/lib/base/datetime.hpp b/lib/base/datetime.hpp index e7b8a1fdd..923cb436e 100644 --- a/lib/base/datetime.hpp +++ b/lib/base/datetime.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DATETIME_H #define DATETIME_H diff --git a/lib/base/datetime.ti b/lib/base/datetime.ti index b9d737506..74f5e2ffb 100644 --- a/lib/base/datetime.ti +++ b/lib/base/datetime.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later library base; diff --git a/lib/base/debug.hpp b/lib/base/debug.hpp index 083a648ca..0b7c113dd 100644 --- a/lib/base/debug.hpp +++ b/lib/base/debug.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DEBUG_H #define DEBUG_H diff --git a/lib/base/debuginfo.cpp b/lib/base/debuginfo.cpp index f085b8b87..ef5278fee 100644 --- a/lib/base/debuginfo.cpp +++ b/lib/base/debuginfo.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/debuginfo.hpp" #include "base/convert.hpp" diff --git a/lib/base/debuginfo.hpp b/lib/base/debuginfo.hpp index d47db91c1..249445dd6 100644 --- a/lib/base/debuginfo.hpp +++ b/lib/base/debuginfo.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DEBUGINFO_H #define DEBUGINFO_H diff --git a/lib/base/defer.hpp b/lib/base/defer.hpp index 2625e02ff..fd7791b8f 100644 --- a/lib/base/defer.hpp +++ b/lib/base/defer.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DEFER #define DEFER diff --git a/lib/base/dependencygraph.cpp b/lib/base/dependencygraph.cpp index 06446cfc2..ee4f83af6 100644 --- a/lib/base/dependencygraph.cpp +++ b/lib/base/dependencygraph.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/dependencygraph.hpp" diff --git a/lib/base/dependencygraph.hpp b/lib/base/dependencygraph.hpp index ef1a2a4a6..b325a7e66 100644 --- a/lib/base/dependencygraph.hpp +++ b/lib/base/dependencygraph.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DEPENDENCYGRAPH_H #define DEPENDENCYGRAPH_H diff --git a/lib/base/dictionary-script.cpp b/lib/base/dictionary-script.cpp index 512f08600..1ee1d3b4e 100644 --- a/lib/base/dictionary-script.cpp +++ b/lib/base/dictionary-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/dictionary.hpp" #include "base/function.hpp" diff --git a/lib/base/dictionary.cpp b/lib/base/dictionary.cpp index 2599a1039..c679fd92b 100644 --- a/lib/base/dictionary.cpp +++ b/lib/base/dictionary.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/dictionary.hpp" #include "base/debug.hpp" diff --git a/lib/base/dictionary.hpp b/lib/base/dictionary.hpp index f0bbf1b46..f9d85b907 100644 --- a/lib/base/dictionary.hpp +++ b/lib/base/dictionary.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DICTIONARY_H #define DICTIONARY_H diff --git a/lib/base/exception.cpp b/lib/base/exception.cpp index d596290f8..62e29e1be 100644 --- a/lib/base/exception.cpp +++ b/lib/base/exception.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/exception.hpp" #include "base/stacktrace.hpp" diff --git a/lib/base/exception.hpp b/lib/base/exception.hpp index f581f4a03..178f47493 100644 --- a/lib/base/exception.hpp +++ b/lib/base/exception.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef EXCEPTION_H #define EXCEPTION_H diff --git a/lib/base/fifo.cpp b/lib/base/fifo.cpp index 89e0b3dc4..11beff529 100644 --- a/lib/base/fifo.cpp +++ b/lib/base/fifo.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/fifo.hpp" diff --git a/lib/base/fifo.hpp b/lib/base/fifo.hpp index a94666166..3fbc4a815 100644 --- a/lib/base/fifo.hpp +++ b/lib/base/fifo.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef FIFO_H #define FIFO_H diff --git a/lib/base/filelogger.cpp b/lib/base/filelogger.cpp index c3da84a37..dd5b41c5a 100644 --- a/lib/base/filelogger.cpp +++ b/lib/base/filelogger.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/filelogger.hpp" #include "base/filelogger-ti.cpp" diff --git a/lib/base/filelogger.hpp b/lib/base/filelogger.hpp index 420337f6a..7e6aa39b3 100644 --- a/lib/base/filelogger.hpp +++ b/lib/base/filelogger.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef FILELOGGER_H #define FILELOGGER_H diff --git a/lib/base/filelogger.ti b/lib/base/filelogger.ti index 8af2498ec..4d2df0eee 100644 --- a/lib/base/filelogger.ti +++ b/lib/base/filelogger.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/streamlogger.hpp" diff --git a/lib/base/function-script.cpp b/lib/base/function-script.cpp index cd32f5ca0..eb2806408 100644 --- a/lib/base/function-script.cpp +++ b/lib/base/function-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/function.hpp" #include "base/functionwrapper.hpp" diff --git a/lib/base/function.cpp b/lib/base/function.cpp index f9a261dc0..9d6a0f865 100644 --- a/lib/base/function.cpp +++ b/lib/base/function.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/function.hpp" #include "base/function-ti.cpp" diff --git a/lib/base/function.hpp b/lib/base/function.hpp index d52a230a1..093b19f1f 100644 --- a/lib/base/function.hpp +++ b/lib/base/function.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef FUNCTION_H #define FUNCTION_H diff --git a/lib/base/function.ti b/lib/base/function.ti index f2623c168..550f870fb 100644 --- a/lib/base/function.ti +++ b/lib/base/function.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" diff --git a/lib/base/functionwrapper.hpp b/lib/base/functionwrapper.hpp index 57cf1cbe4..b5f8af97c 100644 --- a/lib/base/functionwrapper.hpp +++ b/lib/base/functionwrapper.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef FUNCTIONWRAPPER_H #define FUNCTIONWRAPPER_H diff --git a/lib/base/generator.hpp b/lib/base/generator.hpp index fa41e67fc..3cb5af022 100644 --- a/lib/base/generator.hpp +++ b/lib/base/generator.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/lib/base/i2-base.hpp b/lib/base/i2-base.hpp index a7bfc6a9e..caf67f6f4 100644 --- a/lib/base/i2-base.hpp +++ b/lib/base/i2-base.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef I2BASE_H #define I2BASE_H diff --git a/lib/base/initialize.cpp b/lib/base/initialize.cpp index 2220779e4..e9b670214 100644 --- a/lib/base/initialize.cpp +++ b/lib/base/initialize.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/initialize.hpp" #include "base/loader.hpp" diff --git a/lib/base/initialize.hpp b/lib/base/initialize.hpp index 6c50b2408..cb8546d38 100644 --- a/lib/base/initialize.hpp +++ b/lib/base/initialize.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef INITIALIZE_H #define INITIALIZE_H diff --git a/lib/base/intrusive-ptr.hpp b/lib/base/intrusive-ptr.hpp index eb0f67e66..d84716a3f 100644 --- a/lib/base/intrusive-ptr.hpp +++ b/lib/base/intrusive-ptr.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/lib/base/io-engine.cpp b/lib/base/io-engine.cpp index 9886dc3d5..1852dd6c3 100644 --- a/lib/base/io-engine.cpp +++ b/lib/base/io-engine.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configuration.hpp" #include "base/exception.hpp" diff --git a/lib/base/io-engine.hpp b/lib/base/io-engine.hpp index 0883d7810..4acbf8b3e 100644 --- a/lib/base/io-engine.hpp +++ b/lib/base/io-engine.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef IO_ENGINE_H #define IO_ENGINE_H diff --git a/lib/base/journaldlogger.cpp b/lib/base/journaldlogger.cpp index 92d6af7a5..1a1538a53 100644 --- a/lib/base/journaldlogger.cpp +++ b/lib/base/journaldlogger.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/i2-base.hpp" #if !defined(_WIN32) && defined(HAVE_SYSTEMD) diff --git a/lib/base/journaldlogger.hpp b/lib/base/journaldlogger.hpp index 373dd1a60..c5e38d814 100644 --- a/lib/base/journaldlogger.hpp +++ b/lib/base/journaldlogger.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef JOURNALDLOGGER_H #define JOURNALDLOGGER_H diff --git a/lib/base/journaldlogger.ti b/lib/base/journaldlogger.ti index 88e9ca1e3..997279e67 100644 --- a/lib/base/journaldlogger.ti +++ b/lib/base/journaldlogger.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/logger.hpp" diff --git a/lib/base/json-script.cpp b/lib/base/json-script.cpp index 90595c88f..6fb3a18c8 100644 --- a/lib/base/json-script.cpp +++ b/lib/base/json-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/dictionary.hpp" #include "base/function.hpp" diff --git a/lib/base/json.cpp b/lib/base/json.cpp index 531ab45b2..b87da81d8 100644 --- a/lib/base/json.cpp +++ b/lib/base/json.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/json.hpp" #include "base/debug.hpp" diff --git a/lib/base/json.hpp b/lib/base/json.hpp index a5ed46280..47094ff69 100644 --- a/lib/base/json.hpp +++ b/lib/base/json.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef JSON_H #define JSON_H diff --git a/lib/base/lazy-init.hpp b/lib/base/lazy-init.hpp index c1da2cd93..fc70fd773 100644 --- a/lib/base/lazy-init.hpp +++ b/lib/base/lazy-init.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef LAZY_INIT #define LAZY_INIT diff --git a/lib/base/library.cpp b/lib/base/library.cpp index 8e6b92bf1..93190a1c8 100644 --- a/lib/base/library.cpp +++ b/lib/base/library.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/library.hpp" #include "base/loader.hpp" diff --git a/lib/base/library.hpp b/lib/base/library.hpp index 6bd2065ec..6efa21890 100644 --- a/lib/base/library.hpp +++ b/lib/base/library.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef LIBRARY_H #define LIBRARY_H diff --git a/lib/base/loader.cpp b/lib/base/loader.cpp index d13cb3fe0..883245295 100644 --- a/lib/base/loader.cpp +++ b/lib/base/loader.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/loader.hpp" #include "base/logger.hpp" diff --git a/lib/base/loader.hpp b/lib/base/loader.hpp index f1c775928..a3ffa605e 100644 --- a/lib/base/loader.hpp +++ b/lib/base/loader.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef LOADER_H #define LOADER_H diff --git a/lib/base/logger.cpp b/lib/base/logger.cpp index f28a19bbd..5172e3a83 100644 --- a/lib/base/logger.cpp +++ b/lib/base/logger.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/logger.hpp" #include "base/logger-ti.cpp" diff --git a/lib/base/logger.hpp b/lib/base/logger.hpp index 3c6bff18d..0e929d300 100644 --- a/lib/base/logger.hpp +++ b/lib/base/logger.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef LOGGER_H #define LOGGER_H diff --git a/lib/base/logger.ti b/lib/base/logger.ti index 920562ea0..560f9f53a 100644 --- a/lib/base/logger.ti +++ b/lib/base/logger.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" diff --git a/lib/base/math-script.cpp b/lib/base/math-script.cpp index 6cd7b0eb4..8a606bff7 100644 --- a/lib/base/math-script.cpp +++ b/lib/base/math-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/dictionary.hpp" #include "base/function.hpp" diff --git a/lib/base/namespace-script.cpp b/lib/base/namespace-script.cpp index e1fddcc5a..011861765 100644 --- a/lib/base/namespace-script.cpp +++ b/lib/base/namespace-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/namespace.hpp" #include "base/function.hpp" diff --git a/lib/base/namespace.cpp b/lib/base/namespace.cpp index 383b2ecbd..4397117aa 100644 --- a/lib/base/namespace.cpp +++ b/lib/base/namespace.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/namespace.hpp" #include "base/debug.hpp" diff --git a/lib/base/namespace.hpp b/lib/base/namespace.hpp index 194671099..c707c0e60 100644 --- a/lib/base/namespace.hpp +++ b/lib/base/namespace.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef NAMESPACE_H #define NAMESPACE_H diff --git a/lib/base/netstring.cpp b/lib/base/netstring.cpp index 8f8fe4f67..913e89b5b 100644 --- a/lib/base/netstring.cpp +++ b/lib/base/netstring.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/netstring.hpp" #include "base/debug.hpp" diff --git a/lib/base/netstring.hpp b/lib/base/netstring.hpp index e5ec051de..aedc97e79 100644 --- a/lib/base/netstring.hpp +++ b/lib/base/netstring.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef NETSTRING_H #define NETSTRING_H diff --git a/lib/base/networkstream.cpp b/lib/base/networkstream.cpp index 9d5f24441..37a6f17c1 100644 --- a/lib/base/networkstream.cpp +++ b/lib/base/networkstream.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/networkstream.hpp" diff --git a/lib/base/networkstream.hpp b/lib/base/networkstream.hpp index 0663962d6..bde40b953 100644 --- a/lib/base/networkstream.hpp +++ b/lib/base/networkstream.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef NETWORKSTREAM_H #define NETWORKSTREAM_H diff --git a/lib/base/number-script.cpp b/lib/base/number-script.cpp index 2a848d58a..bfce2009f 100644 --- a/lib/base/number-script.cpp +++ b/lib/base/number-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/number.hpp" #include "base/convert.hpp" diff --git a/lib/base/number.cpp b/lib/base/number.cpp index f074b46f7..d7091b86c 100644 --- a/lib/base/number.cpp +++ b/lib/base/number.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/number.hpp" #include "base/primitivetype.hpp" diff --git a/lib/base/number.hpp b/lib/base/number.hpp index dd5196f98..70aa197b7 100644 --- a/lib/base/number.hpp +++ b/lib/base/number.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef NUMBER_H #define NUMBER_H diff --git a/lib/base/object-packer.cpp b/lib/base/object-packer.cpp index d4a762f88..6ecf29333 100644 --- a/lib/base/object-packer.cpp +++ b/lib/base/object-packer.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/object-packer.hpp" #include "base/debug.hpp" diff --git a/lib/base/object-packer.hpp b/lib/base/object-packer.hpp index 00f7b998b..87a60536e 100644 --- a/lib/base/object-packer.hpp +++ b/lib/base/object-packer.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef OBJECT_PACKER #define OBJECT_PACKER diff --git a/lib/base/object-script.cpp b/lib/base/object-script.cpp index 30a6f09cc..2a639e614 100644 --- a/lib/base/object-script.cpp +++ b/lib/base/object-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/object.hpp" #include "base/dictionary.hpp" diff --git a/lib/base/object.cpp b/lib/base/object.cpp index b9d3aee46..f75e7c101 100644 --- a/lib/base/object.cpp +++ b/lib/base/object.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/object.hpp" #include "base/value.hpp" diff --git a/lib/base/object.hpp b/lib/base/object.hpp index dc08db043..054dc6c93 100644 --- a/lib/base/object.hpp +++ b/lib/base/object.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef OBJECT_H #define OBJECT_H diff --git a/lib/base/objectlock.cpp b/lib/base/objectlock.cpp index 9ed9d1f21..ca8f960e9 100644 --- a/lib/base/objectlock.cpp +++ b/lib/base/objectlock.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/objectlock.hpp" #include diff --git a/lib/base/objectlock.hpp b/lib/base/objectlock.hpp index 328887425..b82b64caf 100644 --- a/lib/base/objectlock.hpp +++ b/lib/base/objectlock.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef OBJECTLOCK_H #define OBJECTLOCK_H diff --git a/lib/base/objecttype.cpp b/lib/base/objecttype.cpp index 23d910b51..e54f49aac 100644 --- a/lib/base/objecttype.cpp +++ b/lib/base/objecttype.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/objecttype.hpp" #include "base/initialize.hpp" diff --git a/lib/base/objecttype.hpp b/lib/base/objecttype.hpp index 0db715e18..a1f40674d 100644 --- a/lib/base/objecttype.hpp +++ b/lib/base/objecttype.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef OBJECTTYPE_H #define OBJECTTYPE_H diff --git a/lib/base/perfdatavalue.cpp b/lib/base/perfdatavalue.cpp index 5c7c7622f..274f96f5b 100644 --- a/lib/base/perfdatavalue.cpp +++ b/lib/base/perfdatavalue.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/perfdatavalue.hpp" #include "base/perfdatavalue-ti.cpp" diff --git a/lib/base/perfdatavalue.hpp b/lib/base/perfdatavalue.hpp index 05b2c34ac..e5947868d 100644 --- a/lib/base/perfdatavalue.hpp +++ b/lib/base/perfdatavalue.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PERFDATAVALUE_H #define PERFDATAVALUE_H diff --git a/lib/base/perfdatavalue.ti b/lib/base/perfdatavalue.ti index b2692e98a..7c552cc16 100644 --- a/lib/base/perfdatavalue.ti +++ b/lib/base/perfdatavalue.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later library base; diff --git a/lib/base/primitivetype.cpp b/lib/base/primitivetype.cpp index 3a1aae8e7..1b3a4be65 100644 --- a/lib/base/primitivetype.cpp +++ b/lib/base/primitivetype.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/primitivetype.hpp" #include "base/dictionary.hpp" diff --git a/lib/base/primitivetype.hpp b/lib/base/primitivetype.hpp index 439e20f3e..c373022b3 100644 --- a/lib/base/primitivetype.hpp +++ b/lib/base/primitivetype.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PRIMITIVETYPE_H #define PRIMITIVETYPE_H diff --git a/lib/base/process.cpp b/lib/base/process.cpp index 8a51e475b..da35196ed 100644 --- a/lib/base/process.cpp +++ b/lib/base/process.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/process.hpp" #include "base/exception.hpp" diff --git a/lib/base/process.hpp b/lib/base/process.hpp index 7cbcbe129..33f32c11d 100644 --- a/lib/base/process.hpp +++ b/lib/base/process.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PROCESS_H #define PROCESS_H diff --git a/lib/base/reference-script.cpp b/lib/base/reference-script.cpp index 940824578..e9926c6f8 100644 --- a/lib/base/reference-script.cpp +++ b/lib/base/reference-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/reference.hpp" #include "base/function.hpp" diff --git a/lib/base/reference.cpp b/lib/base/reference.cpp index 9382bde30..4e37982c7 100644 --- a/lib/base/reference.cpp +++ b/lib/base/reference.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/reference.hpp" #include "base/debug.hpp" diff --git a/lib/base/reference.hpp b/lib/base/reference.hpp index 30faabe5f..2728e7dc0 100644 --- a/lib/base/reference.hpp +++ b/lib/base/reference.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef REFERENCE_H #define REFERENCE_H diff --git a/lib/base/registry.hpp b/lib/base/registry.hpp index e2ef6784f..5f9672dda 100644 --- a/lib/base/registry.hpp +++ b/lib/base/registry.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef REGISTRY_H #define REGISTRY_H diff --git a/lib/base/ringbuffer.cpp b/lib/base/ringbuffer.cpp index 52e2ae507..298c4aa34 100644 --- a/lib/base/ringbuffer.cpp +++ b/lib/base/ringbuffer.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/ringbuffer.hpp" #include "base/objectlock.hpp" diff --git a/lib/base/ringbuffer.hpp b/lib/base/ringbuffer.hpp index 9fbef53a7..5c1afdf5c 100644 --- a/lib/base/ringbuffer.hpp +++ b/lib/base/ringbuffer.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef RINGBUFFER_H #define RINGBUFFER_H diff --git a/lib/base/scriptframe.cpp b/lib/base/scriptframe.cpp index 374c11d74..244f3d59f 100644 --- a/lib/base/scriptframe.cpp +++ b/lib/base/scriptframe.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/scriptframe.hpp" #include "base/scriptglobal.hpp" diff --git a/lib/base/scriptframe.hpp b/lib/base/scriptframe.hpp index 211de45db..60aa57c0e 100644 --- a/lib/base/scriptframe.hpp +++ b/lib/base/scriptframe.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SCRIPTFRAME_H #define SCRIPTFRAME_H diff --git a/lib/base/scriptglobal.cpp b/lib/base/scriptglobal.cpp index a777ba490..ce0a247bc 100644 --- a/lib/base/scriptglobal.cpp +++ b/lib/base/scriptglobal.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/atomic-file.hpp" #include "base/scriptglobal.hpp" diff --git a/lib/base/scriptglobal.hpp b/lib/base/scriptglobal.hpp index f349b7b01..26b6ed8df 100644 --- a/lib/base/scriptglobal.hpp +++ b/lib/base/scriptglobal.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SCRIPTGLOBAL_H #define SCRIPTGLOBAL_H diff --git a/lib/base/scriptpermission.cpp b/lib/base/scriptpermission.cpp index e985fa578..556eeaa89 100644 --- a/lib/base/scriptpermission.cpp +++ b/lib/base/scriptpermission.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/scriptpermission.hpp" diff --git a/lib/base/scriptpermission.hpp b/lib/base/scriptpermission.hpp index ba6346cb3..185279196 100644 --- a/lib/base/scriptpermission.hpp +++ b/lib/base/scriptpermission.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/lib/base/scriptutils.cpp b/lib/base/scriptutils.cpp index 16e774fa9..c19266f4c 100644 --- a/lib/base/scriptutils.cpp +++ b/lib/base/scriptutils.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/scriptutils.hpp" #include "base/function.hpp" diff --git a/lib/base/scriptutils.hpp b/lib/base/scriptutils.hpp index a16d46f74..05e48cdd5 100644 --- a/lib/base/scriptutils.hpp +++ b/lib/base/scriptutils.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SCRIPTUTILS_H #define SCRIPTUTILS_H diff --git a/lib/base/serializer.cpp b/lib/base/serializer.cpp index b8b140a3a..a9bcfd12e 100644 --- a/lib/base/serializer.cpp +++ b/lib/base/serializer.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/serializer.hpp" #include "base/type.hpp" diff --git a/lib/base/serializer.hpp b/lib/base/serializer.hpp index f055b3bc7..2a0f68142 100644 --- a/lib/base/serializer.hpp +++ b/lib/base/serializer.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SERIALIZER_H #define SERIALIZER_H diff --git a/lib/base/shared-memory.hpp b/lib/base/shared-memory.hpp index dd350c89f..6a3e0d611 100644 --- a/lib/base/shared-memory.hpp +++ b/lib/base/shared-memory.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2023 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2023 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/lib/base/shared-object.hpp b/lib/base/shared-object.hpp index a434f404c..4384a9294 100644 --- a/lib/base/shared-object.hpp +++ b/lib/base/shared-object.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2019 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2019 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SHARED_OBJECT_H #define SHARED_OBJECT_H diff --git a/lib/base/shared.hpp b/lib/base/shared.hpp index 2c9d0fcee..a00e2c7c4 100644 --- a/lib/base/shared.hpp +++ b/lib/base/shared.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2019 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2019 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SHARED_H #define SHARED_H diff --git a/lib/base/singleton.hpp b/lib/base/singleton.hpp index 77511c09a..8487a58f6 100644 --- a/lib/base/singleton.hpp +++ b/lib/base/singleton.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SINGLETON_H #define SINGLETON_H diff --git a/lib/base/socket.cpp b/lib/base/socket.cpp index 4c967dee4..99adca9da 100644 --- a/lib/base/socket.cpp +++ b/lib/base/socket.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/socket.hpp" #include "base/objectlock.hpp" diff --git a/lib/base/socket.hpp b/lib/base/socket.hpp index f7acf7f52..7697c6f4a 100644 --- a/lib/base/socket.hpp +++ b/lib/base/socket.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SOCKET_H #define SOCKET_H diff --git a/lib/base/stacktrace.cpp b/lib/base/stacktrace.cpp index e3f15ceb7..9dd822171 100644 --- a/lib/base/stacktrace.cpp +++ b/lib/base/stacktrace.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2020 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2020 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include #include "base/stacktrace.hpp" diff --git a/lib/base/stacktrace.hpp b/lib/base/stacktrace.hpp index b4a9765f9..52cca5a7a 100644 --- a/lib/base/stacktrace.hpp +++ b/lib/base/stacktrace.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2020 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2020 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef STACKTRACE_H #define STACKTRACE_H diff --git a/lib/base/statsfunction.hpp b/lib/base/statsfunction.hpp index ecac33c57..bfee141e9 100644 --- a/lib/base/statsfunction.hpp +++ b/lib/base/statsfunction.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef STATSFUNCTION_H #define STATSFUNCTION_H diff --git a/lib/base/stdiostream.cpp b/lib/base/stdiostream.cpp index 107db287d..315c51ec2 100644 --- a/lib/base/stdiostream.cpp +++ b/lib/base/stdiostream.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/stdiostream.hpp" #include "base/objectlock.hpp" diff --git a/lib/base/stdiostream.hpp b/lib/base/stdiostream.hpp index 8f65be4aa..c94375069 100644 --- a/lib/base/stdiostream.hpp +++ b/lib/base/stdiostream.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef STDIOSTREAM_H #define STDIOSTREAM_H diff --git a/lib/base/stream.cpp b/lib/base/stream.cpp index 5a1c6d250..f7f8d28ca 100644 --- a/lib/base/stream.cpp +++ b/lib/base/stream.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/stream.hpp" #include diff --git a/lib/base/stream.hpp b/lib/base/stream.hpp index 63149310e..4bf55ab7b 100644 --- a/lib/base/stream.hpp +++ b/lib/base/stream.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef STREAM_H #define STREAM_H diff --git a/lib/base/streamlogger.cpp b/lib/base/streamlogger.cpp index 162b9c3b0..f2eac791c 100644 --- a/lib/base/streamlogger.cpp +++ b/lib/base/streamlogger.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/streamlogger.hpp" #include "base/streamlogger-ti.cpp" diff --git a/lib/base/streamlogger.hpp b/lib/base/streamlogger.hpp index 8cbe313ce..ddf944fdf 100644 --- a/lib/base/streamlogger.hpp +++ b/lib/base/streamlogger.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef STREAMLOGGER_H #define STREAMLOGGER_H diff --git a/lib/base/streamlogger.ti b/lib/base/streamlogger.ti index 6dc36e0cb..8456efb4d 100644 --- a/lib/base/streamlogger.ti +++ b/lib/base/streamlogger.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/logger.hpp" diff --git a/lib/base/string-script.cpp b/lib/base/string-script.cpp index 9ff8ce3c8..b772bdd6c 100644 --- a/lib/base/string-script.cpp +++ b/lib/base/string-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/object.hpp" #include "base/dictionary.hpp" diff --git a/lib/base/string.cpp b/lib/base/string.cpp index 2806902ac..fa64dfd73 100644 --- a/lib/base/string.cpp +++ b/lib/base/string.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/string.hpp" #include "base/value.hpp" diff --git a/lib/base/string.hpp b/lib/base/string.hpp index 896c74d0b..6e2d42969 100644 --- a/lib/base/string.hpp +++ b/lib/base/string.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef STRING_H #define STRING_H diff --git a/lib/base/sysloglogger.cpp b/lib/base/sysloglogger.cpp index fc2ec0951..c0847ac8f 100644 --- a/lib/base/sysloglogger.cpp +++ b/lib/base/sysloglogger.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef _WIN32 #include "base/sysloglogger.hpp" diff --git a/lib/base/sysloglogger.hpp b/lib/base/sysloglogger.hpp index d1d685907..d6e0b3b3c 100644 --- a/lib/base/sysloglogger.hpp +++ b/lib/base/sysloglogger.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SYSLOGLOGGER_H #define SYSLOGLOGGER_H diff --git a/lib/base/sysloglogger.ti b/lib/base/sysloglogger.ti index 8f343597f..8b1a9024d 100644 --- a/lib/base/sysloglogger.ti +++ b/lib/base/sysloglogger.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/logger.hpp" diff --git a/lib/base/tcpsocket.cpp b/lib/base/tcpsocket.cpp index 01594fdf3..4d37b538e 100644 --- a/lib/base/tcpsocket.cpp +++ b/lib/base/tcpsocket.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/tcpsocket.hpp" #include "base/logger.hpp" diff --git a/lib/base/tcpsocket.hpp b/lib/base/tcpsocket.hpp index 9fc57d28e..40a93c860 100644 --- a/lib/base/tcpsocket.hpp +++ b/lib/base/tcpsocket.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef TCPSOCKET_H #define TCPSOCKET_H diff --git a/lib/base/threadpool.cpp b/lib/base/threadpool.cpp index dc76e7b15..b17402663 100644 --- a/lib/base/threadpool.cpp +++ b/lib/base/threadpool.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/threadpool.hpp" #include diff --git a/lib/base/threadpool.hpp b/lib/base/threadpool.hpp index d30fa694c..6f0e57a2d 100644 --- a/lib/base/threadpool.hpp +++ b/lib/base/threadpool.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef THREADPOOL_H #define THREADPOOL_H diff --git a/lib/base/timer.cpp b/lib/base/timer.cpp index ffe1c39d8..0ad2790ab 100644 --- a/lib/base/timer.cpp +++ b/lib/base/timer.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/defer.hpp" #include "base/timer.hpp" diff --git a/lib/base/timer.hpp b/lib/base/timer.hpp index db0f0b7e0..82c12de0b 100644 --- a/lib/base/timer.hpp +++ b/lib/base/timer.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef TIMER_H #define TIMER_H diff --git a/lib/base/tlsstream.cpp b/lib/base/tlsstream.cpp index 66514e0cf..c17d7131b 100644 --- a/lib/base/tlsstream.cpp +++ b/lib/base/tlsstream.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/tlsstream.hpp" #include "base/application.hpp" diff --git a/lib/base/tlsstream.hpp b/lib/base/tlsstream.hpp index 4bff9d629..a19a3f025 100644 --- a/lib/base/tlsstream.hpp +++ b/lib/base/tlsstream.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef TLSSTREAM_H #define TLSSTREAM_H diff --git a/lib/base/tlsutility.cpp b/lib/base/tlsutility.cpp index 3c4244cc5..9730c3b67 100644 --- a/lib/base/tlsutility.cpp +++ b/lib/base/tlsutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/tlsutility.hpp" #include "base/convert.hpp" diff --git a/lib/base/tlsutility.hpp b/lib/base/tlsutility.hpp index ea49f5103..008fc90d6 100644 --- a/lib/base/tlsutility.hpp +++ b/lib/base/tlsutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef TLSUTILITY_H #define TLSUTILITY_H diff --git a/lib/base/type.cpp b/lib/base/type.cpp index 25249b7f7..1300c7e31 100644 --- a/lib/base/type.cpp +++ b/lib/base/type.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/type.hpp" #include "base/atomic.hpp" diff --git a/lib/base/type.hpp b/lib/base/type.hpp index ee8a9b37c..fb541f06a 100644 --- a/lib/base/type.hpp +++ b/lib/base/type.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef TYPE_H #define TYPE_H diff --git a/lib/base/typetype-script.cpp b/lib/base/typetype-script.cpp index 6a07800c2..f66738000 100644 --- a/lib/base/typetype-script.cpp +++ b/lib/base/typetype-script.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/type.hpp" #include "base/dictionary.hpp" diff --git a/lib/base/unix.hpp b/lib/base/unix.hpp index 7413a5b15..3793dde64 100644 --- a/lib/base/unix.hpp +++ b/lib/base/unix.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef UNIX_H #define UNIX_H diff --git a/lib/base/unixsocket.cpp b/lib/base/unixsocket.cpp index dcc56ffa1..309e832e1 100644 --- a/lib/base/unixsocket.cpp +++ b/lib/base/unixsocket.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/unixsocket.hpp" #include "base/exception.hpp" diff --git a/lib/base/unixsocket.hpp b/lib/base/unixsocket.hpp index 80a9f255e..975388a27 100644 --- a/lib/base/unixsocket.hpp +++ b/lib/base/unixsocket.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef UNIXSOCKET_H #define UNIXSOCKET_H diff --git a/lib/base/utility.cpp b/lib/base/utility.cpp index df1dae063..207c63fc4 100644 --- a/lib/base/utility.cpp +++ b/lib/base/utility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/atomic-file.hpp" #include "base/utility.hpp" diff --git a/lib/base/utility.hpp b/lib/base/utility.hpp index 2a2fe0c1b..9e29beb30 100644 --- a/lib/base/utility.hpp +++ b/lib/base/utility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef UTILITY_H #define UTILITY_H diff --git a/lib/base/value-operators.cpp b/lib/base/value-operators.cpp index d00c3e262..139038c1d 100644 --- a/lib/base/value-operators.cpp +++ b/lib/base/value-operators.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/value.hpp" #include "base/array.hpp" diff --git a/lib/base/value.cpp b/lib/base/value.cpp index 1e357a92a..90447f1af 100644 --- a/lib/base/value.cpp +++ b/lib/base/value.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/value.hpp" #include "base/array.hpp" diff --git a/lib/base/value.hpp b/lib/base/value.hpp index 9533d710c..b5d7dc402 100644 --- a/lib/base/value.hpp +++ b/lib/base/value.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef VALUE_H #define VALUE_H diff --git a/lib/base/wait-group.cpp b/lib/base/wait-group.cpp index 6ad716605..4e21c7243 100644 --- a/lib/base/wait-group.cpp +++ b/lib/base/wait-group.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/wait-group.hpp" diff --git a/lib/base/wait-group.hpp b/lib/base/wait-group.hpp index 618f07aec..e8eec7575 100644 --- a/lib/base/wait-group.hpp +++ b/lib/base/wait-group.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/lib/base/win32.hpp b/lib/base/win32.hpp index 80d8729f3..3b08181d8 100644 --- a/lib/base/win32.hpp +++ b/lib/base/win32.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef WIN32_H #define WIN32_H diff --git a/lib/base/windowseventloglogger.cpp b/lib/base/windowseventloglogger.cpp index cc28358f9..7992f088e 100644 --- a/lib/base/windowseventloglogger.cpp +++ b/lib/base/windowseventloglogger.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifdef _WIN32 #include "base/windowseventloglogger.hpp" diff --git a/lib/base/windowseventloglogger.hpp b/lib/base/windowseventloglogger.hpp index cefc245c7..536f971b4 100644 --- a/lib/base/windowseventloglogger.hpp +++ b/lib/base/windowseventloglogger.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef WINDOWSEVENTLOGLOGGER_H #define WINDOWSEVENTLOGLOGGER_H diff --git a/lib/base/windowseventloglogger.ti b/lib/base/windowseventloglogger.ti index edf65fc06..571bcaa5f 100644 --- a/lib/base/windowseventloglogger.ti +++ b/lib/base/windowseventloglogger.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/logger.hpp" diff --git a/lib/base/workqueue.cpp b/lib/base/workqueue.cpp index 711f05124..a4793c0ae 100644 --- a/lib/base/workqueue.cpp +++ b/lib/base/workqueue.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/workqueue.hpp" #include "base/utility.hpp" diff --git a/lib/base/workqueue.hpp b/lib/base/workqueue.hpp index 2cfec6471..8199ec613 100644 --- a/lib/base/workqueue.hpp +++ b/lib/base/workqueue.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef WORKQUEUE_H #define WORKQUEUE_H diff --git a/lib/checker/CMakeLists.txt b/lib/checker/CMakeLists.txt index 5a8334c7f..5fc90efb0 100644 --- a/lib/checker/CMakeLists.txt +++ b/lib/checker/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later mkclass_target(checkercomponent.ti checkercomponent-ti.cpp checkercomponent-ti.hpp) diff --git a/lib/checker/checkercomponent.cpp b/lib/checker/checkercomponent.cpp index 04583833a..d0f8fac67 100644 --- a/lib/checker/checkercomponent.cpp +++ b/lib/checker/checkercomponent.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "checker/checkercomponent.hpp" #include "checker/checkercomponent-ti.cpp" diff --git a/lib/checker/checkercomponent.hpp b/lib/checker/checkercomponent.hpp index edd3775e5..0bf9ce9d3 100644 --- a/lib/checker/checkercomponent.hpp +++ b/lib/checker/checkercomponent.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CHECKERCOMPONENT_H #define CHECKERCOMPONENT_H diff --git a/lib/checker/checkercomponent.ti b/lib/checker/checkercomponent.ti index 3959aeb48..564424cdf 100644 --- a/lib/checker/checkercomponent.ti +++ b/lib/checker/checkercomponent.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" diff --git a/lib/cli/CMakeLists.txt b/lib/cli/CMakeLists.txt index bbdf801ab..e53ac571a 100644 --- a/lib/cli/CMakeLists.txt +++ b/lib/cli/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later set(cli_SOURCES i2-cli.hpp diff --git a/lib/cli/apisetupcommand.cpp b/lib/cli/apisetupcommand.cpp index e97210c7d..60c30fd47 100644 --- a/lib/cli/apisetupcommand.cpp +++ b/lib/cli/apisetupcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/apisetupcommand.hpp" #include "cli/apisetuputility.hpp" diff --git a/lib/cli/apisetupcommand.hpp b/lib/cli/apisetupcommand.hpp index be2693d13..260c1f241 100644 --- a/lib/cli/apisetupcommand.hpp +++ b/lib/cli/apisetupcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef APISETUPCOMMAND_H #define APISETUPCOMMAND_H diff --git a/lib/cli/apisetuputility.cpp b/lib/cli/apisetuputility.cpp index 8bdd76796..b81e631ef 100644 --- a/lib/cli/apisetuputility.cpp +++ b/lib/cli/apisetuputility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/apisetuputility.hpp" #include "cli/nodeutility.hpp" diff --git a/lib/cli/apisetuputility.hpp b/lib/cli/apisetuputility.hpp index d3614462d..2f5fe8ddb 100644 --- a/lib/cli/apisetuputility.hpp +++ b/lib/cli/apisetuputility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef APISETUPUTILITY_H #define APISETUPUTILITY_H diff --git a/lib/cli/calistcommand.cpp b/lib/cli/calistcommand.cpp index cbb045390..08c5e3262 100644 --- a/lib/cli/calistcommand.cpp +++ b/lib/cli/calistcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/calistcommand.hpp" #include "remote/apilistener.hpp" diff --git a/lib/cli/calistcommand.hpp b/lib/cli/calistcommand.hpp index ddf44d43b..b36785f5e 100644 --- a/lib/cli/calistcommand.hpp +++ b/lib/cli/calistcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CALISTCOMMAND_H #define CALISTCOMMAND_H diff --git a/lib/cli/caremovecommand.cpp b/lib/cli/caremovecommand.cpp index 894816d6f..b8643caa2 100644 --- a/lib/cli/caremovecommand.cpp +++ b/lib/cli/caremovecommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/caremovecommand.hpp" #include "base/logger.hpp" diff --git a/lib/cli/caremovecommand.hpp b/lib/cli/caremovecommand.hpp index 2da92d39e..6ba4a171c 100644 --- a/lib/cli/caremovecommand.hpp +++ b/lib/cli/caremovecommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CAREMOVECOMMAND_H #define CAREMOVECOMMAND_H diff --git a/lib/cli/carestorecommand.cpp b/lib/cli/carestorecommand.cpp index a1b1c5b76..bd8ddd0d3 100644 --- a/lib/cli/carestorecommand.cpp +++ b/lib/cli/carestorecommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/carestorecommand.hpp" #include "base/logger.hpp" diff --git a/lib/cli/carestorecommand.hpp b/lib/cli/carestorecommand.hpp index 74a27dff6..92abe43dc 100644 --- a/lib/cli/carestorecommand.hpp +++ b/lib/cli/carestorecommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CARESTORECOMMAND_H #define CARESTORECOMMAND_H diff --git a/lib/cli/casigncommand.cpp b/lib/cli/casigncommand.cpp index 789e1f5db..4419a7dae 100644 --- a/lib/cli/casigncommand.cpp +++ b/lib/cli/casigncommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/casigncommand.hpp" #include "base/logger.hpp" diff --git a/lib/cli/casigncommand.hpp b/lib/cli/casigncommand.hpp index 0089af76c..3b1ada808 100644 --- a/lib/cli/casigncommand.hpp +++ b/lib/cli/casigncommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CASIGNCOMMAND_H #define CASIGNCOMMAND_H diff --git a/lib/cli/clicommand.cpp b/lib/cli/clicommand.cpp index 2621d32b8..46b702831 100644 --- a/lib/cli/clicommand.cpp +++ b/lib/cli/clicommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/clicommand.hpp" #include "base/logger.hpp" diff --git a/lib/cli/clicommand.hpp b/lib/cli/clicommand.hpp index ef159599d..a122101c2 100644 --- a/lib/cli/clicommand.hpp +++ b/lib/cli/clicommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CLICOMMAND_H #define CLICOMMAND_H diff --git a/lib/cli/consolecommand.cpp b/lib/cli/consolecommand.cpp index 34ee4c13b..37a35d499 100644 --- a/lib/cli/consolecommand.cpp +++ b/lib/cli/consolecommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/consolecommand.hpp" #include "config/configcompiler.hpp" diff --git a/lib/cli/consolecommand.hpp b/lib/cli/consolecommand.hpp index 631ec2164..b35939408 100644 --- a/lib/cli/consolecommand.hpp +++ b/lib/cli/consolecommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONSOLECOMMAND_H #define CONSOLECOMMAND_H diff --git a/lib/cli/daemoncommand.cpp b/lib/cli/daemoncommand.cpp index 46273aae1..8cf095a3e 100644 --- a/lib/cli/daemoncommand.cpp +++ b/lib/cli/daemoncommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/daemoncommand.hpp" #include "cli/daemonutility.hpp" diff --git a/lib/cli/daemoncommand.hpp b/lib/cli/daemoncommand.hpp index da8a34bd3..4aabb03f9 100644 --- a/lib/cli/daemoncommand.hpp +++ b/lib/cli/daemoncommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DAEMONCOMMAND_H #define DAEMONCOMMAND_H diff --git a/lib/cli/daemonutility.cpp b/lib/cli/daemonutility.cpp index 3116f8ca4..f9fb79873 100644 --- a/lib/cli/daemonutility.cpp +++ b/lib/cli/daemonutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/daemonutility.hpp" #include "base/configobject.hpp" diff --git a/lib/cli/daemonutility.hpp b/lib/cli/daemonutility.hpp index 963bfba74..67596fc02 100644 --- a/lib/cli/daemonutility.hpp +++ b/lib/cli/daemonutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DAEMONUTILITY_H #define DAEMONUTILITY_H diff --git a/lib/cli/editline.hpp b/lib/cli/editline.hpp index f97525edb..3b4688a13 100644 --- a/lib/cli/editline.hpp +++ b/lib/cli/editline.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef EDITLINE_H #define EDITLINE_H diff --git a/lib/cli/featuredisablecommand.cpp b/lib/cli/featuredisablecommand.cpp index 6fb6045fa..4951035b8 100644 --- a/lib/cli/featuredisablecommand.cpp +++ b/lib/cli/featuredisablecommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/featuredisablecommand.hpp" #include "cli/featureutility.hpp" diff --git a/lib/cli/featuredisablecommand.hpp b/lib/cli/featuredisablecommand.hpp index b24655de6..f7fe6d8b3 100644 --- a/lib/cli/featuredisablecommand.hpp +++ b/lib/cli/featuredisablecommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef FEATUREDISABLECOMMAND_H #define FEATUREDISABLECOMMAND_H diff --git a/lib/cli/featureenablecommand.cpp b/lib/cli/featureenablecommand.cpp index 211c2fbca..455d96788 100644 --- a/lib/cli/featureenablecommand.cpp +++ b/lib/cli/featureenablecommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/featureenablecommand.hpp" #include "cli/featureutility.hpp" diff --git a/lib/cli/featureenablecommand.hpp b/lib/cli/featureenablecommand.hpp index fc917787d..7c796f6e5 100644 --- a/lib/cli/featureenablecommand.hpp +++ b/lib/cli/featureenablecommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef FEATUREENABLECOMMAND_H #define FEATUREENABLECOMMAND_H diff --git a/lib/cli/featurelistcommand.cpp b/lib/cli/featurelistcommand.cpp index f5442115b..704beb5db 100644 --- a/lib/cli/featurelistcommand.cpp +++ b/lib/cli/featurelistcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/featurelistcommand.hpp" #include "cli/featureutility.hpp" diff --git a/lib/cli/featurelistcommand.hpp b/lib/cli/featurelistcommand.hpp index cae1d740b..1534badfb 100644 --- a/lib/cli/featurelistcommand.hpp +++ b/lib/cli/featurelistcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef FEATURELISTCOMMAND_H #define FEATURELISTCOMMAND_H diff --git a/lib/cli/featureutility.cpp b/lib/cli/featureutility.cpp index 94929b5a2..9a3fa987d 100644 --- a/lib/cli/featureutility.cpp +++ b/lib/cli/featureutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/featureutility.hpp" #include "base/logger.hpp" diff --git a/lib/cli/featureutility.hpp b/lib/cli/featureutility.hpp index 9cb2128c6..fa403b606 100644 --- a/lib/cli/featureutility.hpp +++ b/lib/cli/featureutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef FEATUREUTILITY_H #define FEATUREUTILITY_H diff --git a/lib/cli/i2-cli.hpp b/lib/cli/i2-cli.hpp index 86e5ddd14..2a2f6cb6f 100644 --- a/lib/cli/i2-cli.hpp +++ b/lib/cli/i2-cli.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef I2CLI_H #define I2CLI_H diff --git a/lib/cli/internalsignalcommand.cpp b/lib/cli/internalsignalcommand.cpp index 30404bbe2..468aa5d6c 100644 --- a/lib/cli/internalsignalcommand.cpp +++ b/lib/cli/internalsignalcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/internalsignalcommand.hpp" #include "base/logger.hpp" diff --git a/lib/cli/internalsignalcommand.hpp b/lib/cli/internalsignalcommand.hpp index d599b80cd..51d095dc2 100644 --- a/lib/cli/internalsignalcommand.hpp +++ b/lib/cli/internalsignalcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef INTERNALSIGNALCOMMAND_H #define INTERNALSIGNALCOMMAND_H diff --git a/lib/cli/nodesetupcommand.cpp b/lib/cli/nodesetupcommand.cpp index 23975de3e..9bd434b67 100644 --- a/lib/cli/nodesetupcommand.cpp +++ b/lib/cli/nodesetupcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/nodesetupcommand.hpp" #include "cli/nodeutility.hpp" diff --git a/lib/cli/nodesetupcommand.hpp b/lib/cli/nodesetupcommand.hpp index e5219f7b7..7fb206346 100644 --- a/lib/cli/nodesetupcommand.hpp +++ b/lib/cli/nodesetupcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef NODESETUPCOMMAND_H #define NODESETUPCOMMAND_H diff --git a/lib/cli/nodeutility.cpp b/lib/cli/nodeutility.cpp index e2986c3ee..6c933b7f8 100644 --- a/lib/cli/nodeutility.cpp +++ b/lib/cli/nodeutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/nodeutility.hpp" #include "cli/clicommand.hpp" diff --git a/lib/cli/nodeutility.hpp b/lib/cli/nodeutility.hpp index 7016b6bae..2b8474c15 100644 --- a/lib/cli/nodeutility.hpp +++ b/lib/cli/nodeutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef NODEUTILITY_H #define NODEUTILITY_H diff --git a/lib/cli/nodewizardcommand.cpp b/lib/cli/nodewizardcommand.cpp index 310c23b56..2cf8848d5 100644 --- a/lib/cli/nodewizardcommand.cpp +++ b/lib/cli/nodewizardcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/nodewizardcommand.hpp" #include "cli/nodeutility.hpp" diff --git a/lib/cli/nodewizardcommand.hpp b/lib/cli/nodewizardcommand.hpp index dfda70c8a..cd149a649 100644 --- a/lib/cli/nodewizardcommand.hpp +++ b/lib/cli/nodewizardcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef NODEWIZARDCOMMAND_H #define NODEWIZARDCOMMAND_H diff --git a/lib/cli/objectlistcommand.cpp b/lib/cli/objectlistcommand.cpp index 6eef7ac82..1bdbef8ce 100644 --- a/lib/cli/objectlistcommand.cpp +++ b/lib/cli/objectlistcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/objectlistcommand.hpp" #include "cli/objectlistutility.hpp" diff --git a/lib/cli/objectlistcommand.hpp b/lib/cli/objectlistcommand.hpp index bafe3ec71..b67709993 100644 --- a/lib/cli/objectlistcommand.hpp +++ b/lib/cli/objectlistcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef OBJECTLISTCOMMAND_H #define OBJECTLISTCOMMAND_H diff --git a/lib/cli/objectlistutility.cpp b/lib/cli/objectlistutility.cpp index a8135d98a..abbf414c0 100644 --- a/lib/cli/objectlistutility.cpp +++ b/lib/cli/objectlistutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/objectlistutility.hpp" #include "base/json.hpp" diff --git a/lib/cli/objectlistutility.hpp b/lib/cli/objectlistutility.hpp index ee1b97c4d..44b45e971 100644 --- a/lib/cli/objectlistutility.hpp +++ b/lib/cli/objectlistutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef OBJECTLISTUTILITY_H #define OBJECTLISTUTILITY_H diff --git a/lib/cli/pkinewcacommand.cpp b/lib/cli/pkinewcacommand.cpp index eaaf73fa3..1fa90f3aa 100644 --- a/lib/cli/pkinewcacommand.cpp +++ b/lib/cli/pkinewcacommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/pkinewcacommand.hpp" #include "remote/pkiutility.hpp" diff --git a/lib/cli/pkinewcacommand.hpp b/lib/cli/pkinewcacommand.hpp index 5b1bff645..3d55559db 100644 --- a/lib/cli/pkinewcacommand.hpp +++ b/lib/cli/pkinewcacommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PKINEWCACOMMAND_H #define PKINEWCACOMMAND_H diff --git a/lib/cli/pkinewcertcommand.cpp b/lib/cli/pkinewcertcommand.cpp index afb5475d6..a14597dbf 100644 --- a/lib/cli/pkinewcertcommand.cpp +++ b/lib/cli/pkinewcertcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/pkinewcertcommand.hpp" #include "remote/pkiutility.hpp" diff --git a/lib/cli/pkinewcertcommand.hpp b/lib/cli/pkinewcertcommand.hpp index 0c39bb6fb..715ac0d43 100644 --- a/lib/cli/pkinewcertcommand.hpp +++ b/lib/cli/pkinewcertcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PKINEWCERTCOMMAND_H #define PKINEWCERTCOMMAND_H diff --git a/lib/cli/pkirequestcommand.cpp b/lib/cli/pkirequestcommand.cpp index 865533b85..81938c03e 100644 --- a/lib/cli/pkirequestcommand.cpp +++ b/lib/cli/pkirequestcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/pkirequestcommand.hpp" #include "remote/pkiutility.hpp" diff --git a/lib/cli/pkirequestcommand.hpp b/lib/cli/pkirequestcommand.hpp index 6e2a39334..ff86bca32 100644 --- a/lib/cli/pkirequestcommand.hpp +++ b/lib/cli/pkirequestcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PKIREQUESTCOMMAND_H #define PKIREQUESTCOMMAND_H diff --git a/lib/cli/pkisavecertcommand.cpp b/lib/cli/pkisavecertcommand.cpp index 9910fa48d..5d7388a3f 100644 --- a/lib/cli/pkisavecertcommand.cpp +++ b/lib/cli/pkisavecertcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/pkisavecertcommand.hpp" #include "remote/pkiutility.hpp" diff --git a/lib/cli/pkisavecertcommand.hpp b/lib/cli/pkisavecertcommand.hpp index c552eefc2..e46c04b55 100644 --- a/lib/cli/pkisavecertcommand.hpp +++ b/lib/cli/pkisavecertcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PKISAVECERTCOMMAND_H #define PKISAVECERTCOMMAND_H diff --git a/lib/cli/pkisigncsrcommand.cpp b/lib/cli/pkisigncsrcommand.cpp index ab645c547..a0f624e5d 100644 --- a/lib/cli/pkisigncsrcommand.cpp +++ b/lib/cli/pkisigncsrcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/pkisigncsrcommand.hpp" #include "remote/pkiutility.hpp" diff --git a/lib/cli/pkisigncsrcommand.hpp b/lib/cli/pkisigncsrcommand.hpp index a66fd3935..c63dc3cab 100644 --- a/lib/cli/pkisigncsrcommand.hpp +++ b/lib/cli/pkisigncsrcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PKISIGNCSRCOMMAND_H #define PKISIGNCSRCOMMAND_H diff --git a/lib/cli/pkiticketcommand.cpp b/lib/cli/pkiticketcommand.cpp index c4002c13e..486c36307 100644 --- a/lib/cli/pkiticketcommand.cpp +++ b/lib/cli/pkiticketcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/pkiticketcommand.hpp" #include "remote/pkiutility.hpp" diff --git a/lib/cli/pkiticketcommand.hpp b/lib/cli/pkiticketcommand.hpp index 500ce864c..60cfb3a4a 100644 --- a/lib/cli/pkiticketcommand.hpp +++ b/lib/cli/pkiticketcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PKITICKETCOMMAND_H #define PKITICKETCOMMAND_H diff --git a/lib/cli/pkiverifycommand.cpp b/lib/cli/pkiverifycommand.cpp index 791e07c81..2122b90a2 100644 --- a/lib/cli/pkiverifycommand.cpp +++ b/lib/cli/pkiverifycommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2020 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2020 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/pkiverifycommand.hpp" #include "icinga/service.hpp" diff --git a/lib/cli/pkiverifycommand.hpp b/lib/cli/pkiverifycommand.hpp index 8e4b9dbcb..278782c70 100644 --- a/lib/cli/pkiverifycommand.hpp +++ b/lib/cli/pkiverifycommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2020 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2020 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PKIVERIFYCOMMAND_H #define PKIVERIFYCOMMAND_H diff --git a/lib/cli/variablegetcommand.cpp b/lib/cli/variablegetcommand.cpp index 3c843a380..2a83c9a36 100644 --- a/lib/cli/variablegetcommand.cpp +++ b/lib/cli/variablegetcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/variablegetcommand.hpp" #include "cli/variableutility.hpp" diff --git a/lib/cli/variablegetcommand.hpp b/lib/cli/variablegetcommand.hpp index 9479b3a43..ef4b45e5f 100644 --- a/lib/cli/variablegetcommand.hpp +++ b/lib/cli/variablegetcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef VARIABLEGETCOMMAND_H #define VARIABLEGETCOMMAND_H diff --git a/lib/cli/variablelistcommand.cpp b/lib/cli/variablelistcommand.cpp index fd666c57d..2b6bf5144 100644 --- a/lib/cli/variablelistcommand.cpp +++ b/lib/cli/variablelistcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/variablelistcommand.hpp" #include "cli/variableutility.hpp" diff --git a/lib/cli/variablelistcommand.hpp b/lib/cli/variablelistcommand.hpp index 909d9eb74..6063e8300 100644 --- a/lib/cli/variablelistcommand.hpp +++ b/lib/cli/variablelistcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef VARIABLELISTCOMMAND_H #define VARIABLELISTCOMMAND_H diff --git a/lib/cli/variableutility.cpp b/lib/cli/variableutility.cpp index 398c9a0e5..e3332522c 100644 --- a/lib/cli/variableutility.cpp +++ b/lib/cli/variableutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/variableutility.hpp" #include "base/logger.hpp" diff --git a/lib/cli/variableutility.hpp b/lib/cli/variableutility.hpp index 69869b2b6..792c47e63 100644 --- a/lib/cli/variableutility.hpp +++ b/lib/cli/variableutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef VARIABLEUTILITY_H #define VARIABLEUTILITY_H diff --git a/lib/compat/CMakeLists.txt b/lib/compat/CMakeLists.txt index f7d032fd4..a80231b1c 100644 --- a/lib/compat/CMakeLists.txt +++ b/lib/compat/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later mkclass_target(compatlogger.ti compatlogger-ti.cpp compatlogger-ti.hpp) mkclass_target(externalcommandlistener.ti externalcommandlistener-ti.cpp externalcommandlistener-ti.hpp) diff --git a/lib/compat/compatlogger.cpp b/lib/compat/compatlogger.cpp index 23ac71427..aa3646091 100644 --- a/lib/compat/compatlogger.cpp +++ b/lib/compat/compatlogger.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "compat/compatlogger.hpp" #include "compat/compatlogger-ti.cpp" diff --git a/lib/compat/compatlogger.hpp b/lib/compat/compatlogger.hpp index af5314b95..3535bb083 100644 --- a/lib/compat/compatlogger.hpp +++ b/lib/compat/compatlogger.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef COMPATLOGGER_H #define COMPATLOGGER_H diff --git a/lib/compat/compatlogger.ti b/lib/compat/compatlogger.ti index 56431eccd..7f1975c7c 100644 --- a/lib/compat/compatlogger.ti +++ b/lib/compat/compatlogger.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" #include "base/application.hpp" diff --git a/lib/compat/externalcommandlistener.cpp b/lib/compat/externalcommandlistener.cpp index 6ca4e3c09..069df2b5d 100644 --- a/lib/compat/externalcommandlistener.cpp +++ b/lib/compat/externalcommandlistener.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "compat/externalcommandlistener.hpp" #include "compat/externalcommandlistener-ti.cpp" diff --git a/lib/compat/externalcommandlistener.hpp b/lib/compat/externalcommandlistener.hpp index 62d4f8134..b7ac6c85c 100644 --- a/lib/compat/externalcommandlistener.hpp +++ b/lib/compat/externalcommandlistener.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef EXTERNALCOMMANDLISTENER_H #define EXTERNALCOMMANDLISTENER_H diff --git a/lib/compat/externalcommandlistener.ti b/lib/compat/externalcommandlistener.ti index 5b529442e..5d399f186 100644 --- a/lib/compat/externalcommandlistener.ti +++ b/lib/compat/externalcommandlistener.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" #include "base/application.hpp" diff --git a/lib/config/CMakeLists.txt b/lib/config/CMakeLists.txt index 80b8c2c44..e75e203be 100644 --- a/lib/config/CMakeLists.txt +++ b/lib/config/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later find_package(BISON 2.3.0 REQUIRED) find_package(FLEX 2.5.31 REQUIRED) diff --git a/lib/config/activationcontext.cpp b/lib/config/activationcontext.cpp index 9aa6623a9..2bb34961d 100644 --- a/lib/config/activationcontext.cpp +++ b/lib/config/activationcontext.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/activationcontext.hpp" #include "base/exception.hpp" diff --git a/lib/config/activationcontext.hpp b/lib/config/activationcontext.hpp index 3fe5d09ab..e22f6b290 100644 --- a/lib/config/activationcontext.hpp +++ b/lib/config/activationcontext.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ACTIVATIONCONTEXT_H #define ACTIVATIONCONTEXT_H diff --git a/lib/config/applyrule-targeted.cpp b/lib/config/applyrule-targeted.cpp index c5bfe2086..9db37c987 100644 --- a/lib/config/applyrule-targeted.cpp +++ b/lib/config/applyrule-targeted.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2022 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2022 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/string.hpp" #include "config/applyrule.hpp" diff --git a/lib/config/applyrule.cpp b/lib/config/applyrule.cpp index 87399711e..fec461845 100644 --- a/lib/config/applyrule.cpp +++ b/lib/config/applyrule.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/applyrule.hpp" #include "base/logger.hpp" diff --git a/lib/config/applyrule.hpp b/lib/config/applyrule.hpp index cf9b6e5e6..0acc1c994 100644 --- a/lib/config/applyrule.hpp +++ b/lib/config/applyrule.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef APPLYRULE_H #define APPLYRULE_H diff --git a/lib/config/config_lexer.ll b/lib/config/config_lexer.ll index abfdaffb7..255683fc2 100644 --- a/lib/config/config_lexer.ll +++ b/lib/config/config_lexer.ll @@ -1,5 +1,6 @@ %{ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/configcompiler.hpp" #include "config/expression.hpp" diff --git a/lib/config/config_parser.yy b/lib/config/config_parser.yy index c84e79cd2..048cb29d7 100644 --- a/lib/config/config_parser.yy +++ b/lib/config/config_parser.yy @@ -1,7 +1,8 @@ %{ #define YYDEBUG 1 -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/i2-config.hpp" #include "config/configcompiler.hpp" diff --git a/lib/config/configcompiler.cpp b/lib/config/configcompiler.cpp index 227e7106c..27fcfc594 100644 --- a/lib/config/configcompiler.cpp +++ b/lib/config/configcompiler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/configcompiler.hpp" #include "config/configitem.hpp" diff --git a/lib/config/configcompiler.hpp b/lib/config/configcompiler.hpp index fe00bedfc..86c0a6f1a 100644 --- a/lib/config/configcompiler.hpp +++ b/lib/config/configcompiler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGCOMPILER_H #define CONFIGCOMPILER_H diff --git a/lib/config/configcompilercontext.cpp b/lib/config/configcompilercontext.cpp index 8b2be6bbd..17a5e12e8 100644 --- a/lib/config/configcompilercontext.cpp +++ b/lib/config/configcompilercontext.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/configcompilercontext.hpp" #include "base/singleton.hpp" diff --git a/lib/config/configcompilercontext.hpp b/lib/config/configcompilercontext.hpp index c3d531712..97389bdff 100644 --- a/lib/config/configcompilercontext.hpp +++ b/lib/config/configcompilercontext.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGCOMPILERCONTEXT_H #define CONFIGCOMPILERCONTEXT_H diff --git a/lib/config/configfragment.hpp b/lib/config/configfragment.hpp index 883aef86c..20851b8ec 100644 --- a/lib/config/configfragment.hpp +++ b/lib/config/configfragment.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGFRAGMENT_H #define CONFIGFRAGMENT_H diff --git a/lib/config/configitem.cpp b/lib/config/configitem.cpp index fef463d70..7687e50be 100644 --- a/lib/config/configitem.cpp +++ b/lib/config/configitem.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/configitem.hpp" #include "config/configcompilercontext.hpp" diff --git a/lib/config/configitem.hpp b/lib/config/configitem.hpp index 007a3c08a..bd04b47f4 100644 --- a/lib/config/configitem.hpp +++ b/lib/config/configitem.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGITEM_H #define CONFIGITEM_H diff --git a/lib/config/configitembuilder.cpp b/lib/config/configitembuilder.cpp index 5d4d0d7fb..964ce658a 100644 --- a/lib/config/configitembuilder.cpp +++ b/lib/config/configitembuilder.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/configitembuilder.hpp" #include "base/configtype.hpp" diff --git a/lib/config/configitembuilder.hpp b/lib/config/configitembuilder.hpp index 9d2e3392f..bd9b44d8d 100644 --- a/lib/config/configitembuilder.hpp +++ b/lib/config/configitembuilder.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGITEMBUILDER_H #define CONFIGITEMBUILDER_H diff --git a/lib/config/expression.cpp b/lib/config/expression.cpp index 6cf8bf3e4..4c8fd6c5a 100644 --- a/lib/config/expression.cpp +++ b/lib/config/expression.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/expression.hpp" #include "config/configitem.hpp" diff --git a/lib/config/expression.hpp b/lib/config/expression.hpp index 915da40c5..e4120a006 100644 --- a/lib/config/expression.hpp +++ b/lib/config/expression.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef EXPRESSION_H #define EXPRESSION_H diff --git a/lib/config/i2-config.hpp b/lib/config/i2-config.hpp index 8c26287f9..5df5c2aad 100644 --- a/lib/config/i2-config.hpp +++ b/lib/config/i2-config.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef I2CONFIG_H #define I2CONFIG_H diff --git a/lib/config/objectrule.cpp b/lib/config/objectrule.cpp index 6a74a40b9..c283daed8 100644 --- a/lib/config/objectrule.cpp +++ b/lib/config/objectrule.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/objectrule.hpp" #include diff --git a/lib/config/objectrule.hpp b/lib/config/objectrule.hpp index d093c9f5f..e9645166e 100644 --- a/lib/config/objectrule.hpp +++ b/lib/config/objectrule.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef OBJECTRULE_H #define OBJECTRULE_H diff --git a/lib/config/vmops.hpp b/lib/config/vmops.hpp index 659d3cfd1..f1990c024 100644 --- a/lib/config/vmops.hpp +++ b/lib/config/vmops.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef VMOPS_H #define VMOPS_H diff --git a/lib/db_ido/CMakeLists.txt b/lib/db_ido/CMakeLists.txt index 7a97d276e..6e7d0c452 100644 --- a/lib/db_ido/CMakeLists.txt +++ b/lib/db_ido/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later mkclass_target(dbconnection.ti dbconnection-ti.cpp dbconnection-ti.hpp) diff --git a/lib/db_ido/commanddbobject.cpp b/lib/db_ido/commanddbobject.cpp index 2ac167aab..55e7fa292 100644 --- a/lib/db_ido/commanddbobject.cpp +++ b/lib/db_ido/commanddbobject.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/commanddbobject.hpp" #include "db_ido/dbtype.hpp" diff --git a/lib/db_ido/commanddbobject.hpp b/lib/db_ido/commanddbobject.hpp index 6d227472b..1ba693b4d 100644 --- a/lib/db_ido/commanddbobject.hpp +++ b/lib/db_ido/commanddbobject.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef COMMANDDBOBJECT_H #define COMMANDDBOBJECT_H diff --git a/lib/db_ido/db_ido-itl.conf b/lib/db_ido/db_ido-itl.conf index e2c42c3d0..d318a6ec5 100644 --- a/lib/db_ido/db_ido-itl.conf +++ b/lib/db_ido/db_ido-itl.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later System.assert(Internal.run_with_activation_context(function() { template CheckCommand "ido-check-command" use (checkFunc = Internal.IdoCheck) { diff --git a/lib/db_ido/dbconnection.cpp b/lib/db_ido/dbconnection.cpp index a8534c43a..fd02d3dea 100644 --- a/lib/db_ido/dbconnection.cpp +++ b/lib/db_ido/dbconnection.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/dbconnection.hpp" #include "db_ido/dbconnection-ti.cpp" diff --git a/lib/db_ido/dbconnection.hpp b/lib/db_ido/dbconnection.hpp index 517a8a40e..4a5c07244 100644 --- a/lib/db_ido/dbconnection.hpp +++ b/lib/db_ido/dbconnection.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DBCONNECTION_H #define DBCONNECTION_H diff --git a/lib/db_ido/dbconnection.ti b/lib/db_ido/dbconnection.ti index ad02b4094..98da04f77 100644 --- a/lib/db_ido/dbconnection.ti +++ b/lib/db_ido/dbconnection.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/dbquery.hpp" #include "base/configobject.hpp" diff --git a/lib/db_ido/dbevents.cpp b/lib/db_ido/dbevents.cpp index 3c9f54914..8dea5f9d1 100644 --- a/lib/db_ido/dbevents.cpp +++ b/lib/db_ido/dbevents.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/dbevents.hpp" #include "db_ido/dbtype.hpp" diff --git a/lib/db_ido/dbevents.hpp b/lib/db_ido/dbevents.hpp index 8ca5411dd..894e185cc 100644 --- a/lib/db_ido/dbevents.hpp +++ b/lib/db_ido/dbevents.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DBEVENTS_H #define DBEVENTS_H diff --git a/lib/db_ido/dbobject.cpp b/lib/db_ido/dbobject.cpp index 5b5aef4c6..8faa777c1 100644 --- a/lib/db_ido/dbobject.cpp +++ b/lib/db_ido/dbobject.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/dbobject.hpp" #include "db_ido/dbtype.hpp" diff --git a/lib/db_ido/dbobject.hpp b/lib/db_ido/dbobject.hpp index 399b77d42..890f0d5dc 100644 --- a/lib/db_ido/dbobject.hpp +++ b/lib/db_ido/dbobject.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DBOBJECT_H #define DBOBJECT_H diff --git a/lib/db_ido/dbquery.cpp b/lib/db_ido/dbquery.cpp index 1de292843..c89a07537 100644 --- a/lib/db_ido/dbquery.cpp +++ b/lib/db_ido/dbquery.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/dbquery.hpp" #include "base/initialize.hpp" diff --git a/lib/db_ido/dbquery.hpp b/lib/db_ido/dbquery.hpp index fecb2e346..40345060d 100644 --- a/lib/db_ido/dbquery.hpp +++ b/lib/db_ido/dbquery.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DBQUERY_H #define DBQUERY_H diff --git a/lib/db_ido/dbreference.cpp b/lib/db_ido/dbreference.cpp index e8f13c0d7..4cc28fd6a 100644 --- a/lib/db_ido/dbreference.cpp +++ b/lib/db_ido/dbreference.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "dbreference.hpp" diff --git a/lib/db_ido/dbreference.hpp b/lib/db_ido/dbreference.hpp index 70edf9a90..da15c0881 100644 --- a/lib/db_ido/dbreference.hpp +++ b/lib/db_ido/dbreference.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DBREFERENCE_H #define DBREFERENCE_H diff --git a/lib/db_ido/dbtype.cpp b/lib/db_ido/dbtype.cpp index 8006171ce..2a9078861 100644 --- a/lib/db_ido/dbtype.cpp +++ b/lib/db_ido/dbtype.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/dbtype.hpp" #include "db_ido/dbconnection.hpp" diff --git a/lib/db_ido/dbtype.hpp b/lib/db_ido/dbtype.hpp index b210aabb3..7a4ea26b2 100644 --- a/lib/db_ido/dbtype.hpp +++ b/lib/db_ido/dbtype.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DBTYPE_H #define DBTYPE_H diff --git a/lib/db_ido/dbvalue.cpp b/lib/db_ido/dbvalue.cpp index e1e3e6c69..9cb922859 100644 --- a/lib/db_ido/dbvalue.cpp +++ b/lib/db_ido/dbvalue.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/dbvalue.hpp" diff --git a/lib/db_ido/dbvalue.hpp b/lib/db_ido/dbvalue.hpp index cb59e3ad4..c02f01423 100644 --- a/lib/db_ido/dbvalue.hpp +++ b/lib/db_ido/dbvalue.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DBVALUE_H #define DBVALUE_H diff --git a/lib/db_ido/endpointdbobject.cpp b/lib/db_ido/endpointdbobject.cpp index ea16dd744..a935336a9 100644 --- a/lib/db_ido/endpointdbobject.cpp +++ b/lib/db_ido/endpointdbobject.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/endpointdbobject.hpp" #include "db_ido/dbtype.hpp" diff --git a/lib/db_ido/endpointdbobject.hpp b/lib/db_ido/endpointdbobject.hpp index e4fba360f..109052c37 100644 --- a/lib/db_ido/endpointdbobject.hpp +++ b/lib/db_ido/endpointdbobject.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ENDPOINTDBOBJECT_H #define ENDPOINTDBOBJECT_H diff --git a/lib/db_ido/hostdbobject.cpp b/lib/db_ido/hostdbobject.cpp index 3f38683b6..4345668d2 100644 --- a/lib/db_ido/hostdbobject.cpp +++ b/lib/db_ido/hostdbobject.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/hostdbobject.hpp" #include "db_ido/hostgroupdbobject.hpp" diff --git a/lib/db_ido/hostdbobject.hpp b/lib/db_ido/hostdbobject.hpp index 9fff10ad5..25cb1124b 100644 --- a/lib/db_ido/hostdbobject.hpp +++ b/lib/db_ido/hostdbobject.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef HOSTDBOBJECT_H #define HOSTDBOBJECT_H diff --git a/lib/db_ido/hostgroupdbobject.cpp b/lib/db_ido/hostgroupdbobject.cpp index cef6aa2c5..2c931950a 100644 --- a/lib/db_ido/hostgroupdbobject.cpp +++ b/lib/db_ido/hostgroupdbobject.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/hostgroupdbobject.hpp" #include "db_ido/dbtype.hpp" diff --git a/lib/db_ido/hostgroupdbobject.hpp b/lib/db_ido/hostgroupdbobject.hpp index 9c48f2995..80cded851 100644 --- a/lib/db_ido/hostgroupdbobject.hpp +++ b/lib/db_ido/hostgroupdbobject.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef HOSTGROUPDBOBJECT_H #define HOSTGROUPDBOBJECT_H diff --git a/lib/db_ido/i2-db_ido.hpp b/lib/db_ido/i2-db_ido.hpp index 1da9fdcf8..2c5cf8222 100644 --- a/lib/db_ido/i2-db_ido.hpp +++ b/lib/db_ido/i2-db_ido.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef I2DB_IDO_H #define I2DB_IDO_H diff --git a/lib/db_ido/idochecktask.cpp b/lib/db_ido/idochecktask.cpp index d3b93e37b..9195a6fdc 100644 --- a/lib/db_ido/idochecktask.cpp +++ b/lib/db_ido/idochecktask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/idochecktask.hpp" #include "icinga/host.hpp" diff --git a/lib/db_ido/idochecktask.hpp b/lib/db_ido/idochecktask.hpp index 1377d6765..d4b2b4b90 100644 --- a/lib/db_ido/idochecktask.hpp +++ b/lib/db_ido/idochecktask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef IDOCHECKTASK_H #define IDOCHECKTASK_H diff --git a/lib/db_ido/servicedbobject.cpp b/lib/db_ido/servicedbobject.cpp index b221845a8..2c1eca85b 100644 --- a/lib/db_ido/servicedbobject.cpp +++ b/lib/db_ido/servicedbobject.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/servicedbobject.hpp" #include "db_ido/servicegroupdbobject.hpp" diff --git a/lib/db_ido/servicedbobject.hpp b/lib/db_ido/servicedbobject.hpp index 19824be70..b5ff18921 100644 --- a/lib/db_ido/servicedbobject.hpp +++ b/lib/db_ido/servicedbobject.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SERVICEDBOBJECT_H #define SERVICEDBOBJECT_H diff --git a/lib/db_ido/servicegroupdbobject.cpp b/lib/db_ido/servicegroupdbobject.cpp index ea4d40c32..61a0e0ecb 100644 --- a/lib/db_ido/servicegroupdbobject.cpp +++ b/lib/db_ido/servicegroupdbobject.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/servicegroupdbobject.hpp" #include "db_ido/dbtype.hpp" diff --git a/lib/db_ido/servicegroupdbobject.hpp b/lib/db_ido/servicegroupdbobject.hpp index 7f0d6c15a..bfaaf8a67 100644 --- a/lib/db_ido/servicegroupdbobject.hpp +++ b/lib/db_ido/servicegroupdbobject.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SERVICEGROUPDBOBJECT_H #define SERVICEGROUPDBOBJECT_H diff --git a/lib/db_ido/timeperioddbobject.cpp b/lib/db_ido/timeperioddbobject.cpp index 98997f527..d463a25b6 100644 --- a/lib/db_ido/timeperioddbobject.cpp +++ b/lib/db_ido/timeperioddbobject.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/timeperioddbobject.hpp" #include "db_ido/dbtype.hpp" diff --git a/lib/db_ido/timeperioddbobject.hpp b/lib/db_ido/timeperioddbobject.hpp index e3cc13cb7..b26979eb6 100644 --- a/lib/db_ido/timeperioddbobject.hpp +++ b/lib/db_ido/timeperioddbobject.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef TIMEPERIODDBOBJECT_H #define TIMEPERIODDBOBJECT_H diff --git a/lib/db_ido/userdbobject.cpp b/lib/db_ido/userdbobject.cpp index 74c1284b0..c00596b20 100644 --- a/lib/db_ido/userdbobject.cpp +++ b/lib/db_ido/userdbobject.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/userdbobject.hpp" #include "db_ido/usergroupdbobject.hpp" diff --git a/lib/db_ido/userdbobject.hpp b/lib/db_ido/userdbobject.hpp index e0f36c5fb..14229d528 100644 --- a/lib/db_ido/userdbobject.hpp +++ b/lib/db_ido/userdbobject.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef USERDBOBJECT_H #define USERDBOBJECT_H diff --git a/lib/db_ido/usergroupdbobject.cpp b/lib/db_ido/usergroupdbobject.cpp index 23b3581a7..c7ff5ff36 100644 --- a/lib/db_ido/usergroupdbobject.cpp +++ b/lib/db_ido/usergroupdbobject.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/usergroupdbobject.hpp" #include "db_ido/dbtype.hpp" diff --git a/lib/db_ido/usergroupdbobject.hpp b/lib/db_ido/usergroupdbobject.hpp index 9469823ab..ccfa2bc10 100644 --- a/lib/db_ido/usergroupdbobject.hpp +++ b/lib/db_ido/usergroupdbobject.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef USERGROUPDBOBJECT_H #define USERGROUPDBOBJECT_H diff --git a/lib/db_ido/zonedbobject.cpp b/lib/db_ido/zonedbobject.cpp index b8ad0c196..01dfa7386 100644 --- a/lib/db_ido/zonedbobject.cpp +++ b/lib/db_ido/zonedbobject.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/zonedbobject.hpp" #include "db_ido/dbtype.hpp" diff --git a/lib/db_ido/zonedbobject.hpp b/lib/db_ido/zonedbobject.hpp index 3901c81b3..cc5e26866 100644 --- a/lib/db_ido/zonedbobject.hpp +++ b/lib/db_ido/zonedbobject.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ZONEDBOBJECT_H #define ZONEDBOBJECT_H diff --git a/lib/db_ido_mysql/CMakeLists.txt b/lib/db_ido_mysql/CMakeLists.txt index d99edc537..dde48d828 100644 --- a/lib/db_ido_mysql/CMakeLists.txt +++ b/lib/db_ido_mysql/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later mkclass_target(idomysqlconnection.ti idomysqlconnection-ti.cpp idomysqlconnection-ti.hpp) diff --git a/lib/db_ido_mysql/idomysqlconnection.cpp b/lib/db_ido_mysql/idomysqlconnection.cpp index 7af82e5fa..decda26b8 100644 --- a/lib/db_ido_mysql/idomysqlconnection.cpp +++ b/lib/db_ido_mysql/idomysqlconnection.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido_mysql/idomysqlconnection.hpp" #include "db_ido_mysql/idomysqlconnection-ti.cpp" diff --git a/lib/db_ido_mysql/idomysqlconnection.hpp b/lib/db_ido_mysql/idomysqlconnection.hpp index 5a5c12008..a81e664e1 100644 --- a/lib/db_ido_mysql/idomysqlconnection.hpp +++ b/lib/db_ido_mysql/idomysqlconnection.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef IDOMYSQLCONNECTION_H #define IDOMYSQLCONNECTION_H diff --git a/lib/db_ido_mysql/idomysqlconnection.ti b/lib/db_ido_mysql/idomysqlconnection.ti index 681148fb3..33d5b57dc 100644 --- a/lib/db_ido_mysql/idomysqlconnection.ti +++ b/lib/db_ido_mysql/idomysqlconnection.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/dbconnection.hpp" diff --git a/lib/db_ido_mysql/schema/mysql.sql b/lib/db_ido_mysql/schema/mysql.sql index 020ba3ce5..f172e7dfb 100644 --- a/lib/db_ido_mysql/schema/mysql.sql +++ b/lib/db_ido_mysql/schema/mysql.sql @@ -2,7 +2,8 @@ -- mysql.sql -- DB definition for IDO MySQL -- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- -- -------------------------------------------------------- diff --git a/lib/db_ido_mysql/schema/upgrade/2.0.2.sql b/lib/db_ido_mysql/schema/upgrade/2.0.2.sql index c622ae9a6..8a579cf26 100644 --- a/lib/db_ido_mysql/schema/upgrade/2.0.2.sql +++ b/lib/db_ido_mysql/schema/upgrade/2.0.2.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.0.2 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_mysql/schema/upgrade/2.1.0.sql b/lib/db_ido_mysql/schema/upgrade/2.1.0.sql index 7bbed721b..9bda381c5 100644 --- a/lib/db_ido_mysql/schema/upgrade/2.1.0.sql +++ b/lib/db_ido_mysql/schema/upgrade/2.1.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.1.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_mysql/schema/upgrade/2.11.0.sql b/lib/db_ido_mysql/schema/upgrade/2.11.0.sql index bafa93f7a..142569062 100644 --- a/lib/db_ido_mysql/schema/upgrade/2.11.0.sql +++ b/lib/db_ido_mysql/schema/upgrade/2.11.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.11.0 -- -- ----------------------------------------- --- Copyright (c) 2019 Icinga Development Team (https://icinga.com/) +-- SPDX-FileCopyrightText: 2019 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_mysql/schema/upgrade/2.12.7.sql b/lib/db_ido_mysql/schema/upgrade/2.12.7.sql index 6319b37bd..9f4e9e877 100644 --- a/lib/db_ido_mysql/schema/upgrade/2.12.7.sql +++ b/lib/db_ido_mysql/schema/upgrade/2.12.7.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.12.7 -- -- ----------------------------------------- --- Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2021 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_mysql/schema/upgrade/2.13.0.sql b/lib/db_ido_mysql/schema/upgrade/2.13.0.sql index 462be6f4e..5108c676b 100644 --- a/lib/db_ido_mysql/schema/upgrade/2.13.0.sql +++ b/lib/db_ido_mysql/schema/upgrade/2.13.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.13.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2021 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_mysql/schema/upgrade/2.13.3.sql b/lib/db_ido_mysql/schema/upgrade/2.13.3.sql index 577eb0a0b..106cc35bd 100644 --- a/lib/db_ido_mysql/schema/upgrade/2.13.3.sql +++ b/lib/db_ido_mysql/schema/upgrade/2.13.3.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.13.3 -- -- ----------------------------------------- --- Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2021 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_mysql/schema/upgrade/2.2.0.sql b/lib/db_ido_mysql/schema/upgrade/2.2.0.sql index 22a611531..29c545d5c 100644 --- a/lib/db_ido_mysql/schema/upgrade/2.2.0.sql +++ b/lib/db_ido_mysql/schema/upgrade/2.2.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.2.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_mysql/schema/upgrade/2.3.0.sql b/lib/db_ido_mysql/schema/upgrade/2.3.0.sql index f2fe463b1..b58a8a04a 100644 --- a/lib/db_ido_mysql/schema/upgrade/2.3.0.sql +++ b/lib/db_ido_mysql/schema/upgrade/2.3.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.3.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_mysql/schema/upgrade/2.4.0.sql b/lib/db_ido_mysql/schema/upgrade/2.4.0.sql index f6803f715..a160a9727 100644 --- a/lib/db_ido_mysql/schema/upgrade/2.4.0.sql +++ b/lib/db_ido_mysql/schema/upgrade/2.4.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.4.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_mysql/schema/upgrade/2.5.0.sql b/lib/db_ido_mysql/schema/upgrade/2.5.0.sql index d5714a0cb..917977976 100644 --- a/lib/db_ido_mysql/schema/upgrade/2.5.0.sql +++ b/lib/db_ido_mysql/schema/upgrade/2.5.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.5.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_mysql/schema/upgrade/2.6.0.sql b/lib/db_ido_mysql/schema/upgrade/2.6.0.sql index 33dd780b3..3b5f8536f 100644 --- a/lib/db_ido_mysql/schema/upgrade/2.6.0.sql +++ b/lib/db_ido_mysql/schema/upgrade/2.6.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.6.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_mysql/schema/upgrade/2.8.0.sql b/lib/db_ido_mysql/schema/upgrade/2.8.0.sql index 8d511a757..bf3fc9268 100644 --- a/lib/db_ido_mysql/schema/upgrade/2.8.0.sql +++ b/lib/db_ido_mysql/schema/upgrade/2.8.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.8.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_mysql/schema/upgrade/2.8.1.sql b/lib/db_ido_mysql/schema/upgrade/2.8.1.sql index 98f851143..93256ad54 100644 --- a/lib/db_ido_mysql/schema/upgrade/2.8.1.sql +++ b/lib/db_ido_mysql/schema/upgrade/2.8.1.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.8.1 (fix for fresh 2.8.0 installation only) -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_pgsql/CMakeLists.txt b/lib/db_ido_pgsql/CMakeLists.txt index 191a76a9b..3fcdf17d4 100644 --- a/lib/db_ido_pgsql/CMakeLists.txt +++ b/lib/db_ido_pgsql/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later mkclass_target(idopgsqlconnection.ti idopgsqlconnection-ti.cpp idopgsqlconnection-ti.hpp) diff --git a/lib/db_ido_pgsql/idopgsqlconnection.cpp b/lib/db_ido_pgsql/idopgsqlconnection.cpp index a9c622afd..87112113f 100644 --- a/lib/db_ido_pgsql/idopgsqlconnection.cpp +++ b/lib/db_ido_pgsql/idopgsqlconnection.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido_pgsql/idopgsqlconnection.hpp" #include "db_ido_pgsql/idopgsqlconnection-ti.cpp" diff --git a/lib/db_ido_pgsql/idopgsqlconnection.hpp b/lib/db_ido_pgsql/idopgsqlconnection.hpp index dc06a9384..4e3251cff 100644 --- a/lib/db_ido_pgsql/idopgsqlconnection.hpp +++ b/lib/db_ido_pgsql/idopgsqlconnection.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef IDOPGSQLCONNECTION_H #define IDOPGSQLCONNECTION_H diff --git a/lib/db_ido_pgsql/idopgsqlconnection.ti b/lib/db_ido_pgsql/idopgsqlconnection.ti index bc4deffd6..7b7796ef8 100644 --- a/lib/db_ido_pgsql/idopgsqlconnection.ti +++ b/lib/db_ido_pgsql/idopgsqlconnection.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "db_ido/dbconnection.hpp" diff --git a/lib/db_ido_pgsql/schema/pgsql.sql b/lib/db_ido_pgsql/schema/pgsql.sql index 242b6db5c..216b6df49 100644 --- a/lib/db_ido_pgsql/schema/pgsql.sql +++ b/lib/db_ido_pgsql/schema/pgsql.sql @@ -2,7 +2,8 @@ -- pgsql.sql -- DB definition for IDO Postgresql -- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- -------------------------------------------------------- diff --git a/lib/db_ido_pgsql/schema/upgrade/2.0.2.sql b/lib/db_ido_pgsql/schema/upgrade/2.0.2.sql index 60710efd3..1eb4360ee 100644 --- a/lib/db_ido_pgsql/schema/upgrade/2.0.2.sql +++ b/lib/db_ido_pgsql/schema/upgrade/2.0.2.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.0.2 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_pgsql/schema/upgrade/2.1.0.sql b/lib/db_ido_pgsql/schema/upgrade/2.1.0.sql index a32ecea51..db6105000 100644 --- a/lib/db_ido_pgsql/schema/upgrade/2.1.0.sql +++ b/lib/db_ido_pgsql/schema/upgrade/2.1.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.1.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_pgsql/schema/upgrade/2.2.0.sql b/lib/db_ido_pgsql/schema/upgrade/2.2.0.sql index d105a34be..a8d0efc5f 100644 --- a/lib/db_ido_pgsql/schema/upgrade/2.2.0.sql +++ b/lib/db_ido_pgsql/schema/upgrade/2.2.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.2.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_pgsql/schema/upgrade/2.3.0.sql b/lib/db_ido_pgsql/schema/upgrade/2.3.0.sql index 91764de64..c58217f27 100644 --- a/lib/db_ido_pgsql/schema/upgrade/2.3.0.sql +++ b/lib/db_ido_pgsql/schema/upgrade/2.3.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.3.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_pgsql/schema/upgrade/2.4.0.sql b/lib/db_ido_pgsql/schema/upgrade/2.4.0.sql index 4a6e45eb9..dddd3ce6e 100644 --- a/lib/db_ido_pgsql/schema/upgrade/2.4.0.sql +++ b/lib/db_ido_pgsql/schema/upgrade/2.4.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.4.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_pgsql/schema/upgrade/2.5.0.sql b/lib/db_ido_pgsql/schema/upgrade/2.5.0.sql index 063a812d6..dfe01e357 100644 --- a/lib/db_ido_pgsql/schema/upgrade/2.5.0.sql +++ b/lib/db_ido_pgsql/schema/upgrade/2.5.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.5.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_pgsql/schema/upgrade/2.6.0.sql b/lib/db_ido_pgsql/schema/upgrade/2.6.0.sql index aa538a62d..b9c189022 100644 --- a/lib/db_ido_pgsql/schema/upgrade/2.6.0.sql +++ b/lib/db_ido_pgsql/schema/upgrade/2.6.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.6.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_pgsql/schema/upgrade/2.8.0.sql b/lib/db_ido_pgsql/schema/upgrade/2.8.0.sql index 31ab3246b..04ac00e87 100644 --- a/lib/db_ido_pgsql/schema/upgrade/2.8.0.sql +++ b/lib/db_ido_pgsql/schema/upgrade/2.8.0.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.8.0 -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/db_ido_pgsql/schema/upgrade/2.8.1.sql b/lib/db_ido_pgsql/schema/upgrade/2.8.1.sql index 05202c03d..fafef5e50 100644 --- a/lib/db_ido_pgsql/schema/upgrade/2.8.1.sql +++ b/lib/db_ido_pgsql/schema/upgrade/2.8.1.sql @@ -2,7 +2,8 @@ -- upgrade path for Icinga 2.8.1 (fix for fresh 2.8.0 installation only) -- -- ----------------------------------------- --- Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +-- SPDX-FileCopyrightText: 2012 Icinga GmbH +-- SPDX-License-Identifier: GPL-2.0-or-later -- -- Please check https://docs.icinga.com for upgrading information! -- ----------------------------------------- diff --git a/lib/icinga/CMakeLists.txt b/lib/icinga/CMakeLists.txt index de4e153a5..53aa214b2 100644 --- a/lib/icinga/CMakeLists.txt +++ b/lib/icinga/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later mkclass_target(checkable.ti checkable-ti.cpp checkable-ti.hpp) mkclass_target(checkcommand.ti checkcommand-ti.cpp checkcommand-ti.hpp) diff --git a/lib/icinga/apiactions.cpp b/lib/icinga/apiactions.cpp index 3bc1dcc9e..a1f89e338 100644 --- a/lib/icinga/apiactions.cpp +++ b/lib/icinga/apiactions.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/apiactions.hpp" #include "icinga/checkable.hpp" diff --git a/lib/icinga/apiactions.hpp b/lib/icinga/apiactions.hpp index b6ba83500..db9028ac1 100644 --- a/lib/icinga/apiactions.hpp +++ b/lib/icinga/apiactions.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef APIACTIONS_H #define APIACTIONS_H diff --git a/lib/icinga/apievents.cpp b/lib/icinga/apievents.cpp index c80ac942e..c5d5e7251 100644 --- a/lib/icinga/apievents.cpp +++ b/lib/icinga/apievents.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/apievents.hpp" #include "icinga/service.hpp" diff --git a/lib/icinga/apievents.hpp b/lib/icinga/apievents.hpp index 07d5c6013..6e8d631a1 100644 --- a/lib/icinga/apievents.hpp +++ b/lib/icinga/apievents.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef APIEVENTS_H #define APIEVENTS_H diff --git a/lib/icinga/checkable-check.cpp b/lib/icinga/checkable-check.cpp index fe7b651be..8c876710e 100644 --- a/lib/icinga/checkable-check.cpp +++ b/lib/icinga/checkable-check.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/checkable.hpp" #include "icinga/service.hpp" diff --git a/lib/icinga/checkable-comment.cpp b/lib/icinga/checkable-comment.cpp index 71cfac619..afd2fdbbe 100644 --- a/lib/icinga/checkable-comment.cpp +++ b/lib/icinga/checkable-comment.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/service.hpp" #include "remote/configobjectutility.hpp" diff --git a/lib/icinga/checkable-dependency.cpp b/lib/icinga/checkable-dependency.cpp index 6e1029696..38c7b0e55 100644 --- a/lib/icinga/checkable-dependency.cpp +++ b/lib/icinga/checkable-dependency.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/service.hpp" #include "icinga/dependency.hpp" diff --git a/lib/icinga/checkable-downtime.cpp b/lib/icinga/checkable-downtime.cpp index ba078a60b..e75e4eaa7 100644 --- a/lib/icinga/checkable-downtime.cpp +++ b/lib/icinga/checkable-downtime.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/service.hpp" #include "base/configtype.hpp" diff --git a/lib/icinga/checkable-event.cpp b/lib/icinga/checkable-event.cpp index fb315d9f2..02eb63971 100644 --- a/lib/icinga/checkable-event.cpp +++ b/lib/icinga/checkable-event.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/checkable.hpp" #include "icinga/eventcommand.hpp" diff --git a/lib/icinga/checkable-flapping.cpp b/lib/icinga/checkable-flapping.cpp index 526b6ec12..06a7ace26 100644 --- a/lib/icinga/checkable-flapping.cpp +++ b/lib/icinga/checkable-flapping.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/checkable.hpp" #include "icinga/icingaapplication.hpp" diff --git a/lib/icinga/checkable-notification.cpp b/lib/icinga/checkable-notification.cpp index 282b95d32..9929fe944 100644 --- a/lib/icinga/checkable-notification.cpp +++ b/lib/icinga/checkable-notification.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/checkable.hpp" #include "icinga/host.hpp" diff --git a/lib/icinga/checkable.cpp b/lib/icinga/checkable.cpp index dbe73fe55..a53ab6d13 100644 --- a/lib/icinga/checkable.cpp +++ b/lib/icinga/checkable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/checkable.hpp" #include "icinga/checkable-ti.cpp" diff --git a/lib/icinga/checkable.hpp b/lib/icinga/checkable.hpp index 796421a9b..bd539c4a3 100644 --- a/lib/icinga/checkable.hpp +++ b/lib/icinga/checkable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CHECKABLE_H #define CHECKABLE_H diff --git a/lib/icinga/checkable.ti b/lib/icinga/checkable.ti index 6f7a5daee..78e09531e 100644 --- a/lib/icinga/checkable.ti +++ b/lib/icinga/checkable.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/icingaapplication.hpp" #include "icinga/customvarobject.hpp" diff --git a/lib/icinga/checkcommand.cpp b/lib/icinga/checkcommand.cpp index e1aed1718..37db669af 100644 --- a/lib/icinga/checkcommand.cpp +++ b/lib/icinga/checkcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/checkcommand.hpp" #include "icinga/checkcommand-ti.cpp" diff --git a/lib/icinga/checkcommand.hpp b/lib/icinga/checkcommand.hpp index 1ed3b9ae7..7c3fdf389 100644 --- a/lib/icinga/checkcommand.hpp +++ b/lib/icinga/checkcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CHECKCOMMAND_H #define CHECKCOMMAND_H diff --git a/lib/icinga/checkcommand.ti b/lib/icinga/checkcommand.ti index c211f0f68..e18a982b7 100644 --- a/lib/icinga/checkcommand.ti +++ b/lib/icinga/checkcommand.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/command.hpp" diff --git a/lib/icinga/checkresult.cpp b/lib/icinga/checkresult.cpp index 07f7219c4..f55b9025b 100644 --- a/lib/icinga/checkresult.cpp +++ b/lib/icinga/checkresult.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/checkresult.hpp" #include "icinga/checkresult-ti.cpp" diff --git a/lib/icinga/checkresult.hpp b/lib/icinga/checkresult.hpp index ac54d6b0d..b89f98d2a 100644 --- a/lib/icinga/checkresult.hpp +++ b/lib/icinga/checkresult.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CHECKRESULT_H #define CHECKRESULT_H diff --git a/lib/icinga/checkresult.ti b/lib/icinga/checkresult.ti index bee2cbd0b..55c45d339 100644 --- a/lib/icinga/checkresult.ti +++ b/lib/icinga/checkresult.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include diff --git a/lib/icinga/cib.cpp b/lib/icinga/cib.cpp index ef7cd066c..44eb53887 100644 --- a/lib/icinga/cib.cpp +++ b/lib/icinga/cib.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/cib.hpp" #include "icinga/host.hpp" diff --git a/lib/icinga/cib.hpp b/lib/icinga/cib.hpp index 00461e31f..b3272a68f 100644 --- a/lib/icinga/cib.hpp +++ b/lib/icinga/cib.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CIB_H #define CIB_H diff --git a/lib/icinga/clusterevents-check.cpp b/lib/icinga/clusterevents-check.cpp index 205c4c79d..bfda26934 100644 --- a/lib/icinga/clusterevents-check.cpp +++ b/lib/icinga/clusterevents-check.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/clusterevents.hpp" #include "icinga/icingaapplication.hpp" diff --git a/lib/icinga/clusterevents.cpp b/lib/icinga/clusterevents.cpp index d76a9351a..0d2bb3ea6 100644 --- a/lib/icinga/clusterevents.cpp +++ b/lib/icinga/clusterevents.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/clusterevents.hpp" #include "icinga/service.hpp" diff --git a/lib/icinga/clusterevents.hpp b/lib/icinga/clusterevents.hpp index 8daf86ab3..4662d6aeb 100644 --- a/lib/icinga/clusterevents.hpp +++ b/lib/icinga/clusterevents.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CLUSTEREVENTS_H #define CLUSTEREVENTS_H diff --git a/lib/icinga/command.cpp b/lib/icinga/command.cpp index ef6676b05..df3feee06 100644 --- a/lib/icinga/command.cpp +++ b/lib/icinga/command.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/command.hpp" #include "icinga/command-ti.cpp" diff --git a/lib/icinga/command.hpp b/lib/icinga/command.hpp index 19bb05013..56f3dae7d 100644 --- a/lib/icinga/command.hpp +++ b/lib/icinga/command.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef COMMAND_H #define COMMAND_H diff --git a/lib/icinga/command.ti b/lib/icinga/command.ti index 227595558..ea0e0880d 100644 --- a/lib/icinga/command.ti +++ b/lib/icinga/command.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/customvarobject.hpp" #include "base/function.hpp" diff --git a/lib/icinga/comment.cpp b/lib/icinga/comment.cpp index 59373ac09..3987b48ab 100644 --- a/lib/icinga/comment.cpp +++ b/lib/icinga/comment.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/comment.hpp" #include "icinga/comment-ti.cpp" diff --git a/lib/icinga/comment.hpp b/lib/icinga/comment.hpp index ab20474e9..b21802029 100644 --- a/lib/icinga/comment.hpp +++ b/lib/icinga/comment.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef COMMENT_H #define COMMENT_H diff --git a/lib/icinga/comment.ti b/lib/icinga/comment.ti index 2863f5608..1da9bdf12 100644 --- a/lib/icinga/comment.ti +++ b/lib/icinga/comment.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" #include "base/utility.hpp" diff --git a/lib/icinga/compatutility.cpp b/lib/icinga/compatutility.cpp index a985b90f5..0277fc385 100644 --- a/lib/icinga/compatutility.cpp +++ b/lib/icinga/compatutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/compatutility.hpp" #include "icinga/checkcommand.hpp" diff --git a/lib/icinga/compatutility.hpp b/lib/icinga/compatutility.hpp index 7b96fb308..c5e026a7c 100644 --- a/lib/icinga/compatutility.hpp +++ b/lib/icinga/compatutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef COMPATUTILITY_H #define COMPATUTILITY_H diff --git a/lib/icinga/customvarobject.cpp b/lib/icinga/customvarobject.cpp index ed64585fb..2d6d6f351 100644 --- a/lib/icinga/customvarobject.cpp +++ b/lib/icinga/customvarobject.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/customvarobject.hpp" #include "icinga/customvarobject-ti.cpp" diff --git a/lib/icinga/customvarobject.hpp b/lib/icinga/customvarobject.hpp index e10ef3245..1c980ece0 100644 --- a/lib/icinga/customvarobject.hpp +++ b/lib/icinga/customvarobject.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CUSTOMVAROBJECT_H #define CUSTOMVAROBJECT_H diff --git a/lib/icinga/customvarobject.ti b/lib/icinga/customvarobject.ti index 3e40f6680..8859b19fe 100644 --- a/lib/icinga/customvarobject.ti +++ b/lib/icinga/customvarobject.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" diff --git a/lib/icinga/dependency-apply.cpp b/lib/icinga/dependency-apply.cpp index 8681c4332..87f4ad222 100644 --- a/lib/icinga/dependency-apply.cpp +++ b/lib/icinga/dependency-apply.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/dependency.hpp" #include "icinga/service.hpp" diff --git a/lib/icinga/dependency-group.cpp b/lib/icinga/dependency-group.cpp index d60fec7c1..ff93bfd44 100644 --- a/lib/icinga/dependency-group.cpp +++ b/lib/icinga/dependency-group.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2024 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2024 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/dependency.hpp" #include "base/object-packer.hpp" diff --git a/lib/icinga/dependency-state.cpp b/lib/icinga/dependency-state.cpp index cd1548b42..e4237bf0d 100644 --- a/lib/icinga/dependency-state.cpp +++ b/lib/icinga/dependency-state.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/dependency.hpp" #include "icinga/host.hpp" diff --git a/lib/icinga/dependency.cpp b/lib/icinga/dependency.cpp index cf4af8627..b88ceafd0 100644 --- a/lib/icinga/dependency.cpp +++ b/lib/icinga/dependency.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/dependency.hpp" #include "icinga/dependency-ti.cpp" diff --git a/lib/icinga/dependency.hpp b/lib/icinga/dependency.hpp index c70e578b4..7ef1866dd 100644 --- a/lib/icinga/dependency.hpp +++ b/lib/icinga/dependency.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DEPENDENCY_H #define DEPENDENCY_H diff --git a/lib/icinga/dependency.ti b/lib/icinga/dependency.ti index 6cd85742b..0ad53a52a 100644 --- a/lib/icinga/dependency.ti +++ b/lib/icinga/dependency.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/customvarobject.hpp" #include "icinga/checkable.hpp" diff --git a/lib/icinga/downtime.cpp b/lib/icinga/downtime.cpp index 19da7a666..23afdbef4 100644 --- a/lib/icinga/downtime.cpp +++ b/lib/icinga/downtime.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/downtime.hpp" #include "icinga/downtime-ti.cpp" diff --git a/lib/icinga/downtime.hpp b/lib/icinga/downtime.hpp index 33ca00da1..519d78f2b 100644 --- a/lib/icinga/downtime.hpp +++ b/lib/icinga/downtime.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DOWNTIME_H #define DOWNTIME_H diff --git a/lib/icinga/downtime.ti b/lib/icinga/downtime.ti index 2193732db..052c5a86a 100644 --- a/lib/icinga/downtime.ti +++ b/lib/icinga/downtime.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" #include "base/utility.hpp" diff --git a/lib/icinga/envresolver.cpp b/lib/icinga/envresolver.cpp index 633255c86..4d8b0d485 100644 --- a/lib/icinga/envresolver.cpp +++ b/lib/icinga/envresolver.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2020 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2020 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/string.hpp" #include "base/value.hpp" diff --git a/lib/icinga/envresolver.hpp b/lib/icinga/envresolver.hpp index b3f0076fa..23ea93637 100644 --- a/lib/icinga/envresolver.hpp +++ b/lib/icinga/envresolver.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2020 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2020 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ENVRESOLVER_H #define ENVRESOLVER_H diff --git a/lib/icinga/eventcommand.cpp b/lib/icinga/eventcommand.cpp index 39f2d3126..b99c1fcf6 100644 --- a/lib/icinga/eventcommand.cpp +++ b/lib/icinga/eventcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/eventcommand.hpp" #include "icinga/eventcommand-ti.cpp" diff --git a/lib/icinga/eventcommand.hpp b/lib/icinga/eventcommand.hpp index 67997e66b..fe0a9ddd1 100644 --- a/lib/icinga/eventcommand.hpp +++ b/lib/icinga/eventcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef EVENTCOMMAND_H #define EVENTCOMMAND_H diff --git a/lib/icinga/eventcommand.ti b/lib/icinga/eventcommand.ti index a166d1eb8..d87b5594a 100644 --- a/lib/icinga/eventcommand.ti +++ b/lib/icinga/eventcommand.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/command.hpp" diff --git a/lib/icinga/externalcommandprocessor.cpp b/lib/icinga/externalcommandprocessor.cpp index 33831a491..4188b60f5 100644 --- a/lib/icinga/externalcommandprocessor.cpp +++ b/lib/icinga/externalcommandprocessor.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/externalcommandprocessor.hpp" #include "icinga/checkable.hpp" diff --git a/lib/icinga/externalcommandprocessor.hpp b/lib/icinga/externalcommandprocessor.hpp index 38db883d2..b67ff79f3 100644 --- a/lib/icinga/externalcommandprocessor.hpp +++ b/lib/icinga/externalcommandprocessor.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef EXTERNALCOMMANDPROCESSOR_H #define EXTERNALCOMMANDPROCESSOR_H diff --git a/lib/icinga/host.cpp b/lib/icinga/host.cpp index 35fb25537..1db9802c6 100644 --- a/lib/icinga/host.cpp +++ b/lib/icinga/host.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/host.hpp" #include "icinga/host-ti.cpp" diff --git a/lib/icinga/host.hpp b/lib/icinga/host.hpp index 7cacd160f..4538c21c4 100644 --- a/lib/icinga/host.hpp +++ b/lib/icinga/host.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef HOST_H #define HOST_H diff --git a/lib/icinga/host.ti b/lib/icinga/host.ti index f6624e307..52378f9c5 100644 --- a/lib/icinga/host.ti +++ b/lib/icinga/host.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/checkable.hpp" #include "icinga/customvarobject.hpp" diff --git a/lib/icinga/hostgroup.cpp b/lib/icinga/hostgroup.cpp index 9ab338300..5dbeaeafd 100644 --- a/lib/icinga/hostgroup.cpp +++ b/lib/icinga/hostgroup.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/hostgroup.hpp" #include "icinga/hostgroup-ti.cpp" diff --git a/lib/icinga/hostgroup.hpp b/lib/icinga/hostgroup.hpp index 3ad5d269a..d20b262e5 100644 --- a/lib/icinga/hostgroup.hpp +++ b/lib/icinga/hostgroup.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef HOSTGROUP_H #define HOSTGROUP_H diff --git a/lib/icinga/hostgroup.ti b/lib/icinga/hostgroup.ti index b679344aa..0f7d6c71c 100644 --- a/lib/icinga/hostgroup.ti +++ b/lib/icinga/hostgroup.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/customvarobject.hpp" diff --git a/lib/icinga/i2-icinga.hpp b/lib/icinga/i2-icinga.hpp index 7163822da..dc4d21c6d 100644 --- a/lib/icinga/i2-icinga.hpp +++ b/lib/icinga/i2-icinga.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef I2ICINGA_H #define I2ICINGA_H diff --git a/lib/icinga/icinga-itl.conf b/lib/icinga/icinga-itl.conf index 22b688a7d..689eb13ed 100644 --- a/lib/icinga/icinga-itl.conf +++ b/lib/icinga/icinga-itl.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later System.assert(Internal.run_with_activation_context(function() { template TimePeriod "legacy-timeperiod" use (LegacyTimePeriod = Internal.LegacyTimePeriod) default { diff --git a/lib/icinga/icingaapplication.cpp b/lib/icinga/icingaapplication.cpp index abbc3a566..82b39642f 100644 --- a/lib/icinga/icingaapplication.cpp +++ b/lib/icinga/icingaapplication.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/icingaapplication.hpp" #include "icinga/icingaapplication-ti.cpp" diff --git a/lib/icinga/icingaapplication.hpp b/lib/icinga/icingaapplication.hpp index 7888fa6ad..e62e7403d 100644 --- a/lib/icinga/icingaapplication.hpp +++ b/lib/icinga/icingaapplication.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ICINGAAPPLICATION_H #define ICINGAAPPLICATION_H diff --git a/lib/icinga/icingaapplication.ti b/lib/icinga/icingaapplication.ti index 1cdef7406..19f594606 100644 --- a/lib/icinga/icingaapplication.ti +++ b/lib/icinga/icingaapplication.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/application.hpp" diff --git a/lib/icinga/legacytimeperiod.cpp b/lib/icinga/legacytimeperiod.cpp index a1ae91230..dc9daee65 100644 --- a/lib/icinga/legacytimeperiod.cpp +++ b/lib/icinga/legacytimeperiod.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/legacytimeperiod.hpp" #include "base/function.hpp" diff --git a/lib/icinga/legacytimeperiod.hpp b/lib/icinga/legacytimeperiod.hpp index 001eb5cbf..ec31ce5e0 100644 --- a/lib/icinga/legacytimeperiod.hpp +++ b/lib/icinga/legacytimeperiod.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef LEGACYTIMEPERIOD_H #define LEGACYTIMEPERIOD_H diff --git a/lib/icinga/macroprocessor.cpp b/lib/icinga/macroprocessor.cpp index f87d5257a..30d1de2bb 100644 --- a/lib/icinga/macroprocessor.cpp +++ b/lib/icinga/macroprocessor.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/macroprocessor.hpp" #include "icinga/macroresolver.hpp" diff --git a/lib/icinga/macroprocessor.hpp b/lib/icinga/macroprocessor.hpp index 97b7d123f..d090c957a 100644 --- a/lib/icinga/macroprocessor.hpp +++ b/lib/icinga/macroprocessor.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef MACROPROCESSOR_H #define MACROPROCESSOR_H diff --git a/lib/icinga/macroresolver.hpp b/lib/icinga/macroresolver.hpp index 62cd41d3c..72b27928f 100644 --- a/lib/icinga/macroresolver.hpp +++ b/lib/icinga/macroresolver.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef MACRORESOLVER_H #define MACRORESOLVER_H diff --git a/lib/icinga/notification-apply.cpp b/lib/icinga/notification-apply.cpp index f5b37643b..1faf45a92 100644 --- a/lib/icinga/notification-apply.cpp +++ b/lib/icinga/notification-apply.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/notification.hpp" #include "icinga/service.hpp" diff --git a/lib/icinga/notification.cpp b/lib/icinga/notification.cpp index e718da159..f37bc3345 100644 --- a/lib/icinga/notification.cpp +++ b/lib/icinga/notification.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/notification.hpp" #include "icinga/notification-ti.cpp" diff --git a/lib/icinga/notification.hpp b/lib/icinga/notification.hpp index c1190bb0d..f0504afa7 100644 --- a/lib/icinga/notification.hpp +++ b/lib/icinga/notification.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef NOTIFICATION_H #define NOTIFICATION_H diff --git a/lib/icinga/notification.ti b/lib/icinga/notification.ti index 7ee3d88fb..29468e945 100644 --- a/lib/icinga/notification.ti +++ b/lib/icinga/notification.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/customvarobject.hpp" #impl_include "icinga/notificationcommand.hpp" diff --git a/lib/icinga/notificationcommand.cpp b/lib/icinga/notificationcommand.cpp index d4a5fd6ab..aef94b4d4 100644 --- a/lib/icinga/notificationcommand.cpp +++ b/lib/icinga/notificationcommand.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/notificationcommand.hpp" #include "icinga/notificationcommand-ti.cpp" diff --git a/lib/icinga/notificationcommand.hpp b/lib/icinga/notificationcommand.hpp index f0f6899e3..a9e4fc3f2 100644 --- a/lib/icinga/notificationcommand.hpp +++ b/lib/icinga/notificationcommand.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef NOTIFICATIONCOMMAND_H #define NOTIFICATIONCOMMAND_H diff --git a/lib/icinga/notificationcommand.ti b/lib/icinga/notificationcommand.ti index 51207a362..d8e1acffa 100644 --- a/lib/icinga/notificationcommand.ti +++ b/lib/icinga/notificationcommand.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/command.hpp" diff --git a/lib/icinga/objectutils.cpp b/lib/icinga/objectutils.cpp index 559ca4328..4ce02aa64 100644 --- a/lib/icinga/objectutils.cpp +++ b/lib/icinga/objectutils.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/objectutils.hpp" #include "icinga/host.hpp" diff --git a/lib/icinga/objectutils.hpp b/lib/icinga/objectutils.hpp index 42e295342..a3a029a37 100644 --- a/lib/icinga/objectutils.hpp +++ b/lib/icinga/objectutils.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef OBJECTUTILS_H #define OBJECTUTILS_H diff --git a/lib/icinga/pluginutility.cpp b/lib/icinga/pluginutility.cpp index 354915d65..9ebf901e1 100644 --- a/lib/icinga/pluginutility.cpp +++ b/lib/icinga/pluginutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/pluginutility.hpp" #include "icinga/macroprocessor.hpp" diff --git a/lib/icinga/pluginutility.hpp b/lib/icinga/pluginutility.hpp index c757801da..b1c4b1a15 100644 --- a/lib/icinga/pluginutility.hpp +++ b/lib/icinga/pluginutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PLUGINUTILITY_H #define PLUGINUTILITY_H diff --git a/lib/icinga/scheduleddowntime-apply.cpp b/lib/icinga/scheduleddowntime-apply.cpp index 4f8aa471f..de875695e 100644 --- a/lib/icinga/scheduleddowntime-apply.cpp +++ b/lib/icinga/scheduleddowntime-apply.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/scheduleddowntime.hpp" #include "icinga/service.hpp" diff --git a/lib/icinga/scheduleddowntime.cpp b/lib/icinga/scheduleddowntime.cpp index 3447b2a19..6afdf602c 100644 --- a/lib/icinga/scheduleddowntime.cpp +++ b/lib/icinga/scheduleddowntime.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/scheduleddowntime.hpp" #include "icinga/scheduleddowntime-ti.cpp" diff --git a/lib/icinga/scheduleddowntime.hpp b/lib/icinga/scheduleddowntime.hpp index e70123616..8ede9666c 100644 --- a/lib/icinga/scheduleddowntime.hpp +++ b/lib/icinga/scheduleddowntime.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SCHEDULEDDOWNTIME_H #define SCHEDULEDDOWNTIME_H diff --git a/lib/icinga/scheduleddowntime.ti b/lib/icinga/scheduleddowntime.ti index 15b7b59d4..a1cc42349 100644 --- a/lib/icinga/scheduleddowntime.ti +++ b/lib/icinga/scheduleddowntime.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/customvarobject.hpp" #impl_include "icinga/service.hpp" diff --git a/lib/icinga/service-apply.cpp b/lib/icinga/service-apply.cpp index 4419e0b34..b32bd7b24 100644 --- a/lib/icinga/service-apply.cpp +++ b/lib/icinga/service-apply.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/service.hpp" #include "config/configitembuilder.hpp" diff --git a/lib/icinga/service.cpp b/lib/icinga/service.cpp index acc6c89e1..4ac9ac6ea 100644 --- a/lib/icinga/service.cpp +++ b/lib/icinga/service.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/service.hpp" #include "icinga/service-ti.cpp" diff --git a/lib/icinga/service.hpp b/lib/icinga/service.hpp index 558f73c03..dfe3950d1 100644 --- a/lib/icinga/service.hpp +++ b/lib/icinga/service.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SERVICE_H #define SERVICE_H diff --git a/lib/icinga/service.ti b/lib/icinga/service.ti index 59684d110..251931108 100644 --- a/lib/icinga/service.ti +++ b/lib/icinga/service.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/checkable.hpp" #include "icinga/host.hpp" diff --git a/lib/icinga/servicegroup.cpp b/lib/icinga/servicegroup.cpp index ee2bc9c6e..6e8d8f07f 100644 --- a/lib/icinga/servicegroup.cpp +++ b/lib/icinga/servicegroup.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/servicegroup.hpp" #include "icinga/servicegroup-ti.cpp" diff --git a/lib/icinga/servicegroup.hpp b/lib/icinga/servicegroup.hpp index f2d0ab789..0adc0304c 100644 --- a/lib/icinga/servicegroup.hpp +++ b/lib/icinga/servicegroup.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SERVICEGROUP_H #define SERVICEGROUP_H diff --git a/lib/icinga/servicegroup.ti b/lib/icinga/servicegroup.ti index 7daf9d419..26a745e0e 100644 --- a/lib/icinga/servicegroup.ti +++ b/lib/icinga/servicegroup.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/customvarobject.hpp" diff --git a/lib/icinga/timeperiod.cpp b/lib/icinga/timeperiod.cpp index b598d049c..b732b3eac 100644 --- a/lib/icinga/timeperiod.cpp +++ b/lib/icinga/timeperiod.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/timeperiod.hpp" #include "icinga/timeperiod-ti.cpp" diff --git a/lib/icinga/timeperiod.hpp b/lib/icinga/timeperiod.hpp index a5a2f73fa..02ca8d13e 100644 --- a/lib/icinga/timeperiod.hpp +++ b/lib/icinga/timeperiod.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef TIMEPERIOD_H #define TIMEPERIOD_H diff --git a/lib/icinga/timeperiod.ti b/lib/icinga/timeperiod.ti index bba272e81..9293648c0 100644 --- a/lib/icinga/timeperiod.ti +++ b/lib/icinga/timeperiod.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/customvarobject.hpp" #include "base/function.hpp" diff --git a/lib/icinga/user.cpp b/lib/icinga/user.cpp index ec72e9f8e..2bfdc451f 100644 --- a/lib/icinga/user.cpp +++ b/lib/icinga/user.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/user.hpp" #include "icinga/user-ti.cpp" diff --git a/lib/icinga/user.hpp b/lib/icinga/user.hpp index 5e87413cd..d4c621341 100644 --- a/lib/icinga/user.hpp +++ b/lib/icinga/user.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef USER_H #define USER_H diff --git a/lib/icinga/user.ti b/lib/icinga/user.ti index b42e1e826..c5f3eef6a 100644 --- a/lib/icinga/user.ti +++ b/lib/icinga/user.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/customvarobject.hpp" #include "base/array.hpp" diff --git a/lib/icinga/usergroup.cpp b/lib/icinga/usergroup.cpp index 043d2bc8d..7a0fde304 100644 --- a/lib/icinga/usergroup.cpp +++ b/lib/icinga/usergroup.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/usergroup.hpp" #include "icinga/usergroup-ti.cpp" diff --git a/lib/icinga/usergroup.hpp b/lib/icinga/usergroup.hpp index 3435f6c16..a35e16034 100644 --- a/lib/icinga/usergroup.hpp +++ b/lib/icinga/usergroup.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef USERGROUP_H #define USERGROUP_H diff --git a/lib/icinga/usergroup.ti b/lib/icinga/usergroup.ti index e955c5e5e..0283db59d 100644 --- a/lib/icinga/usergroup.ti +++ b/lib/icinga/usergroup.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/customvarobject.hpp" diff --git a/lib/icingadb/CMakeLists.txt b/lib/icingadb/CMakeLists.txt index 133fb7d6d..04cf6a92d 100644 --- a/lib/icingadb/CMakeLists.txt +++ b/lib/icingadb/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later mkclass_target(icingadb.ti icingadb-ti.cpp icingadb-ti.hpp) diff --git a/lib/icingadb/icingadb-itl.conf b/lib/icingadb/icingadb-itl.conf index 5f3950e3d..552f425c0 100644 --- a/lib/icingadb/icingadb-itl.conf +++ b/lib/icingadb/icingadb-itl.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2022 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2022 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later System.assert(Internal.run_with_activation_context(function() { template CheckCommand "icingadb-check-command" use (checkFunc = Internal.IcingadbCheck) { diff --git a/lib/icingadb/icingadb-objects.cpp b/lib/icingadb/icingadb-objects.cpp index 26aa58b92..c64360c60 100644 --- a/lib/icingadb/icingadb-objects.cpp +++ b/lib/icingadb/icingadb-objects.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icingadb/icingadb.hpp" #include "icingadb/redisconnection.hpp" diff --git a/lib/icingadb/icingadb-stats.cpp b/lib/icingadb/icingadb-stats.cpp index c43ae4ceb..4c167bf2d 100644 --- a/lib/icingadb/icingadb-stats.cpp +++ b/lib/icingadb/icingadb-stats.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icingadb/icingadb.hpp" #include "base/application.hpp" diff --git a/lib/icingadb/icingadb-utility.cpp b/lib/icingadb/icingadb-utility.cpp index 8fa0e338c..254884fed 100644 --- a/lib/icingadb/icingadb-utility.cpp +++ b/lib/icingadb/icingadb-utility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icingadb/icingadb.hpp" #include "base/configtype.hpp" diff --git a/lib/icingadb/icingadb.cpp b/lib/icingadb/icingadb.cpp index 0b0786d56..030c6c528 100644 --- a/lib/icingadb/icingadb.cpp +++ b/lib/icingadb/icingadb.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icingadb/icingadb.hpp" #include "icingadb/icingadb-ti.cpp" diff --git a/lib/icingadb/icingadb.hpp b/lib/icingadb/icingadb.hpp index 01fa6bbd6..402617ba2 100644 --- a/lib/icingadb/icingadb.hpp +++ b/lib/icingadb/icingadb.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ICINGADB_H #define ICINGADB_H diff --git a/lib/icingadb/icingadb.ti b/lib/icingadb/icingadb.ti index c4037b14d..77b4c5a15 100644 --- a/lib/icingadb/icingadb.ti +++ b/lib/icingadb/icingadb.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" #include "base/tlsutility.hpp" diff --git a/lib/icingadb/icingadbchecktask.cpp b/lib/icingadb/icingadbchecktask.cpp index 54e76e894..5c8f47f8c 100644 --- a/lib/icingadb/icingadbchecktask.cpp +++ b/lib/icingadb/icingadbchecktask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2022 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2022 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icingadb/icingadbchecktask.hpp" #include "icinga/host.hpp" diff --git a/lib/icingadb/icingadbchecktask.hpp b/lib/icingadb/icingadbchecktask.hpp index 5fffff4f1..a513cb7e0 100644 --- a/lib/icingadb/icingadbchecktask.hpp +++ b/lib/icingadb/icingadbchecktask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2022 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2022 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ICINGADBCHECKTASK_H #define ICINGADBCHECKTASK_H diff --git a/lib/icingadb/redisconnection.cpp b/lib/icingadb/redisconnection.cpp index 426567997..aa437aa75 100644 --- a/lib/icingadb/redisconnection.cpp +++ b/lib/icingadb/redisconnection.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icingadb/redisconnection.hpp" #include "base/array.hpp" diff --git a/lib/icingadb/redisconnection.hpp b/lib/icingadb/redisconnection.hpp index 308cf36d4..b7ed85142 100644 --- a/lib/icingadb/redisconnection.hpp +++ b/lib/icingadb/redisconnection.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef REDISCONNECTION_H #define REDISCONNECTION_H diff --git a/lib/livestatus/CMakeLists.txt b/lib/livestatus/CMakeLists.txt index d49f9f5e1..3d8e3b278 100644 --- a/lib/livestatus/CMakeLists.txt +++ b/lib/livestatus/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later mkclass_target(livestatuslistener.ti livestatuslistener-ti.cpp livestatuslistener-ti.hpp) diff --git a/lib/livestatus/aggregator.cpp b/lib/livestatus/aggregator.cpp index a809b073f..a98add09b 100644 --- a/lib/livestatus/aggregator.cpp +++ b/lib/livestatus/aggregator.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/aggregator.hpp" diff --git a/lib/livestatus/aggregator.hpp b/lib/livestatus/aggregator.hpp index 1c0f7781e..df765c754 100644 --- a/lib/livestatus/aggregator.hpp +++ b/lib/livestatus/aggregator.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef AGGREGATOR_H #define AGGREGATOR_H diff --git a/lib/livestatus/andfilter.cpp b/lib/livestatus/andfilter.cpp index 98525806f..4dbe76007 100644 --- a/lib/livestatus/andfilter.cpp +++ b/lib/livestatus/andfilter.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/andfilter.hpp" diff --git a/lib/livestatus/andfilter.hpp b/lib/livestatus/andfilter.hpp index 8192bf72e..6a1e31e32 100644 --- a/lib/livestatus/andfilter.hpp +++ b/lib/livestatus/andfilter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ANDFILTER_H #define ANDFILTER_H diff --git a/lib/livestatus/attributefilter.cpp b/lib/livestatus/attributefilter.cpp index a27c7d7af..3f1345704 100644 --- a/lib/livestatus/attributefilter.cpp +++ b/lib/livestatus/attributefilter.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/attributefilter.hpp" #include "base/convert.hpp" diff --git a/lib/livestatus/attributefilter.hpp b/lib/livestatus/attributefilter.hpp index 18bd8431e..633560671 100644 --- a/lib/livestatus/attributefilter.hpp +++ b/lib/livestatus/attributefilter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ATTRIBUTEFILTER_H #define ATTRIBUTEFILTER_H diff --git a/lib/livestatus/avgaggregator.cpp b/lib/livestatus/avgaggregator.cpp index 35701f313..2ab163935 100644 --- a/lib/livestatus/avgaggregator.cpp +++ b/lib/livestatus/avgaggregator.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/avgaggregator.hpp" diff --git a/lib/livestatus/avgaggregator.hpp b/lib/livestatus/avgaggregator.hpp index 11bd9f380..91e169dd4 100644 --- a/lib/livestatus/avgaggregator.hpp +++ b/lib/livestatus/avgaggregator.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef AVGAGGREGATOR_H #define AVGAGGREGATOR_H diff --git a/lib/livestatus/column.cpp b/lib/livestatus/column.cpp index c915b3df3..7da6db439 100644 --- a/lib/livestatus/column.cpp +++ b/lib/livestatus/column.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/column.hpp" diff --git a/lib/livestatus/column.hpp b/lib/livestatus/column.hpp index 264cca746..903a7c124 100644 --- a/lib/livestatus/column.hpp +++ b/lib/livestatus/column.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef COLUMN_H #define COLUMN_H diff --git a/lib/livestatus/combinerfilter.cpp b/lib/livestatus/combinerfilter.cpp index 36a8328b7..8661ddbc3 100644 --- a/lib/livestatus/combinerfilter.cpp +++ b/lib/livestatus/combinerfilter.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/combinerfilter.hpp" diff --git a/lib/livestatus/combinerfilter.hpp b/lib/livestatus/combinerfilter.hpp index 49b8b611d..bf2cad90b 100644 --- a/lib/livestatus/combinerfilter.hpp +++ b/lib/livestatus/combinerfilter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef COMBINERFILTER_H #define COMBINERFILTER_H diff --git a/lib/livestatus/commandstable.cpp b/lib/livestatus/commandstable.cpp index 82701da81..7773bc8cd 100644 --- a/lib/livestatus/commandstable.cpp +++ b/lib/livestatus/commandstable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/commandstable.hpp" #include "icinga/icingaapplication.hpp" diff --git a/lib/livestatus/commandstable.hpp b/lib/livestatus/commandstable.hpp index cd2d91521..b90f77164 100644 --- a/lib/livestatus/commandstable.hpp +++ b/lib/livestatus/commandstable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef COMMANDSTABLE_H #define COMMANDSTABLE_H diff --git a/lib/livestatus/commentstable.cpp b/lib/livestatus/commentstable.cpp index 40bffad6e..943dd3e05 100644 --- a/lib/livestatus/commentstable.cpp +++ b/lib/livestatus/commentstable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/commentstable.hpp" #include "livestatus/hoststable.hpp" diff --git a/lib/livestatus/commentstable.hpp b/lib/livestatus/commentstable.hpp index b46e155f3..8c10f6a5c 100644 --- a/lib/livestatus/commentstable.hpp +++ b/lib/livestatus/commentstable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef COMMENTSTABLE_H #define COMMENTSTABLE_H diff --git a/lib/livestatus/contactgroupstable.cpp b/lib/livestatus/contactgroupstable.cpp index b4d6853d5..6e72e83df 100644 --- a/lib/livestatus/contactgroupstable.cpp +++ b/lib/livestatus/contactgroupstable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/contactgroupstable.hpp" #include "icinga/usergroup.hpp" diff --git a/lib/livestatus/contactgroupstable.hpp b/lib/livestatus/contactgroupstable.hpp index a57f5c3b3..5a9e12d02 100644 --- a/lib/livestatus/contactgroupstable.hpp +++ b/lib/livestatus/contactgroupstable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONTACTGROUPSTABLE_H #define CONTACTGROUPSTABLE_H diff --git a/lib/livestatus/contactstable.cpp b/lib/livestatus/contactstable.cpp index d6a04c41d..5ae5210f2 100644 --- a/lib/livestatus/contactstable.cpp +++ b/lib/livestatus/contactstable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/contactstable.hpp" #include "icinga/user.hpp" diff --git a/lib/livestatus/contactstable.hpp b/lib/livestatus/contactstable.hpp index 0bd2679ed..9155dbe53 100644 --- a/lib/livestatus/contactstable.hpp +++ b/lib/livestatus/contactstable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONTACTSTABLE_H #define CONTACTSTABLE_H diff --git a/lib/livestatus/countaggregator.cpp b/lib/livestatus/countaggregator.cpp index b8a7238f3..dfc8f7345 100644 --- a/lib/livestatus/countaggregator.cpp +++ b/lib/livestatus/countaggregator.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/countaggregator.hpp" diff --git a/lib/livestatus/countaggregator.hpp b/lib/livestatus/countaggregator.hpp index 22d498395..428f57aa7 100644 --- a/lib/livestatus/countaggregator.hpp +++ b/lib/livestatus/countaggregator.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef COUNTAGGREGATOR_H #define COUNTAGGREGATOR_H diff --git a/lib/livestatus/downtimestable.cpp b/lib/livestatus/downtimestable.cpp index 09c111e12..236bb6607 100644 --- a/lib/livestatus/downtimestable.cpp +++ b/lib/livestatus/downtimestable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/downtimestable.hpp" #include "livestatus/hoststable.hpp" diff --git a/lib/livestatus/downtimestable.hpp b/lib/livestatus/downtimestable.hpp index 4b5c909f1..b5341fd15 100644 --- a/lib/livestatus/downtimestable.hpp +++ b/lib/livestatus/downtimestable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DOWNTIMESTABLE_H #define DOWNTIMESTABLE_H diff --git a/lib/livestatus/endpointstable.cpp b/lib/livestatus/endpointstable.cpp index 3d407eb3e..3010e7041 100644 --- a/lib/livestatus/endpointstable.cpp +++ b/lib/livestatus/endpointstable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/endpointstable.hpp" #include "icinga/host.hpp" diff --git a/lib/livestatus/endpointstable.hpp b/lib/livestatus/endpointstable.hpp index 7d011eff6..19111140a 100644 --- a/lib/livestatus/endpointstable.hpp +++ b/lib/livestatus/endpointstable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ENDPOINTSTABLE_H #define ENDPOINTSTABLE_H diff --git a/lib/livestatus/filter.hpp b/lib/livestatus/filter.hpp index b9a01c860..9cb530782 100644 --- a/lib/livestatus/filter.hpp +++ b/lib/livestatus/filter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef FILTER_H #define FILTER_H diff --git a/lib/livestatus/historytable.hpp b/lib/livestatus/historytable.hpp index 3c95715b1..22fcfcc59 100644 --- a/lib/livestatus/historytable.hpp +++ b/lib/livestatus/historytable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef HISTORYTABLE_H #define HISTORYTABLE_H diff --git a/lib/livestatus/hostgroupstable.cpp b/lib/livestatus/hostgroupstable.cpp index 984eddb08..ea623ce53 100644 --- a/lib/livestatus/hostgroupstable.cpp +++ b/lib/livestatus/hostgroupstable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/hostgroupstable.hpp" #include "icinga/hostgroup.hpp" diff --git a/lib/livestatus/hostgroupstable.hpp b/lib/livestatus/hostgroupstable.hpp index cc5039fac..2334e772f 100644 --- a/lib/livestatus/hostgroupstable.hpp +++ b/lib/livestatus/hostgroupstable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef HOSTGROUPSTABLE_H #define HOSTGROUPSTABLE_H diff --git a/lib/livestatus/hoststable.cpp b/lib/livestatus/hoststable.cpp index 412d4d9c6..e34404b54 100644 --- a/lib/livestatus/hoststable.cpp +++ b/lib/livestatus/hoststable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/hoststable.hpp" #include "livestatus/hostgroupstable.hpp" diff --git a/lib/livestatus/hoststable.hpp b/lib/livestatus/hoststable.hpp index 5267dfa96..0fe801fbe 100644 --- a/lib/livestatus/hoststable.hpp +++ b/lib/livestatus/hoststable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef HOSTSTABLE_H #define HOSTSTABLE_H diff --git a/lib/livestatus/i2-livestatus.hpp b/lib/livestatus/i2-livestatus.hpp index 3375d9795..25698d996 100644 --- a/lib/livestatus/i2-livestatus.hpp +++ b/lib/livestatus/i2-livestatus.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef I2LIVESTATUS_H #define I2LIVESTATUS_H diff --git a/lib/livestatus/invavgaggregator.cpp b/lib/livestatus/invavgaggregator.cpp index 33cf85cd7..c519cc5f2 100644 --- a/lib/livestatus/invavgaggregator.cpp +++ b/lib/livestatus/invavgaggregator.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/invavgaggregator.hpp" diff --git a/lib/livestatus/invavgaggregator.hpp b/lib/livestatus/invavgaggregator.hpp index 9282b37de..4585c6dcc 100644 --- a/lib/livestatus/invavgaggregator.hpp +++ b/lib/livestatus/invavgaggregator.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef INVAVGAGGREGATOR_H #define INVAVGAGGREGATOR_H diff --git a/lib/livestatus/invsumaggregator.cpp b/lib/livestatus/invsumaggregator.cpp index c955667fc..d63ef721a 100644 --- a/lib/livestatus/invsumaggregator.cpp +++ b/lib/livestatus/invsumaggregator.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/invsumaggregator.hpp" diff --git a/lib/livestatus/invsumaggregator.hpp b/lib/livestatus/invsumaggregator.hpp index f7de7be82..fa8b47a1d 100644 --- a/lib/livestatus/invsumaggregator.hpp +++ b/lib/livestatus/invsumaggregator.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef INVSUMAGGREGATOR_H #define INVSUMAGGREGATOR_H diff --git a/lib/livestatus/livestatuslistener.cpp b/lib/livestatus/livestatuslistener.cpp index 9f48bcdbe..2bd7c2668 100644 --- a/lib/livestatus/livestatuslistener.cpp +++ b/lib/livestatus/livestatuslistener.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/livestatuslistener.hpp" #include "livestatus/livestatuslistener-ti.cpp" diff --git a/lib/livestatus/livestatuslistener.hpp b/lib/livestatus/livestatuslistener.hpp index 60aaed930..6673c09a8 100644 --- a/lib/livestatus/livestatuslistener.hpp +++ b/lib/livestatus/livestatuslistener.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef LIVESTATUSLISTENER_H #define LIVESTATUSLISTENER_H diff --git a/lib/livestatus/livestatuslistener.ti b/lib/livestatus/livestatuslistener.ti index 31482cff1..a170af8e9 100644 --- a/lib/livestatus/livestatuslistener.ti +++ b/lib/livestatus/livestatuslistener.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" #include "base/application.hpp" diff --git a/lib/livestatus/livestatuslogutility.cpp b/lib/livestatus/livestatuslogutility.cpp index c9c9f8868..d63639c68 100644 --- a/lib/livestatus/livestatuslogutility.cpp +++ b/lib/livestatus/livestatuslogutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/livestatuslogutility.hpp" #include "icinga/service.hpp" diff --git a/lib/livestatus/livestatuslogutility.hpp b/lib/livestatus/livestatuslogutility.hpp index 66d11548f..7cb9a7f3c 100644 --- a/lib/livestatus/livestatuslogutility.hpp +++ b/lib/livestatus/livestatuslogutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef LIVESTATUSLOGUTILITY_H #define LIVESTATUSLOGUTILITY_H diff --git a/lib/livestatus/livestatusquery.cpp b/lib/livestatus/livestatusquery.cpp index c152eaf27..6112dcc9a 100644 --- a/lib/livestatus/livestatusquery.cpp +++ b/lib/livestatus/livestatusquery.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/livestatusquery.hpp" #include "livestatus/countaggregator.hpp" diff --git a/lib/livestatus/livestatusquery.hpp b/lib/livestatus/livestatusquery.hpp index 838a9a8f5..84b3b59ea 100644 --- a/lib/livestatus/livestatusquery.hpp +++ b/lib/livestatus/livestatusquery.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef LIVESTATUSQUERY_H #define LIVESTATUSQUERY_H diff --git a/lib/livestatus/logtable.cpp b/lib/livestatus/logtable.cpp index c75b46276..a71102acc 100644 --- a/lib/livestatus/logtable.cpp +++ b/lib/livestatus/logtable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/logtable.hpp" #include "livestatus/livestatuslogutility.hpp" diff --git a/lib/livestatus/logtable.hpp b/lib/livestatus/logtable.hpp index 8a1cb3afa..1a84c5dfa 100644 --- a/lib/livestatus/logtable.hpp +++ b/lib/livestatus/logtable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef LOGTABLE_H #define LOGTABLE_H diff --git a/lib/livestatus/maxaggregator.cpp b/lib/livestatus/maxaggregator.cpp index 375d24b60..9162dffc4 100644 --- a/lib/livestatus/maxaggregator.cpp +++ b/lib/livestatus/maxaggregator.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/maxaggregator.hpp" diff --git a/lib/livestatus/maxaggregator.hpp b/lib/livestatus/maxaggregator.hpp index 5bff5f964..6cca802da 100644 --- a/lib/livestatus/maxaggregator.hpp +++ b/lib/livestatus/maxaggregator.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef MAXAGGREGATOR_H #define MAXAGGREGATOR_H diff --git a/lib/livestatus/minaggregator.cpp b/lib/livestatus/minaggregator.cpp index 06cb76e22..f333df782 100644 --- a/lib/livestatus/minaggregator.cpp +++ b/lib/livestatus/minaggregator.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/minaggregator.hpp" diff --git a/lib/livestatus/minaggregator.hpp b/lib/livestatus/minaggregator.hpp index 71a9d89a0..65571d0ed 100644 --- a/lib/livestatus/minaggregator.hpp +++ b/lib/livestatus/minaggregator.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef MINAGGREGATOR_H #define MINAGGREGATOR_H diff --git a/lib/livestatus/negatefilter.cpp b/lib/livestatus/negatefilter.cpp index 60202b4b1..ba28d50a1 100644 --- a/lib/livestatus/negatefilter.cpp +++ b/lib/livestatus/negatefilter.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/negatefilter.hpp" diff --git a/lib/livestatus/negatefilter.hpp b/lib/livestatus/negatefilter.hpp index c08943ca8..0e1b37d21 100644 --- a/lib/livestatus/negatefilter.hpp +++ b/lib/livestatus/negatefilter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef NEGATEFILTER_H #define NEGATEFILTER_H diff --git a/lib/livestatus/orfilter.cpp b/lib/livestatus/orfilter.cpp index 6cc446cae..104b3460c 100644 --- a/lib/livestatus/orfilter.cpp +++ b/lib/livestatus/orfilter.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/orfilter.hpp" diff --git a/lib/livestatus/orfilter.hpp b/lib/livestatus/orfilter.hpp index df855c1a9..333f8a7bb 100644 --- a/lib/livestatus/orfilter.hpp +++ b/lib/livestatus/orfilter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ORFILTER_H #define ORFILTER_H diff --git a/lib/livestatus/servicegroupstable.cpp b/lib/livestatus/servicegroupstable.cpp index 38d6d0502..48beaec6c 100644 --- a/lib/livestatus/servicegroupstable.cpp +++ b/lib/livestatus/servicegroupstable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/servicegroupstable.hpp" #include "icinga/servicegroup.hpp" diff --git a/lib/livestatus/servicegroupstable.hpp b/lib/livestatus/servicegroupstable.hpp index b3c60c493..de2eb4e60 100644 --- a/lib/livestatus/servicegroupstable.hpp +++ b/lib/livestatus/servicegroupstable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SERVICEGROUPSTABLE_H #define SERVICEGROUPSTABLE_H diff --git a/lib/livestatus/servicestable.cpp b/lib/livestatus/servicestable.cpp index cf1fcd122..29fe942ac 100644 --- a/lib/livestatus/servicestable.cpp +++ b/lib/livestatus/servicestable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/servicestable.hpp" #include "livestatus/hoststable.hpp" diff --git a/lib/livestatus/servicestable.hpp b/lib/livestatus/servicestable.hpp index 94ef0c311..daeda11dd 100644 --- a/lib/livestatus/servicestable.hpp +++ b/lib/livestatus/servicestable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SERVICESTABLE_H #define SERVICESTABLE_H diff --git a/lib/livestatus/statehisttable.cpp b/lib/livestatus/statehisttable.cpp index 0f544d4f9..8c75acf19 100644 --- a/lib/livestatus/statehisttable.cpp +++ b/lib/livestatus/statehisttable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/statehisttable.hpp" #include "livestatus/livestatuslogutility.hpp" diff --git a/lib/livestatus/statehisttable.hpp b/lib/livestatus/statehisttable.hpp index ac4ff5a82..e462f7d48 100644 --- a/lib/livestatus/statehisttable.hpp +++ b/lib/livestatus/statehisttable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef STATEHISTTABLE_H #define STATEHISTTABLE_H diff --git a/lib/livestatus/statustable.cpp b/lib/livestatus/statustable.cpp index ae0a73600..9306d130f 100644 --- a/lib/livestatus/statustable.cpp +++ b/lib/livestatus/statustable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/statustable.hpp" #include "livestatus/livestatuslistener.hpp" diff --git a/lib/livestatus/statustable.hpp b/lib/livestatus/statustable.hpp index 2fba249ef..68d0da14a 100644 --- a/lib/livestatus/statustable.hpp +++ b/lib/livestatus/statustable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef STATUSTABLE_H #define STATUSTABLE_H diff --git a/lib/livestatus/stdaggregator.cpp b/lib/livestatus/stdaggregator.cpp index 99c3a8e65..f4078197f 100644 --- a/lib/livestatus/stdaggregator.cpp +++ b/lib/livestatus/stdaggregator.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/stdaggregator.hpp" #include diff --git a/lib/livestatus/stdaggregator.hpp b/lib/livestatus/stdaggregator.hpp index 3680fe734..09bd8719e 100644 --- a/lib/livestatus/stdaggregator.hpp +++ b/lib/livestatus/stdaggregator.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef STDAGGREGATOR_H #define STDAGGREGATOR_H diff --git a/lib/livestatus/sumaggregator.cpp b/lib/livestatus/sumaggregator.cpp index fc4b62e24..4ebc63cfe 100644 --- a/lib/livestatus/sumaggregator.cpp +++ b/lib/livestatus/sumaggregator.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/sumaggregator.hpp" diff --git a/lib/livestatus/sumaggregator.hpp b/lib/livestatus/sumaggregator.hpp index 23f22fb71..4681b3f56 100644 --- a/lib/livestatus/sumaggregator.hpp +++ b/lib/livestatus/sumaggregator.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SUMAGGREGATOR_H #define SUMAGGREGATOR_H diff --git a/lib/livestatus/table.cpp b/lib/livestatus/table.cpp index 8e5d85ad2..2490acf68 100644 --- a/lib/livestatus/table.cpp +++ b/lib/livestatus/table.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/table.hpp" #include "livestatus/statustable.hpp" diff --git a/lib/livestatus/table.hpp b/lib/livestatus/table.hpp index fa3fc2a65..35ccb8507 100644 --- a/lib/livestatus/table.hpp +++ b/lib/livestatus/table.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef TABLE_H #define TABLE_H diff --git a/lib/livestatus/timeperiodstable.cpp b/lib/livestatus/timeperiodstable.cpp index 5797d93ee..0ea81c836 100644 --- a/lib/livestatus/timeperiodstable.cpp +++ b/lib/livestatus/timeperiodstable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/timeperiodstable.hpp" #include "icinga/icingaapplication.hpp" diff --git a/lib/livestatus/timeperiodstable.hpp b/lib/livestatus/timeperiodstable.hpp index 31cef93dc..39ce94e28 100644 --- a/lib/livestatus/timeperiodstable.hpp +++ b/lib/livestatus/timeperiodstable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef TIMEPERIODSTABLE_H #define TIMEPERIODSTABLE_H diff --git a/lib/livestatus/zonestable.cpp b/lib/livestatus/zonestable.cpp index b5498a62a..38405d1fe 100644 --- a/lib/livestatus/zonestable.cpp +++ b/lib/livestatus/zonestable.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/zonestable.hpp" #include "remote/zone.hpp" diff --git a/lib/livestatus/zonestable.hpp b/lib/livestatus/zonestable.hpp index fb03488fb..6f15ac72d 100644 --- a/lib/livestatus/zonestable.hpp +++ b/lib/livestatus/zonestable.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ZONESTABLE_H #define ZONESTABLE_H diff --git a/lib/methods/CMakeLists.txt b/lib/methods/CMakeLists.txt index a7c3090b8..28908ad1b 100644 --- a/lib/methods/CMakeLists.txt +++ b/lib/methods/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later mkembedconfig_target(methods-itl.conf methods-itl.cpp) diff --git a/lib/methods/clusterchecktask.cpp b/lib/methods/clusterchecktask.cpp index c629225c3..367acfd6a 100644 --- a/lib/methods/clusterchecktask.cpp +++ b/lib/methods/clusterchecktask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "methods/clusterchecktask.hpp" #include "remote/apilistener.hpp" diff --git a/lib/methods/clusterchecktask.hpp b/lib/methods/clusterchecktask.hpp index 39e544c1b..77587608f 100644 --- a/lib/methods/clusterchecktask.hpp +++ b/lib/methods/clusterchecktask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CLUSTERCHECKTASK_H #define CLUSTERCHECKTASK_H diff --git a/lib/methods/clusterzonechecktask.cpp b/lib/methods/clusterzonechecktask.cpp index d7c99138c..07a03a97a 100644 --- a/lib/methods/clusterzonechecktask.cpp +++ b/lib/methods/clusterzonechecktask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "methods/clusterzonechecktask.hpp" #include "icinga/checkcommand.hpp" diff --git a/lib/methods/clusterzonechecktask.hpp b/lib/methods/clusterzonechecktask.hpp index 2bf3e1065..b7dcbec66 100644 --- a/lib/methods/clusterzonechecktask.hpp +++ b/lib/methods/clusterzonechecktask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CLUSTERZONECHECKTASK_H #define CLUSTERZONECHECKTASK_H diff --git a/lib/methods/dummychecktask.cpp b/lib/methods/dummychecktask.cpp index 85ef33d9a..f8ee055ab 100644 --- a/lib/methods/dummychecktask.cpp +++ b/lib/methods/dummychecktask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef _WIN32 # include diff --git a/lib/methods/dummychecktask.hpp b/lib/methods/dummychecktask.hpp index 9c32a19ad..25179734b 100644 --- a/lib/methods/dummychecktask.hpp +++ b/lib/methods/dummychecktask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DUMMYCHECKTASK_H #define DUMMYCHECKTASK_H diff --git a/lib/methods/exceptionchecktask.cpp b/lib/methods/exceptionchecktask.cpp index 645a751bd..ff5ddf747 100644 --- a/lib/methods/exceptionchecktask.cpp +++ b/lib/methods/exceptionchecktask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef _WIN32 # include diff --git a/lib/methods/exceptionchecktask.hpp b/lib/methods/exceptionchecktask.hpp index 6d8c8c4e0..9d0eae573 100644 --- a/lib/methods/exceptionchecktask.hpp +++ b/lib/methods/exceptionchecktask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef EXCEPTIONCHECKTASK_H #define EXCEPTIONCHECKTASK_H diff --git a/lib/methods/i2-methods.hpp b/lib/methods/i2-methods.hpp index ffd800259..6a3e0d1f7 100644 --- a/lib/methods/i2-methods.hpp +++ b/lib/methods/i2-methods.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef I2METHODS_H #define I2METHODS_H diff --git a/lib/methods/icingachecktask.cpp b/lib/methods/icingachecktask.cpp index 3a8e9fbce..aa2061ef0 100644 --- a/lib/methods/icingachecktask.cpp +++ b/lib/methods/icingachecktask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "methods/icingachecktask.hpp" #include "icinga/cib.hpp" diff --git a/lib/methods/icingachecktask.hpp b/lib/methods/icingachecktask.hpp index 94e4c6e76..eca359aad 100644 --- a/lib/methods/icingachecktask.hpp +++ b/lib/methods/icingachecktask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ICINGACHECKTASK_H #define ICINGACHECKTASK_H diff --git a/lib/methods/ifwapichecktask.cpp b/lib/methods/ifwapichecktask.cpp index fd3cc21c8..10fb3e67a 100644 --- a/lib/methods/ifwapichecktask.cpp +++ b/lib/methods/ifwapichecktask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2023 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2023 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef _WIN32 # include diff --git a/lib/methods/ifwapichecktask.hpp b/lib/methods/ifwapichecktask.hpp index 0c2b3bac2..db716aecf 100644 --- a/lib/methods/ifwapichecktask.hpp +++ b/lib/methods/ifwapichecktask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2023 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2023 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/lib/methods/methods-itl.conf b/lib/methods/methods-itl.conf index 624969281..d77c07675 100644 --- a/lib/methods/methods-itl.conf +++ b/lib/methods/methods-itl.conf @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later System.assert(Internal.run_with_activation_context(function() { template CheckCommand "icinga-check-command" use (IcingaCheck = Internal.IcingaCheck) { diff --git a/lib/methods/nullchecktask.cpp b/lib/methods/nullchecktask.cpp index 07479c366..307642ea7 100644 --- a/lib/methods/nullchecktask.cpp +++ b/lib/methods/nullchecktask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef _WIN32 # include diff --git a/lib/methods/nullchecktask.hpp b/lib/methods/nullchecktask.hpp index 1b991f132..6495e7025 100644 --- a/lib/methods/nullchecktask.hpp +++ b/lib/methods/nullchecktask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef NULLCHECKTASK_H #define NULLCHECKTASK_H diff --git a/lib/methods/nulleventtask.cpp b/lib/methods/nulleventtask.cpp index 0a63905a1..738033aab 100644 --- a/lib/methods/nulleventtask.cpp +++ b/lib/methods/nulleventtask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "methods/nulleventtask.hpp" #include "base/function.hpp" diff --git a/lib/methods/nulleventtask.hpp b/lib/methods/nulleventtask.hpp index 153470f3e..6deeb01e0 100644 --- a/lib/methods/nulleventtask.hpp +++ b/lib/methods/nulleventtask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef NULLEVENTTASK_H #define NULLEVENTTASK_H diff --git a/lib/methods/pluginchecktask.cpp b/lib/methods/pluginchecktask.cpp index 4cc961fe1..899e5c5d6 100644 --- a/lib/methods/pluginchecktask.cpp +++ b/lib/methods/pluginchecktask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "methods/pluginchecktask.hpp" #include "icinga/pluginutility.hpp" diff --git a/lib/methods/pluginchecktask.hpp b/lib/methods/pluginchecktask.hpp index 3491c65f9..8f5fe2807 100644 --- a/lib/methods/pluginchecktask.hpp +++ b/lib/methods/pluginchecktask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PLUGINCHECKTASK_H #define PLUGINCHECKTASK_H diff --git a/lib/methods/plugineventtask.cpp b/lib/methods/plugineventtask.cpp index 4172e3031..7e9ba8712 100644 --- a/lib/methods/plugineventtask.cpp +++ b/lib/methods/plugineventtask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "methods/plugineventtask.hpp" #include "icinga/eventcommand.hpp" diff --git a/lib/methods/plugineventtask.hpp b/lib/methods/plugineventtask.hpp index 8908a82d3..89acf1c4e 100644 --- a/lib/methods/plugineventtask.hpp +++ b/lib/methods/plugineventtask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PLUGINEVENTTASK_H #define PLUGINEVENTTASK_H diff --git a/lib/methods/pluginnotificationtask.cpp b/lib/methods/pluginnotificationtask.cpp index 4b2e64a90..4bf9e8530 100644 --- a/lib/methods/pluginnotificationtask.cpp +++ b/lib/methods/pluginnotificationtask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "methods/pluginnotificationtask.hpp" #include "icinga/notification.hpp" diff --git a/lib/methods/pluginnotificationtask.hpp b/lib/methods/pluginnotificationtask.hpp index 66d653924..c1069ed55 100644 --- a/lib/methods/pluginnotificationtask.hpp +++ b/lib/methods/pluginnotificationtask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PLUGINNOTIFICATIONTASK_H #define PLUGINNOTIFICATIONTASK_H diff --git a/lib/methods/randomchecktask.cpp b/lib/methods/randomchecktask.cpp index ae7547ee5..adebbacf5 100644 --- a/lib/methods/randomchecktask.cpp +++ b/lib/methods/randomchecktask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef _WIN32 # include diff --git a/lib/methods/randomchecktask.hpp b/lib/methods/randomchecktask.hpp index 82a0c48a7..aee2dbe02 100644 --- a/lib/methods/randomchecktask.hpp +++ b/lib/methods/randomchecktask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef RANDOMCHECKTASK_H #define RANDOMCHECKTASK_H diff --git a/lib/methods/sleepchecktask.cpp b/lib/methods/sleepchecktask.cpp index 975fde697..3439a1ff2 100644 --- a/lib/methods/sleepchecktask.cpp +++ b/lib/methods/sleepchecktask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "methods/sleepchecktask.hpp" #include "icinga/pluginutility.hpp" diff --git a/lib/methods/sleepchecktask.hpp b/lib/methods/sleepchecktask.hpp index 38019a5bc..fafbe3973 100644 --- a/lib/methods/sleepchecktask.hpp +++ b/lib/methods/sleepchecktask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef SLEEPCHECKTASK_H #define SLEEPCHECKTASK_H diff --git a/lib/methods/timeperiodtask.cpp b/lib/methods/timeperiodtask.cpp index bb3f1bb00..180c2d503 100644 --- a/lib/methods/timeperiodtask.cpp +++ b/lib/methods/timeperiodtask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "methods/timeperiodtask.hpp" #include "base/function.hpp" diff --git a/lib/methods/timeperiodtask.hpp b/lib/methods/timeperiodtask.hpp index 0dff1c668..7f58ee9a5 100644 --- a/lib/methods/timeperiodtask.hpp +++ b/lib/methods/timeperiodtask.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef TIMEPERIODTASK_H #define TIMEPERIODTASK_H diff --git a/lib/mysql_shim/CMakeLists.txt b/lib/mysql_shim/CMakeLists.txt index 8b982393a..d27fa1f6f 100644 --- a/lib/mysql_shim/CMakeLists.txt +++ b/lib/mysql_shim/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later include_directories(SYSTEM ${MYSQL_INCLUDE_DIR}) diff --git a/lib/mysql_shim/mysqlinterface.cpp b/lib/mysql_shim/mysqlinterface.cpp index 43e50e8db..c03c59018 100644 --- a/lib/mysql_shim/mysqlinterface.cpp +++ b/lib/mysql_shim/mysqlinterface.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "mysql_shim/mysqlinterface.hpp" diff --git a/lib/mysql_shim/mysqlinterface.hpp b/lib/mysql_shim/mysqlinterface.hpp index 04dfc30c5..fd4758504 100644 --- a/lib/mysql_shim/mysqlinterface.hpp +++ b/lib/mysql_shim/mysqlinterface.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef MYSQLINTERFACE_H #define MYSQLINTERFACE_H diff --git a/lib/notification/CMakeLists.txt b/lib/notification/CMakeLists.txt index 783b4fae9..d3f69337c 100644 --- a/lib/notification/CMakeLists.txt +++ b/lib/notification/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later mkclass_target(notificationcomponent.ti notificationcomponent-ti.cpp notificationcomponent-ti.hpp) diff --git a/lib/notification/notificationcomponent.cpp b/lib/notification/notificationcomponent.cpp index 5d6531611..068230f21 100644 --- a/lib/notification/notificationcomponent.cpp +++ b/lib/notification/notificationcomponent.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "notification/notificationcomponent.hpp" #include "notification/notificationcomponent-ti.cpp" diff --git a/lib/notification/notificationcomponent.hpp b/lib/notification/notificationcomponent.hpp index 09434e21a..3257c0c08 100644 --- a/lib/notification/notificationcomponent.hpp +++ b/lib/notification/notificationcomponent.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef NOTIFICATIONCOMPONENT_H #define NOTIFICATIONCOMPONENT_H diff --git a/lib/notification/notificationcomponent.ti b/lib/notification/notificationcomponent.ti index 13af13691..cb798a1fb 100644 --- a/lib/notification/notificationcomponent.ti +++ b/lib/notification/notificationcomponent.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" diff --git a/lib/perfdata/CMakeLists.txt b/lib/perfdata/CMakeLists.txt index 168938c42..3bbbe3b43 100644 --- a/lib/perfdata/CMakeLists.txt +++ b/lib/perfdata/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later mkclass_target(gelfwriter.ti gelfwriter-ti.cpp gelfwriter-ti.hpp) mkclass_target(graphitewriter.ti graphitewriter-ti.cpp graphitewriter-ti.hpp) diff --git a/lib/perfdata/elasticsearchwriter.cpp b/lib/perfdata/elasticsearchwriter.cpp index 8e6848ab3..9445a16e0 100644 --- a/lib/perfdata/elasticsearchwriter.cpp +++ b/lib/perfdata/elasticsearchwriter.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "perfdata/elasticsearchwriter.hpp" #include "perfdata/elasticsearchwriter-ti.cpp" diff --git a/lib/perfdata/elasticsearchwriter.hpp b/lib/perfdata/elasticsearchwriter.hpp index c92f02c23..c67c4324b 100644 --- a/lib/perfdata/elasticsearchwriter.hpp +++ b/lib/perfdata/elasticsearchwriter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ELASTICSEARCHWRITER_H #define ELASTICSEARCHWRITER_H diff --git a/lib/perfdata/elasticsearchwriter.ti b/lib/perfdata/elasticsearchwriter.ti index ed9b24fb5..45c468804 100644 --- a/lib/perfdata/elasticsearchwriter.ti +++ b/lib/perfdata/elasticsearchwriter.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" diff --git a/lib/perfdata/gelfwriter.cpp b/lib/perfdata/gelfwriter.cpp index 59561d39a..c2bff71dd 100644 --- a/lib/perfdata/gelfwriter.cpp +++ b/lib/perfdata/gelfwriter.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "perfdata/gelfwriter.hpp" #include "perfdata/gelfwriter-ti.cpp" diff --git a/lib/perfdata/gelfwriter.hpp b/lib/perfdata/gelfwriter.hpp index 9d6b336a7..e24b6e6ea 100644 --- a/lib/perfdata/gelfwriter.hpp +++ b/lib/perfdata/gelfwriter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef GELFWRITER_H #define GELFWRITER_H diff --git a/lib/perfdata/gelfwriter.ti b/lib/perfdata/gelfwriter.ti index 387ee1487..b04debbb4 100644 --- a/lib/perfdata/gelfwriter.ti +++ b/lib/perfdata/gelfwriter.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" diff --git a/lib/perfdata/graphitewriter.cpp b/lib/perfdata/graphitewriter.cpp index fbaa84815..652b7d3d1 100644 --- a/lib/perfdata/graphitewriter.cpp +++ b/lib/perfdata/graphitewriter.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "perfdata/graphitewriter.hpp" #include "perfdata/graphitewriter-ti.cpp" diff --git a/lib/perfdata/graphitewriter.hpp b/lib/perfdata/graphitewriter.hpp index 9aa0dc047..b28db8172 100644 --- a/lib/perfdata/graphitewriter.hpp +++ b/lib/perfdata/graphitewriter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef GRAPHITEWRITER_H #define GRAPHITEWRITER_H diff --git a/lib/perfdata/graphitewriter.ti b/lib/perfdata/graphitewriter.ti index c8db0673b..d89e879dd 100644 --- a/lib/perfdata/graphitewriter.ti +++ b/lib/perfdata/graphitewriter.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" diff --git a/lib/perfdata/influxdb2writer.cpp b/lib/perfdata/influxdb2writer.cpp index c92d7d406..b8c2970a2 100644 --- a/lib/perfdata/influxdb2writer.cpp +++ b/lib/perfdata/influxdb2writer.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "perfdata/influxdb2writer.hpp" #include "perfdata/influxdb2writer-ti.cpp" diff --git a/lib/perfdata/influxdb2writer.hpp b/lib/perfdata/influxdb2writer.hpp index 3b20f8b9d..2171996bc 100644 --- a/lib/perfdata/influxdb2writer.hpp +++ b/lib/perfdata/influxdb2writer.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef INFLUXDB2WRITER_H #define INFLUXDB2WRITER_H diff --git a/lib/perfdata/influxdb2writer.ti b/lib/perfdata/influxdb2writer.ti index f80618755..74a58354a 100644 --- a/lib/perfdata/influxdb2writer.ti +++ b/lib/perfdata/influxdb2writer.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "perfdata/influxdbcommonwriter.hpp" diff --git a/lib/perfdata/influxdbcommonwriter.cpp b/lib/perfdata/influxdbcommonwriter.cpp index 14c5b004f..b097dfa8a 100644 --- a/lib/perfdata/influxdbcommonwriter.cpp +++ b/lib/perfdata/influxdbcommonwriter.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "perfdata/influxdbcommonwriter.hpp" #include "perfdata/influxdbcommonwriter-ti.cpp" diff --git a/lib/perfdata/influxdbcommonwriter.hpp b/lib/perfdata/influxdbcommonwriter.hpp index 9d3427f7e..35caa2f25 100644 --- a/lib/perfdata/influxdbcommonwriter.hpp +++ b/lib/perfdata/influxdbcommonwriter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef INFLUXDBCOMMONWRITER_H #define INFLUXDBCOMMONWRITER_H diff --git a/lib/perfdata/influxdbcommonwriter.ti b/lib/perfdata/influxdbcommonwriter.ti index 5cfe83f1a..12e867824 100644 --- a/lib/perfdata/influxdbcommonwriter.ti +++ b/lib/perfdata/influxdbcommonwriter.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" diff --git a/lib/perfdata/influxdbwriter.cpp b/lib/perfdata/influxdbwriter.cpp index 4bc992d60..f376941b6 100644 --- a/lib/perfdata/influxdbwriter.cpp +++ b/lib/perfdata/influxdbwriter.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "perfdata/influxdbwriter.hpp" #include "perfdata/influxdbwriter-ti.cpp" diff --git a/lib/perfdata/influxdbwriter.hpp b/lib/perfdata/influxdbwriter.hpp index 48676cc97..d65c6a472 100644 --- a/lib/perfdata/influxdbwriter.hpp +++ b/lib/perfdata/influxdbwriter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef INFLUXDBWRITER_H #define INFLUXDBWRITER_H diff --git a/lib/perfdata/influxdbwriter.ti b/lib/perfdata/influxdbwriter.ti index e6fc84e5c..382e58b40 100644 --- a/lib/perfdata/influxdbwriter.ti +++ b/lib/perfdata/influxdbwriter.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "perfdata/influxdbcommonwriter.hpp" diff --git a/lib/perfdata/opentsdbwriter.cpp b/lib/perfdata/opentsdbwriter.cpp index 4ce1a89a6..002639792 100644 --- a/lib/perfdata/opentsdbwriter.cpp +++ b/lib/perfdata/opentsdbwriter.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "perfdata/opentsdbwriter.hpp" #include "perfdata/opentsdbwriter-ti.cpp" diff --git a/lib/perfdata/opentsdbwriter.hpp b/lib/perfdata/opentsdbwriter.hpp index de888e5da..cd3f2efc4 100644 --- a/lib/perfdata/opentsdbwriter.hpp +++ b/lib/perfdata/opentsdbwriter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef OPENTSDBWRITER_H #define OPENTSDBWRITER_H diff --git a/lib/perfdata/opentsdbwriter.ti b/lib/perfdata/opentsdbwriter.ti index 626350a80..56bc8cdf4 100644 --- a/lib/perfdata/opentsdbwriter.ti +++ b/lib/perfdata/opentsdbwriter.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" diff --git a/lib/perfdata/perfdatawriter.cpp b/lib/perfdata/perfdatawriter.cpp index 849f19ed6..09bf7fd2a 100644 --- a/lib/perfdata/perfdatawriter.cpp +++ b/lib/perfdata/perfdatawriter.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "perfdata/perfdatawriter.hpp" #include "perfdata/perfdatawriter-ti.cpp" diff --git a/lib/perfdata/perfdatawriter.hpp b/lib/perfdata/perfdatawriter.hpp index 961d4e954..2b5890082 100644 --- a/lib/perfdata/perfdatawriter.hpp +++ b/lib/perfdata/perfdatawriter.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PERFDATAWRITER_H #define PERFDATAWRITER_H diff --git a/lib/perfdata/perfdatawriter.ti b/lib/perfdata/perfdatawriter.ti index d6d99e8d3..478f54698 100644 --- a/lib/perfdata/perfdatawriter.ti +++ b/lib/perfdata/perfdatawriter.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" #include "base/application.hpp" diff --git a/lib/pgsql_shim/CMakeLists.txt b/lib/pgsql_shim/CMakeLists.txt index 06395ac99..8e3eae87a 100644 --- a/lib/pgsql_shim/CMakeLists.txt +++ b/lib/pgsql_shim/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later link_directories(${PostgreSQL_LIBRARY_DIRS}) include_directories(SYSTEM ${PostgreSQL_INCLUDE_DIRS}) diff --git a/lib/pgsql_shim/pgsqlinterface.cpp b/lib/pgsql_shim/pgsqlinterface.cpp index 95b6e7d02..5801d197f 100644 --- a/lib/pgsql_shim/pgsqlinterface.cpp +++ b/lib/pgsql_shim/pgsqlinterface.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "pgsql_shim/pgsqlinterface.hpp" diff --git a/lib/pgsql_shim/pgsqlinterface.hpp b/lib/pgsql_shim/pgsqlinterface.hpp index 2fe33033c..199d5fc94 100644 --- a/lib/pgsql_shim/pgsqlinterface.hpp +++ b/lib/pgsql_shim/pgsqlinterface.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PGSQLINTERFACE_H #define PGSQLINTERFACE_H diff --git a/lib/remote/CMakeLists.txt b/lib/remote/CMakeLists.txt index d8d3298c5..b7d0fc052 100644 --- a/lib/remote/CMakeLists.txt +++ b/lib/remote/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later mkclass_target(apilistener.ti apilistener-ti.cpp apilistener-ti.hpp) mkclass_target(apiuser.ti apiuser-ti.cpp apiuser-ti.hpp) diff --git a/lib/remote/actionshandler.cpp b/lib/remote/actionshandler.cpp index 22c63100c..8dde35987 100644 --- a/lib/remote/actionshandler.cpp +++ b/lib/remote/actionshandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/actionshandler.hpp" #include "remote/httputility.hpp" diff --git a/lib/remote/actionshandler.hpp b/lib/remote/actionshandler.hpp index 2abe755e3..c23d25324 100644 --- a/lib/remote/actionshandler.hpp +++ b/lib/remote/actionshandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ACTIONSHANDLER_H #define ACTIONSHANDLER_H diff --git a/lib/remote/apiaction.cpp b/lib/remote/apiaction.cpp index ae31581d5..f50d265bd 100644 --- a/lib/remote/apiaction.cpp +++ b/lib/remote/apiaction.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/apiaction.hpp" diff --git a/lib/remote/apiaction.hpp b/lib/remote/apiaction.hpp index 8d803d04f..8b822070f 100644 --- a/lib/remote/apiaction.hpp +++ b/lib/remote/apiaction.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef APIACTION_H #define APIACTION_H diff --git a/lib/remote/apifunction.cpp b/lib/remote/apifunction.cpp index 563a5519f..8cd4ff1c5 100644 --- a/lib/remote/apifunction.cpp +++ b/lib/remote/apifunction.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/apifunction.hpp" diff --git a/lib/remote/apifunction.hpp b/lib/remote/apifunction.hpp index 2b0f3ed00..39be1be53 100644 --- a/lib/remote/apifunction.hpp +++ b/lib/remote/apifunction.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef APIFUNCTION_H #define APIFUNCTION_H diff --git a/lib/remote/apilistener-authority.cpp b/lib/remote/apilistener-authority.cpp index 4f55db44a..8c593ccf6 100644 --- a/lib/remote/apilistener-authority.cpp +++ b/lib/remote/apilistener-authority.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/zone.hpp" #include "remote/apilistener.hpp" diff --git a/lib/remote/apilistener-configsync.cpp b/lib/remote/apilistener-configsync.cpp index 063fbd6c2..4dec245bc 100644 --- a/lib/remote/apilistener-configsync.cpp +++ b/lib/remote/apilistener-configsync.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/apilistener.hpp" #include "remote/apifunction.hpp" diff --git a/lib/remote/apilistener-filesync.cpp b/lib/remote/apilistener-filesync.cpp index e69a36238..47d42f00a 100644 --- a/lib/remote/apilistener-filesync.cpp +++ b/lib/remote/apilistener-filesync.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/apilistener.hpp" #include "remote/apifunction.hpp" diff --git a/lib/remote/apilistener.cpp b/lib/remote/apilistener.cpp index 68c2e8d29..e2503601a 100644 --- a/lib/remote/apilistener.cpp +++ b/lib/remote/apilistener.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/apilistener.hpp" #include "remote/apilistener-ti.cpp" diff --git a/lib/remote/apilistener.hpp b/lib/remote/apilistener.hpp index 7b98db964..26f9718f9 100644 --- a/lib/remote/apilistener.hpp +++ b/lib/remote/apilistener.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef APILISTENER_H #define APILISTENER_H diff --git a/lib/remote/apilistener.ti b/lib/remote/apilistener.ti index 8c9fdab40..b3cd883cd 100644 --- a/lib/remote/apilistener.ti +++ b/lib/remote/apilistener.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/i2-remote.hpp" #include "base/configobject.hpp" diff --git a/lib/remote/apiuser.cpp b/lib/remote/apiuser.cpp index 6c4da89aa..3251b6ded 100644 --- a/lib/remote/apiuser.cpp +++ b/lib/remote/apiuser.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/apiuser.hpp" #include "remote/apiuser-ti.cpp" diff --git a/lib/remote/apiuser.hpp b/lib/remote/apiuser.hpp index fc132eee8..0e6336ed4 100644 --- a/lib/remote/apiuser.hpp +++ b/lib/remote/apiuser.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef APIUSER_H #define APIUSER_H diff --git a/lib/remote/apiuser.ti b/lib/remote/apiuser.ti index 0b49a1dd3..22fc32f77 100644 --- a/lib/remote/apiuser.ti +++ b/lib/remote/apiuser.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" #include "base/function.hpp" diff --git a/lib/remote/configfileshandler.cpp b/lib/remote/configfileshandler.cpp index 48be8d0db..28ea8be75 100644 --- a/lib/remote/configfileshandler.cpp +++ b/lib/remote/configfileshandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/configfileshandler.hpp" #include "remote/configpackageutility.hpp" diff --git a/lib/remote/configfileshandler.hpp b/lib/remote/configfileshandler.hpp index 43f1512c0..711b85d6e 100644 --- a/lib/remote/configfileshandler.hpp +++ b/lib/remote/configfileshandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGFILESHANDLER_H #define CONFIGFILESHANDLER_H diff --git a/lib/remote/configobjectslock.cpp b/lib/remote/configobjectslock.cpp index f2165f2ce..1f3867775 100644 --- a/lib/remote/configobjectslock.cpp +++ b/lib/remote/configobjectslock.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2022 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2022 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/configobjectslock.hpp" diff --git a/lib/remote/configobjectslock.hpp b/lib/remote/configobjectslock.hpp index 6b75139b6..3d6653b87 100644 --- a/lib/remote/configobjectslock.hpp +++ b/lib/remote/configobjectslock.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2023 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2023 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/lib/remote/configobjectutility.cpp b/lib/remote/configobjectutility.cpp index 9d1958050..943b21c15 100644 --- a/lib/remote/configobjectutility.cpp +++ b/lib/remote/configobjectutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/configobjectutility.hpp" #include "remote/configpackageutility.hpp" diff --git a/lib/remote/configobjectutility.hpp b/lib/remote/configobjectutility.hpp index 5a113c82e..8e66619eb 100644 --- a/lib/remote/configobjectutility.hpp +++ b/lib/remote/configobjectutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGOBJECTUTILITY_H #define CONFIGOBJECTUTILITY_H diff --git a/lib/remote/configpackageshandler.cpp b/lib/remote/configpackageshandler.cpp index aba22b191..4ce4a1967 100644 --- a/lib/remote/configpackageshandler.cpp +++ b/lib/remote/configpackageshandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/configpackageshandler.hpp" #include "remote/configpackageutility.hpp" diff --git a/lib/remote/configpackageshandler.hpp b/lib/remote/configpackageshandler.hpp index 5abe6f0ee..d581ce709 100644 --- a/lib/remote/configpackageshandler.hpp +++ b/lib/remote/configpackageshandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGMODULESHANDLER_H #define CONFIGMODULESHANDLER_H diff --git a/lib/remote/configpackageutility.cpp b/lib/remote/configpackageutility.cpp index 949e69b00..71d3f406f 100644 --- a/lib/remote/configpackageutility.cpp +++ b/lib/remote/configpackageutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/configpackageutility.hpp" #include "remote/apilistener.hpp" diff --git a/lib/remote/configpackageutility.hpp b/lib/remote/configpackageutility.hpp index 240f5919c..478ee13c9 100644 --- a/lib/remote/configpackageutility.hpp +++ b/lib/remote/configpackageutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGMODULEUTILITY_H #define CONFIGMODULEUTILITY_H diff --git a/lib/remote/configstageshandler.cpp b/lib/remote/configstageshandler.cpp index 3f5477b5b..823f954a1 100644 --- a/lib/remote/configstageshandler.cpp +++ b/lib/remote/configstageshandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/configstageshandler.hpp" #include "remote/configpackageutility.hpp" diff --git a/lib/remote/configstageshandler.hpp b/lib/remote/configstageshandler.hpp index 8bedce5aa..499cc083c 100644 --- a/lib/remote/configstageshandler.hpp +++ b/lib/remote/configstageshandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGSTAGESHANDLER_H #define CONFIGSTAGESHANDLER_H diff --git a/lib/remote/consolehandler.cpp b/lib/remote/consolehandler.cpp index 3764d5f36..a2f645fc1 100644 --- a/lib/remote/consolehandler.cpp +++ b/lib/remote/consolehandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/configobjectslock.hpp" #include "remote/consolehandler.hpp" diff --git a/lib/remote/consolehandler.hpp b/lib/remote/consolehandler.hpp index 90f1263dc..e222e7521 100644 --- a/lib/remote/consolehandler.hpp +++ b/lib/remote/consolehandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONSOLEHANDLER_H #define CONSOLEHANDLER_H diff --git a/lib/remote/createobjecthandler.cpp b/lib/remote/createobjecthandler.cpp index 48ec0d2a1..29d1d52b5 100644 --- a/lib/remote/createobjecthandler.cpp +++ b/lib/remote/createobjecthandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/createobjecthandler.hpp" #include "remote/configobjectslock.hpp" diff --git a/lib/remote/createobjecthandler.hpp b/lib/remote/createobjecthandler.hpp index 2d71c424f..439df1389 100644 --- a/lib/remote/createobjecthandler.hpp +++ b/lib/remote/createobjecthandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CREATEOBJECTHANDLER_H #define CREATEOBJECTHANDLER_H diff --git a/lib/remote/deleteobjecthandler.cpp b/lib/remote/deleteobjecthandler.cpp index 15aa334b5..33468f224 100644 --- a/lib/remote/deleteobjecthandler.cpp +++ b/lib/remote/deleteobjecthandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/deleteobjecthandler.hpp" #include "remote/configobjectslock.hpp" diff --git a/lib/remote/deleteobjecthandler.hpp b/lib/remote/deleteobjecthandler.hpp index e63bac6f6..ee614f509 100644 --- a/lib/remote/deleteobjecthandler.hpp +++ b/lib/remote/deleteobjecthandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef DELETEOBJECTHANDLER_H #define DELETEOBJECTHANDLER_H diff --git a/lib/remote/endpoint.cpp b/lib/remote/endpoint.cpp index 751f89539..d558347b7 100644 --- a/lib/remote/endpoint.cpp +++ b/lib/remote/endpoint.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/endpoint.hpp" #include "remote/endpoint-ti.cpp" diff --git a/lib/remote/endpoint.hpp b/lib/remote/endpoint.hpp index 0cd015bf9..dcf5b0f19 100644 --- a/lib/remote/endpoint.hpp +++ b/lib/remote/endpoint.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ENDPOINT_H #define ENDPOINT_H diff --git a/lib/remote/endpoint.ti b/lib/remote/endpoint.ti index c246af4d6..019dda89d 100644 --- a/lib/remote/endpoint.ti +++ b/lib/remote/endpoint.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" #include diff --git a/lib/remote/eventqueue.cpp b/lib/remote/eventqueue.cpp index fa7ab0c16..49464a0e1 100644 --- a/lib/remote/eventqueue.cpp +++ b/lib/remote/eventqueue.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/configcompiler.hpp" #include "remote/eventqueue.hpp" diff --git a/lib/remote/eventqueue.hpp b/lib/remote/eventqueue.hpp index 7b8b7e941..3a32142e4 100644 --- a/lib/remote/eventqueue.hpp +++ b/lib/remote/eventqueue.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef EVENTQUEUE_H #define EVENTQUEUE_H diff --git a/lib/remote/eventshandler.cpp b/lib/remote/eventshandler.cpp index 79a63b24f..9beaa0e1b 100644 --- a/lib/remote/eventshandler.cpp +++ b/lib/remote/eventshandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/eventshandler.hpp" #include "remote/httputility.hpp" diff --git a/lib/remote/eventshandler.hpp b/lib/remote/eventshandler.hpp index 006be673d..a791dbe8e 100644 --- a/lib/remote/eventshandler.hpp +++ b/lib/remote/eventshandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef EVENTSHANDLER_H #define EVENTSHANDLER_H diff --git a/lib/remote/filterutility.cpp b/lib/remote/filterutility.cpp index cec2eb633..ac04b2395 100644 --- a/lib/remote/filterutility.cpp +++ b/lib/remote/filterutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/filterutility.hpp" #include "remote/httputility.hpp" diff --git a/lib/remote/filterutility.hpp b/lib/remote/filterutility.hpp index 73278d644..0f3a1b257 100644 --- a/lib/remote/filterutility.hpp +++ b/lib/remote/filterutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef FILTERUTILITY_H #define FILTERUTILITY_H diff --git a/lib/remote/httphandler.cpp b/lib/remote/httphandler.cpp index 0dafad4c8..3413251a3 100644 --- a/lib/remote/httphandler.cpp +++ b/lib/remote/httphandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/logger.hpp" #include "remote/httphandler.hpp" diff --git a/lib/remote/httphandler.hpp b/lib/remote/httphandler.hpp index 4e714fd43..960a92bad 100644 --- a/lib/remote/httphandler.hpp +++ b/lib/remote/httphandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef HTTPHANDLER_H #define HTTPHANDLER_H diff --git a/lib/remote/httpmessage.cpp b/lib/remote/httpmessage.cpp index c3b80dafc..c37ed99f4 100644 --- a/lib/remote/httpmessage.cpp +++ b/lib/remote/httpmessage.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/httpmessage.hpp" #include "base/json.hpp" diff --git a/lib/remote/httpmessage.hpp b/lib/remote/httpmessage.hpp index b26d48480..ef9ab6538 100644 --- a/lib/remote/httpmessage.hpp +++ b/lib/remote/httpmessage.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/lib/remote/httpserverconnection.cpp b/lib/remote/httpserverconnection.cpp index c8af94a1c..e53ddbcb0 100644 --- a/lib/remote/httpserverconnection.cpp +++ b/lib/remote/httpserverconnection.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/httpserverconnection.hpp" #include "remote/httphandler.hpp" diff --git a/lib/remote/httpserverconnection.hpp b/lib/remote/httpserverconnection.hpp index 4436897f1..4d352e5ad 100644 --- a/lib/remote/httpserverconnection.hpp +++ b/lib/remote/httpserverconnection.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef HTTPSERVERCONNECTION_H #define HTTPSERVERCONNECTION_H diff --git a/lib/remote/httputility.cpp b/lib/remote/httputility.cpp index 15286fd5b..6a154842a 100644 --- a/lib/remote/httputility.cpp +++ b/lib/remote/httputility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/httputility.hpp" #include "remote/url.hpp" diff --git a/lib/remote/httputility.hpp b/lib/remote/httputility.hpp index 76147aa4c..3df28eb63 100644 --- a/lib/remote/httputility.hpp +++ b/lib/remote/httputility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef HTTPUTILITY_H #define HTTPUTILITY_H diff --git a/lib/remote/i2-remote.hpp b/lib/remote/i2-remote.hpp index 5755befdb..d65d53ade 100644 --- a/lib/remote/i2-remote.hpp +++ b/lib/remote/i2-remote.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef I2REMOTE_H #define I2REMOTE_H diff --git a/lib/remote/infohandler.cpp b/lib/remote/infohandler.cpp index d90130818..e463b369c 100644 --- a/lib/remote/infohandler.cpp +++ b/lib/remote/infohandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/infohandler.hpp" #include "remote/httputility.hpp" diff --git a/lib/remote/infohandler.hpp b/lib/remote/infohandler.hpp index e061179ff..8ca7e2472 100644 --- a/lib/remote/infohandler.hpp +++ b/lib/remote/infohandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef INFOHANDLER_H #define INFOHANDLER_H diff --git a/lib/remote/jsonrpc.cpp b/lib/remote/jsonrpc.cpp index d4d3d3cb3..f1d4f8421 100644 --- a/lib/remote/jsonrpc.cpp +++ b/lib/remote/jsonrpc.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/jsonrpc.hpp" #include "base/netstring.hpp" diff --git a/lib/remote/jsonrpc.hpp b/lib/remote/jsonrpc.hpp index 3f3cdec88..5977c1525 100644 --- a/lib/remote/jsonrpc.hpp +++ b/lib/remote/jsonrpc.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef JSONRPC_H #define JSONRPC_H diff --git a/lib/remote/jsonrpcconnection-heartbeat.cpp b/lib/remote/jsonrpcconnection-heartbeat.cpp index 03523afd4..faea591d9 100644 --- a/lib/remote/jsonrpcconnection-heartbeat.cpp +++ b/lib/remote/jsonrpcconnection-heartbeat.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/jsonrpcconnection.hpp" #include "remote/messageorigin.hpp" diff --git a/lib/remote/jsonrpcconnection-pki.cpp b/lib/remote/jsonrpcconnection-pki.cpp index 12b772303..102781f4a 100644 --- a/lib/remote/jsonrpcconnection-pki.cpp +++ b/lib/remote/jsonrpcconnection-pki.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/jsonrpcconnection.hpp" #include "remote/apilistener.hpp" diff --git a/lib/remote/jsonrpcconnection.cpp b/lib/remote/jsonrpcconnection.cpp index 0dab1ed5f..0d40de1de 100644 --- a/lib/remote/jsonrpcconnection.cpp +++ b/lib/remote/jsonrpcconnection.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/jsonrpcconnection.hpp" #include "remote/apilistener.hpp" diff --git a/lib/remote/jsonrpcconnection.hpp b/lib/remote/jsonrpcconnection.hpp index df846527a..78b64322b 100644 --- a/lib/remote/jsonrpcconnection.hpp +++ b/lib/remote/jsonrpcconnection.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef JSONRPCCONNECTION_H #define JSONRPCCONNECTION_H diff --git a/lib/remote/mallocinfohandler.cpp b/lib/remote/mallocinfohandler.cpp index f8351d54f..ee76f0b0d 100644 --- a/lib/remote/mallocinfohandler.cpp +++ b/lib/remote/mallocinfohandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2024 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2024 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/defer.hpp" #include "remote/filterutility.hpp" diff --git a/lib/remote/mallocinfohandler.hpp b/lib/remote/mallocinfohandler.hpp index c14ab7776..a35241099 100644 --- a/lib/remote/mallocinfohandler.hpp +++ b/lib/remote/mallocinfohandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2024 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2024 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/lib/remote/messageorigin.cpp b/lib/remote/messageorigin.cpp index 7de0ca7a4..48182b848 100644 --- a/lib/remote/messageorigin.cpp +++ b/lib/remote/messageorigin.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/messageorigin.hpp" diff --git a/lib/remote/messageorigin.hpp b/lib/remote/messageorigin.hpp index 8a91ecc46..a2639daa2 100644 --- a/lib/remote/messageorigin.hpp +++ b/lib/remote/messageorigin.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef MESSAGEORIGIN_H #define MESSAGEORIGIN_H diff --git a/lib/remote/modifyobjecthandler.cpp b/lib/remote/modifyobjecthandler.cpp index 7bafa846b..2e46d1537 100644 --- a/lib/remote/modifyobjecthandler.cpp +++ b/lib/remote/modifyobjecthandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/modifyobjecthandler.hpp" #include "remote/configobjectslock.hpp" diff --git a/lib/remote/modifyobjecthandler.hpp b/lib/remote/modifyobjecthandler.hpp index c59509cc9..967436566 100644 --- a/lib/remote/modifyobjecthandler.hpp +++ b/lib/remote/modifyobjecthandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef MODIFYOBJECTHANDLER_H #define MODIFYOBJECTHANDLER_H diff --git a/lib/remote/objectqueryhandler.cpp b/lib/remote/objectqueryhandler.cpp index fda93e1f0..0426f05b9 100644 --- a/lib/remote/objectqueryhandler.cpp +++ b/lib/remote/objectqueryhandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/objectqueryhandler.hpp" #include "base/generator.hpp" diff --git a/lib/remote/objectqueryhandler.hpp b/lib/remote/objectqueryhandler.hpp index 9a341c644..bf0cc530c 100644 --- a/lib/remote/objectqueryhandler.hpp +++ b/lib/remote/objectqueryhandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef OBJECTQUERYHANDLER_H #define OBJECTQUERYHANDLER_H diff --git a/lib/remote/pkiutility.cpp b/lib/remote/pkiutility.cpp index ae86a61a1..c8c6b0117 100644 --- a/lib/remote/pkiutility.cpp +++ b/lib/remote/pkiutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/pkiutility.hpp" #include "remote/apilistener.hpp" diff --git a/lib/remote/pkiutility.hpp b/lib/remote/pkiutility.hpp index 50d47e01a..43a6416b5 100644 --- a/lib/remote/pkiutility.hpp +++ b/lib/remote/pkiutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef PKIUTILITY_H #define PKIUTILITY_H diff --git a/lib/remote/statushandler.cpp b/lib/remote/statushandler.cpp index bd5b0fdb6..1b0aa1717 100644 --- a/lib/remote/statushandler.cpp +++ b/lib/remote/statushandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/statushandler.hpp" #include "remote/httputility.hpp" diff --git a/lib/remote/statushandler.hpp b/lib/remote/statushandler.hpp index 6b18564f0..b805b7600 100644 --- a/lib/remote/statushandler.hpp +++ b/lib/remote/statushandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef STATUSHANDLER_H #define STATUSHANDLER_H diff --git a/lib/remote/templatequeryhandler.cpp b/lib/remote/templatequeryhandler.cpp index 44b4d048c..e3adca282 100644 --- a/lib/remote/templatequeryhandler.cpp +++ b/lib/remote/templatequeryhandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/templatequeryhandler.hpp" #include "remote/httputility.hpp" diff --git a/lib/remote/templatequeryhandler.hpp b/lib/remote/templatequeryhandler.hpp index 9372f0168..4809e35c3 100644 --- a/lib/remote/templatequeryhandler.hpp +++ b/lib/remote/templatequeryhandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef TEMPLATEQUERYHANDLER_H #define TEMPLATEQUERYHANDLER_H diff --git a/lib/remote/typequeryhandler.cpp b/lib/remote/typequeryhandler.cpp index cb08e7d8a..0455d4ccf 100644 --- a/lib/remote/typequeryhandler.cpp +++ b/lib/remote/typequeryhandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/typequeryhandler.hpp" #include "remote/httputility.hpp" diff --git a/lib/remote/typequeryhandler.hpp b/lib/remote/typequeryhandler.hpp index 0e1a9aedb..91f049eb9 100644 --- a/lib/remote/typequeryhandler.hpp +++ b/lib/remote/typequeryhandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef TYPEQUERYHANDLER_H #define TYPEQUERYHANDLER_H diff --git a/lib/remote/url-characters.hpp b/lib/remote/url-characters.hpp index 3cc492198..09f8746f9 100644 --- a/lib/remote/url-characters.hpp +++ b/lib/remote/url-characters.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef URL_CHARACTERS_H #define URL_CHARACTERS_H diff --git a/lib/remote/url.cpp b/lib/remote/url.cpp index 8c395ce05..3779df72f 100644 --- a/lib/remote/url.cpp +++ b/lib/remote/url.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/array.hpp" #include "base/utility.hpp" diff --git a/lib/remote/url.hpp b/lib/remote/url.hpp index 6012b2f3e..d3edd7e6a 100644 --- a/lib/remote/url.hpp +++ b/lib/remote/url.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef URL_H #define URL_H diff --git a/lib/remote/variablequeryhandler.cpp b/lib/remote/variablequeryhandler.cpp index 1f8fd76b3..2e5c55d0b 100644 --- a/lib/remote/variablequeryhandler.cpp +++ b/lib/remote/variablequeryhandler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/variablequeryhandler.hpp" #include "remote/httputility.hpp" diff --git a/lib/remote/variablequeryhandler.hpp b/lib/remote/variablequeryhandler.hpp index ef745d4c0..662be87b1 100644 --- a/lib/remote/variablequeryhandler.hpp +++ b/lib/remote/variablequeryhandler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef VARIABLEQUERYHANDLER_H #define VARIABLEQUERYHANDLER_H diff --git a/lib/remote/zone.cpp b/lib/remote/zone.cpp index a440f41d1..3c8c9c3a5 100644 --- a/lib/remote/zone.cpp +++ b/lib/remote/zone.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/zone.hpp" #include "remote/zone-ti.cpp" diff --git a/lib/remote/zone.hpp b/lib/remote/zone.hpp index ec1a875e3..d3e949afb 100644 --- a/lib/remote/zone.hpp +++ b/lib/remote/zone.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ZONE_H #define ZONE_H diff --git a/lib/remote/zone.ti b/lib/remote/zone.ti index 25f6a642d..ce9a1f91e 100644 --- a/lib/remote/zone.ti +++ b/lib/remote/zone.ti @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/configobject.hpp" diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 27fddecff..26420e487 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later add_executable(check_nscp_api check_nscp_api.cpp diff --git a/plugins/check_disk.cpp b/plugins/check_disk.cpp index 48f82ec68..52092b97b 100644 --- a/plugins/check_disk.cpp +++ b/plugins/check_disk.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "plugins/thresholds.hpp" #include diff --git a/plugins/check_load.cpp b/plugins/check_load.cpp index 563c34788..188859400 100644 --- a/plugins/check_load.cpp +++ b/plugins/check_load.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "plugins/thresholds.hpp" #include diff --git a/plugins/check_memory.cpp b/plugins/check_memory.cpp index 146144532..64128b4b5 100644 --- a/plugins/check_memory.cpp +++ b/plugins/check_memory.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "plugins/thresholds.hpp" #include diff --git a/plugins/check_network.cpp b/plugins/check_network.cpp index e21607a09..65661ae48 100644 --- a/plugins/check_network.cpp +++ b/plugins/check_network.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #define WIN32_LEAN_AND_MEAN diff --git a/plugins/check_nscp_api.cpp b/plugins/check_nscp_api.cpp index 1a4f5571e..7d8fa24ec 100644 --- a/plugins/check_nscp_api.cpp +++ b/plugins/check_nscp_api.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga-version.h" /* include VERSION */ diff --git a/plugins/check_perfmon.cpp b/plugins/check_perfmon.cpp index 0f94b12dc..aaf1c5e47 100644 --- a/plugins/check_perfmon.cpp +++ b/plugins/check_perfmon.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "plugins/thresholds.hpp" #include diff --git a/plugins/check_ping.cpp b/plugins/check_ping.cpp index c918d9272..2e02d31b6 100644 --- a/plugins/check_ping.cpp +++ b/plugins/check_ping.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN //else winsock will be included with windows.h and conflict with winsock2 diff --git a/plugins/check_procs.cpp b/plugins/check_procs.cpp index 44e2483ef..e55c3f45c 100644 --- a/plugins/check_procs.cpp +++ b/plugins/check_procs.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "plugins/thresholds.hpp" #include diff --git a/plugins/check_service.cpp b/plugins/check_service.cpp index cd0cf1462..c9849f324 100644 --- a/plugins/check_service.cpp +++ b/plugins/check_service.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "plugins/thresholds.hpp" #include diff --git a/plugins/check_swap.cpp b/plugins/check_swap.cpp index dc08f3b3b..586c0b7b5 100644 --- a/plugins/check_swap.cpp +++ b/plugins/check_swap.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "plugins/thresholds.hpp" #include diff --git a/plugins/check_update.cpp b/plugins/check_update.cpp index 2711d9330..0bdabb9de 100644 --- a/plugins/check_update.cpp +++ b/plugins/check_update.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "plugins/thresholds.hpp" #include diff --git a/plugins/check_uptime.cpp b/plugins/check_uptime.cpp index 93d540af2..459e33f33 100644 --- a/plugins/check_uptime.cpp +++ b/plugins/check_uptime.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "plugins/thresholds.hpp" #include diff --git a/plugins/check_users.cpp b/plugins/check_users.cpp index 9193551db..4db9471b5 100644 --- a/plugins/check_users.cpp +++ b/plugins/check_users.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "plugins/thresholds.hpp" #include diff --git a/plugins/thresholds.cpp b/plugins/thresholds.cpp index bdd67ee95..76d14b61f 100644 --- a/plugins/thresholds.cpp +++ b/plugins/thresholds.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "plugins/thresholds.hpp" #include diff --git a/plugins/thresholds.hpp b/plugins/thresholds.hpp index 4c47ddb7d..7a09a8969 100644 --- a/plugins/thresholds.hpp +++ b/plugins/thresholds.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef THRESHOLDS_H #define THRESHOLDS_H diff --git a/test/BoostTestConfig.h.in b/test/BoostTestConfig.h.in index 50d9663ee..21f034c5b 100644 --- a/test/BoostTestConfig.h.in +++ b/test/BoostTestConfig.h.in @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 7aa33f54a..f628fc8a4 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later include(DiscoverBoostTests) diff --git a/test/base-array.cpp b/test/base-array.cpp index 33e54e8f1..86d9b309a 100644 --- a/test/base-array.cpp +++ b/test/base-array.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/array.hpp" #include "base/objectlock.hpp" diff --git a/test/base-atomic.cpp b/test/base-atomic.cpp index 1bdead38d..af34b6033 100644 --- a/test/base-atomic.cpp +++ b/test/base-atomic.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/atomic.hpp" #include diff --git a/test/base-base64.cpp b/test/base-base64.cpp index f9e6aece7..2d8624f72 100644 --- a/test/base-base64.cpp +++ b/test/base-base64.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/base64.hpp" #include diff --git a/test/base-configuration-fixture.hpp b/test/base-configuration-fixture.hpp index 2639eb3ff..0b36e5140 100644 --- a/test/base-configuration-fixture.hpp +++ b/test/base-configuration-fixture.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CONFIGURATION_FIXTURE_H #define CONFIGURATION_FIXTURE_H diff --git a/test/base-convert.cpp b/test/base-convert.cpp index bc7c61be8..d42b416ad 100644 --- a/test/base-convert.cpp +++ b/test/base-convert.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/convert.hpp" #include "base/object.hpp" diff --git a/test/base-dictionary.cpp b/test/base-dictionary.cpp index 3469be7cd..d14bfdf91 100644 --- a/test/base-dictionary.cpp +++ b/test/base-dictionary.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/dictionary.hpp" #include "base/objectlock.hpp" diff --git a/test/base-fifo.cpp b/test/base-fifo.cpp index 4838adb71..215fafa9b 100644 --- a/test/base-fifo.cpp +++ b/test/base-fifo.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/fifo.hpp" #include "base/objectlock.hpp" diff --git a/test/base-io-engine.cpp b/test/base-io-engine.cpp index 3a251b1b4..fce763428 100644 --- a/test/base-io-engine.cpp +++ b/test/base-io-engine.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2024 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2024 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/io-engine.hpp" #include "base/utility.hpp" diff --git a/test/base-json.cpp b/test/base-json.cpp index 4ae17bf09..48d769219 100644 --- a/test/base-json.cpp +++ b/test/base-json.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/dictionary.hpp" #include "base/function.hpp" diff --git a/test/base-match.cpp b/test/base-match.cpp index 7fad3cba8..b1c99580a 100644 --- a/test/base-match.cpp +++ b/test/base-match.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/utility.hpp" #include diff --git a/test/base-netstring.cpp b/test/base-netstring.cpp index faa7eb56f..df7e9626c 100644 --- a/test/base-netstring.cpp +++ b/test/base-netstring.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/netstring.hpp" #include "base/fifo.hpp" diff --git a/test/base-object-packer.cpp b/test/base-object-packer.cpp index b84705d14..6ea38ea52 100644 --- a/test/base-object-packer.cpp +++ b/test/base-object-packer.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/object-packer.hpp" #include "base/value.hpp" diff --git a/test/base-object.cpp b/test/base-object.cpp index fb3c2b3d6..d6d5f8e31 100644 --- a/test/base-object.cpp +++ b/test/base-object.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/object.hpp" #include "base/value.hpp" diff --git a/test/base-serialize.cpp b/test/base-serialize.cpp index 3293f86ab..ee2299615 100644 --- a/test/base-serialize.cpp +++ b/test/base-serialize.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/perfdatavalue.hpp" #include "base/dictionary.hpp" diff --git a/test/base-shellescape.cpp b/test/base-shellescape.cpp index 1eb0eaef5..f81f9931a 100644 --- a/test/base-shellescape.cpp +++ b/test/base-shellescape.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/utility.hpp" #include diff --git a/test/base-stacktrace.cpp b/test/base-stacktrace.cpp index 23fe2edf1..6cd4e6de5 100644 --- a/test/base-stacktrace.cpp +++ b/test/base-stacktrace.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2020 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2020 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/stacktrace.hpp" #include diff --git a/test/base-stream.cpp b/test/base-stream.cpp index 34a93a2bf..71eebb0d9 100644 --- a/test/base-stream.cpp +++ b/test/base-stream.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/stdiostream.hpp" #include "base/string.hpp" diff --git a/test/base-string.cpp b/test/base-string.cpp index 7a6b36264..96e5c123b 100644 --- a/test/base-string.cpp +++ b/test/base-string.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/string.hpp" #include "base/value.hpp" diff --git a/test/base-testloggerfixture.hpp b/test/base-testloggerfixture.hpp index fd2038678..47d6d87c2 100644 --- a/test/base-testloggerfixture.hpp +++ b/test/base-testloggerfixture.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef TEST_LOGGER_FIXTURE_H #define TEST_LOGGER_FIXTURE_H diff --git a/test/base-timer.cpp b/test/base-timer.cpp index f0fffb553..77232e0c9 100644 --- a/test/base-timer.cpp +++ b/test/base-timer.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/timer.hpp" #include "base/utility.hpp" diff --git a/test/base-tlsstream-fixture.hpp b/test/base-tlsstream-fixture.hpp index 3d1327b63..9d00c2535 100644 --- a/test/base-tlsstream-fixture.hpp +++ b/test/base-tlsstream-fixture.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/test/base-tlsutility.cpp b/test/base-tlsutility.cpp index cabba403e..737cc30b5 100644 --- a/test/base-tlsutility.cpp +++ b/test/base-tlsutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "test/base-tlsutility.hpp" #include "base/tlsutility.hpp" diff --git a/test/base-tlsutility.hpp b/test/base-tlsutility.hpp index 41b04f24c..387b59e7f 100644 --- a/test/base-tlsutility.hpp +++ b/test/base-tlsutility.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/test/base-type.cpp b/test/base-type.cpp index 4a8d0deb4..72d468ae4 100644 --- a/test/base-type.cpp +++ b/test/base-type.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/perfdatavalue.hpp" #include "base/dictionary.hpp" diff --git a/test/base-utility.cpp b/test/base-utility.cpp index 0e6e0c645..dbd6339ae 100644 --- a/test/base-utility.cpp +++ b/test/base-utility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/utility.hpp" #include "test/utils.hpp" diff --git a/test/base-value.cpp b/test/base-value.cpp index c53b8e943..ef0f3391a 100644 --- a/test/base-value.cpp +++ b/test/base-value.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/value.hpp" #include diff --git a/test/config-apply.cpp b/test/config-apply.cpp index c207ddd3b..294c3a434 100644 --- a/test/config-apply.cpp +++ b/test/config-apply.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2023 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2023 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/applyrule.hpp" #include "config/configcompiler.hpp" diff --git a/test/config-ops.cpp b/test/config-ops.cpp index cc2c2fb51..679611735 100644 --- a/test/config-ops.cpp +++ b/test/config-ops.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/configcompiler.hpp" #include "base/exception.hpp" diff --git a/test/icinga-checkable-fixture.cpp b/test/icinga-checkable-fixture.cpp index 67fab1be2..64de15a34 100644 --- a/test/icinga-checkable-fixture.cpp +++ b/test/icinga-checkable-fixture.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "cli/daemonutility.hpp" #include "base/application.hpp" diff --git a/test/icinga-checkable-flapping.cpp b/test/icinga-checkable-flapping.cpp index a63c78fc4..399f0e97f 100644 --- a/test/icinga-checkable-flapping.cpp +++ b/test/icinga-checkable-flapping.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/host.hpp" #include diff --git a/test/icinga-checkresult.cpp b/test/icinga-checkresult.cpp index ed36fd55e..d5ab106ae 100644 --- a/test/icinga-checkresult.cpp +++ b/test/icinga-checkresult.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/downtime.hpp" #include "icinga/host.hpp" diff --git a/test/icinga-dependencies.cpp b/test/icinga-dependencies.cpp index 57a30e05f..203851c17 100644 --- a/test/icinga-dependencies.cpp +++ b/test/icinga-dependencies.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2020 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2020 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/host.hpp" #include "icinga/dependency.hpp" diff --git a/test/icinga-legacytimeperiod.cpp b/test/icinga-legacytimeperiod.cpp index 0a75259b0..6a7279ee7 100644 --- a/test/icinga-legacytimeperiod.cpp +++ b/test/icinga-legacytimeperiod.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/utility.hpp" #include "icinga/legacytimeperiod.hpp" diff --git a/test/icinga-macros.cpp b/test/icinga-macros.cpp index e7c789c40..a568347a0 100644 --- a/test/icinga-macros.cpp +++ b/test/icinga-macros.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/macroprocessor.hpp" #include diff --git a/test/icinga-notification.cpp b/test/icinga-notification.cpp index 5b32178ba..4e6739f2e 100644 --- a/test/icinga-notification.cpp +++ b/test/icinga-notification.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icinga/host.hpp" #include "icinga/notification.hpp" diff --git a/test/icinga-perfdata.cpp b/test/icinga-perfdata.cpp index 8bc97d4fa..d1e7e75db 100644 --- a/test/icinga-perfdata.cpp +++ b/test/icinga-perfdata.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/perfdatavalue.hpp" #include "icinga/pluginutility.hpp" diff --git a/test/icingaapplication-fixture.cpp b/test/icingaapplication-fixture.cpp index 80fa4bfd8..fdd74d27b 100644 --- a/test/icingaapplication-fixture.cpp +++ b/test/icingaapplication-fixture.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "icingaapplication-fixture.hpp" diff --git a/test/icingaapplication-fixture.hpp b/test/icingaapplication-fixture.hpp index 23f4c9c81..3033f6f7f 100644 --- a/test/icingaapplication-fixture.hpp +++ b/test/icingaapplication-fixture.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef ICINGAAPPLICATION_FIXTURE_H #define ICINGAAPPLICATION_FIXTURE_H diff --git a/test/livestatus-fixture.cpp b/test/livestatus-fixture.cpp index aaa0e073a..6174758ab 100644 --- a/test/livestatus-fixture.cpp +++ b/test/livestatus-fixture.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "config/configcompiler.hpp" #include "config/configitem.hpp" diff --git a/test/livestatus.cpp b/test/livestatus.cpp index a989eedca..77ff6fee2 100644 --- a/test/livestatus.cpp +++ b/test/livestatus.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "livestatus/livestatusquery.hpp" #include "base/application.hpp" diff --git a/test/methods-pluginnotificationtask.cpp b/test/methods-pluginnotificationtask.cpp index d1db38722..0cd05013a 100644 --- a/test/methods-pluginnotificationtask.cpp +++ b/test/methods-pluginnotificationtask.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2023 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2023 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/array.hpp" #include "icinga/checkresult.hpp" diff --git a/test/notification-notificationcomponent.cpp b/test/notification-notificationcomponent.cpp index be3d7fc2d..d43acbd7d 100644 --- a/test/notification-notificationcomponent.cpp +++ b/test/notification-notificationcomponent.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include #include "base/defer.hpp" diff --git a/test/remote-certificate-fixture.cpp b/test/remote-certificate-fixture.cpp index 0a1d48b18..b235cb7ad 100644 --- a/test/remote-certificate-fixture.cpp +++ b/test/remote-certificate-fixture.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote-certificate-fixture.hpp" #include "test/test-ctest.hpp" diff --git a/test/remote-certificate-fixture.hpp b/test/remote-certificate-fixture.hpp index 1109d1938..a0ff4daf2 100644 --- a/test/remote-certificate-fixture.hpp +++ b/test/remote-certificate-fixture.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/test/remote-configpackageutility.cpp b/test/remote-configpackageutility.cpp index 99c2a8b71..55ef1079b 100644 --- a/test/remote-configpackageutility.cpp +++ b/test/remote-configpackageutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2021 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2021 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "remote/configpackageutility.hpp" #include diff --git a/test/remote-filterutility.cpp b/test/remote-filterutility.cpp index 380d19dda..aa5441d95 100644 --- a/test/remote-filterutility.cpp +++ b/test/remote-filterutility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include #include "icinga/host.hpp" diff --git a/test/remote-httpmessage.cpp b/test/remote-httpmessage.cpp index 62232a509..96b1948e8 100644 --- a/test/remote-httpmessage.cpp +++ b/test/remote-httpmessage.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include #include "base/base64.hpp" diff --git a/test/remote-httpserverconnection.cpp b/test/remote-httpserverconnection.cpp index 1c3e747f8..ab3039dd4 100644 --- a/test/remote-httpserverconnection.cpp +++ b/test/remote-httpserverconnection.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include #include "base/base64.hpp" diff --git a/test/remote-httputility.cpp b/test/remote-httputility.cpp index 0a31b2cd3..e03de3afa 100644 --- a/test/remote-httputility.cpp +++ b/test/remote-httputility.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include #include "remote/httputility.hpp" diff --git a/test/remote-url.cpp b/test/remote-url.cpp index 36b79894e..809d30f73 100644 --- a/test/remote-url.cpp +++ b/test/remote-url.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "base/array.hpp" #include "remote/url.hpp" diff --git a/test/test-ctest.hpp b/test/test-ctest.hpp index c4b121f1a..562e08c70 100644 --- a/test/test-ctest.hpp +++ b/test/test-ctest.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/test/test-runner.cpp b/test/test-runner.cpp index 1b987dfd9..7719c4bdd 100644 --- a/test/test-runner.cpp +++ b/test/test-runner.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #define BOOST_TEST_MODULE icinga2 #define BOOST_TEST_NO_MAIN diff --git a/test/utils.cpp b/test/utils.cpp index 316763670..a0aba80d0 100644 --- a/test/utils.cpp +++ b/test/utils.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "utils.hpp" #include diff --git a/test/utils.hpp b/test/utils.hpp index af44d3b88..67d2575a2 100644 --- a/test/utils.hpp +++ b/test/utils.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2025 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2025 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #pragma once diff --git a/third-party/CMakeLists.txt b/third-party/CMakeLists.txt index fea750f1d..dd713a8b2 100644 --- a/third-party/CMakeLists.txt +++ b/third-party/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later add_subdirectory(mmatch) diff --git a/third-party/execvpe/CMakeLists.txt b/third-party/execvpe/CMakeLists.txt index 4dda40a93..adb56023f 100644 --- a/third-party/execvpe/CMakeLists.txt +++ b/third-party/execvpe/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later set(execvpe_SOURCES execvpe.c execvpe.h diff --git a/third-party/execvpe/execvpe.h b/third-party/execvpe/execvpe.h index 5e32d66b6..8ce83a48e 100644 --- a/third-party/execvpe/execvpe.h +++ b/third-party/execvpe/execvpe.h @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef EXECVPE_H #define EXECVPE_H diff --git a/third-party/mmatch/CMakeLists.txt b/third-party/mmatch/CMakeLists.txt index 4a8da1ed6..f8bc4acc3 100644 --- a/third-party/mmatch/CMakeLists.txt +++ b/third-party/mmatch/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later set(mmatch_SOURCES mmatch.c mmatch.h diff --git a/third-party/socketpair/CMakeLists.txt b/third-party/socketpair/CMakeLists.txt index 89a38f703..bd7a093d6 100644 --- a/third-party/socketpair/CMakeLists.txt +++ b/third-party/socketpair/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later set(socketpair_SOURCES socketpair.c socketpair.h diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index e3a822edb..c5b445183 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later add_subdirectory(mkclass) add_subdirectory(mkembedconfig) diff --git a/tools/mkclass/CMakeLists.txt b/tools/mkclass/CMakeLists.txt index 1b97bdab9..e210a247b 100644 --- a/tools/mkclass/CMakeLists.txt +++ b/tools/mkclass/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later find_package(BISON 2.3.0 REQUIRED) find_package(FLEX 2.5.31 REQUIRED) diff --git a/tools/mkclass/class_lexer.ll b/tools/mkclass/class_lexer.ll index 719cc40e3..45e241329 100644 --- a/tools/mkclass/class_lexer.ll +++ b/tools/mkclass/class_lexer.ll @@ -1,5 +1,6 @@ %{ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "classcompiler.hpp" diff --git a/tools/mkclass/class_parser.yy b/tools/mkclass/class_parser.yy index 0524b2d1c..ddaef22d4 100644 --- a/tools/mkclass/class_parser.yy +++ b/tools/mkclass/class_parser.yy @@ -1,5 +1,6 @@ %{ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "classcompiler.hpp" #include diff --git a/tools/mkclass/classcompiler.cpp b/tools/mkclass/classcompiler.cpp index e264e6b33..e32d795d5 100644 --- a/tools/mkclass/classcompiler.cpp +++ b/tools/mkclass/classcompiler.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "classcompiler.hpp" #include diff --git a/tools/mkclass/classcompiler.hpp b/tools/mkclass/classcompiler.hpp index 0bd789dd3..fbb4f517c 100644 --- a/tools/mkclass/classcompiler.hpp +++ b/tools/mkclass/classcompiler.hpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #ifndef CLASSCOMPILER_H #define CLASSCOMPILER_H diff --git a/tools/mkclass/mkclass.cpp b/tools/mkclass/mkclass.cpp index eb0d8f8ee..cecf5d8ac 100644 --- a/tools/mkclass/mkclass.cpp +++ b/tools/mkclass/mkclass.cpp @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include "classcompiler.hpp" #include diff --git a/tools/mkembedconfig/CMakeLists.txt b/tools/mkembedconfig/CMakeLists.txt index 90fe0ce71..85d9205d4 100644 --- a/tools/mkembedconfig/CMakeLists.txt +++ b/tools/mkembedconfig/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later set(mkembedconfig_SOURCES mkembedconfig.c diff --git a/tools/mkembedconfig/mkembedconfig.c b/tools/mkembedconfig/mkembedconfig.c index ae2308719..c21eb13cd 100644 --- a/tools/mkembedconfig/mkembedconfig.c +++ b/tools/mkembedconfig/mkembedconfig.c @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include #include diff --git a/tools/mkunity/CMakeLists.txt b/tools/mkunity/CMakeLists.txt index 8fa0f20ac..372cd8a2e 100644 --- a/tools/mkunity/CMakeLists.txt +++ b/tools/mkunity/CMakeLists.txt @@ -1,4 +1,5 @@ -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2012 Icinga GmbH +# SPDX-License-Identifier: GPL-2.0-or-later define_property( SOURCE diff --git a/tools/mkunity/mkunity.c b/tools/mkunity/mkunity.c index cf36f605b..2bf6aae24 100644 --- a/tools/mkunity/mkunity.c +++ b/tools/mkunity/mkunity.c @@ -1,4 +1,5 @@ -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2012 Icinga GmbH +// SPDX-License-Identifier: GPL-2.0-or-later #include #include From 1d11994e9626f8cf335c1d15671e6b2ecf36fd43 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Tue, 27 Jan 2026 17:38:29 +0100 Subject: [PATCH 2/3] Rename `COPYING` -> `LICENSE.md` Also replaced with the markdown version of that very same GPLv2 version from https://www.gnu.org/licenses/old-licenses/gpl-2.0.md. --- CMakeLists.txt | 4 +- COPYING | 339 ---------------------------------- LICENSE.md | 360 +++++++++++++++++++++++++++++++++++++ README.md | 4 +- choco/icinga2.nuspec.cmake | 2 +- doc/01-about.md | 2 +- 6 files changed, 366 insertions(+), 345 deletions(-) delete mode 100644 COPYING create mode 100644 LICENSE.md diff --git a/CMakeLists.txt b/CMakeLists.txt index a9eb7e3a2..5ecdba054 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,7 +94,7 @@ endif() set(ICINGA2_BUILD_COMPILER_VERSION "${CMAKE_CXX_COMPILER_VERSION}") -file(READ "${CMAKE_CURRENT_SOURCE_DIR}/COPYING" ICINGA2_LICENSE_GPL) +file(READ "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.md" ICINGA2_LICENSE_GPL) set(ICINGA2_LICENSE "${ICINGA2_LICENSE_GPL}\n\n---\n\n${ICINGA2_LICENSE_ADDITIONS}") file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/LICENSE.txt" ${ICINGA2_LICENSE}) @@ -469,7 +469,7 @@ endif() configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h ESCAPE_QUOTES) install( - FILES README.md COPYING AUTHORS CHANGELOG.md NEWS + FILES README.md LICENSE.md AUTHORS CHANGELOG.md NEWS DESTINATION ${CMAKE_INSTALL_DOCDIR} ) diff --git a/COPYING b/COPYING deleted file mode 100644 index d159169d1..000000000 --- a/COPYING +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - 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 Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 000000000..96ecf113f --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,360 @@ +# GNU GENERAL PUBLIC LICENSE + +Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + + + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +## Preamble + +The licenses for most software are designed to take away your freedom +to share and change it. By contrast, the GNU General Public License is +intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + +To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if +you distribute copies of the software, or if you modify it. + +For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + +We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + +Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, +we want its recipients to know that what they have is not the +original, so that any problems introduced by others will not reflect +on the original authors' reputations. + +Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at +all. + +The precise terms and conditions for copying, distribution and +modification follow. + +## TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +**0.** This License applies to any program or other work which +contains a notice placed by the copyright holder saying it may be +distributed under the terms of this General Public License. The +"Program", below, refers to any such program or work, and a "work +based on the Program" means either the Program or any derivative work +under copyright law: that is to say, a work containing the Program or +a portion of it, either verbatim or with modifications and/or +translated into another language. (Hereinafter, translation is +included without limitation in the term "modification".) Each licensee +is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the Program +(independent of having been made by running the Program). Whether that +is true depends on what the Program does. + +**1.** You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a +fee. + +**2.** You may modify your copy or copies of the Program or any +portion of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + +**a)** You must cause the modified files to carry prominent notices +stating that you changed the files and the date of any change. + + +**b)** You must cause any work that you distribute or publish, that in +whole or in part contains or is derived from the Program or any part +thereof, to be licensed as a whole at no charge to all third parties +under the terms of this License. + + +**c)** If the modified program normally reads commands interactively +when run, you must cause it, when started running for such interactive +use in the most ordinary way, to print or display an announcement +including an appropriate copyright notice and a notice that there is +no warranty (or else, saying that you provide a warranty) and that +users may redistribute the program under these conditions, and telling +the user how to view a copy of this License. (Exception: if the +Program itself is interactive but does not normally print such an +announcement, your work based on the Program is not required to print +an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + +**3.** You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + +**a)** Accompany it with the complete corresponding machine-readable +source code, which must be distributed under the terms of Sections 1 +and 2 above on a medium customarily used for software interchange; or, + + +**b)** Accompany it with a written offer, valid for at least three +years, to give any third party, for a charge no more than your cost of +physically performing source distribution, a complete machine-readable +copy of the corresponding source code, to be distributed under the +terms of Sections 1 and 2 above on a medium customarily used for +software interchange; or, + + +**c)** Accompany it with the information you received as to the offer +to distribute corresponding source code. (This alternative is allowed +only for noncommercial distribution and only if you received the +program in object code or executable form with such an offer, in +accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + +**4.** You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt otherwise +to copy, modify, sublicense or distribute the Program is void, and +will automatically terminate your rights under this License. However, +parties who have received copies, or rights, from you under this +License will not have their licenses terminated so long as such +parties remain in full compliance. + +**5.** You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +**6.** Each time you redistribute the Program (or any work based on +the Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + +**7.** If, as a consequence of a court judgment or allegation of +patent infringement or for any other reason (not limited to patent +issues), conditions are imposed on you (whether by court order, +agreement or otherwise) that contradict the conditions of this +License, they do not excuse you from the conditions of this License. +If you cannot distribute so as to satisfy simultaneously your +obligations under this License and any other pertinent obligations, +then as a consequence you may not distribute the Program at all. For +example, if a patent license would not permit royalty-free +redistribution of the Program by all those who receive copies directly +or indirectly through you, then the only way you could satisfy both it +and this License would be to refrain entirely from distribution of the +Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + +**8.** If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + +**9.** The Free Software Foundation may publish revised and/or new +versions of the General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Program does not specify a +version number of this License, you may choose any version ever +published by the Free Software Foundation. + +**10.** If you wish to incorporate parts of the Program into other +free programs whose distribution conditions are different, write to +the author to ask for permission. For software which is copyrighted by +the Free Software Foundation, write to the Free Software Foundation; +we sometimes make exceptions for this. Our decision will be guided by +the two goals of preserving the free status of all derivatives of our +free software and of promoting the sharing and reuse of software +generally. + +**NO WARRANTY** + +**11.** BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +**12.** IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + +END OF TERMS AND CONDITIONS + +## How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these +terms. + +To do so, attach the following notices to the program. It is safest to +attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + one line to give the program's name and an idea of what it does. + Copyright (C) yyyy name of author + + 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, see . + +Also add information on how to contact you by electronic and paper +mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details + type `show w'. This is free software, and you are welcome + to redistribute it under certain conditions; type `show c' + for details. + +The hypothetical commands \`show w' and \`show c' should show the +appropriate parts of the General Public License. Of course, the +commands you use may be called something other than \`show w' and +\`show c'; they could even be mouse-clicks or menu items--whatever +suits your program. + +You should also get your employer (if you work as a programmer) or +your school, if any, to sign a "copyright disclaimer" for the program, +if necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright + interest in the program `Gnomovision' + (which makes passes at compilers) written + by James Hacker. + + signature of Moe Ghoul, 1 April 1989 + Moe Ghoul, President of Vice + +This General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, +you may consider it more useful to permit linking proprietary +applications with the library. If this is what you want to do, use the +[GNU Lesser General Public +License](https://www.gnu.org/licenses/lgpl.html) instead of this +License. diff --git a/README.md b/README.md index 890ebc79b..98a8e5c16 100644 --- a/README.md +++ b/README.md @@ -56,8 +56,8 @@ or ask an Icinga partner for [professional support](https://icinga.com/support/) ## License Icinga 2 and the Icinga 2 documentation are licensed under the terms of the GNU -General Public License Version 2, you will find a copy of this license in the -COPYING file included in the source package. +General Public License Version 2 or later, you will find a copy of this license in the +`LICENSE.md` file included in the source package. In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the diff --git a/choco/icinga2.nuspec.cmake b/choco/icinga2.nuspec.cmake index d0699f24b..44b58ea05 100755 --- a/choco/icinga2.nuspec.cmake +++ b/choco/icinga2.nuspec.cmake @@ -13,7 +13,7 @@ Icinga is an open source monitoring platform which notifies users about host and service outages. https://icinga.com/ icinga2 icinga agent monitoring admin - https://github.com/Icinga/icinga2/blob/master/COPYING + https://github.com/Icinga/icinga2/blob/master/LICENSE.md https://github.com/Icinga/icinga2/blob/master/ChangeLog https://icinga.com/docs/icinga2/latest/ https://github.com/Icinga/icinga2/issues diff --git a/doc/01-about.md b/doc/01-about.md index 73e163bae..bd5ba8199 100644 --- a/doc/01-about.md +++ b/doc/01-about.md @@ -66,4 +66,4 @@ Read more about development builds in the [development chapter](21-development.m Icinga 2 and the Icinga 2 documentation are licensed under the terms of the GNU General Public License Version 2. You will find a copy of this license in the -LICENSE file included in the source package. +`LICENSE.md` file included in the source package. From aaa5dbde8fdcd3643e8782cb4afa74ff600fac40 Mon Sep 17 00:00:00 2001 From: Yonas Habteab Date: Wed, 28 Jan 2026 12:23:21 +0100 Subject: [PATCH 3/3] LICENSE: upgrade to GPLv3+ --- LICENSE.md | 863 ++++++++++++++++++++++++++++-------------- README.md | 12 +- doc/01-about.md | 2 +- doc/21-development.md | 8 +- doc/icinga2.8 | 2 +- icinga-app/icinga.cpp | 2 +- 6 files changed, 608 insertions(+), 281 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 96ecf113f..496acdb2a 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,295 +1,620 @@ # GNU GENERAL PUBLIC LICENSE -Version 2, June 1991 +Version 3, 29 June 2007 - Copyright (C) 1989, 1991 Free Software Foundation, Inc. - +Copyright (C) 2007 Free Software Foundation, Inc. + - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. +Everyone is permitted to copy and distribute verbatim copies of this +license document, but changing it is not allowed. ## Preamble -The licenses for most software are designed to take away your freedom -to share and change it. By contrast, the GNU General Public License is -intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. +The GNU General Public License is a free, copyleft license for +software and other kinds of works. + +The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom +to share and change all versions of a program--to make sure it remains +free software for all its users. We, the Free Software Foundation, use +the GNU General Public License for most of our software; it applies +also to any other work released this way by its authors. You can apply +it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. -To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if -you distribute copies of the software, or if you modify it. +To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you +have certain responsibilities if you distribute copies of the +software, or if you modify it: responsibilities to respect the freedom +of others. For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. -We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. +Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. -Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, -we want its recipients to know that what they have is not the -original, so that any problems introduced by others will not reflect -on the original authors' reputations. +For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. -Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at -all. +Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the +manufacturer can do so. This is fundamentally incompatible with the +aim of protecting users' freedom to change the software. The +systematic pattern of such abuse occurs in the area of products for +individuals to use, which is precisely where it is most unacceptable. +Therefore, we have designed this version of the GPL to prohibit the +practice for those products. If such problems arise substantially in +other domains, we stand ready to extend this provision to those +domains in future versions of the GPL, as needed to protect the +freedom of users. + +Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish +to avoid the special danger that patents applied to a free program +could make it effectively proprietary. To prevent this, the GPL +assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. -## TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION +## TERMS AND CONDITIONS -**0.** This License applies to any program or other work which -contains a notice placed by the copyright holder saying it may be -distributed under the terms of this General Public License. The -"Program", below, refers to any such program or work, and a "work -based on the Program" means either the Program or any derivative work -under copyright law: that is to say, a work containing the Program or -a portion of it, either verbatim or with modifications and/or -translated into another language. (Hereinafter, translation is -included without limitation in the term "modification".) Each licensee -is addressed as "you". +### 0. Definitions. -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the Program -(independent of having been made by running the Program). Whether that -is true depends on what the Program does. +"This License" refers to version 3 of the GNU General Public License. -**1.** You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. +"Copyright" also means copyright-like laws that apply to other kinds +of works, such as semiconductor masks. -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a -fee. +"The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. -**2.** You may modify your copy or copies of the Program or any -portion of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: +To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of +an exact copy. The resulting work is called a "modified version" of +the earlier work or a work "based on" the earlier work. +A "covered work" means either the unmodified Program or a work based +on the Program. -**a)** You must cause the modified files to carry prominent notices -stating that you changed the files and the date of any change. +To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. +To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user +through a computer network, with no transfer of a copy, is not +conveying. -**b)** You must cause any work that you distribute or publish, that in -whole or in part contains or is derived from the Program or any part -thereof, to be licensed as a whole at no charge to all third parties -under the terms of this License. +An interactive user interface displays "Appropriate Legal Notices" to +the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. +### 1. Source Code. -**c)** If the modified program normally reads commands interactively -when run, you must cause it, when started running for such interactive -use in the most ordinary way, to print or display an announcement -including an appropriate copyright notice and a notice that there is -no warranty (or else, saying that you provide a warranty) and that -users may redistribute the program under these conditions, and telling -the user how to view a copy of this License. (Exception: if the -Program itself is interactive but does not normally print such an -announcement, your work based on the Program is not required to print -an announcement.) +The "source code" for a work means the preferred form of the work for +making modifications to it. "Object code" means any non-source form of +a work. -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. +A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. +The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. +The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. -**3.** You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: +The Corresponding Source need not include anything that users can +regenerate automatically from other parts of the Corresponding Source. +The Corresponding Source for a work in source code form is that same +work. -**a)** Accompany it with the complete corresponding machine-readable -source code, which must be distributed under the terms of Sections 1 -and 2 above on a medium customarily used for software interchange; or, +### 2. Basic Permissions. +All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. -**b)** Accompany it with a written offer, valid for at least three -years, to give any third party, for a charge no more than your cost of -physically performing source distribution, a complete machine-readable -copy of the corresponding source code, to be distributed under the -terms of Sections 1 and 2 above on a medium customarily used for -software interchange; or, +You may make, run and propagate covered works that you do not convey, +without conditions so long as your license otherwise remains in force. +You may convey covered works to others for the sole purpose of having +them make modifications exclusively for you, or provide you with +facilities for running those works, provided that you comply with the +terms of this License in conveying all material for which you do not +control copyright. Those thus making or running the covered works for +you must do so exclusively on your behalf, under your direction and +control, on terms that prohibit them from making any copies of your +copyrighted material outside their relationship with you. +Conveying under any other circumstances is permitted solely under the +conditions stated below. Sublicensing is not allowed; section 10 makes +it unnecessary. -**c)** Accompany it with the information you received as to the offer -to distribute corresponding source code. (This alternative is allowed -only for noncommercial distribution and only if you received the -program in object code or executable form with such an offer, in -accord with Subsection b above.) +### 3. Protecting Users' Legal Rights From Anti-Circumvention Law. -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. +No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. +When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such +circumvention is effected by exercising rights under this License with +respect to the covered work, and you disclaim any intention to limit +operation or modification of the work as a means of enforcing, against +the work's users, your or third parties' legal rights to forbid +circumvention of technological measures. -**4.** You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt otherwise -to copy, modify, sublicense or distribute the Program is void, and -will automatically terminate your rights under this License. However, -parties who have received copies, or rights, from you under this -License will not have their licenses terminated so long as such -parties remain in full compliance. +### 4. Conveying Verbatim Copies. -**5.** You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. +You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. -**6.** Each time you redistribute the Program (or any work based on -the Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to +You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + +### 5. Conveying Modified Source Versions. + +You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these +conditions: + +- a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. +- b) The work must carry prominent notices stating that it is + released under this License and any conditions added under + section 7. This requirement modifies the requirement in section 4 + to "keep intact all notices". +- c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. +- d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + +A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + +### 6. Conveying Non-Source Forms. + +You may convey a covered work in object code form under the terms of +sections 4 and 5, provided that you also convey the machine-readable +Corresponding Source under the terms of this License, in one of these +ways: + +- a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. +- b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the Corresponding + Source from a network server at no charge. +- c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. +- d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. +- e) Convey the object code using peer-to-peer transmission, + provided you inform other peers where the object code and + Corresponding Source of the work are being offered to the general + public at no charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + +A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, +family, or household purposes, or (2) anything designed or sold for +incorporation into a dwelling. In determining whether a product is a +consumer product, doubtful cases shall be resolved in favor of +coverage. For a particular product received by a particular user, +"normally used" refers to a typical or common use of that class of +product, regardless of the status of the particular user or of the way +in which the particular user actually uses, or expects or is expected +to use, the product. A product is a consumer product regardless of +whether the product has substantial commercial, industrial or +non-consumer uses, unless such uses represent the only significant +mode of use of the product. + +"Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to +install and execute modified versions of a covered work in that User +Product from a modified version of its Corresponding Source. The +information must suffice to ensure that the continued functioning of +the modified object code is in no case prevented or interfered with +solely because modification has been made. + +If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + +The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or +updates for a work that has been modified or installed by the +recipient, or for the User Product in which it has been modified or +installed. Access to a network may be denied when the modification +itself materially and adversely affects the operation of the network +or violates the rules and protocols for communication across the +network. + +Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + +### 7. Additional Terms. + +"Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + +Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders +of that material) supplement the terms of this License with terms: + +- a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or +- b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or +- c) Prohibiting misrepresentation of the origin of that material, + or requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or +- d) Limiting the use for publicity purposes of names of licensors + or authors of the material; or +- e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or +- f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions + of it) with contractual assumptions of liability to the recipient, + for any liability that these contractual assumptions directly + impose on those licensors and authors. + +All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; the +above requirements apply either way. + +### 8. Termination. + +You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + +However, if you cease all violation of this License, then your license +from a particular copyright holder is reinstated (a) provisionally, +unless and until the copyright holder explicitly and finally +terminates your license, and (b) permanently, if the copyright holder +fails to notify you of the violation by some reasonable means prior to +60 days after the cessation. + +Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + +Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + +### 9. Acceptance Not Required for Having Copies. + +You are not required to accept this License in order to receive or run +a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + +### 10. Automatic Licensing of Downstream Recipients. + +Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + +An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + +### 11. Patents. + +A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + +A contributor's "essential patent claims" are all patent claims owned +or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of this License. -**7.** If, as a consequence of a court judgment or allegation of -patent infringement or for any other reason (not limited to patent -issues), conditions are imposed on you (whether by court order, -agreement or otherwise) that contradict the conditions of this -License, they do not excuse you from the conditions of this License. -If you cannot distribute so as to satisfy simultaneously your -obligations under this License and any other pertinent obligations, -then as a consequence you may not distribute the Program at all. For -example, if a patent license would not permit royalty-free -redistribution of the Program by all those who receive copies directly -or indirectly through you, then the only way you could satisfy both it -and this License would be to refrain entirely from distribution of the -Program. +Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. +In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. +If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. +If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. -**8.** If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. +A patent license is "discriminatory" if it does not include within the +scope of its coverage, prohibits the exercise of, or is conditioned on +the non-exercise of one or more of the rights that are specifically +granted under this License. You may not convey a covered work if you +are a party to an arrangement with a third party that is in the +business of distributing software, under which you make payment to the +third party based on the extent of your activity of conveying the +work, and under which the third party grants, to any of the parties +who would receive the covered work from you, a discriminatory patent +license (a) in connection with copies of the covered work conveyed by +you (or copies made from those copies), or (b) primarily for and in +connection with specific products or compilations that contain the +covered work, unless you entered into that arrangement, or that patent +license was granted, prior to 28 March 2007. -**9.** The Free Software Foundation may publish revised and/or new -versions of the General Public License from time to time. Such new -versions will be similar in spirit to the present version, but may -differ in detail to address new problems or concerns. +Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + +### 12. No Surrender of Others' Freedom. + +If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under +this License and any other pertinent obligations, then as a +consequence you may not convey it at all. For example, if you agree to +terms that obligate you to collect a royalty for further conveying +from those to whom you convey the Program, the only way you could +satisfy both those terms and this License would be to refrain entirely +from conveying the Program. + +### 13. Use with the GNU Affero General Public License. + +Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + +### 14. Revised Versions of this License. + +The Free Software Foundation may publish revised and/or new versions +of the GNU General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in +detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Program does not specify a -version number of this License, you may choose any version ever -published by the Free Software Foundation. +specifies that a certain numbered version of the GNU General Public +License "or any later version" applies to it, you have the option of +following the terms and conditions either of that numbered version or +of any later version published by the Free Software Foundation. If the +Program does not specify a version number of the GNU General Public +License, you may choose any version ever published by the Free +Software Foundation. -**10.** If you wish to incorporate parts of the Program into other -free programs whose distribution conditions are different, write to -the author to ask for permission. For software which is copyrighted by -the Free Software Foundation, write to the Free Software Foundation; -we sometimes make exceptions for this. Our decision will be guided by -the two goals of preserving the free status of all derivatives of our -free software and of promoting the sharing and reuse of software -generally. +If the Program specifies that a proxy can decide which future versions +of the GNU General Public License can be used, that proxy's public +statement of acceptance of a version permanently authorizes you to +choose that version for the Program. -**NO WARRANTY** +Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. -**11.** BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. +### 15. Disclaimer of Warranty. -**12.** IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT +WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE +DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR +CORRECTION. + +### 16. Limitation of Liability. + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR +CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES +ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT +NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR +LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM +TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER +PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +### 17. Interpretation of Sections 15 and 16. + +If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. END OF TERMS AND CONDITIONS @@ -301,60 +626,50 @@ free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to -attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. +attach them to the start of each source file to most effectively state +the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. - one line to give the program's name and an idea of what it does. - Copyright (C) yyyy name of author + + Copyright (C) - 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 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 3 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. + 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, see . + You should have received a copy of the GNU General Public License + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: +If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details - type `show w'. This is free software, and you are welcome - to redistribute it under certain conditions; type `show c' - for details. + Copyright (C) + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. The hypothetical commands \`show w' and \`show c' should show the -appropriate parts of the General Public License. Of course, the -commands you use may be called something other than \`show w' and -\`show c'; they could even be mouse-clicks or menu items--whatever -suits your program. +appropriate parts of the General Public License. Of course, your +program's commands might be different; for a GUI interface, you would +use an "about box". You should also get your employer (if you work as a programmer) or -your school, if any, to sign a "copyright disclaimer" for the program, -if necessary. Here is a sample; alter the names: +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. For more information on this, and how to apply and follow +the GNU GPL, see . - Yoyodyne, Inc., hereby disclaims all copyright - interest in the program `Gnomovision' - (which makes passes at compilers) written - by James Hacker. - - signature of Moe Ghoul, 1 April 1989 - Moe Ghoul, President of Vice - -This General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, -you may consider it more useful to permit linking proprietary +The GNU General Public License does not permit incorporating your +program into proprietary programs. If your program is a subroutine +library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the -[GNU Lesser General Public -License](https://www.gnu.org/licenses/lgpl.html) instead of this -License. +GNU Lesser General Public License instead of this License. But first, +please read . diff --git a/README.md b/README.md index 98a8e5c16..e7b575269 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ or ask an Icinga partner for [professional support](https://icinga.com/support/) ## License Icinga 2 and the Icinga 2 documentation are licensed under the terms of the GNU -General Public License Version 2 or later, you will find a copy of this license in the +General Public License Version 3 or later, you will find a copy of this license in the `LICENSE.md` file included in the source package. In addition, as a special exception, the copyright holders give @@ -73,6 +73,16 @@ so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here. +> **Note** +> +> Historically, Icinga 2 has been licensed under the GNU General Public License Version 2 or later. However, due to +> newly introduced dependencies licensed under the Apache License 2.0 (which is not compatible with GPLv2), we have +> decided to upgrade the license of Icinga 2 to GPLv3+, effective from version `v2.16.0` onwards. All versions prior to +> `v2.16.0` and all existing source code files remain licensed under GPLv2+ (see the license information in those files). +> +> Also, the OpenSSL linking exception is only relevant for OpenSSL 1.x. OpenSSL >= 3.0 is licensed under the +> Apache License version 2.0, which is compatible with GPLv3 and no longer requires an exception. + ## Contributing There are many ways to contribute to Icinga -- whether it be sending patches, diff --git a/doc/01-about.md b/doc/01-about.md index bd5ba8199..45e527be7 100644 --- a/doc/01-about.md +++ b/doc/01-about.md @@ -65,5 +65,5 @@ Read more about development builds in the [development chapter](21-development.m ## License Icinga 2 and the Icinga 2 documentation are licensed under the terms of the GNU -General Public License Version 2. You will find a copy of this license in the +General Public License Version 3 or later. You will find a copy of this license in the `LICENSE.md` file included in the source package. diff --git a/doc/21-development.md b/doc/21-development.md index 747cfd34e..a086a2944 100644 --- a/doc/21-development.md +++ b/doc/21-development.md @@ -907,11 +907,13 @@ current year as this implies yearly updates we don't want. Depending on the file type, this must be a comment. ```cpp -/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */ +// SPDX-FileCopyrightText: 2026 Icinga GmbH +// SPDX-License-Identifier: GPL-3.0-or-later ``` ```bash -# Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ +# SPDX-FileCopyrightText: 2026 Icinga GmbH +# SPDX-License-Identifier: GPL-3.0-or-later ``` #### Code Formatting @@ -1242,7 +1244,7 @@ rewriting large code parts. If you consider an external library or code to be included with Icinga, the following requirements must be fulfilled: -- License is compatible with GPLv2+. Boost license, MIT works, Apache is not. +- License is compatible with GPLv3+. Like Boost license, MIT, Apache etc., works. - C++17 is supported - Header only implementations are preferred, external libraries require packages on every distribution. - No additional frameworks, Boost is the only allowed. diff --git a/doc/icinga2.8 b/doc/icinga2.8 index dfc062faf..87a900cba 100644 --- a/doc/icinga2.8 +++ b/doc/icinga2.8 @@ -93,7 +93,7 @@ Report bugs at Icinga home page: .SH COPYRIGHT Copyright \(co 2012 Icinga GmbH -License GPLv2+: GNU GPL version 2 or later +License GPLv3+: GNU GPL version 3 or later .br This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. diff --git a/icinga-app/icinga.cpp b/icinga-app/icinga.cpp index 3a5968bfe..eaab44fca 100644 --- a/icinga-app/icinga.cpp +++ b/icinga-app/icinga.cpp @@ -524,7 +524,7 @@ static int Main() if (vm.count("version")) { std::cout << "Copyright (c) 2012-" << Utility::FormatDateTime("%Y", Utility::GetTime()) << " Icinga GmbH (https://icinga.com/)" << std::endl - << "License GPLv2+: GNU GPL version 2 or later " << std::endl + << "License GPLv3+: GNU GPL version 3 or later " << std::endl << "This is free software: you are free to change and redistribute it." << std::endl << "There is NO WARRANTY, to the extent permitted by law."; }